diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1456654..14fa804b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: version: - - '1.3' + - '1.6' - '1' # automatically expands to the latest stable 1.x release of Julia - nightly os: diff --git a/Project.toml b/Project.toml index 3679bc72..80187720 100644 --- a/Project.toml +++ b/Project.toml @@ -4,19 +4,21 @@ authors = ["Tanmay Mohapatra "] keywords = ["kubernetes", "client"] license = "MIT" desc = "Julia Kubernetes Client" -version = "0.6.2" +version = "0.7.0" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6" JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -Swagger = "2d69052b-6a58-5cd9-a030-a48559c324ac" +OpenAPI = "d5e62ea6-ddf3-4d43-8e4c-ad5e6c8bfd7d" +TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53" [compat] Downloads = "1" -Swagger = "0.3" +OpenAPI = "0.1" JSON = "0.21" +TimeZones = "1" julia = "1" [extras] diff --git a/README.md b/README.md index 743a523e..0491a5db 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ end E.g.: ```julia -watch(ctx, list, :Pod; resourceVersion=19451) do stream +watch(ctx, list, :Pod; resource_version=19451) do stream for event in stream @info("got event", event) end diff --git a/gen/README.md b/gen/README.md new file mode 100644 index 00000000..450327dd --- /dev/null +++ b/gen/README.md @@ -0,0 +1,19 @@ +## Generate OpenAPI Client + +Use the bundled `generate.sh` script to generate OpenAPI client implementations. + +- Fetch the OpenAPI v2 (Swagger) specification from the `/openapi/v2` endpoint of a running k8s api server + - Ensure the k8s server has all the required CRDs installed + - The specification file must be named `swagger.json`. It can be stored in any location, but store it in the `spec` folder if you wish to update the Kuber.jl package itself +- The k8s OpenAPI spec uses a custom `int-or-string` format, that needs to be tweaked in the specification to be able to generate it correctly (see: https://github.com/kubernetes/kube-openapi/issues/52) + - Open the downloaded spec and change the type of `io.k8s.apimachinery.pkg.util.intstr.IntOrString` from `string` to `object` +- Ensure: + - `julia` is in `PATH` or set in environment variable `JULIA` + - `java` is in `PATH` or set in environment variable `JAVA_CMD` + - `openapi-generator-cli.jar` is in `CLASSPATH` or set in environment variable `JAVA_CMD` + - package directory is writable +- Run `generate.sh [output path]` + - output path is optional, if not specified `../src/ApiImpl/api` folder relative to this script will be used +- Note: + - the `api` folder in the output path will be renamed to `api_bak` + - existing `api_bak` folder if any in output folder will be deleted diff --git a/gen/config.json b/gen/config.json deleted file mode 100644 index d130e683..00000000 --- a/gen/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "packageName": "Kubernetes" -} diff --git a/gen/detect_apis_and_types.jl b/gen/detect_apis_and_types.jl new file mode 100644 index 00000000..a329a75d --- /dev/null +++ b/gen/detect_apis_and_types.jl @@ -0,0 +1,210 @@ +const rx_apiname = r"^struct ([a-zA-Z0-9_]*) <: OpenAPI.APIClientImpl$" +const rx_apipath = r"^_ctx = OpenAPI\.Clients\.Ctx\(_api\.client, \"[A-Z]+\", [_a-zA-Z0-9]+, .*\"([0-9a-z\/\._{}]+)\", .*\)$" +const rx_validapipath = r"^\/apis\/.+\/.+\/.*$" +const rx_coreapipath = r"^\/api\/(v[1-9])\/.*$" +const rx_apisapipath = r"^\/(apis)\/$" +const rx_methodexports = r"^function _oacinternal_([a-zA-Z0-9_-]+)\(_api::.*\)$" + +const rx_model_api_returntype = r"^Regex\(.*\) => ([A-Za-z0-9]+),$" +const rx_model_api_bodytype = r"^function _oacinternal_.*\(_api::.*, body::([A-Za-z0-9]+).*\)$" + +const rx_model_spec_name_from_docstring = r"^@doc raw\"\"\"([a-zA-Z\.0-9-_]+)$" +const rx_model_name_from_filename = r"model_([a-zA-Z0-9]+).jl" +const rx_model_name_from_modelfile = r"^.* # spec type: Union{ Nothing, ([A-Za-z0-9]+) }$" +const rx_model_name_from_modelfile_vector = r"^.* # spec type: Union{ Nothing, Vector{([A-Za-z0-9]+)} }$" + +# function to_snake_case(camel_case_str::String) +# s = replace(camel_case_str, r"([A-Z]+)([A-Z][a-z])" => s"\1_\2") +# s = replace(s, r"([a-z\d])([A-Z])" => s"\1_\2") +# replace(lowercase(s), r"[_\s]+" => "_") +# end + +function to_snake_case(camel_case_str::String) + iob = IOBuffer() + for c in camel_case_str + if isuppercase(c) + (iob.size > 0) && write(iob, '_') + write(iob, lowercase(c)) + else + write(iob, c) + end + end + String(take!(iob)) +end + +function detect_api_map(api_file::String) + modeldir = abspath(joinpath(dirname(api_file), "..", "models")) + apiname = "" + apipaths = String[] + methods = String[] + models = String[] + for line in eachline(api_file) + line = strip(line) + match_apiname = match(rx_apiname, line) + match_apipath = match(rx_apipath, line) + match_methodexports = match(rx_methodexports, line) + match_model_api_returntype = match(rx_model_api_returntype, line) + match_model_api_bodytype = match(rx_model_api_bodytype, line) + if !isnothing(match_apiname) + apiname = match_apiname.captures[1] + elseif !isnothing(match_apipath) + apipath = match_apipath.captures[1] + if !isnothing(match(rx_validapipath, apipath)) + pathparts = split(apipath, '/'; keepempty=false)[2:3] + push!(apipaths, join(pathparts, '/')) + elseif !isnothing(match(rx_coreapipath, apipath)) + push!(apipaths, match(rx_coreapipath, apipath).captures[1]) + elseif !isnothing(match(rx_apisapipath, apipath)) + push!(apipaths, match(rx_apisapipath, apipath).captures[1]) + end + elseif !isnothing(match_methodexports) + push!(methods, match_methodexports.captures[1]) + elseif !isnothing(match_model_api_returntype) + push!(models, match_model_api_returntype.captures[1]) + elseif !isnothing(match_model_api_bodytype) + push!(models, match_model_api_bodytype.captures[1]) + end + end + unique!(apipaths) + filter!(!isempty, apipaths) + unique!(methods) + filter!(!isempty, methods) + unique!(models) + filter!(!isempty, models) + filter!(x->isfile(joinpath(modeldir, string("model_", x, ".jl"))), models) + @debug("detect_api_map", apiname, apipaths, methods, models) + return apiname, apipaths, methods, models +end + +function detect_model_map(model_file::String) + model_spec_name = "" + dependent_models = String[] + for line in eachline(model_file) + line = strip(line) + match_modelname = match(rx_model_spec_name_from_docstring, line) + match_dependent_modelname = match(rx_model_name_from_modelfile, line) + match_dependent_modelname_from_vector = match(rx_model_name_from_modelfile_vector, line) + if !isnothing(match_modelname) + model_spec_name = match_modelname.captures[1] + elseif !isnothing(match_dependent_modelname_from_vector) + push!(dependent_models, match_dependent_modelname_from_vector.captures[1]) + elseif !isnothing(match_dependent_modelname) + push!(dependent_models, match_dependent_modelname.captures[1]) + end + end + + return model_spec_name, dependent_models +end + +function detect_api_and_type_maps(apiimpl_dir::String) + apis_path = joinpath(apiimpl_dir, "api", "apis") + models_path = joinpath(apiimpl_dir, "api", "models") + + # maps api spec names to generated names, e.g. "settings.k8s.io/v1alpha1" => "SettingsV1alpha1Api" + api_names = Dict{String,String}() + # maps model generated names to spec names, e.g. "IoK8sApiCoreV1Pod" => "io.k8s.api.core.v1.Pod" + model_names = Dict{String, String}() + api_method_map = Dict{String, Vector{Pair{String,String}}}() + api_models_map = Dict{String, Vector{String}}() + model_models_map = Dict{String, Vector{String}}() + + for file in readdir(models_path) + @debug("detect_api_and_type_maps", model_file=file) + if endswith(file, ".jl") + modelname = match(rx_model_name_from_filename, file).captures[1] + model_spec_name, dependent_models = detect_model_map(joinpath(models_path, file)) + if !isempty(model_spec_name) + model_names[modelname] = model_spec_name + end + if !isempty(dependent_models) + deps = get!(model_models_map, modelname, String[]) + append!(deps, dependent_models) + end + end + end + + for file in readdir(apis_path) + @debug("detect_api_and_type_maps", api_file=file) + if endswith(file, ".jl") + apiname, apipaths, methods, models = detect_api_map(joinpath(apis_path, file)) + apiname_snake_case = to_snake_case(replace(apiname, r"Api$" => "")) + if !isempty(apiname) && !isempty(apipaths) && length(apipaths) == 1 + apipath = apipaths[1] + if !isempty(apipath) + api_names[apipath] = apiname + end + for method in methods + args = string("(_api::Kubernetes.", apiname, ", args...; kwargs...)") + to_name = replace(method, string("_", apiname_snake_case) => "") + to_method = string(replace(method, string("_", apiname_snake_case) => ""), args) + from_method = string("Kubernetes.", method, args) + map_for_name = get!(api_method_map, to_name) do + Pair{String,String}[] + end + push!(map_for_name, to_method => from_method) + end + map_for_models = get!(api_models_map, apiname) do + String[] + end + append!(map_for_models, models) + end + end + end + + # add models of the unversioned ApisApi to all api-model maps + apisapi_models = get(api_models_map, "ApisApi", String[]) + for (_, models) in api_models_map + union!(models, apisapi_models) + end + + # add all dependent models to the api-model map + for (_, models) in api_models_map + all_resolved = false + while !all_resolved + modelset = Set(models) + initial_model_count = length(modelset) + for model in models + dependent_models = get(model_models_map, model, String[]) + union!(modelset, dependent_models) + end + empty!(models) + append!(models, collect(modelset)) + if length(modelset) == initial_model_count + all_resolved = true + end + end + end + + open(joinpath(apiimpl_dir, "api_versions.jl"), "w") do f + println(f, "const APIVersionMap = Dict(") + for (n,v) in api_names + println(f, " \"$n\" => \"$v\",") + end + println(f, ")") + for (to_name, map_for_name) in api_method_map + println(f, "") + println(f, "# ", to_name) + for pair in map_for_name + println(f, pair[1], " = ", pair[2]) + end + end + end + + open(joinpath(apiimpl_dir, "api_typemap.jl"), "w") do f + println(f, "module Typedefs") + println(f, " using ..Kubernetes") + for (apiname, models) in api_models_map + println(f, " module ", replace(apiname, r"Api$" => "")) + println(f, " using ..Kubernetes") + for model in models + model_spec_name = last(split(model_names[model], '.')) + println(f, " const ", model_spec_name, " = Kubernetes.", model) + end + println(f, " end") + end + println(f, "end") + end +end + +@assert length(ARGS) == 1 +detect_api_and_type_maps(ARGS[1]) diff --git a/gen/genapialiases.jl b/gen/genapialiases.jl deleted file mode 100644 index c62297e9..00000000 --- a/gen/genapialiases.jl +++ /dev/null @@ -1,137 +0,0 @@ -using CSTParser - -""" -Represents one API alias. - -LHS is the undecorated function name -RHS is the API version specific function name -""" -struct KuberAPIAlias - lhs_fn_name::String - rhs_fn_name::String - args::Vector{Pair{String,String}} - kwargs::Vector{Pair{String,String}} -end - -""" -List of all aliases parsed. -Used to maintain state and write out the aliases file at the end. -""" -const KuberAPIAliasesSet = Dict{String,Vector{KuberAPIAlias}} - -""" -Returns one `KuberAPIAlias` instance for the function expression. -Returns `nothing` if it is not required to have an alias for the function. -""" -function emit_alias(fn_expr::CSTParser.EXPR, api_decoration::String) - fn_name = CSTParser.str_value(CSTParser.get_name(fn_expr)) - undec_fn_name = join(split(fn_name, api_decoration)) - - (fn_name == undec_fn_name) && (return nothing) - fn_sig = CSTParser.get_sig(fn_expr) - fn_args = filter(x->(CSTParser.isbinarysyntax(x) || CSTParser.isidentifier(x)), fn_sig.args[2:end]) - fn_kwargs_container = filter(x->CSTParser.isparameters(x), fn_sig.args[2:end]) - fn_kwargs = isempty(fn_kwargs_container) ? [] : filter(x->CSTParser.iskwarg(x), fn_kwargs_container[1].args) - - arg_pairs = map(x->CSTParser.str_value(CSTParser.get_name(x))=>(CSTParser.isidentifier(x) ? "" : CSTParser.str_value(x.args[2])), fn_args) - kwarg_pairs = map(x->CSTParser.str_value(CSTParser.get_name(x.args[1]))=>CSTParser.str_value(x.args[2]), fn_kwargs) - - KuberAPIAlias(undec_fn_name, fn_name, arg_pairs, kwarg_pairs) -end - -""" -Returns all API aliases detected in the specified file. -""" -function kuberapi(file::String) - api_decoration = "" - aliases = Vector{KuberAPIAlias}() - - x, ps = CSTParser.parse(ParseState(String(readchomp(file)))) - - while !ps.done && (CSTParser.kindof(ps.nt) !== CSTParser.Tokens.ENDMARKER) - if CSTParser.defines_struct(x) - structsig = CSTParser.get_sig(x) - if CSTParser.isbinarysyntax(structsig) - op = structsig.head - if CSTParser.is_issubt(op) - subtyp = CSTParser.str_value(CSTParser.get_name(structsig.args[2])) - if subtyp == "SwaggerApi" - typename = CSTParser.str_value(CSTParser.get_name(structsig.args[1])) - if endswith(typename, "Api") - api_decoration = typename[1:(end-3)] - end - end - end - end - elseif !isempty(api_decoration) - # Note: We are guaranteed to receive the struct definition before methods - # because of the sequence in which Swagger code is generated and also - # because of the Julia restriction of type being defined before use - fn_expr = (CSTParser.ismacrocall(x) && CSTParser.defines_function(x.args[4])) ? x.args[4] : CSTParser.defines_function(x) ? x : nothing - if fn_expr !== nothing - fn_name = CSTParser.str_value(CSTParser.get_name(fn_expr)) - if !startswith(fn_name, "_swaggerinternal_") - alias = emit_alias(fn_expr, api_decoration) - (alias === nothing) || push!(aliases, alias) - end - end - end - x, ps = CSTParser.parse(ps) - end - - aliases -end - -function detect_aliases(folder::String) - aliases_set = KuberAPIAliasesSet() - - for file in filter(x->startswith(x, "api_"), readdir(folder)) - @info(" - " * file) - for alias in kuberapi(joinpath(folder, file)) - @info(" - " * alias.lhs_fn_name * " => " * alias.rhs_fn_name) - push!(get!(()->Vector{KuberAPIAlias}(), aliases_set, alias.lhs_fn_name), alias) - end - end - @info("got $(length(aliases_set)) sets with $(sum(map(length, values(aliases_set)))) aliases") - aliases_set -end - -function gen_aliases(folder::String, output::String) - @info("reading $folder/api_*.jl") - @info("generating $output") - - aliases_set = detect_aliases(folder) - - open("$output", "w") do faliases - for (api_name, api_aliases) in aliases_set - println(faliases, "# ", api_name) - for api_alias in api_aliases - if isempty(api_alias.args) - lhs_args = rhs_args = "" - else - lhs_args = join(map(x->(isempty(x[2]) ? x[1] : join(x,"::")), api_alias.args), ", ") - rhs_args = join(map(x->x[1], api_alias.args), ", ") - end - if isempty(api_alias.kwargs) - lhs_kwargs = rhs_kwargs = "" - else - lhs_kwargs = "; " * join(map(x->join(x,'='), api_alias.kwargs), ", ") - rhs_kwargs = "; " * join(map(x->join((x[1],x[1]),'='), api_alias.kwargs), ", ") - end - println(faliases, api_alias.lhs_fn_name, "(", lhs_args, lhs_kwargs, ") = ", api_alias.rhs_fn_name, "(", rhs_args, rhs_kwargs, ")") - end - println(faliases, "export ", api_name, "\n") - end - end -end - -function main() - if length(ARGS) > 0 - output_path = ARGS[1] - else - output_path = joinpath(dirname(dirname(__FILE__)), "src", "ApiImpl") - end - gen_aliases(joinpath(output_path, "api"), joinpath(output_path, "apialiases.jl")) -end - -main() diff --git a/gen/generate.sh b/gen/generate.sh index 3568c80d..142cd50b 100755 --- a/gen/generate.sh +++ b/gen/generate.sh @@ -5,14 +5,12 @@ if [ $# -lt 1 ] || [ $# -gt 2 ]; then echo " - output path is optional, if not specified '../src/ApiImpl/api' folder relative to this script will be used" echo "Ensure:" echo " - 'julia' is in PATH or set in environment variable 'JULIA'." + echo " - 'java' is in PATH or set in environment variable 'JAVA_CMD'." + echo " - 'openapi-generator-cli.jar' is in CLASSPATH or set in environment variable 'JAVA_CMD'." echo " - package directory is writable." - echo " - CSTParser v3.3.0 is installed." echo "Note:" echo " - the 'api' folder in the output path will be renamed to 'api_bak'" echo " - existing 'api_bak' folder if any in output folder will be deleted" - echo "Ref:" - echo " - API conventions: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md" - echo " - API: https://kubernetes.io/docs/concepts/overview/kubernetes-api/" exit 1 fi @@ -21,12 +19,9 @@ then JULIA=julia fi -# ensure CSTParser is of right version -cstpver=`${JULIA} -e 'using Pkg, UUIDs; println(Pkg.dependencies()[UUID("00ebfdb7-1f24-5e51-bd34-a7502290713f")].version == v"3.3.0")'` -if [ "$cstpver" != "true" ] +if [ -z "$JAVA_CMD" ] then - echo "CSTParser v3.3.0 is required" - exit -1 + JAVA_CMD="java -jar openapi-generator-cli.jar" fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -37,28 +32,24 @@ else GENDIR="$( cd "$( dirname "${DIR}" )" && pwd )" APIIMPLDIR=${GENDIR}/src/ApiImpl fi -#TEMPGENDIR=${GENDIR}/_tmp TEMPGENDIR=`mktemp -d` -#SPECFILE=root_swagger.json +mkdir -p ${TEMPGENDIR} SPECFILE=swagger.json -SWAGGERDIR=`${JULIA} -e 'import Swagger; print(normpath(joinpath(dirname(pathof(Swagger)), "..")))'` -echo "Swagger is at $SWAGGERDIR" echo "Generating into $TEMPGENDIR, moving into $APIIMPLDIR" -mkdir -p ${TEMPGENDIR} -${SWAGGERDIR}/plugin/generate.sh -i ${SPECDIR}/${SPECFILE} -o ${TEMPGENDIR} -c ${DIR}/config.json + +${JAVA_CMD} generate \ + -i ${SPECDIR}/${SPECFILE} \ + -g julia-client \ + -o ${TEMPGENDIR} \ + --additional-properties=packageName=Kubernetes \ + --additional-properties=exportModels=true \ + --additional-properties=exportOperations=true + rm -rf ${APIIMPLDIR}/api_bak mv ${APIIMPLDIR}/api ${APIIMPLDIR}/api_bak -mkdir ${APIIMPLDIR}/api +mkdir -p ${APIIMPLDIR}/api mv ${TEMPGENDIR}/src/* ${APIIMPLDIR}/api/ -mv ${TEMPGENDIR}/*.jl ${APIIMPLDIR}/api/ -rm ${TEMPGENDIR}/LICENSE -rm -r ${TEMPGENDIR} - -${JULIA} ${DIR}/genapialiases.jl ${APIIMPLDIR} -${JULIA} ${DIR}/gentypealiases.jl ${APIIMPLDIR} +rm -rf ${TEMPGENDIR} -# the following models are not generated correctly by Swagger, hand code them for now -cp ${DIR}/model_IoK8sApimachineryPkgApisMetaV1Time.jl ${APIIMPLDIR}/api/ -cp ${DIR}/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl ${APIIMPLDIR}/api/ -cp ${DIR}/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl ${APIIMPLDIR}/api/ +${JULIA} ${DIR}/detect_apis_and_types.jl ${APIIMPLDIR} diff --git a/gen/gentypealiases.jl b/gen/gentypealiases.jl deleted file mode 100644 index b23f6d13..00000000 --- a/gen/gentypealiases.jl +++ /dev/null @@ -1,229 +0,0 @@ -using CSTParser - -""" -List of all aliases parsed. -Used to maintain state and write out the aliases file at the end. -""" -const KuberTypeAliasesSet = Dict{String,Set{String}} -const KuberTypeAliasesUnique = Dict{String,Vector{Pair{String,String}}} -const BaseTypes = ("String", "Float64", "Float32", "Int", "Int64", "Int32", "Int16", "UInt", "UInt64", "UInt32", "UInt16", "DateTime", "Bool", "Nothing") -const ModelPrefixes = ("IoK8sApimachineryPkgApis", "IoK8sApimachineryPkg", "IoK8sApi", "IoK8sKubeAggregatorPkgApis", "IoK8sApiextensionsApiserverPkgApis") - -function get_swagger_ctx_call_return_type(fn_body) - all_calls = findall(x->CSTParser.isbinarysyntax(x), fn_body.args) - for nidx in all_calls - ncall = fn_body.args[nidx] - fc = ncall.args[2] - if CSTParser.is_func_call(fc) - binop = fc.args[1] - if CSTParser.isbinarysyntax(binop) - if (CSTParser.str_value(binop.args[1]) == "Swagger") && CSTParser.is_dot(binop.head) && (binop.args[2].head === :quotenode) && (CSTParser.str_value(binop.args[2].args[1]) == "Ctx") - if (length(fc.args) > 3) && CSTParser.isidentifier(fc.args[4]) - return CSTParser.str_value(fc.args[4]) - end - end - end - end - end - nothing -end - -""" -Adds Swagger API call return types to be aliased to undecorated names. -""" -function emit_alias(fn_expr::CSTParser.EXPR, api_decoration::String, aliases::KuberTypeAliasesSet) - fn_body = fn_expr.args[end] - return_type = get_swagger_ctx_call_return_type(fn_body) - ((nothing === return_type) || (return_type in BaseTypes)) && return - push!(get!(()->Set{String}(), aliases, api_decoration), return_type) - nothing -end - -""" -Populates all models refered to by API groups detected in the specified file. -""" -function kuberapitypes(file::String, aliases_set::KuberTypeAliasesSet) - x, ps = CSTParser.parse(ParseState(String(readchomp(file)))) - api_decoration = "" - - while !ps.done && (CSTParser.kindof(ps.nt) !== CSTParser.Tokens.ENDMARKER) - structsig = nothing - if CSTParser.defines_struct(x) - structsig = CSTParser.get_sig(x) - elseif CSTParser.ismacrocall(x) && CSTParser.str_value(x[1]) == "@doc" - structsig = CSTParser.get_sig(x[3]) - end - - if structsig !== nothing - if CSTParser.isbinarysyntax(structsig) - op = structsig.head - if CSTParser.is_issubt(op) - subtyp = CSTParser.str_value(CSTParser.get_name(structsig.args[2])) - if subtyp == "SwaggerApi" - typename = CSTParser.str_value(CSTParser.get_name(structsig.args[1])) - if endswith(typename, "Api") - api_decoration = typename[1:(end-3)] - end - end - end - end - elseif !isempty(api_decoration) - # Note: We are guaranteed to receive the struct definition before methods - # because of the sequence in which Swagger code is generated and also - # because of the Julia restriction of type being defined before use - fn_expr = (CSTParser.ismacrocall(x) && CSTParser.defines_function(x.args[4])) ? x.args[4] : CSTParser.defines_function(x) ? x : nothing - if fn_expr !== nothing - emit_alias(fn_expr, api_decoration, aliases_set) - end - end - x, ps = CSTParser.parse(ps) - end - nothing -end - -function find_matching_api(sorted_apis::Vector{String}, model_name::String) - if startswith(model_name, "ShKarpenter") - karpenter_apis = map(x->startswith(x, "KarpenterSh") ? replace(x, "KarpenterSh"=>"ShKarpenter") : x, sorted_apis) - api_idx = findfirst(x->startswith(model_name, x), karpenter_apis) - (api_idx !== nothing) && (return api_idx) - end - - rbac_apis = map(x->startswith(x, "RbacAuthorization") ? replace(x, "Authorization"=>"") : x, sorted_apis) - flowcontrol_apis = map(x->startswith(x, "FlowcontrolApiserver") ? replace(x, "Apiserver"=>"") : x, sorted_apis) - - for apis in (sorted_apis, rbac_apis, flowcontrol_apis) - for pfx in ModelPrefixes - api_idx = findfirst(x->startswith(model_name, pfx*x), apis) - (api_idx !== nothing) && (return api_idx) - end - end - nothing -end - -function get_common_name(sorted_apis::Vector{String}, model_name::String) - if startswith(model_name, "ShKarpenter") - karpenter_apis = map(x->startswith(x, "KarpenterSh") ? replace(x, "KarpenterSh"=>"ShKarpenter") : x, sorted_apis) - api_idx = findfirst(x->startswith(model_name, x), karpenter_apis) - (api_idx !== nothing) && (return replace(model_name, (karpenter_apis[api_idx])=>"")) - end - - rbac_apis = map(x->startswith(x, "RbacAuthorization") ? replace(x, "Authorization"=>"") : x, sorted_apis) - flowcontrol_apis = map(x->startswith(x, "FlowcontrolApiserver") ? replace(x, "Apiserver"=>"") : x, sorted_apis) - - for apis in (sorted_apis, rbac_apis, flowcontrol_apis) - for pfx in ModelPrefixes - api_idx = findfirst(x->startswith(model_name, pfx*x), apis) - (api_idx !== nothing) && (return replace(model_name, (pfx*apis[api_idx])=>"")) - end - end - nothing -end - -function kubermodeltypes(file::String, sorted_apis::Vector{String}, aliases_set::KuberTypeAliasesSet, unmapped::Set{String}) - x, ps = CSTParser.parse(ParseState(String(readchomp(file)))) - - while !ps.done && (CSTParser.kindof(ps.nt) !== CSTParser.Tokens.ENDMARKER) - structsig = nothing - if CSTParser.defines_struct(x) - structsig = CSTParser.get_sig(x) - elseif CSTParser.ismacrocall(x) && CSTParser.str_value(x[1]) == "@doc" - for elem in x - if CSTParser.defines_struct(elem) - structsig = elem - break - end - end - end - - if structsig !== nothing - model_name = CSTParser.str_value(CSTParser.get_name(structsig)) - if !startswith(model_name, "IoK8sKubernetes") && !(model_name == "IoK8sApimachineryPkgRuntimeRawExtension") - api_idx = find_matching_api(sorted_apis, model_name) - if api_idx !== nothing - push!(aliases_set[sorted_apis[api_idx]], model_name) - else - push!(unmapped, model_name) - end - end - end - x, ps = CSTParser.parse(ps) - end -end - -function detect_aliases(folder::String) - aliases_set = KuberTypeAliasesSet() - unmapped = Set{String}() - - for file in filter(x->startswith(x, "api_"), readdir(folder)) - @info(" - " * file) - kuberapitypes(joinpath(folder, file), aliases_set) - end - - # inject pseudo APIs (Meta is an alias of Core) - get!(()->Set{String}(), aliases_set, "MetaV1") - # sort in order of search (ordered by version numbers) - sorted_apis = reverse!(sort!(collect(keys(aliases_set)))) - - for file in filter(x->startswith(x, "model_"), readdir(folder)) - @info(" - " * file) - kubermodeltypes(joinpath(folder, file), sorted_apis, aliases_set, unmapped) - end - - # merge Meta with Core - union!(aliases_set["CoreV1"], aliases_set["MetaV1"]) - - @info("got $(length(aliases_set)) sets with $(sum(map(length, values(aliases_set)))) aliases") - for n in unmapped - @info("could not place model " * n) - end - aliases_set -end - -function map_to_common_names(aliases_set::KuberTypeAliasesSet) - sorted_apis = reverse!(sort!(collect(keys(aliases_set)))) - cnames = KuberTypeAliasesUnique() - - for (api_name, model_names) in aliases_set - namesmap = get!(()->Vector{Pair{String,String}}(), cnames, api_name) - for model_name in model_names - cn = get_common_name(sorted_apis, model_name) - existing_names = map(x->x[1], namesmap) - (cn in existing_names) && error("duplicate name found", cn, api_name) - push!(namesmap, cn=>model_name) - end - end - cnames -end - -function gen_aliases(folder::String, output::String) - @info("reading $folder/api_*.jl") - @info("generating $output") - - aliases_set = detect_aliases(folder) - cnames = map_to_common_names(aliases_set) - - open("$output", "w") do faliases - println(faliases, "module Typedefs") - println(faliases, " using ..Kubernetes") - for (n,s) in cnames - println(faliases, " module ", n) - println(faliases, " using ..Kubernetes") - for v in s - println(faliases, " const ", v[1], " = Kubernetes.", v[2]) - end - println(faliases, " end # module ", n) - end - println(faliases, "end # module Typedefs") - end -end - -function main() - if length(ARGS) > 0 - output_path = ARGS[1] - else - output_path = joinpath(dirname(dirname(__FILE__)), "src", "ApiImpl") - end - gen_aliases(joinpath(output_path, "api"), joinpath(output_path, "typealiases.jl")) -end - -main() diff --git a/gen/model_IoK8sApimachineryPkgApisMetaV1Time.jl b/gen/model_IoK8sApimachineryPkgApisMetaV1Time.jl deleted file mode 100644 index 5a85565f..00000000 --- a/gen/model_IoK8sApimachineryPkgApisMetaV1Time.jl +++ /dev/null @@ -1,5 +0,0 @@ -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgApisMetaV1Time) - const IoK8sApimachineryPkgApisMetaV1Time = String -else - @warn("Skipping redefinition of IoK8sApimachineryPkgApisMetaV1Time to DateTime") -end diff --git a/gen/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl b/gen/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl deleted file mode 100644 index f952a87a..00000000 --- a/gen/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl +++ /dev/null @@ -1,32 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -mutable struct IoK8sApimachineryPkgApisMetaV1WatchEvent <: SwaggerModel - object::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgRuntimeRawExtension } # spec name: object - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApimachineryPkgApisMetaV1WatchEvent(;object=nothing, type=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1WatchEvent, Symbol("object"), object) - setfield!(o, Symbol("object"), object) - validate_property(IoK8sApimachineryPkgApisMetaV1WatchEvent, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApimachineryPkgApisMetaV1WatchEvent - -const _property_map_IoK8sApimachineryPkgApisMetaV1WatchEvent = Dict{Symbol,Symbol}(Symbol("object")=>Symbol("object"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApimachineryPkgApisMetaV1WatchEvent = Dict{Symbol,String}(Symbol("object")=>"Dict{String,Any}", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1WatchEvent)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1WatchEvent[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1WatchEvent[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1WatchEvent) - (getproperty(o, Symbol("object")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, name::Symbol, val) -end diff --git a/gen/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl b/gen/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl deleted file mode 100644 index 24c71750..00000000 --- a/gen/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl +++ /dev/null @@ -1,6 +0,0 @@ -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgUtilIntstrIntOrString) - const IoK8sApimachineryPkgUtilIntstrIntOrString = String - convert(::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T) where {T<:Integer} = string(v) -else - @warn("Skipping redefinition of IoK8sApimachineryPkgUtilIntstrIntOrString to String") -end diff --git a/gen/spec/swagger.json b/gen/spec/swagger.json index 0aef8f69..813ce14c 100644 --- a/gen/spec/swagger.json +++ b/gen/spec/swagger.json @@ -5586,6 +5586,137 @@ ], "type": "object" }, + "io.k8s.api.batch.v1.CronJob": { + "description": "CronJob represents the configuration of a single cron job.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobSpec", + "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobStatus", + "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + ] + }, + "io.k8s.api.batch.v1.CronJobList": { + "description": "CronJobList is a collection of cron jobs.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of CronJobs.", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "CronJobList", + "version": "v1" + } + ] + }, + "io.k8s.api.batch.v1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "properties": { + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", + "type": "string" + }, + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.", + "format": "int32", + "type": "integer" + }, + "jobTemplate": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobTemplateSpec", + "description": "Specifies the job that will be created when executing a CronJob." + }, + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "type": "string" + }, + "startingDeadlineSeconds": { + "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", + "format": "int64", + "type": "integer" + }, + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.", + "format": "int32", + "type": "integer" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" + } + }, + "required": [ + "schedule", + "jobTemplate" + ], + "type": "object" + }, + "io.k8s.api.batch.v1.CronJobStatus": { + "description": "CronJobStatus represents the current state of a cron job.", + "properties": { + "active": { + "description": "A list of pointers to currently running jobs.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "lastScheduleTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Information when was the last time the job was successfully scheduled." + }, + "lastSuccessfulTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Information when was the last time the job successfully completed." + } + }, + "type": "object" + }, "io.k8s.api.batch.v1.Job": { "description": "Job represents the configuration of a single job.", "properties": { @@ -5772,6 +5903,20 @@ }, "type": "object" }, + "io.k8s.api.batch.v1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "properties": { + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object" + }, "io.k8s.api.batch.v1beta1.CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { @@ -5889,11 +6034,16 @@ "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "lastScheduleTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", "description": "Information when was the last time the job was successfully scheduled." + }, + "lastSuccessfulTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Information when was the last time the job successfully completed." } }, "type": "object" @@ -12028,6 +12178,64 @@ }, "type": "object" }, + "io.k8s.api.custom.metrics.v1beta1.MetricValue": { + "description": "a metric value for some object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "describedObject": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "a reference to the described object" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metricName": { + "description": "the name of the metric", + "type": "string" + }, + "timestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "indicates the time at which the metrics were produced" + }, + "value": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "the value of the metric for this" + }, + "windowSeconds": { + "description": "indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).", + "format": "int64", + "type": "integer" + } + } + }, + "io.k8s.api.custom.metrics.v1beta1.MetricValueList": { + "description": "a list of values for a given metric for some set of objects", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "the value of the metric across the described objects", + "items": { + "$ref": "#/definitions/io.k8s.api.custom.metrics.v1beta1.MetricValue" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + } + } + }, "io.k8s.api.discovery.v1beta1.Endpoint": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { @@ -14380,6 +14588,102 @@ ], "type": "object" }, + "io.k8s.api.metrics.v1beta1.ContainerMetrics": { + "description": "ContainerMetrics sets resource usage metrics of a container.", + "properties": { + "name": { + "description": "Container name corresponding to the one from pod.spec.containers.", + "type": "string" + }, + "usage": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "The memory usage is the memory working set.", + "type": "object" + } + } + }, + "io.k8s.api.metrics.v1beta1.NodeMetrics": { + "description": "NodeMetrics sets resource usage metrics of a node.", + "properties": { + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + }, + "timestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" + }, + "usage": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "The memory usage is the memory working set.", + "type": "object" + }, + "window": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", + "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" + } + } + }, + "io.k8s.api.metrics.v1beta1.NodeMetricsList": { + "description": "NodeMetricsList is a list of NodeMetrics.", + "properties": { + "items": { + "description": "List of node metrics.", + "items": { + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.NodeMetrics" + }, + "type": "array" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + } + } + }, + "io.k8s.api.metrics.v1beta1.PodMetrics": { + "description": "PodMetrics sets resource usage metrics of a pod.", + "properties": { + "containers": { + "description": "Metrics for all containers are collected within the same time window.", + "items": { + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.ContainerMetrics" + }, + "type": "array" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + }, + "timestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" + }, + "window": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", + "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" + } + } + }, + "io.k8s.api.metrics.v1beta1.PodMetricsList": { + "description": "PodMetricsList is a list of PodMetrics.", + "properties": { + "items": { + "description": "List of pod metrics.", + "items": { + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.PodMetrics" + }, + "type": "array" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + } + } + }, "io.k8s.api.networking.v1.IPBlock": { "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", "properties": { @@ -19777,6 +20081,48 @@ } ] }, + "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions_v2": { + "description": "DeleteOptions may be provided when deleting an API object.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "items": { + "type": "string" + }, + "type": "array" + }, + "gracePeriodSeconds": { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "format": "int64", + "type": "integer" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "orphanDependents": { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "type": "boolean" + }, + "preconditions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions", + "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." + }, + "propagationPolicy": { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Duration": { + "description": "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.", + "type": "string" + }, "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" @@ -20164,6 +20510,79 @@ }, "type": "object" }, + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails_v2": { + "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", + "properties": { + "causes": { + "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" + }, + "type": "array" + }, + "group": { + "description": "The group attribute of the resource associated with the status StatusReason.", + "type": "string" + }, + "kind": { + "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", + "type": "string" + }, + "retryAfterSeconds": { + "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", + "format": "int32", + "type": "integer" + }, + "uid": { + "description": "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Status_v2": { + "description": "Status is a return value for calls that don't return other objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "code": { + "description": "Suggested HTTP return code for this status, 0 if not set.", + "format": "int32", + "type": "integer" + }, + "details": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails_v2", + "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "reason": { + "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", + "type": "string" + }, + "status": { + "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "string" + } + }, + "type": "object" + }, "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "format": "date-time", @@ -20430,7 +20849,7 @@ "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", "format": "int-or-string", - "type": "string" + "type": "object" }, "io.k8s.apimachinery.pkg.version.Info": { "description": "Info contains versioning information. how we'll want to distribute that information.", @@ -20818,108 +21237,9 @@ }, "type": "object" }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Duration": { - "description": "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.", - "type": "string" - }, - "io.k8s.api.metrics.v1beta1.ContainerMetrics": { - "description": "ContainerMetrics sets resource usage metrics of a container.", - "properties": { - "name": { - "description": "Container name corresponding to the one from pod.spec.containers.", - "type": "string" - }, - "usage": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "type": "object", - "description": "The memory usage is the memory working set." - } - } - }, - "io.k8s.api.metrics.v1beta1.NodeMetrics": { - "description": "NodeMetrics sets resource usage metrics of a node.", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "timestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" - }, - "window": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", - "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" - }, - "usage": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "type": "object", - "description": "The memory usage is the memory working set." - } - } - }, - "io.k8s.api.metrics.v1beta1.NodeMetricsList": { - "description": "NodeMetricsList is a list of NodeMetrics.", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.NodeMetrics" - }, - "type": "array", - "description": "List of node metrics." - } - } - }, - "io.k8s.api.metrics.v1beta1.PodMetrics": { - "description": "PodMetrics sets resource usage metrics of a pod.", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "timestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" - }, - "window": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", - "description": "define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]" - }, - "containers": { - "items": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.ContainerMetrics" - }, - "type": "array", - "description": "Metrics for all containers are collected within the same time window." - } - } - }, - "io.k8s.api.metrics.v1beta1.PodMetricsList": { - "description": "PodMetricsList is a list of PodMetrics.", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.PodMetrics" - }, - "type": "array", - "description": "List of pod metrics." - } - } - }, - "io.k8s.api.custom.metrics.v1beta1.MetricValue": { - "description": "a metric value for some object", + "sh.karpenter.v1alpha5.Provisioner": { + "description": "Provisioner is the Schema for the Provisioners API", + "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -20929,52 +21249,306 @@ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "describedObject": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "a reference to the described object" - }, - "metricName": { - "description": "the name of the metric", - "type": "string" - }, - "timestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "indicates the time at which the metrics were produced" + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "windowSeconds": { - "description": "indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).", - "format": "int64", - "type": "integer" + "spec": { + "description": "ProvisionerSpec is the top level provisioner specification. Provisioners launch nodes in response to pods that are unschedulable. A single provisioner is capable of managing a diverse set of nodes. Node properties are determined from a combination of provisioner and pod scheduling constraints.", + "type": "object", + "properties": { + "consolidation": { + "description": "Consolidation are the consolidation parameters", + "type": "object", + "properties": { + "enabled": { + "description": "Enabled enables consolidation if it has been set", + "type": "boolean" + } + } + }, + "kubeletConfiguration": { + "description": "KubeletConfiguration are options passed to the kubelet when provisioning nodes", + "type": "object", + "properties": { + "clusterDNS": { + "description": "clusterDNS is a list of IP addresses for the cluster DNS server. Note that not all providers may use all addresses.", + "type": "array", + "items": { + "type": "string" + } + }, + "containerRuntime": { + "description": "ContainerRuntime is the container runtime to be used with your worker nodes.", + "type": "string" + }, + "maxPods": { + "description": "MaxPods is an override for the maximum number of pods that can run on a worker node instance.", + "type": "integer", + "format": "int32" + }, + "systemReserved": { + "description": "SystemReserved contains resources reserved for OS system daemons and kernel memory.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "labels": { + "description": "Labels are layered with Requirements and applied to every node.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "limits": { + "description": "Limits define a set of bounds for provisioning capacity.", + "type": "object", + "properties": { + "resources": { + "description": "Resources contains all the allocatable resources that Karpenter supports for limiting.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "provider": { + "description": "Provider contains fields specific to your cloudprovider.", + "x-kubernetes-preserve-unknown-fields": true + }, + "providerRef": { + "description": "ProviderRef is a reference to a dedicated CRD for the chosen provider, that holds additional configuration options", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + } + }, + "requirements": { + "description": "Requirements are layered with Labels and applied to every node.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "startupTaints": { + "description": "StartupTaints are taints that are applied to nodes upon startup which are expected to be removed automatically within a short period of time, typically by a DaemonSet that tolerates the taint. These are commonly used by daemonsets to allow initialization and enforce startup ordering. StartupTaints are ignored for provisioning purposes in that pods are not required to tolerate a StartupTaint in order to have nodes provisioned for them.", + "type": "array", + "items": { + "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", + "type": "object", + "required": [ + "effect", + "key" + ], + "properties": { + "effect": { + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Required. The taint key to be applied to a node.", + "type": "string" + }, + "timeAdded": { + "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", + "type": "string", + "format": "date-time" + }, + "value": { + "description": "The taint value corresponding to the taint key.", + "type": "string" + } + } + } + }, + "taints": { + "description": "Taints will be applied to every node launched by the Provisioner. If specified, the provisioner will not provision nodes for pods that do not have matching tolerations. Additional taints will be created that match pod tolerations on a per-node basis.", + "type": "array", + "items": { + "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", + "type": "object", + "required": [ + "effect", + "key" + ], + "properties": { + "effect": { + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Required. The taint key to be applied to a node.", + "type": "string" + }, + "timeAdded": { + "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", + "type": "string", + "format": "date-time" + }, + "value": { + "description": "The taint value corresponding to the taint key.", + "type": "string" + } + } + } + }, + "ttlSecondsAfterEmpty": { + "description": "TTLSecondsAfterEmpty is the number of seconds the controller will wait before attempting to delete a node, measured from when the node is detected to be empty. A Node is considered to be empty when it does not have pods scheduled to it, excluding daemonsets. \n Termination due to no utilization is disabled if this field is not set.", + "type": "integer", + "format": "int64" + }, + "ttlSecondsUntilExpired": { + "description": "TTLSecondsUntilExpired is the number of seconds the controller will wait before terminating a node, measured from when the node is created. This is useful to implement features like eventually consistent node upgrade, memory leak protection, and disruption testing. \n Termination due to expiration is disabled if this field is not set.", + "type": "integer", + "format": "int64" + }, + "weight": { + "description": "Weight is the priority given to the provisioner during scheduling. A higher numerical weight indicates that this provisioner will be ordered ahead of other provisioners with lower weights. A provisioner with no weight will be treated as if it is a provisioner with a weight of 0.", + "type": "integer", + "format": "int32", + "maximum": 100, + "minimum": 1 + } + } }, - "value": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "the value of the metric for this" + "status": { + "description": "ProvisionerStatus defines the observed state of Provisioner", + "type": "object", + "properties": { + "conditions": { + "description": "Conditions is the set of conditions required for this provisioner to scale its target, and indicates whether or not those conditions are met.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "lastScaleTime": { + "description": "LastScaleTime is the last time the Provisioner scaled the number of nodes", + "type": "string", + "format": "date-time" + }, + "resources": { + "description": "Resources is the list of resources that have been provisioned.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" + } + ] }, - "io.k8s.api.custom.metrics.v1beta1.MetricValueList": { - "description": "a list of values for a given metric for some set of objects", + "sh.karpenter.v1alpha5.ProvisionerList": { + "description": "ProvisionerList is a list of Provisioner", + "required": [ + "items" + ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of provisioners. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" + } + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.custom.metrics.v1beta1.MetricValue" - }, - "type": "array", - "description": "the value of the metric across the described objects" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "karpenter.sh", + "kind": "ProvisionerList", + "version": "v1alpha5" + } + ] } }, "info": { @@ -70741,6 +71315,117 @@ ] } }, + "/apis/batch/v1/cronjobs": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV1CronJobForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, "/apis/batch/v1/jobs": { "get": { "consumes": [ @@ -70845,21 +71530,14 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { + "/apis/batch/v1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Job", - "operationId": "deleteBatchV1CollectionNamespacedJob", + "description": "delete collection of CronJob", + "operationId": "deleteBatchV1CollectionNamespacedCronJob", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", @@ -70924,24 +71602,24 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", - "name": "timeoutSeconds", - "type": "integer", + "name": "resourceVersionMatch", + "type": "string", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", - "name": "watch", - "type": "boolean", + "name": "timeoutSeconds", + "type": "integer", "uniqueItems": true } ], @@ -70970,7 +71648,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, @@ -70978,11 +71656,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Job", - "operationId": "listBatchV1NamespacedJob", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV1NamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71017,12 +71695,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -71049,7 +71734,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobList" } }, "401": { @@ -71065,7 +71750,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, @@ -71090,15 +71775,15 @@ "consumes": [ "*/*" ], - "description": "create a Job", - "operationId": "createBatchV1NamespacedJob", + "description": "create a CronJob", + "operationId": "createBatchV1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, { @@ -71125,19 +71810,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71153,18 +71838,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } } }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Job", - "operationId": "deleteBatchV1NamespacedJob", + "description": "delete a CronJob", + "operationId": "deleteBatchV1NamespacedCronJob", "parameters": [ { "in": "body", @@ -71233,7 +71918,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, @@ -71241,24 +71926,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Job", - "operationId": "readBatchV1NamespacedJob", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read the specified CronJob", + "operationId": "readBatchV1NamespacedCronJob", "produces": [ "application/json", "application/yaml", @@ -71268,7 +71937,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71284,13 +71953,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, "parameters": [ { - "description": "name of the Job", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -71320,8 +71989,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Job", - "operationId": "patchBatchV1NamespacedJob", + "description": "partially update the specified CronJob", + "operationId": "patchBatchV1NamespacedCronJob", "parameters": [ { "in": "body", @@ -71362,7 +72031,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71378,7 +72053,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, @@ -71386,15 +72061,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Job", - "operationId": "replaceBatchV1NamespacedJob", + "description": "replace the specified CronJob", + "operationId": "replaceBatchV1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, { @@ -71421,13 +72096,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71443,18 +72118,18 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } } }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Job", - "operationId": "readBatchV1NamespacedJobStatus", + "description": "read status of the specified CronJob", + "operationId": "readBatchV1NamespacedCronJobStatus", "produces": [ "application/json", "application/yaml", @@ -71464,7 +72139,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71480,13 +72155,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, "parameters": [ { - "description": "name of the Job", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -71516,8 +72191,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified Job", - "operationId": "patchBatchV1NamespacedJobStatus", + "description": "partially update status of the specified CronJob", + "operationId": "patchBatchV1NamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -71558,7 +72233,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71574,7 +72255,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } }, @@ -71582,15 +72263,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified Job", - "operationId": "replaceBatchV1NamespacedJobStatus", + "description": "replace status of the specified CronJob", + "operationId": "replaceBatchV1NamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, { @@ -71617,13 +72298,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, "401": { @@ -71639,30 +72320,121 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "Job", + "kind": "CronJob", "version": "v1" } } }, - "/apis/batch/v1/watch/jobs": { - "get": { + "/apis/batch/v1/namespaces/{namespace}/jobs": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1JobListForAllNamespaces", + "description": "delete collection of Job", + "operationId": "deleteBatchV1CollectionNamespacedJob", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -71675,86 +72447,77 @@ "tags": [ "batch_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "Job", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1NamespacedJobList", + "description": "list or watch objects of kind Job", + "operationId": "listBatchV1NamespacedJob", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -71766,7 +72529,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" } }, "401": { @@ -71779,7 +72542,7 @@ "tags": [ "batch_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "Job", @@ -71787,41 +72550,6 @@ } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -71836,159 +72564,38 @@ "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1NamespacedJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", + "description": "create a Job", + "operationId": "createBatchV1NamespacedJob", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, - "401": { - "description": "Unauthorized" + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" ], - "description": "get available resources", - "operationId": "getBatchV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -71998,40 +72605,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ] - } - }, - "/apis/batch/v1beta1/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1beta1CronJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72042,96 +72628,24 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "kind": "Job", + "version": "v1" } - ] + } }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of CronJob", - "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", + "description": "delete a Job", + "operationId": "deleteBatchV1NamespacedJob", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", @@ -72139,13 +72653,6 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -72153,13 +72660,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "in": "query", @@ -72167,20 +72667,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -72194,27 +72680,6 @@ "name": "propagationPolicy", "type": "string", "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -72229,6 +72694,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -72237,75 +72708,33 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1beta1NamespacedCronJob", + "description": "read the specified Job", + "operationId": "readBatchV1NamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "allowWatchBookmarks", + "name": "exact", "type": "boolean", "uniqueItems": true }, { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "watch", + "name": "export", "type": "boolean", "uniqueItems": true } @@ -72313,15 +72742,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72332,16 +72759,24 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ + { + "description": "name of the Job", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -72358,19 +72793,22 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a CronJob", - "operationId": "createBatchV1beta1NamespacedCronJob", + "description": "partially update the specified Job", + "operationId": "patchBatchV1NamespacedJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, { @@ -72381,11 +72819,18 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -72397,19 +72842,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72420,29 +72853,28 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } - } - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete a CronJob", - "operationId": "deleteBatchV1beta1NamespacedCronJob", + "description": "replace the specified Job", + "operationId": "replaceBatchV1NamespacedJob", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, { @@ -72453,23 +72885,9 @@ "uniqueItems": true }, { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "propagationPolicy", + "name": "fieldManager", "type": "string", "uniqueItems": true } @@ -72483,13 +72901,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72500,37 +72918,23 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } - }, + } + }, + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified CronJob", - "operationId": "readBatchV1beta1NamespacedCronJob", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified Job", + "operationId": "readBatchV1NamespacedJobStatus", "produces": [ "application/json", "application/yaml", @@ -72540,7 +72944,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72551,18 +72955,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "name of the CronJob", + "description": "name of the Job", "in": "path", "name": "name", "required": true, @@ -72592,8 +72996,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified CronJob", - "operationId": "patchBatchV1beta1NamespacedCronJob", + "description": "partially update status of the specified Job", + "operationId": "patchBatchV1NamespacedJobStatus", "parameters": [ { "in": "body", @@ -72634,7 +73038,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72645,28 +73049,28 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified CronJob", - "operationId": "replaceBatchV1beta1NamespacedCronJob", + "description": "replace status of the specified Job", + "operationId": "replaceBatchV1NamespacedJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, { @@ -72693,13 +73097,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -72710,33 +73114,35 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } } }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/batch/v1/watch/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified CronJob", - "operationId": "readBatchV1beta1NamespacedCronJobStatus", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1CronJobListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -72747,182 +73153,95 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV1beta1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/batch/v1beta1/watch/cronjobs": { + "/apis/batch/v1/watch/jobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1JobListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -72945,13 +73264,13 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ @@ -73020,13 +73339,13 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1beta1NamespacedCronJobList", + "operationId": "watchBatchV1NamespacedCronJobList", "produces": [ "application/json", "application/yaml", @@ -73049,18 +73368,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73110,12 +73429,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -73132,13 +73458,13 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1beta1NamespacedCronJob", + "operationId": "watchBatchV1NamespacedCronJob", "produces": [ "application/json", "application/yaml", @@ -73161,18 +73487,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73229,6 +73555,125 @@ "type": "string", "uniqueItems": true }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1NamespacedJobList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, { "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", "in": "query", @@ -73252,7 +73697,127 @@ } ] }, - "/apis/batch/v2alpha1/": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchBatchV1NamespacedJob", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Job", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1beta1/": { "get": { "consumes": [ "application/json", @@ -73260,7 +73825,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getBatchV2alpha1APIResources", + "operationId": "getBatchV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -73281,17 +73846,17 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ] } }, - "/apis/batch/v2alpha1/cronjobs": { + "/apis/batch/v1beta1/cronjobs": { "get": { "consumes": [ "*/*" ], "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV2alpha1CronJobForAllNamespaces", + "operationId": "listBatchV1beta1CronJobForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -73303,7 +73868,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" } }, "401": { @@ -73314,18 +73879,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73367,12 +73932,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -73389,21 +73961,14 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of CronJob", - "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", + "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", @@ -73468,24 +74033,24 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", - "name": "timeoutSeconds", - "type": "integer", + "name": "resourceVersionMatch", + "type": "string", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", - "name": "watch", - "type": "boolean", + "name": "timeoutSeconds", + "type": "integer", "uniqueItems": true } ], @@ -73509,13 +74074,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "get": { @@ -73523,10 +74088,10 @@ "*/*" ], "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV2alpha1NamespacedCronJob", + "operationId": "listBatchV1beta1NamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73561,12 +74126,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -73593,7 +74165,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" } }, "401": { @@ -73604,13 +74176,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -73635,14 +74207,14 @@ "*/*" ], "description": "create a CronJob", - "operationId": "createBatchV2alpha1NamespacedCronJob", + "operationId": "createBatchV1beta1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, { @@ -73669,19 +74241,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -73692,23 +74264,23 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } } }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a CronJob", - "operationId": "deleteBatchV2alpha1NamespacedCronJob", + "operationId": "deleteBatchV1beta1NamespacedCronJob", "parameters": [ { "in": "body", @@ -73772,13 +74344,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "get": { @@ -73786,7 +74358,7 @@ "*/*" ], "description": "read the specified CronJob", - "operationId": "readBatchV2alpha1NamespacedCronJob", + "operationId": "readBatchV1beta1NamespacedCronJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -73812,7 +74384,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -73823,13 +74395,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -73865,7 +74437,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified CronJob", - "operationId": "patchBatchV2alpha1NamespacedCronJob", + "operationId": "patchBatchV1beta1NamespacedCronJob", "parameters": [ { "in": "body", @@ -73906,7 +74478,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -73917,13 +74495,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "put": { @@ -73931,14 +74509,14 @@ "*/*" ], "description": "replace the specified CronJob", - "operationId": "replaceBatchV2alpha1NamespacedCronJob", + "operationId": "replaceBatchV1beta1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, { @@ -73965,13 +74543,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -73982,23 +74560,23 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } } }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified CronJob", - "operationId": "readBatchV2alpha1NamespacedCronJobStatus", + "operationId": "readBatchV1beta1NamespacedCronJobStatus", "produces": [ "application/json", "application/yaml", @@ -74008,7 +74586,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -74019,13 +74597,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -74061,7 +74639,7 @@ "application/apply-patch+yaml" ], "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", + "operationId": "patchBatchV1beta1NamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -74102,7 +74680,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -74113,13 +74697,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "put": { @@ -74127,14 +74711,14 @@ "*/*" ], "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", + "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, { @@ -74161,13 +74745,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -74178,23 +74762,23 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } } }, - "/apis/batch/v2alpha1/watch/cronjobs": { + "/apis/batch/v1beta1/watch/cronjobs": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", + "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -74217,18 +74801,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74270,12 +74854,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -74292,13 +74883,13 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV2alpha1NamespacedCronJobList", + "operationId": "watchBatchV1beta1NamespacedCronJobList", "produces": [ "application/json", "application/yaml", @@ -74321,18 +74912,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74382,12 +74973,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -74404,13 +75002,13 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV2alpha1NamespacedCronJob", + "operationId": "watchBatchV1beta1NamespacedCronJob", "produces": [ "application/json", "application/yaml", @@ -74433,18 +75031,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74502,12 +75100,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -74524,15 +75129,15 @@ } ] }, - "/apis/certificates.k8s.io/": { + "/apis/batch/v2alpha1/": { "get": { "consumes": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "description": "get information of a group", - "operationId": "getCertificatesAPIGroup", + "description": "get available resources", + "operationId": "getBatchV2alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -74542,7 +75147,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -74553,29 +75158,29 @@ "https" ], "tags": [ - "certificates" + "batch_v2alpha1" ] } }, - "/apis/certificates.k8s.io/v1beta1/": { + "/apis/batch/v2alpha1/cronjobs": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getCertificatesV1beta1APIResources", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV2alpha1CronJobForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" } }, "401": { @@ -74586,17 +75191,88 @@ "https" ], "tags": [ - "certificates_v1beta1" - ] - } + "batch_v2alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of CertificateSigningRequest", - "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", + "description": "delete collection of CronJob", + "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -74710,21 +75386,21 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CertificateSigningRequest", - "operationId": "listCertificatesV1beta1CertificateSigningRequest", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV2alpha1NamespacedCronJob", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -74794,7 +75470,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" } }, "401": { @@ -74805,16 +75481,24 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -74827,15 +75511,15 @@ "consumes": [ "*/*" ], - "description": "create a CertificateSigningRequest", - "operationId": "createCertificatesV1beta1CertificateSigningRequest", + "description": "create a CronJob", + "operationId": "createBatchV2alpha1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, { @@ -74862,19 +75546,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -74885,23 +75569,23 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } } }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a CertificateSigningRequest", - "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", + "description": "delete a CronJob", + "operationId": "deleteBatchV2alpha1NamespacedCronJob", "parameters": [ { "in": "body", @@ -74965,21 +75649,21 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequest", + "description": "read the specified CronJob", + "operationId": "readBatchV2alpha1NamespacedCronJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -75005,7 +75689,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -75016,24 +75700,32 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "name of the CertificateSigningRequest", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -75049,8 +75741,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequest", + "description": "partially update the specified CronJob", + "operationId": "patchBatchV2alpha1NamespacedCronJob", "parameters": [ { "in": "body", @@ -75091,7 +75783,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -75102,28 +75794,28 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", + "description": "replace the specified CronJob", + "operationId": "replaceBatchV2alpha1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, { @@ -75150,97 +75842,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "put": { - "consumes": [ - "*/*" - ], - "description": "replace approval of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -75251,23 +75859,23 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } } }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", + "description": "read status of the specified CronJob", + "operationId": "readBatchV2alpha1NamespacedCronJobStatus", "produces": [ "application/json", "application/yaml", @@ -75277,7 +75885,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -75288,24 +75896,32 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "name of the CertificateSigningRequest", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -75321,8 +75937,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", + "description": "partially update status of the specified CronJob", + "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -75363,7 +75979,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -75374,28 +75990,28 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", + "description": "replace status of the specified CronJob", + "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, { @@ -75422,13 +76038,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -75439,23 +76055,23 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } } }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { + "/apis/batch/v2alpha1/watch/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -75478,13 +76094,13 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ @@ -75553,13 +76169,13 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCertificatesV1beta1CertificateSigningRequest", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV2alpha1NamespacedCronJobList", "produces": [ "application/json", "application/yaml", @@ -75582,13 +76198,13 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ @@ -75628,9 +76244,9 @@ "uniqueItems": true }, { - "description": "name of the CertificateSigningRequest", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -75665,79 +76281,13 @@ } ] }, - "/apis/coordination.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getCoordinationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination" - ] - } - }, - "/apis/coordination.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCoordinationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ] - } - }, - "/apis/coordination.k8s.io/v1/leases": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1LeaseForAllNamespaces", + "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchBatchV2alpha1NamespacedCronJob", "produces": [ "application/json", "application/yaml", @@ -75749,7 +76299,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -75760,13 +76310,13 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v2alpha1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ @@ -75805,6 +76355,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the CronJob", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -75835,13 +76401,79 @@ } ] }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { + "/apis/certificates.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getCertificatesAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates" + ] + } + }, + "/apis/certificates.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getCertificatesV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ] + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Lease", - "operationId": "deleteCoordinationV1CollectionNamespacedLease", + "description": "delete collection of CertificateSigningRequest", + "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -75955,21 +76587,21 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1NamespacedLease", + "description": "list or watch objects of kind CertificateSigningRequest", + "operationId": "listCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -76039,7 +76671,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" } }, "401": { @@ -76050,24 +76682,16 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -76080,15 +76704,15 @@ "consumes": [ "*/*" ], - "description": "create a Lease", - "operationId": "createCoordinationV1NamespacedLease", + "description": "create a CertificateSigningRequest", + "operationId": "createCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, { @@ -76115,19 +76739,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -76138,23 +76762,23 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } } }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Lease", - "operationId": "deleteCoordinationV1NamespacedLease", + "description": "delete a CertificateSigningRequest", + "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "in": "body", @@ -76218,21 +76842,21 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified Lease", - "operationId": "readCoordinationV1NamespacedLease", + "description": "read the specified CertificateSigningRequest", + "operationId": "readCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -76258,7 +76882,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -76269,18 +76893,18 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Lease", + "description": "name of the CertificateSigningRequest", "in": "path", "name": "name", "required": true, @@ -76288,9 +76912,273 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CertificateSigningRequest", + "operationId": "patchCertificatesV1beta1CertificateSigningRequest", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified CertificateSigningRequest", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "name of the CertificateSigningRequest", "in": "path", - "name": "namespace", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "put": { + "consumes": [ + "*/*" + ], + "description": "replace approval of the specified CertificateSigningRequest", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified CertificateSigningRequest", + "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the CertificateSigningRequest", + "in": "path", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -76310,8 +77198,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Lease", - "operationId": "patchCoordinationV1NamespacedLease", + "description": "partially update status of the specified CertificateSigningRequest", + "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", "parameters": [ { "in": "body", @@ -76352,7 +77240,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -76363,28 +77251,28 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified Lease", - "operationId": "replaceCoordinationV1NamespacedLease", + "description": "replace status of the specified CertificateSigningRequest", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, { @@ -76411,13 +77299,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -76428,23 +77316,23 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } } }, - "/apis/coordination.k8s.io/v1/watch/leases": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1LeaseListForAllNamespaces", + "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", "produces": [ "application/json", "application/yaml", @@ -76467,13 +77355,13 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ @@ -76542,13 +77430,13 @@ } ] }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1NamespacedLeaseList", + "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCertificatesV1beta1CertificateSigningRequest", "produces": [ "application/json", "application/yaml", @@ -76571,13 +77459,13 @@ "https" ], "tags": [ - "coordination_v1" + "certificates_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ @@ -76617,9 +77505,9 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the CertificateSigningRequest", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -76654,25 +77542,25 @@ } ] }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { + "/apis/coordination.k8s.io/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoordinationV1NamespacedLease", + "description": "get information of a group", + "operationId": "getCoordinationAPIGroup", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { @@ -76683,98 +77571,11 @@ "https" ], "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "coordination" + ] + } }, - "/apis/coordination.k8s.io/v1beta1/": { + "/apis/coordination.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -76782,7 +77583,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getCoordinationV1beta1APIResources", + "operationId": "getCoordinationV1APIResources", "produces": [ "application/json", "application/yaml", @@ -76803,17 +77604,17 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ] } }, - "/apis/coordination.k8s.io/v1beta1/leases": { + "/apis/coordination.k8s.io/v1/leases": { "get": { "consumes": [ "*/*" ], "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1beta1LeaseForAllNamespaces", + "operationId": "listCoordinationV1LeaseForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -76825,7 +77626,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" } }, "401": { @@ -76836,13 +77637,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ @@ -76911,13 +77712,13 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of Lease", - "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", + "operationId": "deleteCoordinationV1CollectionNamespacedLease", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -77031,13 +77832,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "get": { @@ -77045,7 +77846,7 @@ "*/*" ], "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1beta1NamespacedLease", + "operationId": "listCoordinationV1NamespacedLease", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -77115,7 +77916,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" } }, "401": { @@ -77126,13 +77927,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ @@ -77157,14 +77958,14 @@ "*/*" ], "description": "create a Lease", - "operationId": "createCoordinationV1beta1NamespacedLease", + "operationId": "createCoordinationV1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, { @@ -77191,19 +77992,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -77214,23 +78015,23 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } } }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a Lease", - "operationId": "deleteCoordinationV1beta1NamespacedLease", + "operationId": "deleteCoordinationV1NamespacedLease", "parameters": [ { "in": "body", @@ -77294,13 +78095,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "get": { @@ -77308,7 +78109,7 @@ "*/*" ], "description": "read the specified Lease", - "operationId": "readCoordinationV1beta1NamespacedLease", + "operationId": "readCoordinationV1NamespacedLease", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -77334,7 +78135,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -77345,13 +78146,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ @@ -77387,7 +78188,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified Lease", - "operationId": "patchCoordinationV1beta1NamespacedLease", + "operationId": "patchCoordinationV1NamespacedLease", "parameters": [ { "in": "body", @@ -77428,7 +78229,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -77439,13 +78240,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "put": { @@ -77453,14 +78254,14 @@ "*/*" ], "description": "replace the specified Lease", - "operationId": "replaceCoordinationV1beta1NamespacedLease", + "operationId": "replaceCoordinationV1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, { @@ -77487,13 +78288,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -77504,23 +78305,23 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } } }, - "/apis/coordination.k8s.io/v1beta1/watch/leases": { + "/apis/coordination.k8s.io/v1/watch/leases": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1beta1LeaseListForAllNamespaces", + "operationId": "watchCoordinationV1LeaseListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -77543,13 +78344,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ @@ -77618,13 +78419,13 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1beta1NamespacedLeaseList", + "operationId": "watchCoordinationV1NamespacedLeaseList", "produces": [ "application/json", "application/yaml", @@ -77647,13 +78448,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ @@ -77730,13 +78531,13 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoordinationV1beta1NamespacedLease", + "operationId": "watchCoordinationV1NamespacedLease", "produces": [ "application/json", "application/yaml", @@ -77759,13 +78560,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "coordination.k8s.io", "kind": "Lease", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ @@ -77850,40 +78651,7 @@ } ] }, - "/apis/discovery.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getDiscoveryAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery" - ] - } - }, - "/apis/discovery.k8s.io/v1beta1/": { + "/apis/coordination.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -77891,7 +78659,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getDiscoveryV1beta1APIResources", + "operationId": "getCoordinationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -77912,17 +78680,17 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ] } }, - "/apis/discovery.k8s.io/v1beta1/endpointslices": { + "/apis/coordination.k8s.io/v1beta1/leases": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1beta1EndpointSliceForAllNamespaces", + "description": "list or watch objects of kind Lease", + "operationId": "listCoordinationV1beta1LeaseForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -77934,7 +78702,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" } }, "401": { @@ -77945,12 +78713,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78020,13 +78788,13 @@ } ] }, - "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice", + "description": "delete collection of Lease", + "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -78140,12 +78908,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78153,8 +78921,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1beta1NamespacedEndpointSlice", + "description": "list or watch objects of kind Lease", + "operationId": "listCoordinationV1beta1NamespacedLease", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -78224,7 +78992,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" } }, "401": { @@ -78235,12 +79003,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78265,15 +79033,15 @@ "consumes": [ "*/*" ], - "description": "create an EndpointSlice", - "operationId": "createDiscoveryV1beta1NamespacedEndpointSlice", + "description": "create a Lease", + "operationId": "createCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, { @@ -78300,19 +79068,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -78323,23 +79091,23 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } } }, - "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an EndpointSlice", - "operationId": "deleteDiscoveryV1beta1NamespacedEndpointSlice", + "description": "delete a Lease", + "operationId": "deleteCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", @@ -78403,12 +79171,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78416,8 +79184,8 @@ "consumes": [ "*/*" ], - "description": "read the specified EndpointSlice", - "operationId": "readDiscoveryV1beta1NamespacedEndpointSlice", + "description": "read the specified Lease", + "operationId": "readCoordinationV1beta1NamespacedLease", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -78443,7 +79211,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -78454,18 +79222,18 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the EndpointSlice", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -78495,8 +79263,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchDiscoveryV1beta1NamespacedEndpointSlice", + "description": "partially update the specified Lease", + "operationId": "patchCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", @@ -78537,7 +79305,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -78548,12 +79316,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78561,15 +79329,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceDiscoveryV1beta1NamespacedEndpointSlice", + "description": "replace the specified Lease", + "operationId": "replaceCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, { @@ -78596,13 +79364,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -78613,23 +79381,23 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } } }, - "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { + "/apis/coordination.k8s.io/v1beta1/watch/leases": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1beta1EndpointSliceListForAllNamespaces", + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1beta1LeaseListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -78652,12 +79420,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78727,13 +79495,13 @@ } ] }, - "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1beta1NamespacedEndpointSliceList", + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1beta1NamespacedLeaseList", "produces": [ "application/json", "application/yaml", @@ -78756,12 +79524,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78839,13 +79607,13 @@ } ] }, - "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchDiscoveryV1beta1NamespacedEndpointSlice", + "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoordinationV1beta1NamespacedLease", "produces": [ "application/json", "application/yaml", @@ -78868,12 +79636,12 @@ "https" ], "tags": [ - "discovery_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -78914,7 +79682,7 @@ "uniqueItems": true }, { - "description": "name of the EndpointSlice", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -78959,7 +79727,173 @@ } ] }, - "/apis/events.k8s.io/": { + "/apis/custom.metrics.k8s.io/v1beta1/namespaces/{namespace}/{compositemetricname}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "retrieve the given metric (in composite form) which describes the given namespace. Composite form of metrics can be either \"metric/\" to fetch metrics of all objects in the namespace, or \"//\" to fetch metrics of the specified object type and name. Passing \"*\" for objectname would fetch metrics of all objects of the specified type in the namespace.", + "operationId": "listCustomMetricsV1beta1NamespacedMetricValue", + "parameters": [ + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.custom.metrics.v1beta1.MetricValueList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "custom_metrics_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "MetricValueList", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "composite metric name", + "in": "path", + "name": "compositemetricname", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "name of the namespace", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ] + }, + "/apis/custom.metrics.k8s.io/v1beta1/{compositemetricname}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "Retrieve the given metric for the given non-namespaced object (e.g. Node, PersistentVolume). Composite metric name is of the form \"//\" Passing '*' for objectname would retrieve the given metric for all non-namespaced objects of the given type.", + "operationId": "listCustomMetricsV1beta1MetricValue", + "parameters": [ + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.custom.metrics.v1beta1.MetricValueList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "custom_metrics_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "MetricValueList", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "composite metric name", + "in": "path", + "name": "compositemetricname", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ] + }, + "/apis/discovery.k8s.io/": { "get": { "consumes": [ "application/json", @@ -78967,7 +79901,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getEventsAPIGroup", + "operationId": "getDiscoveryAPIGroup", "produces": [ "application/json", "application/yaml", @@ -78988,11 +79922,11 @@ "https" ], "tags": [ - "events" + "discovery" ] } }, - "/apis/events.k8s.io/v1beta1/": { + "/apis/discovery.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -79000,7 +79934,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getEventsV1beta1APIResources", + "operationId": "getDiscoveryV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -79021,17 +79955,17 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ] } }, - "/apis/events.k8s.io/v1beta1/events": { + "/apis/discovery.k8s.io/v1beta1/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1beta1EventForAllNamespaces", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listDiscoveryV1beta1EndpointSliceForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -79043,7 +79977,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" } }, "401": { @@ -79054,12 +79988,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79129,13 +80063,13 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Event", - "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", + "description": "delete collection of EndpointSlice", + "operationId": "deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -79249,12 +80183,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79262,8 +80196,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1beta1NamespacedEvent", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -79333,7 +80267,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" } }, "401": { @@ -79344,12 +80278,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79374,15 +80308,15 @@ "consumes": [ "*/*" ], - "description": "create an Event", - "operationId": "createEventsV1beta1NamespacedEvent", + "description": "create an EndpointSlice", + "operationId": "createDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, { @@ -79409,19 +80343,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -79432,23 +80366,23 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } } }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Event", - "operationId": "deleteEventsV1beta1NamespacedEvent", + "description": "delete an EndpointSlice", + "operationId": "deleteDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -79512,12 +80446,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79525,8 +80459,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Event", - "operationId": "readEventsV1beta1NamespacedEvent", + "description": "read the specified EndpointSlice", + "operationId": "readDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -79552,7 +80486,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -79563,18 +80497,18 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Event", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -79604,8 +80538,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Event", - "operationId": "patchEventsV1beta1NamespacedEvent", + "description": "partially update the specified EndpointSlice", + "operationId": "patchDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -79646,7 +80580,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -79657,12 +80591,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79670,15 +80604,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Event", - "operationId": "replaceEventsV1beta1NamespacedEvent", + "description": "replace the specified EndpointSlice", + "operationId": "replaceDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, { @@ -79705,13 +80639,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -79722,23 +80656,23 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } } }, - "/apis/events.k8s.io/v1beta1/watch/events": { + "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1beta1EventListForAllNamespaces", + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchDiscoveryV1beta1EndpointSliceListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -79761,12 +80695,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79836,13 +80770,13 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1beta1NamespacedEventList", + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchDiscoveryV1beta1NamespacedEndpointSliceList", "produces": [ "application/json", "application/yaml", @@ -79865,12 +80799,12 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -79948,13 +80882,13 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchEventsV1beta1NamespacedEvent", + "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchDiscoveryV1beta1NamespacedEndpointSlice", "produces": [ "application/json", "application/yaml", @@ -79977,409 +80911,201 @@ "https" ], "tags": [ - "events_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the EndpointSlice", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getEventsAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events" + ] + } + }, + "/apis/events.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getEventsV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ] + } + }, + "/apis/events.k8s.io/v1beta1/events": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Event", + "operationId": "listEventsV1beta1EventForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "events.k8s.io", "kind": "Event", "version": "v1beta1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getExtensionsAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions" - ] - } - }, - "/apis/extensions/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getExtensionsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ] - } - }, - "/apis/extensions/v1beta1/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listExtensionsV1beta1DaemonSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/deployments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Deployment", - "operationId": "listExtensionsV1beta1DeploymentForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listExtensionsV1beta1IngressForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -80446,13 +81172,13 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of DaemonSet", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet", + "description": "delete collection of Event", + "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -80566,12 +81292,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -80579,8 +81305,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listExtensionsV1beta1NamespacedDaemonSet", + "description": "list or watch objects of kind Event", + "operationId": "listEventsV1beta1NamespacedEvent", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -80650,7 +81376,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" } }, "401": { @@ -80661,12 +81387,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -80691,15 +81417,15 @@ "consumes": [ "*/*" ], - "description": "create a DaemonSet", - "operationId": "createExtensionsV1beta1NamespacedDaemonSet", + "description": "create an Event", + "operationId": "createEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, { @@ -80726,19 +81452,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -80749,23 +81475,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a DaemonSet", - "operationId": "deleteExtensionsV1beta1NamespacedDaemonSet", + "description": "delete an Event", + "operationId": "deleteEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", @@ -80829,12 +81555,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -80842,8 +81568,8 @@ "consumes": [ "*/*" ], - "description": "read the specified DaemonSet", - "operationId": "readExtensionsV1beta1NamespacedDaemonSet", + "description": "read the specified Event", + "operationId": "readEventsV1beta1NamespacedEvent", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -80869,7 +81595,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -80880,18 +81606,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the DaemonSet", + "description": "name of the Event", "in": "path", "name": "name", "required": true, @@ -80921,8 +81647,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified DaemonSet", - "operationId": "patchExtensionsV1beta1NamespacedDaemonSet", + "description": "partially update the specified Event", + "operationId": "patchEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", @@ -80963,7 +81689,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -80974,12 +81700,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -80987,15 +81713,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified DaemonSet", - "operationId": "replaceExtensionsV1beta1NamespacedDaemonSet", + "description": "replace the specified Event", + "operationId": "replaceEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, { @@ -81022,13 +81748,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -81039,33 +81765,35 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/events.k8s.io/v1beta1/watch/events": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified DaemonSet", - "operationId": "readExtensionsV1beta1NamespacedDaemonSetStatus", + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchEventsV1beta1EventListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -81076,19 +81804,1334 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the DaemonSet", - "in": "path", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchEventsV1beta1NamespacedEventList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchEventsV1beta1NamespacedEvent", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Event", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getExtensionsAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions" + ] + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getExtensionsV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ] + } + }, + "/apis/extensions/v1beta1/daemonsets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind DaemonSet", + "operationId": "listExtensionsV1beta1DaemonSetForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/deployments": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Deployment", + "operationId": "listExtensionsV1beta1DeploymentForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/ingresses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Ingress", + "operationId": "listExtensionsV1beta1IngressForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of DaemonSet", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind DaemonSet", + "operationId": "listExtensionsV1beta1NamespacedDaemonSet", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a DaemonSet", + "operationId": "createExtensionsV1beta1NamespacedDaemonSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + } + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a DaemonSet", + "operationId": "deleteExtensionsV1beta1NamespacedDaemonSet", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified DaemonSet", + "operationId": "readExtensionsV1beta1NamespacedDaemonSet", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the DaemonSet", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified DaemonSet", + "operationId": "patchExtensionsV1beta1NamespacedDaemonSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified DaemonSet", + "operationId": "replaceExtensionsV1beta1NamespacedDaemonSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + } + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified DaemonSet", + "operationId": "readExtensionsV1beta1NamespacedDaemonSetStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the DaemonSet", + "in": "path", "name": "name", "required": true, "type": "string", @@ -85726,13 +87769,325 @@ } ] }, - "/apis/extensions/v1beta1/watch/daemonsets": { + "/apis/extensions/v1beta1/watch/daemonsets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1DaemonSetListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/deployments": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1DeploymentListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/ingresses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1DaemonSetListForAllNamespaces", + "operationId": "watchExtensionsV1beta1NamespacedDaemonSetList", "produces": [ "application/json", "application/yaml", @@ -85800,6 +88155,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -85830,13 +88193,133 @@ } ] }, - "/apis/extensions/v1beta1/watch/deployments": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1NamespacedDaemonSet", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the DaemonSet", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1DeploymentListForAllNamespaces", + "operationId": "watchExtensionsV1beta1NamespacedDeploymentList", "produces": [ "application/json", "application/yaml", @@ -85904,6 +88387,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -85934,13 +88425,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/ingresses": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1NamespacedDeployment", "produces": [ "application/json", "application/yaml", @@ -85965,10 +88456,10 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "Deployment", "version": "v1beta1" } }, @@ -86008,6 +88499,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the Deployment", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -86038,13 +88545,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedDaemonSetList", + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1NamespacedIngressList", "produces": [ "application/json", "application/yaml", @@ -86072,7 +88579,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "DaemonSet", + "kind": "Ingress", "version": "v1beta1" } }, @@ -86150,13 +88657,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedDaemonSet", + "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1NamespacedIngress", "produces": [ "application/json", "application/yaml", @@ -86184,7 +88691,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "DaemonSet", + "kind": "Ingress", "version": "v1beta1" } }, @@ -86225,7 +88732,7 @@ "uniqueItems": true }, { - "description": "name of the DaemonSet", + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, @@ -86270,13 +88777,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedDeploymentList", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicyList", "produces": [ "application/json", "application/yaml", @@ -86304,7 +88811,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "NetworkPolicy", "version": "v1beta1" } }, @@ -86382,13 +88889,133 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicy", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the NetworkPolicy", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedDeployment", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1NamespacedReplicaSetList", "produces": [ "application/json", "application/yaml", @@ -86413,10 +89040,10 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "ReplicaSet", "version": "v1beta1" } }, @@ -86456,14 +89083,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -86502,13 +89121,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedIngressList", + "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1NamespacedReplicaSet", "produces": [ "application/json", "application/yaml", @@ -86533,10 +89152,10 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "ReplicaSet", "version": "v1beta1" } }, @@ -86576,6 +89195,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ReplicaSet", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -86614,13 +89241,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "/apis/extensions/v1beta1/watch/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedIngress", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1NetworkPolicyListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -86645,10 +89272,10 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1beta1" } }, @@ -86688,22 +89315,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -86734,13 +89345,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/watch/podsecuritypolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicyList", + "description": "watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1PodSecurityPolicyList", "produces": [ "application/json", "application/yaml", @@ -86768,7 +89379,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "PodSecurityPolicy", "version": "v1beta1" } }, @@ -86808,14 +89419,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -86846,13 +89449,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicy", + "description": "watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1PodSecurityPolicy", "produces": [ "application/json", "application/yaml", @@ -86880,7 +89483,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "PodSecurityPolicy", "version": "v1beta1" } }, @@ -86921,21 +89524,13 @@ "uniqueItems": true }, { - "description": "name of the NetworkPolicy", + "description": "name of the PodSecurityPolicy", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -86966,13 +89561,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { + "/apis/extensions/v1beta1/watch/replicasets": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedReplicaSetList", + "operationId": "watchExtensionsV1beta1ReplicaSetListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -87040,14 +89635,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -87078,25 +89665,437 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getFlowcontrolApiserverAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getFlowcontrolApiserverV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedReplicaSet", + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowcontrolApiserverV1alpha1FlowSchema", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a FlowSchema", + "operationId": "createFlowcontrolApiserverV1alpha1FlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1alpha1FlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -87107,116 +90106,47 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NetworkPolicyListForAllNamespaces", + "description": "read the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1alpha1FlowSchema", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87227,100 +90157,82 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1PodSecurityPolicyList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87331,100 +90243,61 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1PodSecurityPolicy", + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87435,108 +90308,33 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodSecurityPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } - ] + } }, - "/apis/extensions/v1beta1/watch/replicasets": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1ReplicaSetListForAllNamespaces", + "description": "read status of the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1alpha1FlowSchemaStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87547,90 +90345,72 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchemaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getFlowcontrolApiserverAPIGroup", "produces": [ "application/json", "application/yaml", @@ -87640,7 +90420,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87651,19 +90431,45 @@ "https" ], "tags": [ - "flowcontrolApiserver" - ] - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/": { - "get": { + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getFlowcontrolApiserverV1alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -87673,7 +90479,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87685,16 +90497,22 @@ ], "tags": [ "flowcontrolApiserver_v1alpha1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema", + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -87813,7 +90631,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } }, @@ -87821,8 +90639,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowcontrolApiserverV1alpha1FlowSchema", + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -87892,7 +90710,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList" } }, "401": { @@ -87908,7 +90726,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } }, @@ -87925,15 +90743,15 @@ "consumes": [ "*/*" ], - "description": "create a FlowSchema", - "operationId": "createFlowcontrolApiserverV1alpha1FlowSchema", + "description": "create a PriorityLevelConfiguration", + "operationId": "createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, { @@ -87960,19 +90778,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -87988,18 +90806,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1alpha1FlowSchema", + "description": "delete a PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -88068,7 +90886,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } }, @@ -88076,8 +90894,8 @@ "consumes": [ "*/*" ], - "description": "read the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1alpha1FlowSchema", + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -88103,7 +90921,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -88119,13 +90937,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, @@ -88147,8 +90965,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchema", + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -88189,7 +91007,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -88205,7 +91023,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } }, @@ -88213,15 +91031,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchema", + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, { @@ -88248,50 +91066,344 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchemaList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1alpha1" + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1alpha1FlowSchemaStatus", + "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchema", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -88304,7 +91416,7 @@ "tags": [ "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", @@ -88312,6 +91424,41 @@ } }, "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "name of the FlowSchema", "in": "path", @@ -88326,58 +91473,49 @@ "name": "pretty", "type": "string", "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchemaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -88390,59 +91528,98 @@ "tags": [ "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -88455,21 +91632,95 @@ "tags": [ "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "kind": "PriorityLevelConfiguration", "version": "v1alpha1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations": { + "/apis/karpenter.sh/v1alpha5/provisioners": { "delete": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration", + "description": "delete collection of Provisioner", + "operationId": "deleteKarpenterShV1alpha5CollectionProvisioner", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -88478,13 +91729,6 @@ "type": "boolean", "uniqueItems": true }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, { "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "in": "query", @@ -88492,13 +91736,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, { "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", @@ -88506,13 +91743,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -88528,23 +91758,16 @@ "uniqueItems": true }, { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", - "name": "propagationPolicy", + "name": "resourceVersion", "type": "string", "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", - "name": "resourceVersion", + "name": "resourceVersionMatch", "type": "string", "uniqueItems": true }, @@ -88565,14 +91788,13 @@ ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status_v2" } }, "401": { @@ -88583,21 +91805,22 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "list objects of kind Provisioner", + "operationId": "listKarpenterShV1alpha5Provisioner", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", @@ -88635,12 +91858,19 @@ "uniqueItems": true }, { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", "name": "resourceVersion", "type": "string", "uniqueItems": true }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "in": "query", @@ -88658,16 +91888,13 @@ ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList" + "$ref": "#/definitions/sh.karpenter.v1alpha5.ProvisionerList" } }, "401": { @@ -88678,13 +91905,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "parameters": [ @@ -88698,17 +91925,18 @@ ], "post": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "create a PriorityLevelConfiguration", - "operationId": "createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "create a Provisioner", + "operationId": "createKarpenterShV1alpha5Provisioner", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, { @@ -88728,26 +91956,25 @@ ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -88758,29 +91985,30 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}": { + "/apis/karpenter.sh/v1alpha5/provisioners/{name}": { "delete": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "delete a PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "delete a Provisioner", + "operationId": "deleteKarpenterShV1alpha5Provisioner", "parameters": [ { "in": "body", "name": "body", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions_v2" } }, { @@ -88814,20 +92042,19 @@ ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status_v2" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status_v2" } }, "401": { @@ -88838,47 +92065,40 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "read the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "read the specified Provisioner", + "operationId": "readKarpenterShV1alpha5Provisioner", "parameters": [ { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", - "name": "export", - "type": "boolean", + "name": "resourceVersion", + "type": "string", "uniqueItems": true } ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -88889,18 +92109,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the Provisioner", "in": "path", "name": "name", "required": true, @@ -88919,11 +92139,10 @@ "consumes": [ "application/json-patch+json", "application/merge-patch+json", - "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "partially update the specified Provisioner", + "operationId": "patchKarpenterShV1alpha5Provisioner", "parameters": [ { "in": "body", @@ -88941,30 +92160,22 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -88975,28 +92186,29 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "put": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "replace the specified Provisioner", + "operationId": "replaceKarpenterShV1alpha5Provisioner", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, { @@ -89016,20 +92228,19 @@ ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -89040,33 +92251,42 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status": { + "/apis/karpenter.sh/v1alpha5/provisioners/{name}/status": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml" + ], + "description": "read status of the specified Provisioner", + "operationId": "readKarpenterShV1alpha5ProvisionerStatus", + "parameters": [ + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + } ], - "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -89077,18 +92297,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the Provisioner", "in": "path", "name": "name", "required": true, @@ -89107,11 +92327,10 @@ "consumes": [ "application/json-patch+json", "application/merge-patch+json", - "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "description": "partially update status of the specified Provisioner", + "operationId": "patchKarpenterShV1alpha5ProvisionerStatus", "parameters": [ { "in": "body", @@ -89129,30 +92348,22 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "force", - "type": "boolean", + "name": "fieldManager", + "type": "string", "uniqueItems": true } ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -89163,28 +92374,29 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } }, "put": { "consumes": [ - "*/*" + "application/json", + "application/yaml" ], - "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "description": "replace status of the specified Provisioner", + "operationId": "replaceKarpenterShV1alpha5ProvisionerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, { @@ -89204,20 +92416,19 @@ ], "produces": [ "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/yaml" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "$ref": "#/definitions/sh.karpenter.v1alpha5.Provisioner" } }, "401": { @@ -89228,23 +92439,39 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "karpenterSh_v1alpha5" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "karpenter.sh", + "kind": "Provisioner", + "version": "v1alpha5" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas": { + "/apis/metrics.k8s.io/v1beta1/namespaces/{namespace}/pods/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchemaList", + "description": "read the specified PodMetrics", + "operationId": "readMetricsV1beta1NamespacedPodMetrics", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -89256,7 +92483,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.PodMetrics" } }, "401": { @@ -89267,88 +92494,106 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "metrics_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1alpha1" + "group": "", + "kind": "PodMetrics", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the pod", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Namespace", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}": { + "/apis/metrics.k8s.io/v1beta1/nodes": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchema", + "description": "list or watch objects of kind NodeMetrics", + "operationId": "listMetricsV1beta1NodeMetrics", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -89360,7 +92605,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.NodeMetricsList" } }, "401": { @@ -89371,108 +92616,49 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "metrics_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "", + "kind": "NodeMetrics", + "version": "v1beta1" } - ] + } }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations": { + "/apis/metrics.k8s.io/v1beta1/nodes/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList", + "description": "read the specified NodeMetrics", + "operationId": "readMetricsV1beta1NodeMetrics", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.NodeMetrics" } }, "401": { @@ -89483,88 +92669,98 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "metrics_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" + "group": "", + "kind": "NodeMetrics", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Node", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}": { + "/apis/metrics.k8s.io/v1beta1/pods": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "description": "list or watch objects of kind PodMetrics", + "operationId": "listMetricsV1beta1PodMetrics", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -89576,7 +92772,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.PodMetricsList" } }, "401": { @@ -89587,88 +92783,15 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1alpha1" + "metrics_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PriorityLevelConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "", + "kind": "PodMetrics", + "version": "v1beta1" } - ] + } }, "/apis/networking.k8s.io/": { "get": { @@ -117344,517 +120467,6 @@ "version" ] } - }, - "/apis/metrics.k8s.io/v1beta1/nodes": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NodeMetrics", - "operationId": "listMetricsV1beta1NodeMetrics", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.NodeMetricsList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "metrics_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeMetrics", - "version": "v1beta1" - } - } - }, - "/apis/metrics.k8s.io/v1beta1/pods": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodMetrics", - "operationId": "listMetricsV1beta1PodMetrics", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.PodMetricsList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "metrics_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodMetrics", - "version": "v1beta1" - } - } - }, - "/apis/metrics.k8s.io/v1beta1/namespaces/{namespace}/pods/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodMetrics", - "operationId": "readMetricsV1beta1NamespacedPodMetrics", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.PodMetrics" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "metrics_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodMetrics", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Namespace", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ] - }, - "/apis/metrics.k8s.io/v1beta1/nodes/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified NodeMetrics", - "operationId": "readMetricsV1beta1NodeMetrics", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.metrics.v1beta1.NodeMetrics" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "metrics_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeMetrics", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ] - }, - "/apis/custom.metrics.k8s.io/v1beta1/{compositemetricname}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "Retrieve the given metric for the given non-namespaced object (e.g. Node, PersistentVolume). Composite metric name is of the form \"//\" Passing '*' for objectname would retrieve the given metric for all non-namespaced objects of the given type.", - "operationId": "listCustomMetricsV1beta1MetricValue", - "parameters": [ - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.custom.metrics.v1beta1.MetricValueList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "custom_metrics_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "MetricValueList", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "composite metric name", - "in": "path", - "name": "compositemetricname", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ] - }, - "/apis/custom.metrics.k8s.io/v1beta1/namespaces/{namespace}/{compositemetricname}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "retrieve the given metric (in composite form) which describes the given namespace. Composite form of metrics can be either \"metric/\" to fetch metrics of all objects in the namespace, or \"//\" to fetch metrics of the specified object type and name. Passing \"*\" for objectname would fetch metrics of all objects of the specified type in the namespace.", - "operationId": "listCustomMetricsV1beta1NamespacedMetricValue", - "parameters": [ - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.custom.metrics.v1beta1.MetricValueList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "custom_metrics_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "MetricValueList", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "composite metric name", - "in": "path", - "name": "compositemetricname", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the namespace", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ] } }, "security": [ diff --git a/src/ApiImpl/ApiImpl.jl b/src/ApiImpl/ApiImpl.jl index 6fa06177..496f0bba 100644 --- a/src/ApiImpl/ApiImpl.jl +++ b/src/ApiImpl/ApiImpl.jl @@ -1,15 +1,9 @@ module ApiImpl -using Swagger - include("api/Kubernetes.jl") using .Kubernetes -import .Kubernetes: getAPIVersions - -import Base: convert, get, put!, delete!, show -import Swagger: SwaggerModel -include("typealiases.jl") -include("apialiases.jl") +include("api_typemap.jl") +include("api_versions.jl") end # module diff --git a/src/ApiImpl/api/Kubernetes.jl b/src/ApiImpl/api/Kubernetes.jl index 6174d983..b5694221 100644 --- a/src/ApiImpl/api/Kubernetes.jl +++ b/src/ApiImpl/api/Kubernetes.jl @@ -1,790 +1,861 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. module Kubernetes -using Random -using Dates -using Swagger -import Swagger: field_name, property_type, hasproperty, validate_property, SwaggerApi, SwaggerModel -import Base: convert, propertynames +using Dates, TimeZones +using OpenAPI +using OpenAPI.Clients + +const API_VERSION = "unversioned" include("modelincludes.jl") -include("api_AdmissionregistrationApi.jl") -include("api_AdmissionregistrationV1Api.jl") -include("api_AdmissionregistrationV1beta1Api.jl") -include("api_ApiextensionsApi.jl") -include("api_ApiextensionsV1Api.jl") -include("api_ApiextensionsV1beta1Api.jl") -include("api_ApiregistrationApi.jl") -include("api_ApiregistrationV1Api.jl") -include("api_ApiregistrationV1beta1Api.jl") -include("api_ApisApi.jl") -include("api_AppsApi.jl") -include("api_AppsV1Api.jl") -include("api_AppsV1beta1Api.jl") -include("api_AppsV1beta2Api.jl") -include("api_AuditregistrationApi.jl") -include("api_AuditregistrationV1alpha1Api.jl") -include("api_AuthenticationApi.jl") -include("api_AuthenticationV1Api.jl") -include("api_AuthenticationV1beta1Api.jl") -include("api_AuthorizationApi.jl") -include("api_AuthorizationV1Api.jl") -include("api_AuthorizationV1beta1Api.jl") -include("api_AutoscalingApi.jl") -include("api_AutoscalingV1Api.jl") -include("api_AutoscalingV2beta1Api.jl") -include("api_AutoscalingV2beta2Api.jl") -include("api_BatchApi.jl") -include("api_BatchV1Api.jl") -include("api_BatchV1beta1Api.jl") -include("api_BatchV2alpha1Api.jl") -include("api_CertificatesApi.jl") -include("api_CertificatesV1beta1Api.jl") -include("api_CoordinationApi.jl") -include("api_CoordinationV1Api.jl") -include("api_CoordinationV1beta1Api.jl") -include("api_CoreApi.jl") -include("api_CoreV1Api.jl") -include("api_CustomMetricsV1beta1Api.jl") -include("api_DiscoveryApi.jl") -include("api_DiscoveryV1beta1Api.jl") -include("api_EventsApi.jl") -include("api_EventsV1beta1Api.jl") -include("api_ExtensionsApi.jl") -include("api_ExtensionsV1beta1Api.jl") -include("api_FlowcontrolApiserverApi.jl") -include("api_FlowcontrolApiserverV1alpha1Api.jl") -include("api_LogsApi.jl") -include("api_MetricsV1beta1Api.jl") -include("api_NetworkingApi.jl") -include("api_NetworkingV1Api.jl") -include("api_NetworkingV1beta1Api.jl") -include("api_NodeApi.jl") -include("api_NodeV1alpha1Api.jl") -include("api_NodeV1beta1Api.jl") -include("api_PolicyApi.jl") -include("api_PolicyV1beta1Api.jl") -include("api_RbacAuthorizationApi.jl") -include("api_RbacAuthorizationV1Api.jl") -include("api_RbacAuthorizationV1alpha1Api.jl") -include("api_RbacAuthorizationV1beta1Api.jl") -include("api_SchedulingApi.jl") -include("api_SchedulingV1Api.jl") -include("api_SchedulingV1alpha1Api.jl") -include("api_SchedulingV1beta1Api.jl") -include("api_SettingsApi.jl") -include("api_SettingsV1alpha1Api.jl") -include("api_StorageApi.jl") -include("api_StorageV1Api.jl") -include("api_StorageV1alpha1Api.jl") -include("api_StorageV1beta1Api.jl") -include("api_VersionApi.jl") +include("apis/api_AdmissionregistrationApi.jl") +include("apis/api_AdmissionregistrationV1Api.jl") +include("apis/api_AdmissionregistrationV1beta1Api.jl") +include("apis/api_ApiextensionsApi.jl") +include("apis/api_ApiextensionsV1Api.jl") +include("apis/api_ApiextensionsV1beta1Api.jl") +include("apis/api_ApiregistrationApi.jl") +include("apis/api_ApiregistrationV1Api.jl") +include("apis/api_ApiregistrationV1beta1Api.jl") +include("apis/api_ApisApi.jl") +include("apis/api_AppsApi.jl") +include("apis/api_AppsV1Api.jl") +include("apis/api_AppsV1beta1Api.jl") +include("apis/api_AppsV1beta2Api.jl") +include("apis/api_AuditregistrationApi.jl") +include("apis/api_AuditregistrationV1alpha1Api.jl") +include("apis/api_AuthenticationApi.jl") +include("apis/api_AuthenticationV1Api.jl") +include("apis/api_AuthenticationV1beta1Api.jl") +include("apis/api_AuthorizationApi.jl") +include("apis/api_AuthorizationV1Api.jl") +include("apis/api_AuthorizationV1beta1Api.jl") +include("apis/api_AutoscalingApi.jl") +include("apis/api_AutoscalingV1Api.jl") +include("apis/api_AutoscalingV2beta1Api.jl") +include("apis/api_AutoscalingV2beta2Api.jl") +include("apis/api_BatchApi.jl") +include("apis/api_BatchV1Api.jl") +include("apis/api_BatchV1beta1Api.jl") +include("apis/api_BatchV2alpha1Api.jl") +include("apis/api_CertificatesApi.jl") +include("apis/api_CertificatesV1beta1Api.jl") +include("apis/api_CoordinationApi.jl") +include("apis/api_CoordinationV1Api.jl") +include("apis/api_CoordinationV1beta1Api.jl") +include("apis/api_CoreApi.jl") +include("apis/api_CoreV1Api.jl") +include("apis/api_CustomMetricsV1beta1Api.jl") +include("apis/api_DiscoveryApi.jl") +include("apis/api_DiscoveryV1beta1Api.jl") +include("apis/api_EventsApi.jl") +include("apis/api_EventsV1beta1Api.jl") +include("apis/api_ExtensionsApi.jl") +include("apis/api_ExtensionsV1beta1Api.jl") +include("apis/api_FlowcontrolApiserverApi.jl") +include("apis/api_FlowcontrolApiserverV1alpha1Api.jl") +include("apis/api_KarpenterShV1alpha5Api.jl") +include("apis/api_LogsApi.jl") +include("apis/api_MetricsV1beta1Api.jl") +include("apis/api_NetworkingApi.jl") +include("apis/api_NetworkingV1Api.jl") +include("apis/api_NetworkingV1beta1Api.jl") +include("apis/api_NodeApi.jl") +include("apis/api_NodeV1alpha1Api.jl") +include("apis/api_NodeV1beta1Api.jl") +include("apis/api_PolicyApi.jl") +include("apis/api_PolicyV1beta1Api.jl") +include("apis/api_RbacAuthorizationApi.jl") +include("apis/api_RbacAuthorizationV1Api.jl") +include("apis/api_RbacAuthorizationV1alpha1Api.jl") +include("apis/api_RbacAuthorizationV1beta1Api.jl") +include("apis/api_SchedulingApi.jl") +include("apis/api_SchedulingV1Api.jl") +include("apis/api_SchedulingV1alpha1Api.jl") +include("apis/api_SchedulingV1beta1Api.jl") +include("apis/api_SettingsApi.jl") +include("apis/api_SettingsV1alpha1Api.jl") +include("apis/api_StorageApi.jl") +include("apis/api_StorageV1Api.jl") +include("apis/api_StorageV1alpha1Api.jl") +include("apis/api_StorageV1beta1Api.jl") +include("apis/api_VersionApi.jl") # export models -export convert, IoK8sApiAdmissionregistrationV1MutatingWebhook -export convert, IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration -export convert, IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList -export convert, IoK8sApiAdmissionregistrationV1RuleWithOperations -export convert, IoK8sApiAdmissionregistrationV1ServiceReference -export convert, IoK8sApiAdmissionregistrationV1ValidatingWebhook -export convert, IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration -export convert, IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList -export convert, IoK8sApiAdmissionregistrationV1WebhookClientConfig -export convert, IoK8sApiAdmissionregistrationV1beta1MutatingWebhook -export convert, IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration -export convert, IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList -export convert, IoK8sApiAdmissionregistrationV1beta1RuleWithOperations -export convert, IoK8sApiAdmissionregistrationV1beta1ServiceReference -export convert, IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook -export convert, IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration -export convert, IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList -export convert, IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig -export convert, IoK8sApiAppsV1ControllerRevision -export convert, IoK8sApiAppsV1ControllerRevisionList -export convert, IoK8sApiAppsV1DaemonSet -export convert, IoK8sApiAppsV1DaemonSetCondition -export convert, IoK8sApiAppsV1DaemonSetList -export convert, IoK8sApiAppsV1DaemonSetSpec -export convert, IoK8sApiAppsV1DaemonSetStatus -export convert, IoK8sApiAppsV1DaemonSetUpdateStrategy -export convert, IoK8sApiAppsV1Deployment -export convert, IoK8sApiAppsV1DeploymentCondition -export convert, IoK8sApiAppsV1DeploymentList -export convert, IoK8sApiAppsV1DeploymentSpec -export convert, IoK8sApiAppsV1DeploymentStatus -export convert, IoK8sApiAppsV1DeploymentStrategy -export convert, IoK8sApiAppsV1ReplicaSet -export convert, IoK8sApiAppsV1ReplicaSetCondition -export convert, IoK8sApiAppsV1ReplicaSetList -export convert, IoK8sApiAppsV1ReplicaSetSpec -export convert, IoK8sApiAppsV1ReplicaSetStatus -export convert, IoK8sApiAppsV1RollingUpdateDaemonSet -export convert, IoK8sApiAppsV1RollingUpdateDeployment -export convert, IoK8sApiAppsV1RollingUpdateStatefulSetStrategy -export convert, IoK8sApiAppsV1StatefulSet -export convert, IoK8sApiAppsV1StatefulSetCondition -export convert, IoK8sApiAppsV1StatefulSetList -export convert, IoK8sApiAppsV1StatefulSetSpec -export convert, IoK8sApiAppsV1StatefulSetStatus -export convert, IoK8sApiAppsV1StatefulSetUpdateStrategy -export convert, IoK8sApiAppsV1beta1ControllerRevision -export convert, IoK8sApiAppsV1beta1ControllerRevisionList -export convert, IoK8sApiAppsV1beta1Deployment -export convert, IoK8sApiAppsV1beta1DeploymentCondition -export convert, IoK8sApiAppsV1beta1DeploymentList -export convert, IoK8sApiAppsV1beta1DeploymentRollback -export convert, IoK8sApiAppsV1beta1DeploymentSpec -export convert, IoK8sApiAppsV1beta1DeploymentStatus -export convert, IoK8sApiAppsV1beta1DeploymentStrategy -export convert, IoK8sApiAppsV1beta1RollbackConfig -export convert, IoK8sApiAppsV1beta1RollingUpdateDeployment -export convert, IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy -export convert, IoK8sApiAppsV1beta1Scale -export convert, IoK8sApiAppsV1beta1ScaleSpec -export convert, IoK8sApiAppsV1beta1ScaleStatus -export convert, IoK8sApiAppsV1beta1StatefulSet -export convert, IoK8sApiAppsV1beta1StatefulSetCondition -export convert, IoK8sApiAppsV1beta1StatefulSetList -export convert, IoK8sApiAppsV1beta1StatefulSetSpec -export convert, IoK8sApiAppsV1beta1StatefulSetStatus -export convert, IoK8sApiAppsV1beta1StatefulSetUpdateStrategy -export convert, IoK8sApiAppsV1beta2ControllerRevision -export convert, IoK8sApiAppsV1beta2ControllerRevisionList -export convert, IoK8sApiAppsV1beta2DaemonSet -export convert, IoK8sApiAppsV1beta2DaemonSetCondition -export convert, IoK8sApiAppsV1beta2DaemonSetList -export convert, IoK8sApiAppsV1beta2DaemonSetSpec -export convert, IoK8sApiAppsV1beta2DaemonSetStatus -export convert, IoK8sApiAppsV1beta2DaemonSetUpdateStrategy -export convert, IoK8sApiAppsV1beta2Deployment -export convert, IoK8sApiAppsV1beta2DeploymentCondition -export convert, IoK8sApiAppsV1beta2DeploymentList -export convert, IoK8sApiAppsV1beta2DeploymentSpec -export convert, IoK8sApiAppsV1beta2DeploymentStatus -export convert, IoK8sApiAppsV1beta2DeploymentStrategy -export convert, IoK8sApiAppsV1beta2ReplicaSet -export convert, IoK8sApiAppsV1beta2ReplicaSetCondition -export convert, IoK8sApiAppsV1beta2ReplicaSetList -export convert, IoK8sApiAppsV1beta2ReplicaSetSpec -export convert, IoK8sApiAppsV1beta2ReplicaSetStatus -export convert, IoK8sApiAppsV1beta2RollingUpdateDaemonSet -export convert, IoK8sApiAppsV1beta2RollingUpdateDeployment -export convert, IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy -export convert, IoK8sApiAppsV1beta2Scale -export convert, IoK8sApiAppsV1beta2ScaleSpec -export convert, IoK8sApiAppsV1beta2ScaleStatus -export convert, IoK8sApiAppsV1beta2StatefulSet -export convert, IoK8sApiAppsV1beta2StatefulSetCondition -export convert, IoK8sApiAppsV1beta2StatefulSetList -export convert, IoK8sApiAppsV1beta2StatefulSetSpec -export convert, IoK8sApiAppsV1beta2StatefulSetStatus -export convert, IoK8sApiAppsV1beta2StatefulSetUpdateStrategy -export convert, IoK8sApiAuditregistrationV1alpha1AuditSink -export convert, IoK8sApiAuditregistrationV1alpha1AuditSinkList -export convert, IoK8sApiAuditregistrationV1alpha1AuditSinkSpec -export convert, IoK8sApiAuditregistrationV1alpha1Policy -export convert, IoK8sApiAuditregistrationV1alpha1ServiceReference -export convert, IoK8sApiAuditregistrationV1alpha1Webhook -export convert, IoK8sApiAuditregistrationV1alpha1WebhookClientConfig -export convert, IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig -export convert, IoK8sApiAuthenticationV1BoundObjectReference -export convert, IoK8sApiAuthenticationV1TokenRequest -export convert, IoK8sApiAuthenticationV1TokenRequestSpec -export convert, IoK8sApiAuthenticationV1TokenRequestStatus -export convert, IoK8sApiAuthenticationV1TokenReview -export convert, IoK8sApiAuthenticationV1TokenReviewSpec -export convert, IoK8sApiAuthenticationV1TokenReviewStatus -export convert, IoK8sApiAuthenticationV1UserInfo -export convert, IoK8sApiAuthenticationV1beta1TokenReview -export convert, IoK8sApiAuthenticationV1beta1TokenReviewSpec -export convert, IoK8sApiAuthenticationV1beta1TokenReviewStatus -export convert, IoK8sApiAuthenticationV1beta1UserInfo -export convert, IoK8sApiAuthorizationV1LocalSubjectAccessReview -export convert, IoK8sApiAuthorizationV1NonResourceAttributes -export convert, IoK8sApiAuthorizationV1NonResourceRule -export convert, IoK8sApiAuthorizationV1ResourceAttributes -export convert, IoK8sApiAuthorizationV1ResourceRule -export convert, IoK8sApiAuthorizationV1SelfSubjectAccessReview -export convert, IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec -export convert, IoK8sApiAuthorizationV1SelfSubjectRulesReview -export convert, IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec -export convert, IoK8sApiAuthorizationV1SubjectAccessReview -export convert, IoK8sApiAuthorizationV1SubjectAccessReviewSpec -export convert, IoK8sApiAuthorizationV1SubjectAccessReviewStatus -export convert, IoK8sApiAuthorizationV1SubjectRulesReviewStatus -export convert, IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview -export convert, IoK8sApiAuthorizationV1beta1NonResourceAttributes -export convert, IoK8sApiAuthorizationV1beta1NonResourceRule -export convert, IoK8sApiAuthorizationV1beta1ResourceAttributes -export convert, IoK8sApiAuthorizationV1beta1ResourceRule -export convert, IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview -export convert, IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec -export convert, IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview -export convert, IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec -export convert, IoK8sApiAuthorizationV1beta1SubjectAccessReview -export convert, IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec -export convert, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus -export convert, IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus -export convert, IoK8sApiAutoscalingV1CrossVersionObjectReference -export convert, IoK8sApiAutoscalingV1HorizontalPodAutoscaler -export convert, IoK8sApiAutoscalingV1HorizontalPodAutoscalerList -export convert, IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec -export convert, IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus -export convert, IoK8sApiAutoscalingV1Scale -export convert, IoK8sApiAutoscalingV1ScaleSpec -export convert, IoK8sApiAutoscalingV1ScaleStatus -export convert, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference -export convert, IoK8sApiAutoscalingV2beta1ExternalMetricSource -export convert, IoK8sApiAutoscalingV2beta1ExternalMetricStatus -export convert, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -export convert, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition -export convert, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList -export convert, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec -export convert, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus -export convert, IoK8sApiAutoscalingV2beta1MetricSpec -export convert, IoK8sApiAutoscalingV2beta1MetricStatus -export convert, IoK8sApiAutoscalingV2beta1ObjectMetricSource -export convert, IoK8sApiAutoscalingV2beta1ObjectMetricStatus -export convert, IoK8sApiAutoscalingV2beta1PodsMetricSource -export convert, IoK8sApiAutoscalingV2beta1PodsMetricStatus -export convert, IoK8sApiAutoscalingV2beta1ResourceMetricSource -export convert, IoK8sApiAutoscalingV2beta1ResourceMetricStatus -export convert, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference -export convert, IoK8sApiAutoscalingV2beta2ExternalMetricSource -export convert, IoK8sApiAutoscalingV2beta2ExternalMetricStatus -export convert, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -export convert, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition -export convert, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList -export convert, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec -export convert, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus -export convert, IoK8sApiAutoscalingV2beta2MetricIdentifier -export convert, IoK8sApiAutoscalingV2beta2MetricSpec -export convert, IoK8sApiAutoscalingV2beta2MetricStatus -export convert, IoK8sApiAutoscalingV2beta2MetricTarget -export convert, IoK8sApiAutoscalingV2beta2MetricValueStatus -export convert, IoK8sApiAutoscalingV2beta2ObjectMetricSource -export convert, IoK8sApiAutoscalingV2beta2ObjectMetricStatus -export convert, IoK8sApiAutoscalingV2beta2PodsMetricSource -export convert, IoK8sApiAutoscalingV2beta2PodsMetricStatus -export convert, IoK8sApiAutoscalingV2beta2ResourceMetricSource -export convert, IoK8sApiAutoscalingV2beta2ResourceMetricStatus -export convert, IoK8sApiBatchV1Job -export convert, IoK8sApiBatchV1JobCondition -export convert, IoK8sApiBatchV1JobList -export convert, IoK8sApiBatchV1JobSpec -export convert, IoK8sApiBatchV1JobStatus -export convert, IoK8sApiBatchV1beta1CronJob -export convert, IoK8sApiBatchV1beta1CronJobList -export convert, IoK8sApiBatchV1beta1CronJobSpec -export convert, IoK8sApiBatchV1beta1CronJobStatus -export convert, IoK8sApiBatchV1beta1JobTemplateSpec -export convert, IoK8sApiBatchV2alpha1CronJob -export convert, IoK8sApiBatchV2alpha1CronJobList -export convert, IoK8sApiBatchV2alpha1CronJobSpec -export convert, IoK8sApiBatchV2alpha1CronJobStatus -export convert, IoK8sApiBatchV2alpha1JobTemplateSpec -export convert, IoK8sApiCertificatesV1beta1CertificateSigningRequest -export convert, IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition -export convert, IoK8sApiCertificatesV1beta1CertificateSigningRequestList -export convert, IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec -export convert, IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus -export convert, IoK8sApiCoordinationV1Lease -export convert, IoK8sApiCoordinationV1LeaseList -export convert, IoK8sApiCoordinationV1LeaseSpec -export convert, IoK8sApiCoordinationV1beta1Lease -export convert, IoK8sApiCoordinationV1beta1LeaseList -export convert, IoK8sApiCoordinationV1beta1LeaseSpec -export convert, IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource -export convert, IoK8sApiCoreV1Affinity -export convert, IoK8sApiCoreV1AttachedVolume -export convert, IoK8sApiCoreV1AzureDiskVolumeSource -export convert, IoK8sApiCoreV1AzureFilePersistentVolumeSource -export convert, IoK8sApiCoreV1AzureFileVolumeSource -export convert, IoK8sApiCoreV1Binding -export convert, IoK8sApiCoreV1CSIPersistentVolumeSource -export convert, IoK8sApiCoreV1CSIVolumeSource -export convert, IoK8sApiCoreV1Capabilities -export convert, IoK8sApiCoreV1CephFSPersistentVolumeSource -export convert, IoK8sApiCoreV1CephFSVolumeSource -export convert, IoK8sApiCoreV1CinderPersistentVolumeSource -export convert, IoK8sApiCoreV1CinderVolumeSource -export convert, IoK8sApiCoreV1ClientIPConfig -export convert, IoK8sApiCoreV1ComponentCondition -export convert, IoK8sApiCoreV1ComponentStatus -export convert, IoK8sApiCoreV1ComponentStatusList -export convert, IoK8sApiCoreV1ConfigMap -export convert, IoK8sApiCoreV1ConfigMapEnvSource -export convert, IoK8sApiCoreV1ConfigMapKeySelector -export convert, IoK8sApiCoreV1ConfigMapList -export convert, IoK8sApiCoreV1ConfigMapNodeConfigSource -export convert, IoK8sApiCoreV1ConfigMapProjection -export convert, IoK8sApiCoreV1ConfigMapVolumeSource -export convert, IoK8sApiCoreV1Container -export convert, IoK8sApiCoreV1ContainerImage -export convert, IoK8sApiCoreV1ContainerPort -export convert, IoK8sApiCoreV1ContainerState -export convert, IoK8sApiCoreV1ContainerStateRunning -export convert, IoK8sApiCoreV1ContainerStateTerminated -export convert, IoK8sApiCoreV1ContainerStateWaiting -export convert, IoK8sApiCoreV1ContainerStatus -export convert, IoK8sApiCoreV1DaemonEndpoint -export convert, IoK8sApiCoreV1DownwardAPIProjection -export convert, IoK8sApiCoreV1DownwardAPIVolumeFile -export convert, IoK8sApiCoreV1DownwardAPIVolumeSource -export convert, IoK8sApiCoreV1EmptyDirVolumeSource -export convert, IoK8sApiCoreV1EndpointAddress -export convert, IoK8sApiCoreV1EndpointPort -export convert, IoK8sApiCoreV1EndpointSubset -export convert, IoK8sApiCoreV1Endpoints -export convert, IoK8sApiCoreV1EndpointsList -export convert, IoK8sApiCoreV1EnvFromSource -export convert, IoK8sApiCoreV1EnvVar -export convert, IoK8sApiCoreV1EnvVarSource -export convert, IoK8sApiCoreV1EphemeralContainer -export convert, IoK8sApiCoreV1Event -export convert, IoK8sApiCoreV1EventList -export convert, IoK8sApiCoreV1EventSeries -export convert, IoK8sApiCoreV1EventSource -export convert, IoK8sApiCoreV1ExecAction -export convert, IoK8sApiCoreV1FCVolumeSource -export convert, IoK8sApiCoreV1FlexPersistentVolumeSource -export convert, IoK8sApiCoreV1FlexVolumeSource -export convert, IoK8sApiCoreV1FlockerVolumeSource -export convert, IoK8sApiCoreV1GCEPersistentDiskVolumeSource -export convert, IoK8sApiCoreV1GitRepoVolumeSource -export convert, IoK8sApiCoreV1GlusterfsPersistentVolumeSource -export convert, IoK8sApiCoreV1GlusterfsVolumeSource -export convert, IoK8sApiCoreV1HTTPGetAction -export convert, IoK8sApiCoreV1HTTPHeader -export convert, IoK8sApiCoreV1Handler -export convert, IoK8sApiCoreV1HostAlias -export convert, IoK8sApiCoreV1HostPathVolumeSource -export convert, IoK8sApiCoreV1ISCSIPersistentVolumeSource -export convert, IoK8sApiCoreV1ISCSIVolumeSource -export convert, IoK8sApiCoreV1KeyToPath -export convert, IoK8sApiCoreV1Lifecycle -export convert, IoK8sApiCoreV1LimitRange -export convert, IoK8sApiCoreV1LimitRangeItem -export convert, IoK8sApiCoreV1LimitRangeList -export convert, IoK8sApiCoreV1LimitRangeSpec -export convert, IoK8sApiCoreV1LoadBalancerIngress -export convert, IoK8sApiCoreV1LoadBalancerStatus -export convert, IoK8sApiCoreV1LocalObjectReference -export convert, IoK8sApiCoreV1LocalVolumeSource -export convert, IoK8sApiCoreV1NFSVolumeSource -export convert, IoK8sApiCoreV1Namespace -export convert, IoK8sApiCoreV1NamespaceCondition -export convert, IoK8sApiCoreV1NamespaceList -export convert, IoK8sApiCoreV1NamespaceSpec -export convert, IoK8sApiCoreV1NamespaceStatus -export convert, IoK8sApiCoreV1Node -export convert, IoK8sApiCoreV1NodeAddress -export convert, IoK8sApiCoreV1NodeAffinity -export convert, IoK8sApiCoreV1NodeCondition -export convert, IoK8sApiCoreV1NodeConfigSource -export convert, IoK8sApiCoreV1NodeConfigStatus -export convert, IoK8sApiCoreV1NodeDaemonEndpoints -export convert, IoK8sApiCoreV1NodeList -export convert, IoK8sApiCoreV1NodeSelector -export convert, IoK8sApiCoreV1NodeSelectorRequirement -export convert, IoK8sApiCoreV1NodeSelectorTerm -export convert, IoK8sApiCoreV1NodeSpec -export convert, IoK8sApiCoreV1NodeStatus -export convert, IoK8sApiCoreV1NodeSystemInfo -export convert, IoK8sApiCoreV1ObjectFieldSelector -export convert, IoK8sApiCoreV1ObjectReference -export convert, IoK8sApiCoreV1PersistentVolume -export convert, IoK8sApiCoreV1PersistentVolumeClaim -export convert, IoK8sApiCoreV1PersistentVolumeClaimCondition -export convert, IoK8sApiCoreV1PersistentVolumeClaimList -export convert, IoK8sApiCoreV1PersistentVolumeClaimSpec -export convert, IoK8sApiCoreV1PersistentVolumeClaimStatus -export convert, IoK8sApiCoreV1PersistentVolumeClaimVolumeSource -export convert, IoK8sApiCoreV1PersistentVolumeList -export convert, IoK8sApiCoreV1PersistentVolumeSpec -export convert, IoK8sApiCoreV1PersistentVolumeStatus -export convert, IoK8sApiCoreV1PhotonPersistentDiskVolumeSource -export convert, IoK8sApiCoreV1Pod -export convert, IoK8sApiCoreV1PodAffinity -export convert, IoK8sApiCoreV1PodAffinityTerm -export convert, IoK8sApiCoreV1PodAntiAffinity -export convert, IoK8sApiCoreV1PodCondition -export convert, IoK8sApiCoreV1PodDNSConfig -export convert, IoK8sApiCoreV1PodDNSConfigOption -export convert, IoK8sApiCoreV1PodIP -export convert, IoK8sApiCoreV1PodList -export convert, IoK8sApiCoreV1PodReadinessGate -export convert, IoK8sApiCoreV1PodSecurityContext -export convert, IoK8sApiCoreV1PodSpec -export convert, IoK8sApiCoreV1PodStatus -export convert, IoK8sApiCoreV1PodTemplate -export convert, IoK8sApiCoreV1PodTemplateList -export convert, IoK8sApiCoreV1PodTemplateSpec -export convert, IoK8sApiCoreV1PortworxVolumeSource -export convert, IoK8sApiCoreV1PreferredSchedulingTerm -export convert, IoK8sApiCoreV1Probe -export convert, IoK8sApiCoreV1ProjectedVolumeSource -export convert, IoK8sApiCoreV1QuobyteVolumeSource -export convert, IoK8sApiCoreV1RBDPersistentVolumeSource -export convert, IoK8sApiCoreV1RBDVolumeSource -export convert, IoK8sApiCoreV1ReplicationController -export convert, IoK8sApiCoreV1ReplicationControllerCondition -export convert, IoK8sApiCoreV1ReplicationControllerList -export convert, IoK8sApiCoreV1ReplicationControllerSpec -export convert, IoK8sApiCoreV1ReplicationControllerStatus -export convert, IoK8sApiCoreV1ResourceFieldSelector -export convert, IoK8sApiCoreV1ResourceQuota -export convert, IoK8sApiCoreV1ResourceQuotaList -export convert, IoK8sApiCoreV1ResourceQuotaSpec -export convert, IoK8sApiCoreV1ResourceQuotaStatus -export convert, IoK8sApiCoreV1ResourceRequirements -export convert, IoK8sApiCoreV1SELinuxOptions -export convert, IoK8sApiCoreV1ScaleIOPersistentVolumeSource -export convert, IoK8sApiCoreV1ScaleIOVolumeSource -export convert, IoK8sApiCoreV1ScopeSelector -export convert, IoK8sApiCoreV1ScopedResourceSelectorRequirement -export convert, IoK8sApiCoreV1Secret -export convert, IoK8sApiCoreV1SecretEnvSource -export convert, IoK8sApiCoreV1SecretKeySelector -export convert, IoK8sApiCoreV1SecretList -export convert, IoK8sApiCoreV1SecretProjection -export convert, IoK8sApiCoreV1SecretReference -export convert, IoK8sApiCoreV1SecretVolumeSource -export convert, IoK8sApiCoreV1SecurityContext -export convert, IoK8sApiCoreV1Service -export convert, IoK8sApiCoreV1ServiceAccount -export convert, IoK8sApiCoreV1ServiceAccountList -export convert, IoK8sApiCoreV1ServiceAccountTokenProjection -export convert, IoK8sApiCoreV1ServiceList -export convert, IoK8sApiCoreV1ServicePort -export convert, IoK8sApiCoreV1ServiceSpec -export convert, IoK8sApiCoreV1ServiceStatus -export convert, IoK8sApiCoreV1SessionAffinityConfig -export convert, IoK8sApiCoreV1StorageOSPersistentVolumeSource -export convert, IoK8sApiCoreV1StorageOSVolumeSource -export convert, IoK8sApiCoreV1Sysctl -export convert, IoK8sApiCoreV1TCPSocketAction -export convert, IoK8sApiCoreV1Taint -export convert, IoK8sApiCoreV1Toleration -export convert, IoK8sApiCoreV1TopologySelectorLabelRequirement -export convert, IoK8sApiCoreV1TopologySelectorTerm -export convert, IoK8sApiCoreV1TopologySpreadConstraint -export convert, IoK8sApiCoreV1TypedLocalObjectReference -export convert, IoK8sApiCoreV1Volume -export convert, IoK8sApiCoreV1VolumeDevice -export convert, IoK8sApiCoreV1VolumeMount -export convert, IoK8sApiCoreV1VolumeNodeAffinity -export convert, IoK8sApiCoreV1VolumeProjection -export convert, IoK8sApiCoreV1VsphereVirtualDiskVolumeSource -export convert, IoK8sApiCoreV1WeightedPodAffinityTerm -export convert, IoK8sApiCoreV1WindowsSecurityContextOptions -export convert, IoK8sApiCustomMetricsV1beta1MetricValue -export convert, IoK8sApiCustomMetricsV1beta1MetricValueList -export convert, IoK8sApiDiscoveryV1beta1Endpoint -export convert, IoK8sApiDiscoveryV1beta1EndpointConditions -export convert, IoK8sApiDiscoveryV1beta1EndpointPort -export convert, IoK8sApiDiscoveryV1beta1EndpointSlice -export convert, IoK8sApiDiscoveryV1beta1EndpointSliceList -export convert, IoK8sApiEventsV1beta1Event -export convert, IoK8sApiEventsV1beta1EventList -export convert, IoK8sApiEventsV1beta1EventSeries -export convert, IoK8sApiExtensionsV1beta1AllowedCSIDriver -export convert, IoK8sApiExtensionsV1beta1AllowedFlexVolume -export convert, IoK8sApiExtensionsV1beta1AllowedHostPath -export convert, IoK8sApiExtensionsV1beta1DaemonSet -export convert, IoK8sApiExtensionsV1beta1DaemonSetCondition -export convert, IoK8sApiExtensionsV1beta1DaemonSetList -export convert, IoK8sApiExtensionsV1beta1DaemonSetSpec -export convert, IoK8sApiExtensionsV1beta1DaemonSetStatus -export convert, IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy -export convert, IoK8sApiExtensionsV1beta1Deployment -export convert, IoK8sApiExtensionsV1beta1DeploymentCondition -export convert, IoK8sApiExtensionsV1beta1DeploymentList -export convert, IoK8sApiExtensionsV1beta1DeploymentRollback -export convert, IoK8sApiExtensionsV1beta1DeploymentSpec -export convert, IoK8sApiExtensionsV1beta1DeploymentStatus -export convert, IoK8sApiExtensionsV1beta1DeploymentStrategy -export convert, IoK8sApiExtensionsV1beta1FSGroupStrategyOptions -export convert, IoK8sApiExtensionsV1beta1HTTPIngressPath -export convert, IoK8sApiExtensionsV1beta1HTTPIngressRuleValue -export convert, IoK8sApiExtensionsV1beta1HostPortRange -export convert, IoK8sApiExtensionsV1beta1IDRange -export convert, IoK8sApiExtensionsV1beta1IPBlock -export convert, IoK8sApiExtensionsV1beta1Ingress -export convert, IoK8sApiExtensionsV1beta1IngressBackend -export convert, IoK8sApiExtensionsV1beta1IngressList -export convert, IoK8sApiExtensionsV1beta1IngressRule -export convert, IoK8sApiExtensionsV1beta1IngressSpec -export convert, IoK8sApiExtensionsV1beta1IngressStatus -export convert, IoK8sApiExtensionsV1beta1IngressTLS -export convert, IoK8sApiExtensionsV1beta1NetworkPolicy -export convert, IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule -export convert, IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule -export convert, IoK8sApiExtensionsV1beta1NetworkPolicyList -export convert, IoK8sApiExtensionsV1beta1NetworkPolicyPeer -export convert, IoK8sApiExtensionsV1beta1NetworkPolicyPort -export convert, IoK8sApiExtensionsV1beta1NetworkPolicySpec -export convert, IoK8sApiExtensionsV1beta1PodSecurityPolicy -export convert, IoK8sApiExtensionsV1beta1PodSecurityPolicyList -export convert, IoK8sApiExtensionsV1beta1PodSecurityPolicySpec -export convert, IoK8sApiExtensionsV1beta1ReplicaSet -export convert, IoK8sApiExtensionsV1beta1ReplicaSetCondition -export convert, IoK8sApiExtensionsV1beta1ReplicaSetList -export convert, IoK8sApiExtensionsV1beta1ReplicaSetSpec -export convert, IoK8sApiExtensionsV1beta1ReplicaSetStatus -export convert, IoK8sApiExtensionsV1beta1RollbackConfig -export convert, IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet -export convert, IoK8sApiExtensionsV1beta1RollingUpdateDeployment -export convert, IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions -export convert, IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions -export convert, IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions -export convert, IoK8sApiExtensionsV1beta1SELinuxStrategyOptions -export convert, IoK8sApiExtensionsV1beta1Scale -export convert, IoK8sApiExtensionsV1beta1ScaleSpec -export convert, IoK8sApiExtensionsV1beta1ScaleStatus -export convert, IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions -export convert, IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod -export convert, IoK8sApiFlowcontrolV1alpha1FlowSchema -export convert, IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition -export convert, IoK8sApiFlowcontrolV1alpha1FlowSchemaList -export convert, IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec -export convert, IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus -export convert, IoK8sApiFlowcontrolV1alpha1GroupSubject -export convert, IoK8sApiFlowcontrolV1alpha1LimitResponse -export convert, IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration -export convert, IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule -export convert, IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects -export convert, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -export convert, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition -export convert, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList -export convert, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference -export convert, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec -export convert, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus -export convert, IoK8sApiFlowcontrolV1alpha1QueuingConfiguration -export convert, IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule -export convert, IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject -export convert, IoK8sApiFlowcontrolV1alpha1Subject -export convert, IoK8sApiFlowcontrolV1alpha1UserSubject -export convert, IoK8sApiMetricsV1beta1ContainerMetrics -export convert, IoK8sApiMetricsV1beta1NodeMetrics -export convert, IoK8sApiMetricsV1beta1NodeMetricsList -export convert, IoK8sApiMetricsV1beta1PodMetrics -export convert, IoK8sApiMetricsV1beta1PodMetricsList -export convert, IoK8sApiNetworkingV1IPBlock -export convert, IoK8sApiNetworkingV1NetworkPolicy -export convert, IoK8sApiNetworkingV1NetworkPolicyEgressRule -export convert, IoK8sApiNetworkingV1NetworkPolicyIngressRule -export convert, IoK8sApiNetworkingV1NetworkPolicyList -export convert, IoK8sApiNetworkingV1NetworkPolicyPeer -export convert, IoK8sApiNetworkingV1NetworkPolicyPort -export convert, IoK8sApiNetworkingV1NetworkPolicySpec -export convert, IoK8sApiNetworkingV1beta1HTTPIngressPath -export convert, IoK8sApiNetworkingV1beta1HTTPIngressRuleValue -export convert, IoK8sApiNetworkingV1beta1Ingress -export convert, IoK8sApiNetworkingV1beta1IngressBackend -export convert, IoK8sApiNetworkingV1beta1IngressList -export convert, IoK8sApiNetworkingV1beta1IngressRule -export convert, IoK8sApiNetworkingV1beta1IngressSpec -export convert, IoK8sApiNetworkingV1beta1IngressStatus -export convert, IoK8sApiNetworkingV1beta1IngressTLS -export convert, IoK8sApiNodeV1alpha1Overhead -export convert, IoK8sApiNodeV1alpha1RuntimeClass -export convert, IoK8sApiNodeV1alpha1RuntimeClassList -export convert, IoK8sApiNodeV1alpha1RuntimeClassSpec -export convert, IoK8sApiNodeV1alpha1Scheduling -export convert, IoK8sApiNodeV1beta1Overhead -export convert, IoK8sApiNodeV1beta1RuntimeClass -export convert, IoK8sApiNodeV1beta1RuntimeClassList -export convert, IoK8sApiNodeV1beta1Scheduling -export convert, IoK8sApiPolicyV1beta1AllowedCSIDriver -export convert, IoK8sApiPolicyV1beta1AllowedFlexVolume -export convert, IoK8sApiPolicyV1beta1AllowedHostPath -export convert, IoK8sApiPolicyV1beta1Eviction -export convert, IoK8sApiPolicyV1beta1FSGroupStrategyOptions -export convert, IoK8sApiPolicyV1beta1HostPortRange -export convert, IoK8sApiPolicyV1beta1IDRange -export convert, IoK8sApiPolicyV1beta1PodDisruptionBudget -export convert, IoK8sApiPolicyV1beta1PodDisruptionBudgetList -export convert, IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec -export convert, IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus -export convert, IoK8sApiPolicyV1beta1PodSecurityPolicy -export convert, IoK8sApiPolicyV1beta1PodSecurityPolicyList -export convert, IoK8sApiPolicyV1beta1PodSecurityPolicySpec -export convert, IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions -export convert, IoK8sApiPolicyV1beta1RunAsUserStrategyOptions -export convert, IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions -export convert, IoK8sApiPolicyV1beta1SELinuxStrategyOptions -export convert, IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions -export convert, IoK8sApiRbacV1AggregationRule -export convert, IoK8sApiRbacV1ClusterRole -export convert, IoK8sApiRbacV1ClusterRoleBinding -export convert, IoK8sApiRbacV1ClusterRoleBindingList -export convert, IoK8sApiRbacV1ClusterRoleList -export convert, IoK8sApiRbacV1PolicyRule -export convert, IoK8sApiRbacV1Role -export convert, IoK8sApiRbacV1RoleBinding -export convert, IoK8sApiRbacV1RoleBindingList -export convert, IoK8sApiRbacV1RoleList -export convert, IoK8sApiRbacV1RoleRef -export convert, IoK8sApiRbacV1Subject -export convert, IoK8sApiRbacV1alpha1AggregationRule -export convert, IoK8sApiRbacV1alpha1ClusterRole -export convert, IoK8sApiRbacV1alpha1ClusterRoleBinding -export convert, IoK8sApiRbacV1alpha1ClusterRoleBindingList -export convert, IoK8sApiRbacV1alpha1ClusterRoleList -export convert, IoK8sApiRbacV1alpha1PolicyRule -export convert, IoK8sApiRbacV1alpha1Role -export convert, IoK8sApiRbacV1alpha1RoleBinding -export convert, IoK8sApiRbacV1alpha1RoleBindingList -export convert, IoK8sApiRbacV1alpha1RoleList -export convert, IoK8sApiRbacV1alpha1RoleRef -export convert, IoK8sApiRbacV1alpha1Subject -export convert, IoK8sApiRbacV1beta1AggregationRule -export convert, IoK8sApiRbacV1beta1ClusterRole -export convert, IoK8sApiRbacV1beta1ClusterRoleBinding -export convert, IoK8sApiRbacV1beta1ClusterRoleBindingList -export convert, IoK8sApiRbacV1beta1ClusterRoleList -export convert, IoK8sApiRbacV1beta1PolicyRule -export convert, IoK8sApiRbacV1beta1Role -export convert, IoK8sApiRbacV1beta1RoleBinding -export convert, IoK8sApiRbacV1beta1RoleBindingList -export convert, IoK8sApiRbacV1beta1RoleList -export convert, IoK8sApiRbacV1beta1RoleRef -export convert, IoK8sApiRbacV1beta1Subject -export convert, IoK8sApiSchedulingV1PriorityClass -export convert, IoK8sApiSchedulingV1PriorityClassList -export convert, IoK8sApiSchedulingV1alpha1PriorityClass -export convert, IoK8sApiSchedulingV1alpha1PriorityClassList -export convert, IoK8sApiSchedulingV1beta1PriorityClass -export convert, IoK8sApiSchedulingV1beta1PriorityClassList -export convert, IoK8sApiSettingsV1alpha1PodPreset -export convert, IoK8sApiSettingsV1alpha1PodPresetList -export convert, IoK8sApiSettingsV1alpha1PodPresetSpec -export convert, IoK8sApiStorageV1CSINode -export convert, IoK8sApiStorageV1CSINodeDriver -export convert, IoK8sApiStorageV1CSINodeList -export convert, IoK8sApiStorageV1CSINodeSpec -export convert, IoK8sApiStorageV1StorageClass -export convert, IoK8sApiStorageV1StorageClassList -export convert, IoK8sApiStorageV1VolumeAttachment -export convert, IoK8sApiStorageV1VolumeAttachmentList -export convert, IoK8sApiStorageV1VolumeAttachmentSource -export convert, IoK8sApiStorageV1VolumeAttachmentSpec -export convert, IoK8sApiStorageV1VolumeAttachmentStatus -export convert, IoK8sApiStorageV1VolumeError -export convert, IoK8sApiStorageV1VolumeNodeResources -export convert, IoK8sApiStorageV1alpha1VolumeAttachment -export convert, IoK8sApiStorageV1alpha1VolumeAttachmentList -export convert, IoK8sApiStorageV1alpha1VolumeAttachmentSource -export convert, IoK8sApiStorageV1alpha1VolumeAttachmentSpec -export convert, IoK8sApiStorageV1alpha1VolumeAttachmentStatus -export convert, IoK8sApiStorageV1alpha1VolumeError -export convert, IoK8sApiStorageV1beta1CSIDriver -export convert, IoK8sApiStorageV1beta1CSIDriverList -export convert, IoK8sApiStorageV1beta1CSIDriverSpec -export convert, IoK8sApiStorageV1beta1CSINode -export convert, IoK8sApiStorageV1beta1CSINodeDriver -export convert, IoK8sApiStorageV1beta1CSINodeList -export convert, IoK8sApiStorageV1beta1CSINodeSpec -export convert, IoK8sApiStorageV1beta1StorageClass -export convert, IoK8sApiStorageV1beta1StorageClassList -export convert, IoK8sApiStorageV1beta1VolumeAttachment -export convert, IoK8sApiStorageV1beta1VolumeAttachmentList -export convert, IoK8sApiStorageV1beta1VolumeAttachmentSource -export convert, IoK8sApiStorageV1beta1VolumeAttachmentSpec -export convert, IoK8sApiStorageV1beta1VolumeAttachmentStatus -export convert, IoK8sApiStorageV1beta1VolumeError -export convert, IoK8sApiStorageV1beta1VolumeNodeResources -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference -export convert, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig -export convert, IoK8sApimachineryPkgApiResourceQuantity -export convert, IoK8sApimachineryPkgApisMetaV1APIGroup -export convert, IoK8sApimachineryPkgApisMetaV1APIGroupList -export convert, IoK8sApimachineryPkgApisMetaV1APIResource -export convert, IoK8sApimachineryPkgApisMetaV1APIResourceList -export convert, IoK8sApimachineryPkgApisMetaV1APIVersions -export convert, IoK8sApimachineryPkgApisMetaV1DeleteOptions -export convert, IoK8sApimachineryPkgApisMetaV1Duration -export convert, IoK8sApimachineryPkgApisMetaV1FieldsV1 -export convert, IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery -export convert, IoK8sApimachineryPkgApisMetaV1LabelSelector -export convert, IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement -export convert, IoK8sApimachineryPkgApisMetaV1ListMeta -export convert, IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry -export convert, IoK8sApimachineryPkgApisMetaV1MicroTime -export convert, IoK8sApimachineryPkgApisMetaV1ObjectMeta -export convert, IoK8sApimachineryPkgApisMetaV1OwnerReference -export convert, IoK8sApimachineryPkgApisMetaV1Patch -export convert, IoK8sApimachineryPkgApisMetaV1Preconditions -export convert, IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR -export convert, IoK8sApimachineryPkgApisMetaV1Status -export convert, IoK8sApimachineryPkgApisMetaV1StatusCause -export convert, IoK8sApimachineryPkgApisMetaV1StatusDetails -export convert, IoK8sApimachineryPkgApisMetaV1Time -export convert, IoK8sApimachineryPkgApisMetaV1WatchEvent -export convert, IoK8sApimachineryPkgRuntimeRawExtension -export convert, IoK8sApimachineryPkgUtilIntstrIntOrString -export convert, IoK8sApimachineryPkgVersionInfo -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus -export convert, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference +export IoK8sApiAdmissionregistrationV1MutatingWebhook +export IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration +export IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList +export IoK8sApiAdmissionregistrationV1RuleWithOperations +export IoK8sApiAdmissionregistrationV1ServiceReference +export IoK8sApiAdmissionregistrationV1ValidatingWebhook +export IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration +export IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList +export IoK8sApiAdmissionregistrationV1WebhookClientConfig +export IoK8sApiAdmissionregistrationV1beta1MutatingWebhook +export IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration +export IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList +export IoK8sApiAdmissionregistrationV1beta1RuleWithOperations +export IoK8sApiAdmissionregistrationV1beta1ServiceReference +export IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook +export IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration +export IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList +export IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig +export IoK8sApiAppsV1ControllerRevision +export IoK8sApiAppsV1ControllerRevisionList +export IoK8sApiAppsV1DaemonSet +export IoK8sApiAppsV1DaemonSetCondition +export IoK8sApiAppsV1DaemonSetList +export IoK8sApiAppsV1DaemonSetSpec +export IoK8sApiAppsV1DaemonSetStatus +export IoK8sApiAppsV1DaemonSetUpdateStrategy +export IoK8sApiAppsV1Deployment +export IoK8sApiAppsV1DeploymentCondition +export IoK8sApiAppsV1DeploymentList +export IoK8sApiAppsV1DeploymentSpec +export IoK8sApiAppsV1DeploymentStatus +export IoK8sApiAppsV1DeploymentStrategy +export IoK8sApiAppsV1ReplicaSet +export IoK8sApiAppsV1ReplicaSetCondition +export IoK8sApiAppsV1ReplicaSetList +export IoK8sApiAppsV1ReplicaSetSpec +export IoK8sApiAppsV1ReplicaSetStatus +export IoK8sApiAppsV1RollingUpdateDaemonSet +export IoK8sApiAppsV1RollingUpdateDeployment +export IoK8sApiAppsV1RollingUpdateStatefulSetStrategy +export IoK8sApiAppsV1StatefulSet +export IoK8sApiAppsV1StatefulSetCondition +export IoK8sApiAppsV1StatefulSetList +export IoK8sApiAppsV1StatefulSetSpec +export IoK8sApiAppsV1StatefulSetStatus +export IoK8sApiAppsV1StatefulSetUpdateStrategy +export IoK8sApiAppsV1beta1ControllerRevision +export IoK8sApiAppsV1beta1ControllerRevisionList +export IoK8sApiAppsV1beta1Deployment +export IoK8sApiAppsV1beta1DeploymentCondition +export IoK8sApiAppsV1beta1DeploymentList +export IoK8sApiAppsV1beta1DeploymentRollback +export IoK8sApiAppsV1beta1DeploymentSpec +export IoK8sApiAppsV1beta1DeploymentStatus +export IoK8sApiAppsV1beta1DeploymentStrategy +export IoK8sApiAppsV1beta1RollbackConfig +export IoK8sApiAppsV1beta1RollingUpdateDeployment +export IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy +export IoK8sApiAppsV1beta1Scale +export IoK8sApiAppsV1beta1ScaleSpec +export IoK8sApiAppsV1beta1ScaleStatus +export IoK8sApiAppsV1beta1StatefulSet +export IoK8sApiAppsV1beta1StatefulSetCondition +export IoK8sApiAppsV1beta1StatefulSetList +export IoK8sApiAppsV1beta1StatefulSetSpec +export IoK8sApiAppsV1beta1StatefulSetStatus +export IoK8sApiAppsV1beta1StatefulSetUpdateStrategy +export IoK8sApiAppsV1beta2ControllerRevision +export IoK8sApiAppsV1beta2ControllerRevisionList +export IoK8sApiAppsV1beta2DaemonSet +export IoK8sApiAppsV1beta2DaemonSetCondition +export IoK8sApiAppsV1beta2DaemonSetList +export IoK8sApiAppsV1beta2DaemonSetSpec +export IoK8sApiAppsV1beta2DaemonSetStatus +export IoK8sApiAppsV1beta2DaemonSetUpdateStrategy +export IoK8sApiAppsV1beta2Deployment +export IoK8sApiAppsV1beta2DeploymentCondition +export IoK8sApiAppsV1beta2DeploymentList +export IoK8sApiAppsV1beta2DeploymentSpec +export IoK8sApiAppsV1beta2DeploymentStatus +export IoK8sApiAppsV1beta2DeploymentStrategy +export IoK8sApiAppsV1beta2ReplicaSet +export IoK8sApiAppsV1beta2ReplicaSetCondition +export IoK8sApiAppsV1beta2ReplicaSetList +export IoK8sApiAppsV1beta2ReplicaSetSpec +export IoK8sApiAppsV1beta2ReplicaSetStatus +export IoK8sApiAppsV1beta2RollingUpdateDaemonSet +export IoK8sApiAppsV1beta2RollingUpdateDeployment +export IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy +export IoK8sApiAppsV1beta2Scale +export IoK8sApiAppsV1beta2ScaleSpec +export IoK8sApiAppsV1beta2ScaleStatus +export IoK8sApiAppsV1beta2StatefulSet +export IoK8sApiAppsV1beta2StatefulSetCondition +export IoK8sApiAppsV1beta2StatefulSetList +export IoK8sApiAppsV1beta2StatefulSetSpec +export IoK8sApiAppsV1beta2StatefulSetStatus +export IoK8sApiAppsV1beta2StatefulSetUpdateStrategy +export IoK8sApiAuditregistrationV1alpha1AuditSink +export IoK8sApiAuditregistrationV1alpha1AuditSinkList +export IoK8sApiAuditregistrationV1alpha1AuditSinkSpec +export IoK8sApiAuditregistrationV1alpha1Policy +export IoK8sApiAuditregistrationV1alpha1ServiceReference +export IoK8sApiAuditregistrationV1alpha1Webhook +export IoK8sApiAuditregistrationV1alpha1WebhookClientConfig +export IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig +export IoK8sApiAuthenticationV1BoundObjectReference +export IoK8sApiAuthenticationV1TokenRequest +export IoK8sApiAuthenticationV1TokenRequestSpec +export IoK8sApiAuthenticationV1TokenRequestStatus +export IoK8sApiAuthenticationV1TokenReview +export IoK8sApiAuthenticationV1TokenReviewSpec +export IoK8sApiAuthenticationV1TokenReviewStatus +export IoK8sApiAuthenticationV1UserInfo +export IoK8sApiAuthenticationV1beta1TokenReview +export IoK8sApiAuthenticationV1beta1TokenReviewSpec +export IoK8sApiAuthenticationV1beta1TokenReviewStatus +export IoK8sApiAuthenticationV1beta1UserInfo +export IoK8sApiAuthorizationV1LocalSubjectAccessReview +export IoK8sApiAuthorizationV1NonResourceAttributes +export IoK8sApiAuthorizationV1NonResourceRule +export IoK8sApiAuthorizationV1ResourceAttributes +export IoK8sApiAuthorizationV1ResourceRule +export IoK8sApiAuthorizationV1SelfSubjectAccessReview +export IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec +export IoK8sApiAuthorizationV1SelfSubjectRulesReview +export IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec +export IoK8sApiAuthorizationV1SubjectAccessReview +export IoK8sApiAuthorizationV1SubjectAccessReviewSpec +export IoK8sApiAuthorizationV1SubjectAccessReviewStatus +export IoK8sApiAuthorizationV1SubjectRulesReviewStatus +export IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview +export IoK8sApiAuthorizationV1beta1NonResourceAttributes +export IoK8sApiAuthorizationV1beta1NonResourceRule +export IoK8sApiAuthorizationV1beta1ResourceAttributes +export IoK8sApiAuthorizationV1beta1ResourceRule +export IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview +export IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec +export IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview +export IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec +export IoK8sApiAuthorizationV1beta1SubjectAccessReview +export IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec +export IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus +export IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus +export IoK8sApiAutoscalingV1CrossVersionObjectReference +export IoK8sApiAutoscalingV1HorizontalPodAutoscaler +export IoK8sApiAutoscalingV1HorizontalPodAutoscalerList +export IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec +export IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus +export IoK8sApiAutoscalingV1Scale +export IoK8sApiAutoscalingV1ScaleSpec +export IoK8sApiAutoscalingV1ScaleStatus +export IoK8sApiAutoscalingV2beta1CrossVersionObjectReference +export IoK8sApiAutoscalingV2beta1ExternalMetricSource +export IoK8sApiAutoscalingV2beta1ExternalMetricStatus +export IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler +export IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition +export IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList +export IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec +export IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus +export IoK8sApiAutoscalingV2beta1MetricSpec +export IoK8sApiAutoscalingV2beta1MetricStatus +export IoK8sApiAutoscalingV2beta1ObjectMetricSource +export IoK8sApiAutoscalingV2beta1ObjectMetricStatus +export IoK8sApiAutoscalingV2beta1PodsMetricSource +export IoK8sApiAutoscalingV2beta1PodsMetricStatus +export IoK8sApiAutoscalingV2beta1ResourceMetricSource +export IoK8sApiAutoscalingV2beta1ResourceMetricStatus +export IoK8sApiAutoscalingV2beta2CrossVersionObjectReference +export IoK8sApiAutoscalingV2beta2ExternalMetricSource +export IoK8sApiAutoscalingV2beta2ExternalMetricStatus +export IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler +export IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition +export IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList +export IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec +export IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus +export IoK8sApiAutoscalingV2beta2MetricIdentifier +export IoK8sApiAutoscalingV2beta2MetricSpec +export IoK8sApiAutoscalingV2beta2MetricStatus +export IoK8sApiAutoscalingV2beta2MetricTarget +export IoK8sApiAutoscalingV2beta2MetricValueStatus +export IoK8sApiAutoscalingV2beta2ObjectMetricSource +export IoK8sApiAutoscalingV2beta2ObjectMetricStatus +export IoK8sApiAutoscalingV2beta2PodsMetricSource +export IoK8sApiAutoscalingV2beta2PodsMetricStatus +export IoK8sApiAutoscalingV2beta2ResourceMetricSource +export IoK8sApiAutoscalingV2beta2ResourceMetricStatus +export IoK8sApiBatchV1CronJob +export IoK8sApiBatchV1CronJobList +export IoK8sApiBatchV1CronJobSpec +export IoK8sApiBatchV1CronJobStatus +export IoK8sApiBatchV1Job +export IoK8sApiBatchV1JobCondition +export IoK8sApiBatchV1JobList +export IoK8sApiBatchV1JobSpec +export IoK8sApiBatchV1JobStatus +export IoK8sApiBatchV1JobTemplateSpec +export IoK8sApiBatchV1beta1CronJob +export IoK8sApiBatchV1beta1CronJobList +export IoK8sApiBatchV1beta1CronJobSpec +export IoK8sApiBatchV1beta1CronJobStatus +export IoK8sApiBatchV1beta1JobTemplateSpec +export IoK8sApiBatchV2alpha1CronJob +export IoK8sApiBatchV2alpha1CronJobList +export IoK8sApiBatchV2alpha1CronJobSpec +export IoK8sApiBatchV2alpha1CronJobStatus +export IoK8sApiBatchV2alpha1JobTemplateSpec +export IoK8sApiCertificatesV1beta1CertificateSigningRequest +export IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition +export IoK8sApiCertificatesV1beta1CertificateSigningRequestList +export IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec +export IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus +export IoK8sApiCoordinationV1Lease +export IoK8sApiCoordinationV1LeaseList +export IoK8sApiCoordinationV1LeaseSpec +export IoK8sApiCoordinationV1beta1Lease +export IoK8sApiCoordinationV1beta1LeaseList +export IoK8sApiCoordinationV1beta1LeaseSpec +export IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource +export IoK8sApiCoreV1Affinity +export IoK8sApiCoreV1AttachedVolume +export IoK8sApiCoreV1AzureDiskVolumeSource +export IoK8sApiCoreV1AzureFilePersistentVolumeSource +export IoK8sApiCoreV1AzureFileVolumeSource +export IoK8sApiCoreV1Binding +export IoK8sApiCoreV1CSIPersistentVolumeSource +export IoK8sApiCoreV1CSIVolumeSource +export IoK8sApiCoreV1Capabilities +export IoK8sApiCoreV1CephFSPersistentVolumeSource +export IoK8sApiCoreV1CephFSVolumeSource +export IoK8sApiCoreV1CinderPersistentVolumeSource +export IoK8sApiCoreV1CinderVolumeSource +export IoK8sApiCoreV1ClientIPConfig +export IoK8sApiCoreV1ComponentCondition +export IoK8sApiCoreV1ComponentStatus +export IoK8sApiCoreV1ComponentStatusList +export IoK8sApiCoreV1ConfigMap +export IoK8sApiCoreV1ConfigMapEnvSource +export IoK8sApiCoreV1ConfigMapKeySelector +export IoK8sApiCoreV1ConfigMapList +export IoK8sApiCoreV1ConfigMapNodeConfigSource +export IoK8sApiCoreV1ConfigMapProjection +export IoK8sApiCoreV1ConfigMapVolumeSource +export IoK8sApiCoreV1Container +export IoK8sApiCoreV1ContainerImage +export IoK8sApiCoreV1ContainerPort +export IoK8sApiCoreV1ContainerState +export IoK8sApiCoreV1ContainerStateRunning +export IoK8sApiCoreV1ContainerStateTerminated +export IoK8sApiCoreV1ContainerStateWaiting +export IoK8sApiCoreV1ContainerStatus +export IoK8sApiCoreV1DaemonEndpoint +export IoK8sApiCoreV1DownwardAPIProjection +export IoK8sApiCoreV1DownwardAPIVolumeFile +export IoK8sApiCoreV1DownwardAPIVolumeSource +export IoK8sApiCoreV1EmptyDirVolumeSource +export IoK8sApiCoreV1EndpointAddress +export IoK8sApiCoreV1EndpointPort +export IoK8sApiCoreV1EndpointSubset +export IoK8sApiCoreV1Endpoints +export IoK8sApiCoreV1EndpointsList +export IoK8sApiCoreV1EnvFromSource +export IoK8sApiCoreV1EnvVar +export IoK8sApiCoreV1EnvVarSource +export IoK8sApiCoreV1EphemeralContainer +export IoK8sApiCoreV1Event +export IoK8sApiCoreV1EventList +export IoK8sApiCoreV1EventSeries +export IoK8sApiCoreV1EventSource +export IoK8sApiCoreV1ExecAction +export IoK8sApiCoreV1FCVolumeSource +export IoK8sApiCoreV1FlexPersistentVolumeSource +export IoK8sApiCoreV1FlexVolumeSource +export IoK8sApiCoreV1FlockerVolumeSource +export IoK8sApiCoreV1GCEPersistentDiskVolumeSource +export IoK8sApiCoreV1GitRepoVolumeSource +export IoK8sApiCoreV1GlusterfsPersistentVolumeSource +export IoK8sApiCoreV1GlusterfsVolumeSource +export IoK8sApiCoreV1HTTPGetAction +export IoK8sApiCoreV1HTTPHeader +export IoK8sApiCoreV1Handler +export IoK8sApiCoreV1HostAlias +export IoK8sApiCoreV1HostPathVolumeSource +export IoK8sApiCoreV1ISCSIPersistentVolumeSource +export IoK8sApiCoreV1ISCSIVolumeSource +export IoK8sApiCoreV1KeyToPath +export IoK8sApiCoreV1Lifecycle +export IoK8sApiCoreV1LimitRange +export IoK8sApiCoreV1LimitRangeItem +export IoK8sApiCoreV1LimitRangeList +export IoK8sApiCoreV1LimitRangeSpec +export IoK8sApiCoreV1LoadBalancerIngress +export IoK8sApiCoreV1LoadBalancerStatus +export IoK8sApiCoreV1LocalObjectReference +export IoK8sApiCoreV1LocalVolumeSource +export IoK8sApiCoreV1NFSVolumeSource +export IoK8sApiCoreV1Namespace +export IoK8sApiCoreV1NamespaceCondition +export IoK8sApiCoreV1NamespaceList +export IoK8sApiCoreV1NamespaceSpec +export IoK8sApiCoreV1NamespaceStatus +export IoK8sApiCoreV1Node +export IoK8sApiCoreV1NodeAddress +export IoK8sApiCoreV1NodeAffinity +export IoK8sApiCoreV1NodeCondition +export IoK8sApiCoreV1NodeConfigSource +export IoK8sApiCoreV1NodeConfigStatus +export IoK8sApiCoreV1NodeDaemonEndpoints +export IoK8sApiCoreV1NodeList +export IoK8sApiCoreV1NodeSelector +export IoK8sApiCoreV1NodeSelectorRequirement +export IoK8sApiCoreV1NodeSelectorTerm +export IoK8sApiCoreV1NodeSpec +export IoK8sApiCoreV1NodeStatus +export IoK8sApiCoreV1NodeSystemInfo +export IoK8sApiCoreV1ObjectFieldSelector +export IoK8sApiCoreV1ObjectReference +export IoK8sApiCoreV1PersistentVolume +export IoK8sApiCoreV1PersistentVolumeClaim +export IoK8sApiCoreV1PersistentVolumeClaimCondition +export IoK8sApiCoreV1PersistentVolumeClaimList +export IoK8sApiCoreV1PersistentVolumeClaimSpec +export IoK8sApiCoreV1PersistentVolumeClaimStatus +export IoK8sApiCoreV1PersistentVolumeClaimVolumeSource +export IoK8sApiCoreV1PersistentVolumeList +export IoK8sApiCoreV1PersistentVolumeSpec +export IoK8sApiCoreV1PersistentVolumeStatus +export IoK8sApiCoreV1PhotonPersistentDiskVolumeSource +export IoK8sApiCoreV1Pod +export IoK8sApiCoreV1PodAffinity +export IoK8sApiCoreV1PodAffinityTerm +export IoK8sApiCoreV1PodAntiAffinity +export IoK8sApiCoreV1PodCondition +export IoK8sApiCoreV1PodDNSConfig +export IoK8sApiCoreV1PodDNSConfigOption +export IoK8sApiCoreV1PodIP +export IoK8sApiCoreV1PodList +export IoK8sApiCoreV1PodReadinessGate +export IoK8sApiCoreV1PodSecurityContext +export IoK8sApiCoreV1PodSpec +export IoK8sApiCoreV1PodStatus +export IoK8sApiCoreV1PodTemplate +export IoK8sApiCoreV1PodTemplateList +export IoK8sApiCoreV1PodTemplateSpec +export IoK8sApiCoreV1PortworxVolumeSource +export IoK8sApiCoreV1PreferredSchedulingTerm +export IoK8sApiCoreV1Probe +export IoK8sApiCoreV1ProjectedVolumeSource +export IoK8sApiCoreV1QuobyteVolumeSource +export IoK8sApiCoreV1RBDPersistentVolumeSource +export IoK8sApiCoreV1RBDVolumeSource +export IoK8sApiCoreV1ReplicationController +export IoK8sApiCoreV1ReplicationControllerCondition +export IoK8sApiCoreV1ReplicationControllerList +export IoK8sApiCoreV1ReplicationControllerSpec +export IoK8sApiCoreV1ReplicationControllerStatus +export IoK8sApiCoreV1ResourceFieldSelector +export IoK8sApiCoreV1ResourceQuota +export IoK8sApiCoreV1ResourceQuotaList +export IoK8sApiCoreV1ResourceQuotaSpec +export IoK8sApiCoreV1ResourceQuotaStatus +export IoK8sApiCoreV1ResourceRequirements +export IoK8sApiCoreV1SELinuxOptions +export IoK8sApiCoreV1ScaleIOPersistentVolumeSource +export IoK8sApiCoreV1ScaleIOVolumeSource +export IoK8sApiCoreV1ScopeSelector +export IoK8sApiCoreV1ScopedResourceSelectorRequirement +export IoK8sApiCoreV1Secret +export IoK8sApiCoreV1SecretEnvSource +export IoK8sApiCoreV1SecretKeySelector +export IoK8sApiCoreV1SecretList +export IoK8sApiCoreV1SecretProjection +export IoK8sApiCoreV1SecretReference +export IoK8sApiCoreV1SecretVolumeSource +export IoK8sApiCoreV1SecurityContext +export IoK8sApiCoreV1Service +export IoK8sApiCoreV1ServiceAccount +export IoK8sApiCoreV1ServiceAccountList +export IoK8sApiCoreV1ServiceAccountTokenProjection +export IoK8sApiCoreV1ServiceList +export IoK8sApiCoreV1ServicePort +export IoK8sApiCoreV1ServiceSpec +export IoK8sApiCoreV1ServiceStatus +export IoK8sApiCoreV1SessionAffinityConfig +export IoK8sApiCoreV1StorageOSPersistentVolumeSource +export IoK8sApiCoreV1StorageOSVolumeSource +export IoK8sApiCoreV1Sysctl +export IoK8sApiCoreV1TCPSocketAction +export IoK8sApiCoreV1Taint +export IoK8sApiCoreV1Toleration +export IoK8sApiCoreV1TopologySelectorLabelRequirement +export IoK8sApiCoreV1TopologySelectorTerm +export IoK8sApiCoreV1TopologySpreadConstraint +export IoK8sApiCoreV1TypedLocalObjectReference +export IoK8sApiCoreV1Volume +export IoK8sApiCoreV1VolumeDevice +export IoK8sApiCoreV1VolumeMount +export IoK8sApiCoreV1VolumeNodeAffinity +export IoK8sApiCoreV1VolumeProjection +export IoK8sApiCoreV1VsphereVirtualDiskVolumeSource +export IoK8sApiCoreV1WeightedPodAffinityTerm +export IoK8sApiCoreV1WindowsSecurityContextOptions +export IoK8sApiCustomMetricsV1beta1MetricValue +export IoK8sApiCustomMetricsV1beta1MetricValueList +export IoK8sApiDiscoveryV1beta1Endpoint +export IoK8sApiDiscoveryV1beta1EndpointConditions +export IoK8sApiDiscoveryV1beta1EndpointPort +export IoK8sApiDiscoveryV1beta1EndpointSlice +export IoK8sApiDiscoveryV1beta1EndpointSliceList +export IoK8sApiEventsV1beta1Event +export IoK8sApiEventsV1beta1EventList +export IoK8sApiEventsV1beta1EventSeries +export IoK8sApiExtensionsV1beta1AllowedCSIDriver +export IoK8sApiExtensionsV1beta1AllowedFlexVolume +export IoK8sApiExtensionsV1beta1AllowedHostPath +export IoK8sApiExtensionsV1beta1DaemonSet +export IoK8sApiExtensionsV1beta1DaemonSetCondition +export IoK8sApiExtensionsV1beta1DaemonSetList +export IoK8sApiExtensionsV1beta1DaemonSetSpec +export IoK8sApiExtensionsV1beta1DaemonSetStatus +export IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy +export IoK8sApiExtensionsV1beta1Deployment +export IoK8sApiExtensionsV1beta1DeploymentCondition +export IoK8sApiExtensionsV1beta1DeploymentList +export IoK8sApiExtensionsV1beta1DeploymentRollback +export IoK8sApiExtensionsV1beta1DeploymentSpec +export IoK8sApiExtensionsV1beta1DeploymentStatus +export IoK8sApiExtensionsV1beta1DeploymentStrategy +export IoK8sApiExtensionsV1beta1FSGroupStrategyOptions +export IoK8sApiExtensionsV1beta1HTTPIngressPath +export IoK8sApiExtensionsV1beta1HTTPIngressRuleValue +export IoK8sApiExtensionsV1beta1HostPortRange +export IoK8sApiExtensionsV1beta1IDRange +export IoK8sApiExtensionsV1beta1IPBlock +export IoK8sApiExtensionsV1beta1Ingress +export IoK8sApiExtensionsV1beta1IngressBackend +export IoK8sApiExtensionsV1beta1IngressList +export IoK8sApiExtensionsV1beta1IngressRule +export IoK8sApiExtensionsV1beta1IngressSpec +export IoK8sApiExtensionsV1beta1IngressStatus +export IoK8sApiExtensionsV1beta1IngressTLS +export IoK8sApiExtensionsV1beta1NetworkPolicy +export IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule +export IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule +export IoK8sApiExtensionsV1beta1NetworkPolicyList +export IoK8sApiExtensionsV1beta1NetworkPolicyPeer +export IoK8sApiExtensionsV1beta1NetworkPolicyPort +export IoK8sApiExtensionsV1beta1NetworkPolicySpec +export IoK8sApiExtensionsV1beta1PodSecurityPolicy +export IoK8sApiExtensionsV1beta1PodSecurityPolicyList +export IoK8sApiExtensionsV1beta1PodSecurityPolicySpec +export IoK8sApiExtensionsV1beta1ReplicaSet +export IoK8sApiExtensionsV1beta1ReplicaSetCondition +export IoK8sApiExtensionsV1beta1ReplicaSetList +export IoK8sApiExtensionsV1beta1ReplicaSetSpec +export IoK8sApiExtensionsV1beta1ReplicaSetStatus +export IoK8sApiExtensionsV1beta1RollbackConfig +export IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet +export IoK8sApiExtensionsV1beta1RollingUpdateDeployment +export IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions +export IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions +export IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions +export IoK8sApiExtensionsV1beta1SELinuxStrategyOptions +export IoK8sApiExtensionsV1beta1Scale +export IoK8sApiExtensionsV1beta1ScaleSpec +export IoK8sApiExtensionsV1beta1ScaleStatus +export IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions +export IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod +export IoK8sApiFlowcontrolV1alpha1FlowSchema +export IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition +export IoK8sApiFlowcontrolV1alpha1FlowSchemaList +export IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec +export IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus +export IoK8sApiFlowcontrolV1alpha1GroupSubject +export IoK8sApiFlowcontrolV1alpha1LimitResponse +export IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration +export IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule +export IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects +export IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration +export IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition +export IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList +export IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference +export IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec +export IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus +export IoK8sApiFlowcontrolV1alpha1QueuingConfiguration +export IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule +export IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject +export IoK8sApiFlowcontrolV1alpha1Subject +export IoK8sApiFlowcontrolV1alpha1UserSubject +export IoK8sApiMetricsV1beta1ContainerMetrics +export IoK8sApiMetricsV1beta1NodeMetrics +export IoK8sApiMetricsV1beta1NodeMetricsList +export IoK8sApiMetricsV1beta1PodMetrics +export IoK8sApiMetricsV1beta1PodMetricsList +export IoK8sApiNetworkingV1IPBlock +export IoK8sApiNetworkingV1NetworkPolicy +export IoK8sApiNetworkingV1NetworkPolicyEgressRule +export IoK8sApiNetworkingV1NetworkPolicyIngressRule +export IoK8sApiNetworkingV1NetworkPolicyList +export IoK8sApiNetworkingV1NetworkPolicyPeer +export IoK8sApiNetworkingV1NetworkPolicyPort +export IoK8sApiNetworkingV1NetworkPolicySpec +export IoK8sApiNetworkingV1beta1HTTPIngressPath +export IoK8sApiNetworkingV1beta1HTTPIngressRuleValue +export IoK8sApiNetworkingV1beta1Ingress +export IoK8sApiNetworkingV1beta1IngressBackend +export IoK8sApiNetworkingV1beta1IngressList +export IoK8sApiNetworkingV1beta1IngressRule +export IoK8sApiNetworkingV1beta1IngressSpec +export IoK8sApiNetworkingV1beta1IngressStatus +export IoK8sApiNetworkingV1beta1IngressTLS +export IoK8sApiNodeV1alpha1Overhead +export IoK8sApiNodeV1alpha1RuntimeClass +export IoK8sApiNodeV1alpha1RuntimeClassList +export IoK8sApiNodeV1alpha1RuntimeClassSpec +export IoK8sApiNodeV1alpha1Scheduling +export IoK8sApiNodeV1beta1Overhead +export IoK8sApiNodeV1beta1RuntimeClass +export IoK8sApiNodeV1beta1RuntimeClassList +export IoK8sApiNodeV1beta1Scheduling +export IoK8sApiPolicyV1beta1AllowedCSIDriver +export IoK8sApiPolicyV1beta1AllowedFlexVolume +export IoK8sApiPolicyV1beta1AllowedHostPath +export IoK8sApiPolicyV1beta1Eviction +export IoK8sApiPolicyV1beta1FSGroupStrategyOptions +export IoK8sApiPolicyV1beta1HostPortRange +export IoK8sApiPolicyV1beta1IDRange +export IoK8sApiPolicyV1beta1PodDisruptionBudget +export IoK8sApiPolicyV1beta1PodDisruptionBudgetList +export IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec +export IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus +export IoK8sApiPolicyV1beta1PodSecurityPolicy +export IoK8sApiPolicyV1beta1PodSecurityPolicyList +export IoK8sApiPolicyV1beta1PodSecurityPolicySpec +export IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions +export IoK8sApiPolicyV1beta1RunAsUserStrategyOptions +export IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions +export IoK8sApiPolicyV1beta1SELinuxStrategyOptions +export IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions +export IoK8sApiRbacV1AggregationRule +export IoK8sApiRbacV1ClusterRole +export IoK8sApiRbacV1ClusterRoleBinding +export IoK8sApiRbacV1ClusterRoleBindingList +export IoK8sApiRbacV1ClusterRoleList +export IoK8sApiRbacV1PolicyRule +export IoK8sApiRbacV1Role +export IoK8sApiRbacV1RoleBinding +export IoK8sApiRbacV1RoleBindingList +export IoK8sApiRbacV1RoleList +export IoK8sApiRbacV1RoleRef +export IoK8sApiRbacV1Subject +export IoK8sApiRbacV1alpha1AggregationRule +export IoK8sApiRbacV1alpha1ClusterRole +export IoK8sApiRbacV1alpha1ClusterRoleBinding +export IoK8sApiRbacV1alpha1ClusterRoleBindingList +export IoK8sApiRbacV1alpha1ClusterRoleList +export IoK8sApiRbacV1alpha1PolicyRule +export IoK8sApiRbacV1alpha1Role +export IoK8sApiRbacV1alpha1RoleBinding +export IoK8sApiRbacV1alpha1RoleBindingList +export IoK8sApiRbacV1alpha1RoleList +export IoK8sApiRbacV1alpha1RoleRef +export IoK8sApiRbacV1alpha1Subject +export IoK8sApiRbacV1beta1AggregationRule +export IoK8sApiRbacV1beta1ClusterRole +export IoK8sApiRbacV1beta1ClusterRoleBinding +export IoK8sApiRbacV1beta1ClusterRoleBindingList +export IoK8sApiRbacV1beta1ClusterRoleList +export IoK8sApiRbacV1beta1PolicyRule +export IoK8sApiRbacV1beta1Role +export IoK8sApiRbacV1beta1RoleBinding +export IoK8sApiRbacV1beta1RoleBindingList +export IoK8sApiRbacV1beta1RoleList +export IoK8sApiRbacV1beta1RoleRef +export IoK8sApiRbacV1beta1Subject +export IoK8sApiSchedulingV1PriorityClass +export IoK8sApiSchedulingV1PriorityClassList +export IoK8sApiSchedulingV1alpha1PriorityClass +export IoK8sApiSchedulingV1alpha1PriorityClassList +export IoK8sApiSchedulingV1beta1PriorityClass +export IoK8sApiSchedulingV1beta1PriorityClassList +export IoK8sApiSettingsV1alpha1PodPreset +export IoK8sApiSettingsV1alpha1PodPresetList +export IoK8sApiSettingsV1alpha1PodPresetSpec +export IoK8sApiStorageV1CSINode +export IoK8sApiStorageV1CSINodeDriver +export IoK8sApiStorageV1CSINodeList +export IoK8sApiStorageV1CSINodeSpec +export IoK8sApiStorageV1StorageClass +export IoK8sApiStorageV1StorageClassList +export IoK8sApiStorageV1VolumeAttachment +export IoK8sApiStorageV1VolumeAttachmentList +export IoK8sApiStorageV1VolumeAttachmentSource +export IoK8sApiStorageV1VolumeAttachmentSpec +export IoK8sApiStorageV1VolumeAttachmentStatus +export IoK8sApiStorageV1VolumeError +export IoK8sApiStorageV1VolumeNodeResources +export IoK8sApiStorageV1alpha1VolumeAttachment +export IoK8sApiStorageV1alpha1VolumeAttachmentList +export IoK8sApiStorageV1alpha1VolumeAttachmentSource +export IoK8sApiStorageV1alpha1VolumeAttachmentSpec +export IoK8sApiStorageV1alpha1VolumeAttachmentStatus +export IoK8sApiStorageV1alpha1VolumeError +export IoK8sApiStorageV1beta1CSIDriver +export IoK8sApiStorageV1beta1CSIDriverList +export IoK8sApiStorageV1beta1CSIDriverSpec +export IoK8sApiStorageV1beta1CSINode +export IoK8sApiStorageV1beta1CSINodeDriver +export IoK8sApiStorageV1beta1CSINodeList +export IoK8sApiStorageV1beta1CSINodeSpec +export IoK8sApiStorageV1beta1StorageClass +export IoK8sApiStorageV1beta1StorageClassList +export IoK8sApiStorageV1beta1VolumeAttachment +export IoK8sApiStorageV1beta1VolumeAttachmentList +export IoK8sApiStorageV1beta1VolumeAttachmentSource +export IoK8sApiStorageV1beta1VolumeAttachmentSpec +export IoK8sApiStorageV1beta1VolumeAttachmentStatus +export IoK8sApiStorageV1beta1VolumeError +export IoK8sApiStorageV1beta1VolumeNodeResources +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference +export IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig +export IoK8sApimachineryPkgApisMetaV1APIGroup +export IoK8sApimachineryPkgApisMetaV1APIGroupList +export IoK8sApimachineryPkgApisMetaV1APIResource +export IoK8sApimachineryPkgApisMetaV1APIResourceList +export IoK8sApimachineryPkgApisMetaV1APIVersions +export IoK8sApimachineryPkgApisMetaV1DeleteOptions +export IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 +export IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery +export IoK8sApimachineryPkgApisMetaV1LabelSelector +export IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement +export IoK8sApimachineryPkgApisMetaV1ListMeta +export IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry +export IoK8sApimachineryPkgApisMetaV1ObjectMeta +export IoK8sApimachineryPkgApisMetaV1OwnerReference +export IoK8sApimachineryPkgApisMetaV1Preconditions +export IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR +export IoK8sApimachineryPkgApisMetaV1Status +export IoK8sApimachineryPkgApisMetaV1StatusCause +export IoK8sApimachineryPkgApisMetaV1StatusDetails +export IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 +export IoK8sApimachineryPkgApisMetaV1StatusV2 +export IoK8sApimachineryPkgApisMetaV1WatchEvent +export IoK8sApimachineryPkgVersionInfo +export IoK8sKubeAggregatorPkgApisApiregistrationV1APIService +export IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition +export IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList +export IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec +export IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus +export IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference +export IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService +export IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition +export IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList +export IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec +export IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus +export IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference +export ShKarpenterV1alpha5Provisioner +export ShKarpenterV1alpha5ProvisionerList +export ShKarpenterV1alpha5ProvisionerSpec +export ShKarpenterV1alpha5ProvisionerSpecConsolidation +export ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration +export ShKarpenterV1alpha5ProvisionerSpecLimits +export ShKarpenterV1alpha5ProvisionerSpecProviderRef +export ShKarpenterV1alpha5ProvisionerSpecRequirementsInner +export ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner +export ShKarpenterV1alpha5ProvisionerStatus +export ShKarpenterV1alpha5ProvisionerStatusConditionsInner # export operations -export convert, AdmissionregistrationApi, AdmissionregistrationV1Api, AdmissionregistrationV1beta1Api, ApiextensionsApi, ApiextensionsV1Api, ApiextensionsV1beta1Api, ApiregistrationApi, ApiregistrationV1Api, ApiregistrationV1beta1Api, ApisApi, AppsApi, AppsV1Api, AppsV1beta1Api, AppsV1beta2Api, AuditregistrationApi, AuditregistrationV1alpha1Api, AuthenticationApi, AuthenticationV1Api, AuthenticationV1beta1Api, AuthorizationApi, AuthorizationV1Api, AuthorizationV1beta1Api, AutoscalingApi, AutoscalingV1Api, AutoscalingV2beta1Api, AutoscalingV2beta2Api, BatchApi, BatchV1Api, BatchV1beta1Api, BatchV2alpha1Api, CertificatesApi, CertificatesV1beta1Api, CoordinationApi, CoordinationV1Api, CoordinationV1beta1Api, CoreApi, CoreV1Api, CustomMetricsV1beta1Api, DiscoveryApi, DiscoveryV1beta1Api, EventsApi, EventsV1beta1Api, ExtensionsApi, ExtensionsV1beta1Api, FlowcontrolApiserverApi, FlowcontrolApiserverV1alpha1Api, LogsApi, MetricsV1beta1Api, NetworkingApi, NetworkingV1Api, NetworkingV1beta1Api, NodeApi, NodeV1alpha1Api, NodeV1beta1Api, PolicyApi, PolicyV1beta1Api, RbacAuthorizationApi, RbacAuthorizationV1Api, RbacAuthorizationV1alpha1Api, RbacAuthorizationV1beta1Api, SchedulingApi, SchedulingV1Api, SchedulingV1alpha1Api, SchedulingV1beta1Api, SettingsApi, SettingsV1alpha1Api, StorageApi, StorageV1Api, StorageV1alpha1Api, StorageV1beta1Api, VersionApi - -export check_required, field_name, property_type, hasproperty, propertynames, validate_property, convert +export AdmissionregistrationApi +export AdmissionregistrationV1Api +export AdmissionregistrationV1beta1Api +export ApiextensionsApi +export ApiextensionsV1Api +export ApiextensionsV1beta1Api +export ApiregistrationApi +export ApiregistrationV1Api +export ApiregistrationV1beta1Api +export ApisApi +export AppsApi +export AppsV1Api +export AppsV1beta1Api +export AppsV1beta2Api +export AuditregistrationApi +export AuditregistrationV1alpha1Api +export AuthenticationApi +export AuthenticationV1Api +export AuthenticationV1beta1Api +export AuthorizationApi +export AuthorizationV1Api +export AuthorizationV1beta1Api +export AutoscalingApi +export AutoscalingV1Api +export AutoscalingV2beta1Api +export AutoscalingV2beta2Api +export BatchApi +export BatchV1Api +export BatchV1beta1Api +export BatchV2alpha1Api +export CertificatesApi +export CertificatesV1beta1Api +export CoordinationApi +export CoordinationV1Api +export CoordinationV1beta1Api +export CoreApi +export CoreV1Api +export CustomMetricsV1beta1Api +export DiscoveryApi +export DiscoveryV1beta1Api +export EventsApi +export EventsV1beta1Api +export ExtensionsApi +export ExtensionsV1beta1Api +export FlowcontrolApiserverApi +export FlowcontrolApiserverV1alpha1Api +export KarpenterShV1alpha5Api +export LogsApi +export MetricsV1beta1Api +export NetworkingApi +export NetworkingV1Api +export NetworkingV1beta1Api +export NodeApi +export NodeV1alpha1Api +export NodeV1beta1Api +export PolicyApi +export PolicyV1beta1Api +export RbacAuthorizationApi +export RbacAuthorizationV1Api +export RbacAuthorizationV1alpha1Api +export RbacAuthorizationV1beta1Api +export SchedulingApi +export SchedulingV1Api +export SchedulingV1alpha1Api +export SchedulingV1beta1Api +export SettingsApi +export SettingsV1alpha1Api +export StorageApi +export StorageV1Api +export StorageV1alpha1Api +export StorageV1beta1Api +export VersionApi -end +end # module Kubernetes diff --git a/src/ApiImpl/api/api_AdmissionregistrationApi.jl b/src/ApiImpl/api/api_AdmissionregistrationApi.jl deleted file mode 100644 index d4bf66c7..00000000 --- a/src/ApiImpl/api/api_AdmissionregistrationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AdmissionregistrationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAdmissionregistrationAPIGroup(_api::AdmissionregistrationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/admissionregistration.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getAdmissionregistrationAPIGroup(_api::AdmissionregistrationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAdmissionregistrationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAdmissionregistrationAPIGroup(_api::AdmissionregistrationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAdmissionregistrationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAdmissionregistrationAPIGroup diff --git a/src/ApiImpl/api/api_AdmissionregistrationV1Api.jl b/src/ApiImpl/api/api_AdmissionregistrationV1Api.jl deleted file mode 100644 index ab0ed318..00000000 --- a/src/ApiImpl/api/api_AdmissionregistrationV1Api.jl +++ /dev/null @@ -1,688 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AdmissionregistrationV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a MutatingWebhookConfiguration -Param: body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration -""" -function createAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1MutatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1MutatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ValidatingWebhookConfiguration -Param: body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration -""" -function createAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1ValidatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1ValidatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of MutatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ValidatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a MutatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ValidatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAdmissionregistrationV1APIResources(_api::AdmissionregistrationV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/admissionregistration.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAdmissionregistrationV1APIResources(_api::AdmissionregistrationV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAdmissionregistrationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAdmissionregistrationV1APIResources(_api::AdmissionregistrationV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAdmissionregistrationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind MutatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList -""" -function listAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1MutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1MutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ValidatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList -""" -function listAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1ValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1ValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified MutatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration -""" -function patchAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ValidatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration -""" -function patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified MutatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration -""" -function readAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ValidatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration -""" -function readAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified MutatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration -""" -function replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ValidatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration -""" -function replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1MutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api::AdmissionregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api::AdmissionregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api::AdmissionregistrationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api::AdmissionregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api::AdmissionregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api::AdmissionregistrationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAdmissionregistrationV1MutatingWebhookConfiguration, createAdmissionregistrationV1ValidatingWebhookConfiguration, deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration, deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration, deleteAdmissionregistrationV1MutatingWebhookConfiguration, deleteAdmissionregistrationV1ValidatingWebhookConfiguration, getAdmissionregistrationV1APIResources, listAdmissionregistrationV1MutatingWebhookConfiguration, listAdmissionregistrationV1ValidatingWebhookConfiguration, patchAdmissionregistrationV1MutatingWebhookConfiguration, patchAdmissionregistrationV1ValidatingWebhookConfiguration, readAdmissionregistrationV1MutatingWebhookConfiguration, readAdmissionregistrationV1ValidatingWebhookConfiguration, replaceAdmissionregistrationV1MutatingWebhookConfiguration, replaceAdmissionregistrationV1ValidatingWebhookConfiguration, watchAdmissionregistrationV1MutatingWebhookConfiguration, watchAdmissionregistrationV1MutatingWebhookConfigurationList, watchAdmissionregistrationV1ValidatingWebhookConfiguration, watchAdmissionregistrationV1ValidatingWebhookConfigurationList diff --git a/src/ApiImpl/api/api_AdmissionregistrationV1beta1Api.jl b/src/ApiImpl/api/api_AdmissionregistrationV1beta1Api.jl deleted file mode 100644 index 08bb8ed8..00000000 --- a/src/ApiImpl/api/api_AdmissionregistrationV1beta1Api.jl +++ /dev/null @@ -1,688 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AdmissionregistrationV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a MutatingWebhookConfiguration -Param: body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration -""" -function createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ValidatingWebhookConfiguration -Param: body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration -""" -function createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of MutatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ValidatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a MutatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ValidatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAdmissionregistrationV1beta1APIResources(_api::AdmissionregistrationV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/admissionregistration.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAdmissionregistrationV1beta1APIResources(_api::AdmissionregistrationV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAdmissionregistrationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAdmissionregistrationV1beta1APIResources(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAdmissionregistrationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind MutatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList -""" -function listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ValidatingWebhookConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList -""" -function listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified MutatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration -""" -function patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ValidatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration -""" -function patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified MutatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration -""" -function readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ValidatingWebhookConfiguration -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration -""" -function readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified MutatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration -""" -function replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ValidatingWebhookConfiguration -Param: name::String (required) -Param: body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration -""" -function replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAdmissionregistrationV1beta1MutatingWebhookConfiguration, createAdmissionregistrationV1beta1ValidatingWebhookConfiguration, deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration, deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration, deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration, deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration, getAdmissionregistrationV1beta1APIResources, listAdmissionregistrationV1beta1MutatingWebhookConfiguration, listAdmissionregistrationV1beta1ValidatingWebhookConfiguration, patchAdmissionregistrationV1beta1MutatingWebhookConfiguration, patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration, readAdmissionregistrationV1beta1MutatingWebhookConfiguration, readAdmissionregistrationV1beta1ValidatingWebhookConfiguration, replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration, replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration, watchAdmissionregistrationV1beta1MutatingWebhookConfiguration, watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList, watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration, watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList diff --git a/src/ApiImpl/api/api_ApiextensionsApi.jl b/src/ApiImpl/api/api_ApiextensionsApi.jl deleted file mode 100644 index 31723964..00000000 --- a/src/ApiImpl/api/api_ApiextensionsApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApiextensionsApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getApiextensionsAPIGroup(_api::ApiextensionsApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/apiextensions.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getApiextensionsAPIGroup(_api::ApiextensionsApi; _mediaType=nothing) - _ctx = _swaggerinternal_getApiextensionsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getApiextensionsAPIGroup(_api::ApiextensionsApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getApiextensionsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getApiextensionsAPIGroup diff --git a/src/ApiImpl/api/api_ApiextensionsV1Api.jl b/src/ApiImpl/api/api_ApiextensionsV1Api.jl deleted file mode 100644 index 9b2203b9..00000000 --- a/src/ApiImpl/api/api_ApiextensionsV1Api.jl +++ /dev/null @@ -1,449 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApiextensionsV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CustomResourceDefinition -Param: body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function createApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiextensionsV1CustomResourceDefinition(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiextensionsV1CustomResourceDefinition(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiextensionsV1CollectionCustomResourceDefinition(_api::ApiextensionsV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CustomResourceDefinition -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiextensionsV1CollectionCustomResourceDefinition(_api::ApiextensionsV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1CollectionCustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiextensionsV1CollectionCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1CollectionCustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CustomResourceDefinition -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1CustomResourceDefinition(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1CustomResourceDefinition(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getApiextensionsV1APIResources(_api::ApiextensionsV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apiextensions.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getApiextensionsV1APIResources(_api::ApiextensionsV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getApiextensionsV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getApiextensionsV1APIResources(_api::ApiextensionsV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getApiextensionsV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CustomResourceDefinition -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList -""" -function listApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiextensionsV1CustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiextensionsV1CustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function patchApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function patchApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CustomResourceDefinition -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function readApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1CustomResourceDefinition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1CustomResourceDefinition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified CustomResourceDefinition -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function readApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1CustomResourceDefinitionStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1CustomResourceDefinitionStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function replaceApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition -""" -function replaceApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiextensionsV1CustomResourceDefinitionStatus(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1CustomResourceDefinition(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiextensionsV1CustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1CustomResourceDefinition(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiextensionsV1CustomResourceDefinitionList(_api::ApiextensionsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiextensionsV1CustomResourceDefinitionList(_api::ApiextensionsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1CustomResourceDefinitionList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiextensionsV1CustomResourceDefinitionList(_api::ApiextensionsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1CustomResourceDefinitionList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createApiextensionsV1CustomResourceDefinition, deleteApiextensionsV1CollectionCustomResourceDefinition, deleteApiextensionsV1CustomResourceDefinition, getApiextensionsV1APIResources, listApiextensionsV1CustomResourceDefinition, patchApiextensionsV1CustomResourceDefinition, patchApiextensionsV1CustomResourceDefinitionStatus, readApiextensionsV1CustomResourceDefinition, readApiextensionsV1CustomResourceDefinitionStatus, replaceApiextensionsV1CustomResourceDefinition, replaceApiextensionsV1CustomResourceDefinitionStatus, watchApiextensionsV1CustomResourceDefinition, watchApiextensionsV1CustomResourceDefinitionList diff --git a/src/ApiImpl/api/api_ApiextensionsV1beta1Api.jl b/src/ApiImpl/api/api_ApiextensionsV1beta1Api.jl deleted file mode 100644 index ea4bfa75..00000000 --- a/src/ApiImpl/api/api_ApiextensionsV1beta1Api.jl +++ /dev/null @@ -1,449 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApiextensionsV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CustomResourceDefinition -Param: body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function createApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiextensionsV1beta1CustomResourceDefinition(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiextensionsV1beta1CustomResourceDefinition(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CustomResourceDefinition -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CustomResourceDefinition -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1beta1CustomResourceDefinition(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiextensionsV1beta1CustomResourceDefinition(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getApiextensionsV1beta1APIResources(_api::ApiextensionsV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apiextensions.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getApiextensionsV1beta1APIResources(_api::ApiextensionsV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getApiextensionsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getApiextensionsV1beta1APIResources(_api::ApiextensionsV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getApiextensionsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CustomResourceDefinition -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList -""" -function listApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiextensionsV1beta1CustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiextensionsV1beta1CustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function patchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1beta1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1beta1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CustomResourceDefinition -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function readApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1beta1CustomResourceDefinition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1beta1CustomResourceDefinition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified CustomResourceDefinition -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function readApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function replaceApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1beta1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1beta1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified CustomResourceDefinition -Param: name::String (required) -Param: body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition -""" -function replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1beta1CustomResourceDefinition(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1beta1CustomResourceDefinition(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiextensionsV1beta1CustomResourceDefinitionList(_api::ApiextensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiextensionsV1beta1CustomResourceDefinitionList(_api::ApiextensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1beta1CustomResourceDefinitionList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiextensionsV1beta1CustomResourceDefinitionList(_api::ApiextensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiextensionsV1beta1CustomResourceDefinitionList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createApiextensionsV1beta1CustomResourceDefinition, deleteApiextensionsV1beta1CollectionCustomResourceDefinition, deleteApiextensionsV1beta1CustomResourceDefinition, getApiextensionsV1beta1APIResources, listApiextensionsV1beta1CustomResourceDefinition, patchApiextensionsV1beta1CustomResourceDefinition, patchApiextensionsV1beta1CustomResourceDefinitionStatus, readApiextensionsV1beta1CustomResourceDefinition, readApiextensionsV1beta1CustomResourceDefinitionStatus, replaceApiextensionsV1beta1CustomResourceDefinition, replaceApiextensionsV1beta1CustomResourceDefinitionStatus, watchApiextensionsV1beta1CustomResourceDefinition, watchApiextensionsV1beta1CustomResourceDefinitionList diff --git a/src/ApiImpl/api/api_ApiregistrationApi.jl b/src/ApiImpl/api/api_ApiregistrationApi.jl deleted file mode 100644 index 85e5fce4..00000000 --- a/src/ApiImpl/api/api_ApiregistrationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApiregistrationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getApiregistrationAPIGroup(_api::ApiregistrationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/apiregistration.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getApiregistrationAPIGroup(_api::ApiregistrationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getApiregistrationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getApiregistrationAPIGroup(_api::ApiregistrationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getApiregistrationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getApiregistrationAPIGroup diff --git a/src/ApiImpl/api/api_ApiregistrationV1Api.jl b/src/ApiImpl/api/api_ApiregistrationV1Api.jl deleted file mode 100644 index 31ec56f0..00000000 --- a/src/ApiImpl/api/api_ApiregistrationV1Api.jl +++ /dev/null @@ -1,449 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApiregistrationV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createApiregistrationV1APIService(_api::ApiregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an APIService -Param: body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function createApiregistrationV1APIService(_api::ApiregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiregistrationV1APIService(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiregistrationV1APIService(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an APIService -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1APIService(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1APIService(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiregistrationV1CollectionAPIService(_api::ApiregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiregistration.k8s.io/v1/apiservices", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of APIService -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiregistrationV1CollectionAPIService(_api::ApiregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1CollectionAPIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiregistrationV1CollectionAPIService(_api::ApiregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1CollectionAPIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getApiregistrationV1APIResources(_api::ApiregistrationV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apiregistration.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getApiregistrationV1APIResources(_api::ApiregistrationV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getApiregistrationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getApiregistrationV1APIResources(_api::ApiregistrationV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getApiregistrationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listApiregistrationV1APIService(_api::ApiregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, "/apis/apiregistration.k8s.io/v1/apiservices", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind APIService -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList -""" -function listApiregistrationV1APIService(_api::ApiregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiregistrationV1APIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiregistrationV1APIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified APIService -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function patchApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified APIService -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function patchApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified APIService -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function readApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1APIService(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1APIService(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified APIService -Param: name::String (required) -Param: pretty::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function readApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1APIServiceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1APIServiceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified APIService -Param: name::String (required) -Param: body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function replaceApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified APIService -Param: name::String (required) -Param: body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService -""" -function replaceApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiregistrationV1APIServiceStatus(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiregistrationV1APIService(_api::ApiregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1APIService(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiregistrationV1APIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1APIService(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiregistrationV1APIServiceList(_api::ApiregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiregistration.k8s.io/v1/watch/apiservices", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiregistrationV1APIServiceList(_api::ApiregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1APIServiceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiregistrationV1APIServiceList(_api::ApiregistrationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1APIServiceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createApiregistrationV1APIService, deleteApiregistrationV1APIService, deleteApiregistrationV1CollectionAPIService, getApiregistrationV1APIResources, listApiregistrationV1APIService, patchApiregistrationV1APIService, patchApiregistrationV1APIServiceStatus, readApiregistrationV1APIService, readApiregistrationV1APIServiceStatus, replaceApiregistrationV1APIService, replaceApiregistrationV1APIServiceStatus, watchApiregistrationV1APIService, watchApiregistrationV1APIServiceList diff --git a/src/ApiImpl/api/api_ApiregistrationV1beta1Api.jl b/src/ApiImpl/api/api_ApiregistrationV1beta1Api.jl deleted file mode 100644 index 4b824e6c..00000000 --- a/src/ApiImpl/api/api_ApiregistrationV1beta1Api.jl +++ /dev/null @@ -1,449 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApiregistrationV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an APIService -Param: body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function createApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiregistrationV1beta1APIService(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createApiregistrationV1beta1APIService(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an APIService -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1beta1APIService(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1beta1APIService(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteApiregistrationV1beta1CollectionAPIService(_api::ApiregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiregistration.k8s.io/v1beta1/apiservices", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of APIService -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteApiregistrationV1beta1CollectionAPIService(_api::ApiregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1beta1CollectionAPIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteApiregistrationV1beta1CollectionAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteApiregistrationV1beta1CollectionAPIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getApiregistrationV1beta1APIResources(_api::ApiregistrationV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apiregistration.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getApiregistrationV1beta1APIResources(_api::ApiregistrationV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getApiregistrationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getApiregistrationV1beta1APIResources(_api::ApiregistrationV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getApiregistrationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, "/apis/apiregistration.k8s.io/v1beta1/apiservices", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind APIService -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList -""" -function listApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiregistrationV1beta1APIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listApiregistrationV1beta1APIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified APIService -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function patchApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1beta1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1beta1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified APIService -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function patchApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1beta1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchApiregistrationV1beta1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified APIService -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function readApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1beta1APIService(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1beta1APIService(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified APIService -Param: name::String (required) -Param: pretty::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function readApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1beta1APIServiceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readApiregistrationV1beta1APIServiceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified APIService -Param: name::String (required) -Param: body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function replaceApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1beta1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1beta1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified APIService -Param: name::String (required) -Param: body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService -""" -function replaceApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1beta1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceApiregistrationV1beta1APIServiceStatus(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceApiregistrationV1beta1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1beta1APIService(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiregistrationV1beta1APIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1beta1APIService(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchApiregistrationV1beta1APIServiceList(_api::ApiregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchApiregistrationV1beta1APIServiceList(_api::ApiregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1beta1APIServiceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchApiregistrationV1beta1APIServiceList(_api::ApiregistrationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchApiregistrationV1beta1APIServiceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createApiregistrationV1beta1APIService, deleteApiregistrationV1beta1APIService, deleteApiregistrationV1beta1CollectionAPIService, getApiregistrationV1beta1APIResources, listApiregistrationV1beta1APIService, patchApiregistrationV1beta1APIService, patchApiregistrationV1beta1APIServiceStatus, readApiregistrationV1beta1APIService, readApiregistrationV1beta1APIServiceStatus, replaceApiregistrationV1beta1APIService, replaceApiregistrationV1beta1APIServiceStatus, watchApiregistrationV1beta1APIService, watchApiregistrationV1beta1APIServiceList diff --git a/src/ApiImpl/api/api_ApisApi.jl b/src/ApiImpl/api/api_ApisApi.jl deleted file mode 100644 index 3aec9a12..00000000 --- a/src/ApiImpl/api/api_ApisApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ApisApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAPIVersions(_api::ApisApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroupList, "/apis/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available API versions -Return: IoK8sApimachineryPkgApisMetaV1APIGroupList -""" -function getAPIVersions(_api::ApisApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAPIVersions(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAPIVersions(_api::ApisApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAPIVersions(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAPIVersions diff --git a/src/ApiImpl/api/api_AppsApi.jl b/src/ApiImpl/api/api_AppsApi.jl deleted file mode 100644 index 5ffac527..00000000 --- a/src/ApiImpl/api/api_AppsApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AppsApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAppsAPIGroup(_api::AppsApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/apps/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getAppsAPIGroup(_api::AppsApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAppsAPIGroup(_api::AppsApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAppsAPIGroup diff --git a/src/ApiImpl/api/api_AppsV1Api.jl b/src/ApiImpl/api/api_AppsV1Api.jl deleted file mode 100644 index 3d046ab2..00000000 --- a/src/ApiImpl/api/api_AppsV1Api.jl +++ /dev/null @@ -1,2837 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AppsV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAppsV1NamespacedControllerRevision(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1ControllerRevision, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ControllerRevision -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1ControllerRevision (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1ControllerRevision -""" -function createAppsV1NamespacedControllerRevision(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1NamespacedDaemonSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a DaemonSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1DaemonSet -""" -function createAppsV1NamespacedDaemonSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1NamespacedDeployment(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Deployment -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1Deployment -""" -function createAppsV1NamespacedDeployment(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1NamespacedReplicaSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ReplicaSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1ReplicaSet -""" -function createAppsV1NamespacedReplicaSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1NamespacedStatefulSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a StatefulSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1StatefulSet -""" -function createAppsV1NamespacedStatefulSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1CollectionNamespacedControllerRevision(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ControllerRevision -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1CollectionNamespacedControllerRevision(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1CollectionNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1CollectionNamespacedDaemonSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/daemonsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of DaemonSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1CollectionNamespacedDaemonSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1CollectionNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1CollectionNamespacedDeployment(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1CollectionNamespacedDeployment(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1CollectionNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1CollectionNamespacedReplicaSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/replicasets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ReplicaSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1CollectionNamespacedReplicaSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1CollectionNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1CollectionNamespacedStatefulSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/statefulsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of StatefulSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1CollectionNamespacedStatefulSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1CollectionNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAppsV1APIResources(_api::AppsV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apps/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAppsV1APIResources(_api::AppsV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAppsV1APIResources(_api::AppsV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1ControllerRevisionForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ControllerRevisionList, "/apis/apps/v1/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ControllerRevision -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1ControllerRevisionList -""" -function listAppsV1ControllerRevisionForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1ControllerRevisionForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1DaemonSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1DaemonSetList, "/apis/apps/v1/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind DaemonSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1DaemonSetList -""" -function listAppsV1DaemonSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1DaemonSetForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1DeploymentForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1DeploymentList, "/apis/apps/v1/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1DeploymentList -""" -function listAppsV1DeploymentForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1DeploymentForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1NamespacedControllerRevision(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ControllerRevisionList, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ControllerRevision -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1ControllerRevisionList -""" -function listAppsV1NamespacedControllerRevision(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1NamespacedDaemonSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1DaemonSetList, "/apis/apps/v1/namespaces/{namespace}/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind DaemonSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1DaemonSetList -""" -function listAppsV1NamespacedDaemonSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1NamespacedDeployment(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1DeploymentList, "/apis/apps/v1/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1DeploymentList -""" -function listAppsV1NamespacedDeployment(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1NamespacedReplicaSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ReplicaSetList, "/apis/apps/v1/namespaces/{namespace}/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicaSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1ReplicaSetList -""" -function listAppsV1NamespacedReplicaSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1NamespacedStatefulSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1StatefulSetList, "/apis/apps/v1/namespaces/{namespace}/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StatefulSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1StatefulSetList -""" -function listAppsV1NamespacedStatefulSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1ReplicaSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ReplicaSetList, "/apis/apps/v1/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicaSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1ReplicaSetList -""" -function listAppsV1ReplicaSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1ReplicaSetForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1StatefulSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1StatefulSetList, "/apis/apps/v1/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StatefulSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1StatefulSetList -""" -function listAppsV1StatefulSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1StatefulSetForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1ControllerRevision, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1ControllerRevision -""" -function patchAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1DaemonSet -""" -function patchAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1DaemonSet -""" -function patchAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1Deployment -""" -function patchAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV1Scale -""" -function patchAppsV1NamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedDeploymentScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1Deployment -""" -function patchAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1ReplicaSet -""" -function patchAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV1Scale -""" -function patchAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1ReplicaSet -""" -function patchAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1StatefulSet -""" -function patchAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV1Scale -""" -function patchAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1StatefulSet -""" -function patchAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ControllerRevision, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1ControllerRevision -""" -function readAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1DaemonSet -""" -function readAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1DaemonSet -""" -function readAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1Deployment -""" -function readAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV1Scale -""" -function readAppsV1NamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedDeploymentScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1Deployment -""" -function readAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1ReplicaSet -""" -function readAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV1Scale -""" -function readAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1ReplicaSet -""" -function readAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1StatefulSet -""" -function readAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV1Scale -""" -function readAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1StatefulSet -""" -function readAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1ControllerRevision, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1ControllerRevision (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1ControllerRevision -""" -function replaceAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1DaemonSet -""" -function replaceAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1DaemonSet, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1DaemonSet -""" -function replaceAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedDaemonSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1Deployment -""" -function replaceAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1Scale -""" -function replaceAppsV1NamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedDeploymentScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1Deployment, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1Deployment -""" -function replaceAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedDeploymentStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1ReplicaSet -""" -function replaceAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1Scale -""" -function replaceAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedReplicaSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1ReplicaSet, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1ReplicaSet -""" -function replaceAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedReplicaSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1StatefulSet -""" -function replaceAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV1Scale, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1Scale -""" -function replaceAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedStatefulSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1StatefulSet, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1StatefulSet -""" -function replaceAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1NamespacedStatefulSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1ControllerRevisionListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1ControllerRevisionListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1ControllerRevisionListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1DaemonSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1DaemonSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1DaemonSetListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1DeploymentListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1DeploymentListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1DeploymentListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedControllerRevisionList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedControllerRevisionList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedControllerRevisionList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedDaemonSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedDaemonSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedDaemonSetList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedDeploymentList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedDeploymentList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedDeploymentList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedReplicaSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedReplicaSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedReplicaSetList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1NamespacedStatefulSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1NamespacedStatefulSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1NamespacedStatefulSetList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1ReplicaSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1ReplicaSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1ReplicaSetListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1StatefulSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1/watch/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1StatefulSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1StatefulSetListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAppsV1NamespacedControllerRevision, createAppsV1NamespacedDaemonSet, createAppsV1NamespacedDeployment, createAppsV1NamespacedReplicaSet, createAppsV1NamespacedStatefulSet, deleteAppsV1CollectionNamespacedControllerRevision, deleteAppsV1CollectionNamespacedDaemonSet, deleteAppsV1CollectionNamespacedDeployment, deleteAppsV1CollectionNamespacedReplicaSet, deleteAppsV1CollectionNamespacedStatefulSet, deleteAppsV1NamespacedControllerRevision, deleteAppsV1NamespacedDaemonSet, deleteAppsV1NamespacedDeployment, deleteAppsV1NamespacedReplicaSet, deleteAppsV1NamespacedStatefulSet, getAppsV1APIResources, listAppsV1ControllerRevisionForAllNamespaces, listAppsV1DaemonSetForAllNamespaces, listAppsV1DeploymentForAllNamespaces, listAppsV1NamespacedControllerRevision, listAppsV1NamespacedDaemonSet, listAppsV1NamespacedDeployment, listAppsV1NamespacedReplicaSet, listAppsV1NamespacedStatefulSet, listAppsV1ReplicaSetForAllNamespaces, listAppsV1StatefulSetForAllNamespaces, patchAppsV1NamespacedControllerRevision, patchAppsV1NamespacedDaemonSet, patchAppsV1NamespacedDaemonSetStatus, patchAppsV1NamespacedDeployment, patchAppsV1NamespacedDeploymentScale, patchAppsV1NamespacedDeploymentStatus, patchAppsV1NamespacedReplicaSet, patchAppsV1NamespacedReplicaSetScale, patchAppsV1NamespacedReplicaSetStatus, patchAppsV1NamespacedStatefulSet, patchAppsV1NamespacedStatefulSetScale, patchAppsV1NamespacedStatefulSetStatus, readAppsV1NamespacedControllerRevision, readAppsV1NamespacedDaemonSet, readAppsV1NamespacedDaemonSetStatus, readAppsV1NamespacedDeployment, readAppsV1NamespacedDeploymentScale, readAppsV1NamespacedDeploymentStatus, readAppsV1NamespacedReplicaSet, readAppsV1NamespacedReplicaSetScale, readAppsV1NamespacedReplicaSetStatus, readAppsV1NamespacedStatefulSet, readAppsV1NamespacedStatefulSetScale, readAppsV1NamespacedStatefulSetStatus, replaceAppsV1NamespacedControllerRevision, replaceAppsV1NamespacedDaemonSet, replaceAppsV1NamespacedDaemonSetStatus, replaceAppsV1NamespacedDeployment, replaceAppsV1NamespacedDeploymentScale, replaceAppsV1NamespacedDeploymentStatus, replaceAppsV1NamespacedReplicaSet, replaceAppsV1NamespacedReplicaSetScale, replaceAppsV1NamespacedReplicaSetStatus, replaceAppsV1NamespacedStatefulSet, replaceAppsV1NamespacedStatefulSetScale, replaceAppsV1NamespacedStatefulSetStatus, watchAppsV1ControllerRevisionListForAllNamespaces, watchAppsV1DaemonSetListForAllNamespaces, watchAppsV1DeploymentListForAllNamespaces, watchAppsV1NamespacedControllerRevision, watchAppsV1NamespacedControllerRevisionList, watchAppsV1NamespacedDaemonSet, watchAppsV1NamespacedDaemonSetList, watchAppsV1NamespacedDeployment, watchAppsV1NamespacedDeploymentList, watchAppsV1NamespacedReplicaSet, watchAppsV1NamespacedReplicaSetList, watchAppsV1NamespacedStatefulSet, watchAppsV1NamespacedStatefulSetList, watchAppsV1ReplicaSetListForAllNamespaces, watchAppsV1StatefulSetListForAllNamespaces diff --git a/src/ApiImpl/api/api_AppsV1beta1Api.jl b/src/ApiImpl/api/api_AppsV1beta1Api.jl deleted file mode 100644 index e2d55afa..00000000 --- a/src/ApiImpl/api/api_AppsV1beta1Api.jl +++ /dev/null @@ -1,1728 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AppsV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta1ControllerRevision, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ControllerRevision -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1ControllerRevision (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1ControllerRevision -""" -function createAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Deployment -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1Deployment -""" -function createAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta1NamespacedDeploymentRollback(_api::AppsV1beta1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create rollback of a Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1DeploymentRollback (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function createAppsV1beta1NamespacedDeploymentRollback(_api::AppsV1beta1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedDeploymentRollback(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta1NamespacedDeploymentRollback(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedDeploymentRollback(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a StatefulSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function createAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta1NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta1CollectionNamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ControllerRevision -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta1CollectionNamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta1CollectionNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta1CollectionNamespacedDeployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta1CollectionNamespacedDeployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta1CollectionNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta1CollectionNamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of StatefulSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta1CollectionNamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta1CollectionNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAppsV1beta1APIResources(_api::AppsV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apps/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAppsV1beta1APIResources(_api::AppsV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAppsV1beta1APIResources(_api::AppsV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta1ControllerRevisionForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1ControllerRevisionList, "/apis/apps/v1beta1/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ControllerRevision -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta1ControllerRevisionList -""" -function listAppsV1beta1ControllerRevisionForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta1ControllerRevisionForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta1DeploymentForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1DeploymentList, "/apis/apps/v1beta1/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta1DeploymentList -""" -function listAppsV1beta1DeploymentForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta1DeploymentForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1ControllerRevisionList, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ControllerRevision -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta1ControllerRevisionList -""" -function listAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1DeploymentList, "/apis/apps/v1beta1/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta1DeploymentList -""" -function listAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1StatefulSetList, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StatefulSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta1StatefulSetList -""" -function listAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta1StatefulSetForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1StatefulSetList, "/apis/apps/v1beta1/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StatefulSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta1StatefulSetList -""" -function listAppsV1beta1StatefulSetForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta1StatefulSetForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta1StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1ControllerRevision, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1ControllerRevision -""" -function patchAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1Deployment -""" -function patchAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1Scale, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1Scale -""" -function patchAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1Deployment -""" -function patchAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function patchAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1Scale, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1Scale -""" -function patchAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function patchAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1ControllerRevision, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta1ControllerRevision -""" -function readAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta1Deployment -""" -function readAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1Scale, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta1Scale -""" -function readAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta1Deployment -""" -function readAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function readAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1Scale, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta1Scale -""" -function readAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function readAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1ControllerRevision, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1ControllerRevision (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1ControllerRevision -""" -function replaceAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1Deployment -""" -function replaceAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1Scale, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1Scale -""" -function replaceAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedDeploymentScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1Deployment, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1Deployment -""" -function replaceAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedDeploymentStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function replaceAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1Scale, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1Scale -""" -function replaceAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedStatefulSetScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta1StatefulSet, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta1StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta1StatefulSet -""" -function replaceAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta1NamespacedStatefulSetStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1DeploymentListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1DeploymentListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1DeploymentListForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1NamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1NamespacedControllerRevisionList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1NamespacedControllerRevisionList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1NamespacedControllerRevisionList(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1NamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1NamespacedDeploymentList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1NamespacedDeploymentList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1NamespacedDeploymentList(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1NamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1NamespacedStatefulSetList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1NamespacedStatefulSetList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1NamespacedStatefulSetList(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta1StatefulSetListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta1/watch/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta1StatefulSetListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta1StatefulSetListForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta1StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAppsV1beta1NamespacedControllerRevision, createAppsV1beta1NamespacedDeployment, createAppsV1beta1NamespacedDeploymentRollback, createAppsV1beta1NamespacedStatefulSet, deleteAppsV1beta1CollectionNamespacedControllerRevision, deleteAppsV1beta1CollectionNamespacedDeployment, deleteAppsV1beta1CollectionNamespacedStatefulSet, deleteAppsV1beta1NamespacedControllerRevision, deleteAppsV1beta1NamespacedDeployment, deleteAppsV1beta1NamespacedStatefulSet, getAppsV1beta1APIResources, listAppsV1beta1ControllerRevisionForAllNamespaces, listAppsV1beta1DeploymentForAllNamespaces, listAppsV1beta1NamespacedControllerRevision, listAppsV1beta1NamespacedDeployment, listAppsV1beta1NamespacedStatefulSet, listAppsV1beta1StatefulSetForAllNamespaces, patchAppsV1beta1NamespacedControllerRevision, patchAppsV1beta1NamespacedDeployment, patchAppsV1beta1NamespacedDeploymentScale, patchAppsV1beta1NamespacedDeploymentStatus, patchAppsV1beta1NamespacedStatefulSet, patchAppsV1beta1NamespacedStatefulSetScale, patchAppsV1beta1NamespacedStatefulSetStatus, readAppsV1beta1NamespacedControllerRevision, readAppsV1beta1NamespacedDeployment, readAppsV1beta1NamespacedDeploymentScale, readAppsV1beta1NamespacedDeploymentStatus, readAppsV1beta1NamespacedStatefulSet, readAppsV1beta1NamespacedStatefulSetScale, readAppsV1beta1NamespacedStatefulSetStatus, replaceAppsV1beta1NamespacedControllerRevision, replaceAppsV1beta1NamespacedDeployment, replaceAppsV1beta1NamespacedDeploymentScale, replaceAppsV1beta1NamespacedDeploymentStatus, replaceAppsV1beta1NamespacedStatefulSet, replaceAppsV1beta1NamespacedStatefulSetScale, replaceAppsV1beta1NamespacedStatefulSetStatus, watchAppsV1beta1ControllerRevisionListForAllNamespaces, watchAppsV1beta1DeploymentListForAllNamespaces, watchAppsV1beta1NamespacedControllerRevision, watchAppsV1beta1NamespacedControllerRevisionList, watchAppsV1beta1NamespacedDeployment, watchAppsV1beta1NamespacedDeploymentList, watchAppsV1beta1NamespacedStatefulSet, watchAppsV1beta1NamespacedStatefulSetList, watchAppsV1beta1StatefulSetListForAllNamespaces diff --git a/src/ApiImpl/api/api_AppsV1beta2Api.jl b/src/ApiImpl/api/api_AppsV1beta2Api.jl deleted file mode 100644 index 75fc7b9e..00000000 --- a/src/ApiImpl/api/api_AppsV1beta2Api.jl +++ /dev/null @@ -1,2837 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AppsV1beta2Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta2ControllerRevision, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ControllerRevision -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2ControllerRevision (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2ControllerRevision -""" -function createAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a DaemonSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function createAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Deployment -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2Deployment -""" -function createAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ReplicaSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function createAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a StatefulSet -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function createAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAppsV1beta2NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2CollectionNamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ControllerRevision -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2CollectionNamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2CollectionNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2CollectionNamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of DaemonSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2CollectionNamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2CollectionNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2CollectionNamespacedDeployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2CollectionNamespacedDeployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2CollectionNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2CollectionNamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ReplicaSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2CollectionNamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2CollectionNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2CollectionNamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of StatefulSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2CollectionNamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2CollectionNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAppsV1beta2NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAppsV1beta2APIResources(_api::AppsV1beta2Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/apps/v1beta2/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAppsV1beta2APIResources(_api::AppsV1beta2Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsV1beta2APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAppsV1beta2APIResources(_api::AppsV1beta2Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAppsV1beta2APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2ControllerRevisionForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ControllerRevisionList, "/apis/apps/v1beta2/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ControllerRevision -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2ControllerRevisionList -""" -function listAppsV1beta2ControllerRevisionForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2ControllerRevisionForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2DaemonSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2DaemonSetList, "/apis/apps/v1beta2/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind DaemonSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2DaemonSetList -""" -function listAppsV1beta2DaemonSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2DaemonSetForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2DeploymentForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2DeploymentList, "/apis/apps/v1beta2/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2DeploymentList -""" -function listAppsV1beta2DeploymentForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2DeploymentForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ControllerRevisionList, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ControllerRevision -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2ControllerRevisionList -""" -function listAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2DaemonSetList, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind DaemonSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2DaemonSetList -""" -function listAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2DeploymentList, "/apis/apps/v1beta2/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2DeploymentList -""" -function listAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ReplicaSetList, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicaSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2ReplicaSetList -""" -function listAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2StatefulSetList, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StatefulSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2StatefulSetList -""" -function listAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2ReplicaSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ReplicaSetList, "/apis/apps/v1beta2/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicaSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2ReplicaSetList -""" -function listAppsV1beta2ReplicaSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2ReplicaSetForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAppsV1beta2StatefulSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2StatefulSetList, "/apis/apps/v1beta2/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StatefulSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAppsV1beta2StatefulSetList -""" -function listAppsV1beta2StatefulSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAppsV1beta2StatefulSetForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAppsV1beta2StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2ControllerRevision, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2ControllerRevision -""" -function patchAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function patchAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function patchAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2Deployment -""" -function patchAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2Scale -""" -function patchAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2Deployment -""" -function patchAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function patchAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2Scale -""" -function patchAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function patchAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function patchAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2Scale -""" -function patchAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function patchAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ControllerRevision, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta2ControllerRevision -""" -function readAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function readAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function readAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta2Deployment -""" -function readAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2Scale -""" -function readAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2Deployment -""" -function readAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function readAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2Scale -""" -function readAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function readAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function readAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2Scale -""" -function readAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function readAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2ControllerRevision, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ControllerRevision -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2ControllerRevision (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2ControllerRevision -""" -function replaceAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function replaceAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2DaemonSet, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2DaemonSet -""" -function replaceAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedDaemonSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2Deployment -""" -function replaceAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2Scale -""" -function replaceAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedDeploymentScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2Deployment, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2Deployment -""" -function replaceAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedDeploymentStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function replaceAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2Scale -""" -function replaceAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedReplicaSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2ReplicaSet, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2ReplicaSet -""" -function replaceAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedReplicaSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function replaceAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2Scale, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2Scale -""" -function replaceAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedStatefulSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAppsV1beta2StatefulSet, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified StatefulSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAppsV1beta2StatefulSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAppsV1beta2StatefulSet -""" -function replaceAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAppsV1beta2NamespacedStatefulSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2DaemonSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2DaemonSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2DaemonSetListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2DeploymentListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2DeploymentListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2DeploymentListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedControllerRevisionList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedControllerRevisionList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedControllerRevisionList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedDaemonSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedDaemonSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedDaemonSetList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedDeploymentList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedDeploymentList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedDeploymentList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedReplicaSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedReplicaSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedReplicaSetList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2NamespacedStatefulSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2NamespacedStatefulSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2NamespacedStatefulSetList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2ReplicaSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2ReplicaSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2ReplicaSetListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAppsV1beta2StatefulSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apps/v1beta2/watch/statefulsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAppsV1beta2StatefulSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAppsV1beta2StatefulSetListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAppsV1beta2StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAppsV1beta2NamespacedControllerRevision, createAppsV1beta2NamespacedDaemonSet, createAppsV1beta2NamespacedDeployment, createAppsV1beta2NamespacedReplicaSet, createAppsV1beta2NamespacedStatefulSet, deleteAppsV1beta2CollectionNamespacedControllerRevision, deleteAppsV1beta2CollectionNamespacedDaemonSet, deleteAppsV1beta2CollectionNamespacedDeployment, deleteAppsV1beta2CollectionNamespacedReplicaSet, deleteAppsV1beta2CollectionNamespacedStatefulSet, deleteAppsV1beta2NamespacedControllerRevision, deleteAppsV1beta2NamespacedDaemonSet, deleteAppsV1beta2NamespacedDeployment, deleteAppsV1beta2NamespacedReplicaSet, deleteAppsV1beta2NamespacedStatefulSet, getAppsV1beta2APIResources, listAppsV1beta2ControllerRevisionForAllNamespaces, listAppsV1beta2DaemonSetForAllNamespaces, listAppsV1beta2DeploymentForAllNamespaces, listAppsV1beta2NamespacedControllerRevision, listAppsV1beta2NamespacedDaemonSet, listAppsV1beta2NamespacedDeployment, listAppsV1beta2NamespacedReplicaSet, listAppsV1beta2NamespacedStatefulSet, listAppsV1beta2ReplicaSetForAllNamespaces, listAppsV1beta2StatefulSetForAllNamespaces, patchAppsV1beta2NamespacedControllerRevision, patchAppsV1beta2NamespacedDaemonSet, patchAppsV1beta2NamespacedDaemonSetStatus, patchAppsV1beta2NamespacedDeployment, patchAppsV1beta2NamespacedDeploymentScale, patchAppsV1beta2NamespacedDeploymentStatus, patchAppsV1beta2NamespacedReplicaSet, patchAppsV1beta2NamespacedReplicaSetScale, patchAppsV1beta2NamespacedReplicaSetStatus, patchAppsV1beta2NamespacedStatefulSet, patchAppsV1beta2NamespacedStatefulSetScale, patchAppsV1beta2NamespacedStatefulSetStatus, readAppsV1beta2NamespacedControllerRevision, readAppsV1beta2NamespacedDaemonSet, readAppsV1beta2NamespacedDaemonSetStatus, readAppsV1beta2NamespacedDeployment, readAppsV1beta2NamespacedDeploymentScale, readAppsV1beta2NamespacedDeploymentStatus, readAppsV1beta2NamespacedReplicaSet, readAppsV1beta2NamespacedReplicaSetScale, readAppsV1beta2NamespacedReplicaSetStatus, readAppsV1beta2NamespacedStatefulSet, readAppsV1beta2NamespacedStatefulSetScale, readAppsV1beta2NamespacedStatefulSetStatus, replaceAppsV1beta2NamespacedControllerRevision, replaceAppsV1beta2NamespacedDaemonSet, replaceAppsV1beta2NamespacedDaemonSetStatus, replaceAppsV1beta2NamespacedDeployment, replaceAppsV1beta2NamespacedDeploymentScale, replaceAppsV1beta2NamespacedDeploymentStatus, replaceAppsV1beta2NamespacedReplicaSet, replaceAppsV1beta2NamespacedReplicaSetScale, replaceAppsV1beta2NamespacedReplicaSetStatus, replaceAppsV1beta2NamespacedStatefulSet, replaceAppsV1beta2NamespacedStatefulSetScale, replaceAppsV1beta2NamespacedStatefulSetStatus, watchAppsV1beta2ControllerRevisionListForAllNamespaces, watchAppsV1beta2DaemonSetListForAllNamespaces, watchAppsV1beta2DeploymentListForAllNamespaces, watchAppsV1beta2NamespacedControllerRevision, watchAppsV1beta2NamespacedControllerRevisionList, watchAppsV1beta2NamespacedDaemonSet, watchAppsV1beta2NamespacedDaemonSetList, watchAppsV1beta2NamespacedDeployment, watchAppsV1beta2NamespacedDeploymentList, watchAppsV1beta2NamespacedReplicaSet, watchAppsV1beta2NamespacedReplicaSetList, watchAppsV1beta2NamespacedStatefulSet, watchAppsV1beta2NamespacedStatefulSetList, watchAppsV1beta2ReplicaSetListForAllNamespaces, watchAppsV1beta2StatefulSetListForAllNamespaces diff --git a/src/ApiImpl/api/api_AuditregistrationApi.jl b/src/ApiImpl/api/api_AuditregistrationApi.jl deleted file mode 100644 index 2fc78468..00000000 --- a/src/ApiImpl/api/api_AuditregistrationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuditregistrationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAuditregistrationAPIGroup(_api::AuditregistrationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/auditregistration.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getAuditregistrationAPIGroup(_api::AuditregistrationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAuditregistrationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuditregistrationAPIGroup(_api::AuditregistrationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuditregistrationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAuditregistrationAPIGroup diff --git a/src/ApiImpl/api/api_AuditregistrationV1alpha1Api.jl b/src/ApiImpl/api/api_AuditregistrationV1alpha1Api.jl deleted file mode 100644 index 3af41962..00000000 --- a/src/ApiImpl/api/api_AuditregistrationV1alpha1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuditregistrationV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuditregistrationV1alpha1AuditSink, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an AuditSink -Param: body::IoK8sApiAuditregistrationV1alpha1AuditSink (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAuditregistrationV1alpha1AuditSink -""" -function createAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuditregistrationV1alpha1AuditSink(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuditregistrationV1alpha1AuditSink(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an AuditSink -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAuditregistrationV1alpha1AuditSink(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAuditregistrationV1alpha1AuditSink(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAuditregistrationV1alpha1CollectionAuditSink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of AuditSink -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAuditregistrationV1alpha1CollectionAuditSink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAuditregistrationV1alpha1CollectionAuditSink(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAuditregistrationV1alpha1CollectionAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAuditregistrationV1alpha1CollectionAuditSink(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAuditregistrationV1alpha1APIResources(_api::AuditregistrationV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/auditregistration.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAuditregistrationV1alpha1APIResources(_api::AuditregistrationV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAuditregistrationV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuditregistrationV1alpha1APIResources(_api::AuditregistrationV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuditregistrationV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAuditregistrationV1alpha1AuditSinkList, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind AuditSink -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAuditregistrationV1alpha1AuditSinkList -""" -function listAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAuditregistrationV1alpha1AuditSink(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAuditregistrationV1alpha1AuditSink(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAuditregistrationV1alpha1AuditSink, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified AuditSink -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAuditregistrationV1alpha1AuditSink -""" -function patchAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAuditregistrationV1alpha1AuditSink(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAuditregistrationV1alpha1AuditSink(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAuditregistrationV1alpha1AuditSink, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified AuditSink -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAuditregistrationV1alpha1AuditSink -""" -function readAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAuditregistrationV1alpha1AuditSink(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAuditregistrationV1alpha1AuditSink(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAuditregistrationV1alpha1AuditSink, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified AuditSink -Param: name::String (required) -Param: body::IoK8sApiAuditregistrationV1alpha1AuditSink (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAuditregistrationV1alpha1AuditSink -""" -function replaceAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAuditregistrationV1alpha1AuditSink(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAuditregistrationV1alpha1AuditSink(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAuditregistrationV1alpha1AuditSink(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAuditregistrationV1alpha1AuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAuditregistrationV1alpha1AuditSink(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAuditregistrationV1alpha1AuditSinkList(_api::AuditregistrationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of AuditSink. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAuditregistrationV1alpha1AuditSinkList(_api::AuditregistrationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAuditregistrationV1alpha1AuditSinkList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAuditregistrationV1alpha1AuditSinkList(_api::AuditregistrationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAuditregistrationV1alpha1AuditSinkList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAuditregistrationV1alpha1AuditSink, deleteAuditregistrationV1alpha1AuditSink, deleteAuditregistrationV1alpha1CollectionAuditSink, getAuditregistrationV1alpha1APIResources, listAuditregistrationV1alpha1AuditSink, patchAuditregistrationV1alpha1AuditSink, readAuditregistrationV1alpha1AuditSink, replaceAuditregistrationV1alpha1AuditSink, watchAuditregistrationV1alpha1AuditSink, watchAuditregistrationV1alpha1AuditSinkList diff --git a/src/ApiImpl/api/api_AuthenticationApi.jl b/src/ApiImpl/api/api_AuthenticationApi.jl deleted file mode 100644 index 74d3f736..00000000 --- a/src/ApiImpl/api/api_AuthenticationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuthenticationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAuthenticationAPIGroup(_api::AuthenticationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/authentication.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getAuthenticationAPIGroup(_api::AuthenticationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthenticationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuthenticationAPIGroup(_api::AuthenticationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthenticationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAuthenticationAPIGroup diff --git a/src/ApiImpl/api/api_AuthenticationV1Api.jl b/src/ApiImpl/api/api_AuthenticationV1Api.jl deleted file mode 100644 index 241e035b..00000000 --- a/src/ApiImpl/api/api_AuthenticationV1Api.jl +++ /dev/null @@ -1,59 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuthenticationV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAuthenticationV1TokenReview(_api::AuthenticationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthenticationV1TokenReview, "/apis/authentication.k8s.io/v1/tokenreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a TokenReview -Param: body::IoK8sApiAuthenticationV1TokenReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthenticationV1TokenReview -""" -function createAuthenticationV1TokenReview(_api::AuthenticationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthenticationV1TokenReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthenticationV1TokenReview(_api::AuthenticationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthenticationV1TokenReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAuthenticationV1APIResources(_api::AuthenticationV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/authentication.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAuthenticationV1APIResources(_api::AuthenticationV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthenticationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuthenticationV1APIResources(_api::AuthenticationV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthenticationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAuthenticationV1TokenReview, getAuthenticationV1APIResources diff --git a/src/ApiImpl/api/api_AuthenticationV1beta1Api.jl b/src/ApiImpl/api/api_AuthenticationV1beta1Api.jl deleted file mode 100644 index 9069b136..00000000 --- a/src/ApiImpl/api/api_AuthenticationV1beta1Api.jl +++ /dev/null @@ -1,59 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuthenticationV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAuthenticationV1beta1TokenReview(_api::AuthenticationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthenticationV1beta1TokenReview, "/apis/authentication.k8s.io/v1beta1/tokenreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a TokenReview -Param: body::IoK8sApiAuthenticationV1beta1TokenReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthenticationV1beta1TokenReview -""" -function createAuthenticationV1beta1TokenReview(_api::AuthenticationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthenticationV1beta1TokenReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthenticationV1beta1TokenReview(_api::AuthenticationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthenticationV1beta1TokenReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAuthenticationV1beta1APIResources(_api::AuthenticationV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/authentication.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAuthenticationV1beta1APIResources(_api::AuthenticationV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthenticationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuthenticationV1beta1APIResources(_api::AuthenticationV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthenticationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAuthenticationV1beta1TokenReview, getAuthenticationV1beta1APIResources diff --git a/src/ApiImpl/api/api_AuthorizationApi.jl b/src/ApiImpl/api/api_AuthorizationApi.jl deleted file mode 100644 index a28cff37..00000000 --- a/src/ApiImpl/api/api_AuthorizationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuthorizationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAuthorizationAPIGroup(_api::AuthorizationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/authorization.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getAuthorizationAPIGroup(_api::AuthorizationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthorizationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuthorizationAPIGroup(_api::AuthorizationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthorizationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAuthorizationAPIGroup diff --git a/src/ApiImpl/api/api_AuthorizationV1Api.jl b/src/ApiImpl/api/api_AuthorizationV1Api.jl deleted file mode 100644 index 0d492b2b..00000000 --- a/src/ApiImpl/api/api_AuthorizationV1Api.jl +++ /dev/null @@ -1,148 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuthorizationV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAuthorizationV1NamespacedLocalSubjectAccessReview(_api::AuthorizationV1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1LocalSubjectAccessReview, "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a LocalSubjectAccessReview -Param: namespace::String (required) -Param: body::IoK8sApiAuthorizationV1LocalSubjectAccessReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1LocalSubjectAccessReview -""" -function createAuthorizationV1NamespacedLocalSubjectAccessReview(_api::AuthorizationV1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1NamespacedLocalSubjectAccessReview(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1NamespacedLocalSubjectAccessReview(_api::AuthorizationV1Api, response_stream::Channel, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1NamespacedLocalSubjectAccessReview(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAuthorizationV1SelfSubjectAccessReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1SelfSubjectAccessReview, "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a SelfSubjectAccessReview -Param: body::IoK8sApiAuthorizationV1SelfSubjectAccessReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1SelfSubjectAccessReview -""" -function createAuthorizationV1SelfSubjectAccessReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1SelfSubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1SelfSubjectAccessReview(_api::AuthorizationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1SelfSubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAuthorizationV1SelfSubjectRulesReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1SelfSubjectRulesReview, "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a SelfSubjectRulesReview -Param: body::IoK8sApiAuthorizationV1SelfSubjectRulesReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1SelfSubjectRulesReview -""" -function createAuthorizationV1SelfSubjectRulesReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1SelfSubjectRulesReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1SelfSubjectRulesReview(_api::AuthorizationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1SelfSubjectRulesReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAuthorizationV1SubjectAccessReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1SubjectAccessReview, "/apis/authorization.k8s.io/v1/subjectaccessreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a SubjectAccessReview -Param: body::IoK8sApiAuthorizationV1SubjectAccessReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1SubjectAccessReview -""" -function createAuthorizationV1SubjectAccessReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1SubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1SubjectAccessReview(_api::AuthorizationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1SubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAuthorizationV1APIResources(_api::AuthorizationV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/authorization.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAuthorizationV1APIResources(_api::AuthorizationV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthorizationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuthorizationV1APIResources(_api::AuthorizationV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthorizationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAuthorizationV1NamespacedLocalSubjectAccessReview, createAuthorizationV1SelfSubjectAccessReview, createAuthorizationV1SelfSubjectRulesReview, createAuthorizationV1SubjectAccessReview, getAuthorizationV1APIResources diff --git a/src/ApiImpl/api/api_AuthorizationV1beta1Api.jl b/src/ApiImpl/api/api_AuthorizationV1beta1Api.jl deleted file mode 100644 index 05d3019f..00000000 --- a/src/ApiImpl/api/api_AuthorizationV1beta1Api.jl +++ /dev/null @@ -1,148 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AuthorizationV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api::AuthorizationV1beta1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a LocalSubjectAccessReview -Param: namespace::String (required) -Param: body::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview -""" -function createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api::AuthorizationV1beta1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api::AuthorizationV1beta1Api, response_stream::Channel, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAuthorizationV1beta1SelfSubjectAccessReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a SelfSubjectAccessReview -Param: body::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview -""" -function createAuthorizationV1beta1SelfSubjectAccessReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1SelfSubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1beta1SelfSubjectAccessReview(_api::AuthorizationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1SelfSubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAuthorizationV1beta1SelfSubjectRulesReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a SelfSubjectRulesReview -Param: body::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview -""" -function createAuthorizationV1beta1SelfSubjectRulesReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1SelfSubjectRulesReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1beta1SelfSubjectRulesReview(_api::AuthorizationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1SelfSubjectRulesReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createAuthorizationV1beta1SubjectAccessReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthorizationV1beta1SubjectAccessReview, "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a SubjectAccessReview -Param: body::IoK8sApiAuthorizationV1beta1SubjectAccessReview (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthorizationV1beta1SubjectAccessReview -""" -function createAuthorizationV1beta1SubjectAccessReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1SubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAuthorizationV1beta1SubjectAccessReview(_api::AuthorizationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAuthorizationV1beta1SubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAuthorizationV1beta1APIResources(_api::AuthorizationV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/authorization.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAuthorizationV1beta1APIResources(_api::AuthorizationV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthorizationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAuthorizationV1beta1APIResources(_api::AuthorizationV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAuthorizationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAuthorizationV1beta1NamespacedLocalSubjectAccessReview, createAuthorizationV1beta1SelfSubjectAccessReview, createAuthorizationV1beta1SelfSubjectRulesReview, createAuthorizationV1beta1SubjectAccessReview, getAuthorizationV1beta1APIResources diff --git a/src/ApiImpl/api/api_AutoscalingApi.jl b/src/ApiImpl/api/api_AutoscalingApi.jl deleted file mode 100644 index 77e7bc6b..00000000 --- a/src/ApiImpl/api/api_AutoscalingApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AutoscalingApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getAutoscalingAPIGroup(_api::AutoscalingApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/autoscaling/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getAutoscalingAPIGroup(_api::AutoscalingApi; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAutoscalingAPIGroup(_api::AutoscalingApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getAutoscalingAPIGroup diff --git a/src/ApiImpl/api/api_AutoscalingV1Api.jl b/src/ApiImpl/api/api_AutoscalingV1Api.jl deleted file mode 100644 index 463933f0..00000000 --- a/src/ApiImpl/api/api_AutoscalingV1Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AutoscalingV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a HorizontalPodAutoscaler -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of HorizontalPodAutoscaler -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAutoscalingV1APIResources(_api::AutoscalingV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/autoscaling/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAutoscalingV1APIResources(_api::AutoscalingV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAutoscalingV1APIResources(_api::AutoscalingV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, "/apis/autoscaling/v1/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind HorizontalPodAutoscaler -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscalerList -""" -function listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind HorizontalPodAutoscaler -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscalerList -""" -function listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV1HorizontalPodAutoscaler, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler -""" -function replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v1/watch/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAutoscalingV1NamespacedHorizontalPodAutoscaler, deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler, deleteAutoscalingV1NamespacedHorizontalPodAutoscaler, getAutoscalingV1APIResources, listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces, listAutoscalingV1NamespacedHorizontalPodAutoscaler, patchAutoscalingV1NamespacedHorizontalPodAutoscaler, patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus, readAutoscalingV1NamespacedHorizontalPodAutoscaler, readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus, replaceAutoscalingV1NamespacedHorizontalPodAutoscaler, replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus, watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces, watchAutoscalingV1NamespacedHorizontalPodAutoscaler, watchAutoscalingV1NamespacedHorizontalPodAutoscalerList diff --git a/src/ApiImpl/api/api_AutoscalingV2beta1Api.jl b/src/ApiImpl/api/api_AutoscalingV2beta1Api.jl deleted file mode 100644 index ea2faaa4..00000000 --- a/src/ApiImpl/api/api_AutoscalingV2beta1Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AutoscalingV2beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a HorizontalPodAutoscaler -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of HorizontalPodAutoscaler -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAutoscalingV2beta1APIResources(_api::AutoscalingV2beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/autoscaling/v2beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAutoscalingV2beta1APIResources(_api::AutoscalingV2beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingV2beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAutoscalingV2beta1APIResources(_api::AutoscalingV2beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingV2beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, "/apis/autoscaling/v2beta1/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind HorizontalPodAutoscaler -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList -""" -function listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind HorizontalPodAutoscaler -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList -""" -function listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler -""" -function replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler, deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, getAutoscalingV2beta1APIResources, listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces, listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus, readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus, replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus, watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces, watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler, watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList diff --git a/src/ApiImpl/api/api_AutoscalingV2beta2Api.jl b/src/ApiImpl/api/api_AutoscalingV2beta2Api.jl deleted file mode 100644 index 669f2ff9..00000000 --- a/src/ApiImpl/api/api_AutoscalingV2beta2Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct AutoscalingV2beta2Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a HorizontalPodAutoscaler -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of HorizontalPodAutoscaler -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getAutoscalingV2beta2APIResources(_api::AutoscalingV2beta2Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/autoscaling/v2beta2/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getAutoscalingV2beta2APIResources(_api::AutoscalingV2beta2Api; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingV2beta2APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getAutoscalingV2beta2APIResources(_api::AutoscalingV2beta2Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getAutoscalingV2beta2APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, "/apis/autoscaling/v2beta2/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind HorizontalPodAutoscaler -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList -""" -function listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind HorizontalPodAutoscaler -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList -""" -function listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified HorizontalPodAutoscaler -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler -""" -function replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler, deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, getAutoscalingV2beta2APIResources, listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces, listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus, readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus, replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus, watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces, watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler, watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList diff --git a/src/ApiImpl/api/api_BatchApi.jl b/src/ApiImpl/api/api_BatchApi.jl deleted file mode 100644 index 0b3b4323..00000000 --- a/src/ApiImpl/api/api_BatchApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct BatchApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getBatchAPIGroup(_api::BatchApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/batch/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getBatchAPIGroup(_api::BatchApi; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getBatchAPIGroup(_api::BatchApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getBatchAPIGroup diff --git a/src/ApiImpl/api/api_BatchV1Api.jl b/src/ApiImpl/api/api_BatchV1Api.jl deleted file mode 100644 index 37323d80..00000000 --- a/src/ApiImpl/api/api_BatchV1Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct BatchV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createBatchV1NamespacedJob(_api::BatchV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Job -Param: namespace::String (required) -Param: body::IoK8sApiBatchV1Job (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV1Job -""" -function createBatchV1NamespacedJob(_api::BatchV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createBatchV1NamespacedJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createBatchV1NamespacedJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteBatchV1CollectionNamespacedJob(_api::BatchV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/batch/v1/namespaces/{namespace}/jobs", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Job -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteBatchV1CollectionNamespacedJob(_api::BatchV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1CollectionNamespacedJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteBatchV1CollectionNamespacedJob(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1CollectionNamespacedJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Job -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1NamespacedJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1NamespacedJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getBatchV1APIResources(_api::BatchV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/batch/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getBatchV1APIResources(_api::BatchV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getBatchV1APIResources(_api::BatchV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listBatchV1JobForAllNamespaces(_api::BatchV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1JobList, "/apis/batch/v1/jobs", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Job -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiBatchV1JobList -""" -function listBatchV1JobForAllNamespaces(_api::BatchV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1JobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listBatchV1JobForAllNamespaces(_api::BatchV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1JobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listBatchV1NamespacedJob(_api::BatchV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1JobList, "/apis/batch/v1/namespaces/{namespace}/jobs", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Job -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiBatchV1JobList -""" -function listBatchV1NamespacedJob(_api::BatchV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1NamespacedJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1NamespacedJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Job -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiBatchV1Job -""" -function patchBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1NamespacedJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1NamespacedJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchBatchV1NamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Job -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiBatchV1Job -""" -function patchBatchV1NamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1NamespacedJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchBatchV1NamespacedJobStatus(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1NamespacedJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Job -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiBatchV1Job -""" -function readBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1NamespacedJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1NamespacedJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readBatchV1NamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Job -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiBatchV1Job -""" -function readBatchV1NamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1NamespacedJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readBatchV1NamespacedJobStatus(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1NamespacedJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Job -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiBatchV1Job (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV1Job -""" -function replaceBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1NamespacedJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1NamespacedJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceBatchV1NamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiBatchV1Job, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Job -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiBatchV1Job (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV1Job -""" -function replaceBatchV1NamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1NamespacedJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceBatchV1NamespacedJobStatus(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1NamespacedJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV1JobListForAllNamespaces(_api::BatchV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v1/watch/jobs", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV1JobListForAllNamespaces(_api::BatchV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1JobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV1JobListForAllNamespaces(_api::BatchV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1JobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV1NamespacedJob(_api::BatchV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1NamespacedJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV1NamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1NamespacedJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV1NamespacedJobList(_api::BatchV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v1/watch/namespaces/{namespace}/jobs", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV1NamespacedJobList(_api::BatchV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1NamespacedJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV1NamespacedJobList(_api::BatchV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1NamespacedJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createBatchV1NamespacedJob, deleteBatchV1CollectionNamespacedJob, deleteBatchV1NamespacedJob, getBatchV1APIResources, listBatchV1JobForAllNamespaces, listBatchV1NamespacedJob, patchBatchV1NamespacedJob, patchBatchV1NamespacedJobStatus, readBatchV1NamespacedJob, readBatchV1NamespacedJobStatus, replaceBatchV1NamespacedJob, replaceBatchV1NamespacedJobStatus, watchBatchV1JobListForAllNamespaces, watchBatchV1NamespacedJob, watchBatchV1NamespacedJobList diff --git a/src/ApiImpl/api/api_BatchV1beta1Api.jl b/src/ApiImpl/api/api_BatchV1beta1Api.jl deleted file mode 100644 index 4e29b8c7..00000000 --- a/src/ApiImpl/api/api_BatchV1beta1Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct BatchV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CronJob -Param: namespace::String (required) -Param: body::IoK8sApiBatchV1beta1CronJob (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV1beta1CronJob -""" -function createBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createBatchV1beta1NamespacedCronJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createBatchV1beta1NamespacedCronJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteBatchV1beta1CollectionNamespacedCronJob(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CronJob -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteBatchV1beta1CollectionNamespacedCronJob(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1beta1CollectionNamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteBatchV1beta1CollectionNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1beta1CollectionNamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1beta1NamespacedCronJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV1beta1NamespacedCronJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getBatchV1beta1APIResources(_api::BatchV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/batch/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getBatchV1beta1APIResources(_api::BatchV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getBatchV1beta1APIResources(_api::BatchV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listBatchV1beta1CronJobForAllNamespaces(_api::BatchV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1beta1CronJobList, "/apis/batch/v1beta1/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CronJob -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiBatchV1beta1CronJobList -""" -function listBatchV1beta1CronJobForAllNamespaces(_api::BatchV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1beta1CronJobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listBatchV1beta1CronJobForAllNamespaces(_api::BatchV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1beta1CronJobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1beta1CronJobList, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CronJob -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiBatchV1beta1CronJobList -""" -function listBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1beta1NamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV1beta1NamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiBatchV1beta1CronJob -""" -function patchBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1beta1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1beta1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiBatchV1beta1CronJob -""" -function patchBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1beta1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV1beta1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiBatchV1beta1CronJob -""" -function readBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1beta1NamespacedCronJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1beta1NamespacedCronJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiBatchV1beta1CronJob -""" -function readBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1beta1NamespacedCronJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV1beta1NamespacedCronJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiBatchV1beta1CronJob (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV1beta1CronJob -""" -function replaceBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1beta1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1beta1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiBatchV1beta1CronJob, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiBatchV1beta1CronJob (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV1beta1CronJob -""" -function replaceBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1beta1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceBatchV1beta1NamespacedCronJobStatus(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV1beta1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV1beta1CronJobListForAllNamespaces(_api::BatchV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v1beta1/watch/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV1beta1CronJobListForAllNamespaces(_api::BatchV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1beta1CronJobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV1beta1CronJobListForAllNamespaces(_api::BatchV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1beta1CronJobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1beta1NamespacedCronJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV1beta1NamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1beta1NamespacedCronJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV1beta1NamespacedCronJobList(_api::BatchV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV1beta1NamespacedCronJobList(_api::BatchV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1beta1NamespacedCronJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV1beta1NamespacedCronJobList(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV1beta1NamespacedCronJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createBatchV1beta1NamespacedCronJob, deleteBatchV1beta1CollectionNamespacedCronJob, deleteBatchV1beta1NamespacedCronJob, getBatchV1beta1APIResources, listBatchV1beta1CronJobForAllNamespaces, listBatchV1beta1NamespacedCronJob, patchBatchV1beta1NamespacedCronJob, patchBatchV1beta1NamespacedCronJobStatus, readBatchV1beta1NamespacedCronJob, readBatchV1beta1NamespacedCronJobStatus, replaceBatchV1beta1NamespacedCronJob, replaceBatchV1beta1NamespacedCronJobStatus, watchBatchV1beta1CronJobListForAllNamespaces, watchBatchV1beta1NamespacedCronJob, watchBatchV1beta1NamespacedCronJobList diff --git a/src/ApiImpl/api/api_BatchV2alpha1Api.jl b/src/ApiImpl/api/api_BatchV2alpha1Api.jl deleted file mode 100644 index 97a602d1..00000000 --- a/src/ApiImpl/api/api_BatchV2alpha1Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct BatchV2alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CronJob -Param: namespace::String (required) -Param: body::IoK8sApiBatchV2alpha1CronJob (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV2alpha1CronJob -""" -function createBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createBatchV2alpha1NamespacedCronJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createBatchV2alpha1NamespacedCronJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteBatchV2alpha1CollectionNamespacedCronJob(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CronJob -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteBatchV2alpha1CollectionNamespacedCronJob(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV2alpha1CollectionNamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteBatchV2alpha1CollectionNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV2alpha1CollectionNamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV2alpha1NamespacedCronJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteBatchV2alpha1NamespacedCronJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getBatchV2alpha1APIResources(_api::BatchV2alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/batch/v2alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getBatchV2alpha1APIResources(_api::BatchV2alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchV2alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getBatchV2alpha1APIResources(_api::BatchV2alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getBatchV2alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listBatchV2alpha1CronJobForAllNamespaces(_api::BatchV2alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV2alpha1CronJobList, "/apis/batch/v2alpha1/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CronJob -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiBatchV2alpha1CronJobList -""" -function listBatchV2alpha1CronJobForAllNamespaces(_api::BatchV2alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV2alpha1CronJobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listBatchV2alpha1CronJobForAllNamespaces(_api::BatchV2alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV2alpha1CronJobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV2alpha1CronJobList, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CronJob -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiBatchV2alpha1CronJobList -""" -function listBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV2alpha1NamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listBatchV2alpha1NamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiBatchV2alpha1CronJob -""" -function patchBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV2alpha1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV2alpha1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiBatchV2alpha1CronJob -""" -function patchBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiBatchV2alpha1CronJob -""" -function readBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV2alpha1NamespacedCronJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV2alpha1NamespacedCronJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiBatchV2alpha1CronJob -""" -function readBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiBatchV2alpha1CronJob (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV2alpha1CronJob -""" -function replaceBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV2alpha1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV2alpha1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiBatchV2alpha1CronJob, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified CronJob -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiBatchV2alpha1CronJob (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiBatchV2alpha1CronJob -""" -function replaceBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceBatchV2alpha1NamespacedCronJobStatus(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV2alpha1CronJobListForAllNamespaces(_api::BatchV2alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v2alpha1/watch/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV2alpha1CronJobListForAllNamespaces(_api::BatchV2alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV2alpha1CronJobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV2alpha1CronJobListForAllNamespaces(_api::BatchV2alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV2alpha1CronJobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV2alpha1NamespacedCronJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV2alpha1NamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV2alpha1NamespacedCronJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchBatchV2alpha1NamespacedCronJobList(_api::BatchV2alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchBatchV2alpha1NamespacedCronJobList(_api::BatchV2alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV2alpha1NamespacedCronJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchBatchV2alpha1NamespacedCronJobList(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchBatchV2alpha1NamespacedCronJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createBatchV2alpha1NamespacedCronJob, deleteBatchV2alpha1CollectionNamespacedCronJob, deleteBatchV2alpha1NamespacedCronJob, getBatchV2alpha1APIResources, listBatchV2alpha1CronJobForAllNamespaces, listBatchV2alpha1NamespacedCronJob, patchBatchV2alpha1NamespacedCronJob, patchBatchV2alpha1NamespacedCronJobStatus, readBatchV2alpha1NamespacedCronJob, readBatchV2alpha1NamespacedCronJobStatus, replaceBatchV2alpha1NamespacedCronJob, replaceBatchV2alpha1NamespacedCronJobStatus, watchBatchV2alpha1CronJobListForAllNamespaces, watchBatchV2alpha1NamespacedCronJob, watchBatchV2alpha1NamespacedCronJobList diff --git a/src/ApiImpl/api/api_CertificatesApi.jl b/src/ApiImpl/api/api_CertificatesApi.jl deleted file mode 100644 index e077a141..00000000 --- a/src/ApiImpl/api/api_CertificatesApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CertificatesApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getCertificatesAPIGroup(_api::CertificatesApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/certificates.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getCertificatesAPIGroup(_api::CertificatesApi; _mediaType=nothing) - _ctx = _swaggerinternal_getCertificatesAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCertificatesAPIGroup(_api::CertificatesApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCertificatesAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getCertificatesAPIGroup diff --git a/src/ApiImpl/api/api_CertificatesV1beta1Api.jl b/src/ApiImpl/api/api_CertificatesV1beta1Api.jl deleted file mode 100644 index 51557a4a..00000000 --- a/src/ApiImpl/api/api_CertificatesV1beta1Api.jl +++ /dev/null @@ -1,480 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CertificatesV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CertificateSigningRequest -Param: body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function createCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCertificatesV1beta1CertificateSigningRequest(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCertificatesV1beta1CertificateSigningRequest(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CertificateSigningRequest -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCertificatesV1beta1CertificateSigningRequest(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCertificatesV1beta1CertificateSigningRequest(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api::CertificatesV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CertificateSigningRequest -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api::CertificatesV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getCertificatesV1beta1APIResources(_api::CertificatesV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/certificates.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getCertificatesV1beta1APIResources(_api::CertificatesV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getCertificatesV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCertificatesV1beta1APIResources(_api::CertificatesV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCertificatesV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCertificatesV1beta1CertificateSigningRequestList, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CertificateSigningRequest -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequestList -""" -function listCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCertificatesV1beta1CertificateSigningRequest(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCertificatesV1beta1CertificateSigningRequest(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CertificateSigningRequest -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function patchCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCertificatesV1beta1CertificateSigningRequest(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCertificatesV1beta1CertificateSigningRequest(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified CertificateSigningRequest -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function patchCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCertificatesV1beta1CertificateSigningRequestStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCertificatesV1beta1CertificateSigningRequestStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CertificateSigningRequest -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function readCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCertificatesV1beta1CertificateSigningRequest(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCertificatesV1beta1CertificateSigningRequest(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified CertificateSigningRequest -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function readCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCertificatesV1beta1CertificateSigningRequestStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCertificatesV1beta1CertificateSigningRequestStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CertificateSigningRequest -Param: name::String (required) -Param: body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function replaceCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequest(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequest(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequestApproval(_api::CertificatesV1beta1Api, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace approval of the specified CertificateSigningRequest -Param: name::String (required) -Param: body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function replaceCertificatesV1beta1CertificateSigningRequestApproval(_api::CertificatesV1beta1Api, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequestApproval(_api, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCertificatesV1beta1CertificateSigningRequestApproval(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequestApproval(_api, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCertificatesV1beta1CertificateSigningRequest, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified CertificateSigningRequest -Param: name::String (required) -Param: body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest -""" -function replaceCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequestStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCertificatesV1beta1CertificateSigningRequestStatus(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCertificatesV1beta1CertificateSigningRequestStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCertificatesV1beta1CertificateSigningRequest(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCertificatesV1beta1CertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCertificatesV1beta1CertificateSigningRequest(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCertificatesV1beta1CertificateSigningRequestList(_api::CertificatesV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCertificatesV1beta1CertificateSigningRequestList(_api::CertificatesV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCertificatesV1beta1CertificateSigningRequestList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCertificatesV1beta1CertificateSigningRequestList(_api::CertificatesV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCertificatesV1beta1CertificateSigningRequestList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createCertificatesV1beta1CertificateSigningRequest, deleteCertificatesV1beta1CertificateSigningRequest, deleteCertificatesV1beta1CollectionCertificateSigningRequest, getCertificatesV1beta1APIResources, listCertificatesV1beta1CertificateSigningRequest, patchCertificatesV1beta1CertificateSigningRequest, patchCertificatesV1beta1CertificateSigningRequestStatus, readCertificatesV1beta1CertificateSigningRequest, readCertificatesV1beta1CertificateSigningRequestStatus, replaceCertificatesV1beta1CertificateSigningRequest, replaceCertificatesV1beta1CertificateSigningRequestApproval, replaceCertificatesV1beta1CertificateSigningRequestStatus, watchCertificatesV1beta1CertificateSigningRequest, watchCertificatesV1beta1CertificateSigningRequestList diff --git a/src/ApiImpl/api/api_CoordinationApi.jl b/src/ApiImpl/api/api_CoordinationApi.jl deleted file mode 100644 index 321cb7c8..00000000 --- a/src/ApiImpl/api/api_CoordinationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CoordinationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getCoordinationAPIGroup(_api::CoordinationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/coordination.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getCoordinationAPIGroup(_api::CoordinationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getCoordinationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCoordinationAPIGroup(_api::CoordinationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCoordinationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getCoordinationAPIGroup diff --git a/src/ApiImpl/api/api_CoordinationV1Api.jl b/src/ApiImpl/api/api_CoordinationV1Api.jl deleted file mode 100644 index 875845f3..00000000 --- a/src/ApiImpl/api/api_CoordinationV1Api.jl +++ /dev/null @@ -1,457 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CoordinationV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createCoordinationV1NamespacedLease(_api::CoordinationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoordinationV1Lease, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Lease -Param: namespace::String (required) -Param: body::IoK8sApiCoordinationV1Lease (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoordinationV1Lease -""" -function createCoordinationV1NamespacedLease(_api::CoordinationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoordinationV1NamespacedLease(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoordinationV1NamespacedLease(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoordinationV1CollectionNamespacedLease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Lease -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoordinationV1CollectionNamespacedLease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1CollectionNamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoordinationV1CollectionNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1CollectionNamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Lease -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1NamespacedLease(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1NamespacedLease(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getCoordinationV1APIResources(_api::CoordinationV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/coordination.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getCoordinationV1APIResources(_api::CoordinationV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getCoordinationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCoordinationV1APIResources(_api::CoordinationV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCoordinationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoordinationV1LeaseForAllNamespaces(_api::CoordinationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoordinationV1LeaseList, "/apis/coordination.k8s.io/v1/leases", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Lease -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoordinationV1LeaseList -""" -function listCoordinationV1LeaseForAllNamespaces(_api::CoordinationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1LeaseForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoordinationV1LeaseForAllNamespaces(_api::CoordinationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1LeaseForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoordinationV1NamespacedLease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoordinationV1LeaseList, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Lease -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoordinationV1LeaseList -""" -function listCoordinationV1NamespacedLease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1NamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1NamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoordinationV1Lease, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Lease -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoordinationV1Lease -""" -function patchCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoordinationV1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoordinationV1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoordinationV1Lease, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Lease -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoordinationV1Lease -""" -function readCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoordinationV1NamespacedLease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoordinationV1NamespacedLease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoordinationV1Lease, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Lease -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoordinationV1Lease (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoordinationV1Lease -""" -function replaceCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoordinationV1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoordinationV1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoordinationV1LeaseListForAllNamespaces(_api::CoordinationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/coordination.k8s.io/v1/watch/leases", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoordinationV1LeaseListForAllNamespaces(_api::CoordinationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1LeaseListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoordinationV1LeaseListForAllNamespaces(_api::CoordinationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1LeaseListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoordinationV1NamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1NamespacedLease(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoordinationV1NamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1NamespacedLease(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoordinationV1NamespacedLeaseList(_api::CoordinationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoordinationV1NamespacedLeaseList(_api::CoordinationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1NamespacedLeaseList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoordinationV1NamespacedLeaseList(_api::CoordinationV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1NamespacedLeaseList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createCoordinationV1NamespacedLease, deleteCoordinationV1CollectionNamespacedLease, deleteCoordinationV1NamespacedLease, getCoordinationV1APIResources, listCoordinationV1LeaseForAllNamespaces, listCoordinationV1NamespacedLease, patchCoordinationV1NamespacedLease, readCoordinationV1NamespacedLease, replaceCoordinationV1NamespacedLease, watchCoordinationV1LeaseListForAllNamespaces, watchCoordinationV1NamespacedLease, watchCoordinationV1NamespacedLeaseList diff --git a/src/ApiImpl/api/api_CoordinationV1beta1Api.jl b/src/ApiImpl/api/api_CoordinationV1beta1Api.jl deleted file mode 100644 index 7cc94518..00000000 --- a/src/ApiImpl/api/api_CoordinationV1beta1Api.jl +++ /dev/null @@ -1,457 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CoordinationV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoordinationV1beta1Lease, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Lease -Param: namespace::String (required) -Param: body::IoK8sApiCoordinationV1beta1Lease (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoordinationV1beta1Lease -""" -function createCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoordinationV1beta1NamespacedLease(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoordinationV1beta1NamespacedLease(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoordinationV1beta1CollectionNamespacedLease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Lease -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoordinationV1beta1CollectionNamespacedLease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1beta1CollectionNamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoordinationV1beta1CollectionNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1beta1CollectionNamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Lease -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1beta1NamespacedLease(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoordinationV1beta1NamespacedLease(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getCoordinationV1beta1APIResources(_api::CoordinationV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/coordination.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getCoordinationV1beta1APIResources(_api::CoordinationV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getCoordinationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCoordinationV1beta1APIResources(_api::CoordinationV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCoordinationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoordinationV1beta1LeaseForAllNamespaces(_api::CoordinationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoordinationV1beta1LeaseList, "/apis/coordination.k8s.io/v1beta1/leases", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Lease -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoordinationV1beta1LeaseList -""" -function listCoordinationV1beta1LeaseForAllNamespaces(_api::CoordinationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1beta1LeaseForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoordinationV1beta1LeaseForAllNamespaces(_api::CoordinationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1beta1LeaseForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoordinationV1beta1LeaseList, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Lease -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoordinationV1beta1LeaseList -""" -function listCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1beta1NamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoordinationV1beta1NamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoordinationV1beta1Lease, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Lease -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoordinationV1beta1Lease -""" -function patchCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoordinationV1beta1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoordinationV1beta1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoordinationV1beta1Lease, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Lease -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoordinationV1beta1Lease -""" -function readCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoordinationV1beta1NamespacedLease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoordinationV1beta1NamespacedLease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoordinationV1beta1Lease, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Lease -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoordinationV1beta1Lease (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoordinationV1beta1Lease -""" -function replaceCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoordinationV1beta1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoordinationV1beta1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoordinationV1beta1LeaseListForAllNamespaces(_api::CoordinationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/coordination.k8s.io/v1beta1/watch/leases", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoordinationV1beta1LeaseListForAllNamespaces(_api::CoordinationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1beta1LeaseListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoordinationV1beta1LeaseListForAllNamespaces(_api::CoordinationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1beta1LeaseListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1beta1NamespacedLease(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoordinationV1beta1NamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1beta1NamespacedLease(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoordinationV1beta1NamespacedLeaseList(_api::CoordinationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoordinationV1beta1NamespacedLeaseList(_api::CoordinationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1beta1NamespacedLeaseList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoordinationV1beta1NamespacedLeaseList(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoordinationV1beta1NamespacedLeaseList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createCoordinationV1beta1NamespacedLease, deleteCoordinationV1beta1CollectionNamespacedLease, deleteCoordinationV1beta1NamespacedLease, getCoordinationV1beta1APIResources, listCoordinationV1beta1LeaseForAllNamespaces, listCoordinationV1beta1NamespacedLease, patchCoordinationV1beta1NamespacedLease, readCoordinationV1beta1NamespacedLease, replaceCoordinationV1beta1NamespacedLease, watchCoordinationV1beta1LeaseListForAllNamespaces, watchCoordinationV1beta1NamespacedLease, watchCoordinationV1beta1NamespacedLeaseList diff --git a/src/ApiImpl/api/api_CoreApi.jl b/src/ApiImpl/api/api_CoreApi.jl deleted file mode 100644 index a5e27fa6..00000000 --- a/src/ApiImpl/api/api_CoreApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CoreApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getCoreAPIVersions(_api::CoreApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIVersions, "/api/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available API versions -Return: IoK8sApimachineryPkgApisMetaV1APIVersions -""" -function getCoreAPIVersions(_api::CoreApi; _mediaType=nothing) - _ctx = _swaggerinternal_getCoreAPIVersions(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCoreAPIVersions(_api::CoreApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCoreAPIVersions(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getCoreAPIVersions diff --git a/src/ApiImpl/api/api_CoreV1Api.jl b/src/ApiImpl/api/api_CoreV1Api.jl deleted file mode 100644 index 10dde6bc..00000000 --- a/src/ApiImpl/api/api_CoreV1Api.jl +++ /dev/null @@ -1,8552 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CoreV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_connectCoreV1DeleteNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect DELETE requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1DeleteNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1DeleteNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1DeleteNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect DELETE requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1DeleteNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1DeleteNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1DeleteNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect DELETE requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1DeleteNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1DeleteNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1DeleteNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect DELETE requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1DeleteNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1DeleteNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1DeleteNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect DELETE requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1DeleteNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1DeleteNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1DeleteNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect DELETE requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1DeleteNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1DeleteNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1DeleteNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedPodAttach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/pods/{name}/attach", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "container", container) # type String - Swagger.set_param(_ctx.query, "stderr", stderr) # type Bool - Swagger.set_param(_ctx.query, "stdin", stdin) # type Bool - Swagger.set_param(_ctx.query, "stdout", stdout) # type Bool - Swagger.set_param(_ctx.query, "tty", tty) # type Bool - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to attach of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: container::String -Param: stderr::Bool -Param: stdin::Bool -Param: stdout::Bool -Param: tty::Bool -Return: String -""" -function connectCoreV1GetNamespacedPodAttach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodAttach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedPodAttach(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodAttach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedPodExec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/pods/{name}/exec", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "command", command) # type String - Swagger.set_param(_ctx.query, "container", container) # type String - Swagger.set_param(_ctx.query, "stderr", stderr) # type Bool - Swagger.set_param(_ctx.query, "stdin", stdin) # type Bool - Swagger.set_param(_ctx.query, "stdout", stdout) # type Bool - Swagger.set_param(_ctx.query, "tty", tty) # type Bool - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to exec of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: command::String -Param: container::String -Param: stderr::Bool -Param: stdin::Bool -Param: stdout::Bool -Param: tty::Bool -Return: String -""" -function connectCoreV1GetNamespacedPodExec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodExec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedPodExec(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodExec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedPodPortforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/pods/{name}/portforward", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "ports", ports) # type Int32 - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to portforward of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: ports::Int32 -Return: String -""" -function connectCoreV1GetNamespacedPodPortforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodPortforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedPodPortforward(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; ports=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodPortforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1GetNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1GetNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1GetNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1GetNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1GetNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1GetNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect GET requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1GetNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1GetNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1GetNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1HeadNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "HEAD", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect HEAD requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1HeadNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1HeadNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1HeadNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "HEAD", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect HEAD requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1HeadNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1HeadNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1HeadNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "HEAD", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect HEAD requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1HeadNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1HeadNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1HeadNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "HEAD", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect HEAD requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1HeadNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1HeadNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1HeadNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "HEAD", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect HEAD requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1HeadNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1HeadNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1HeadNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "HEAD", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect HEAD requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1HeadNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1HeadNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1HeadNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1OptionsNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "OPTIONS", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect OPTIONS requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1OptionsNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1OptionsNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1OptionsNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "OPTIONS", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect OPTIONS requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1OptionsNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1OptionsNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1OptionsNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "OPTIONS", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect OPTIONS requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1OptionsNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1OptionsNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1OptionsNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "OPTIONS", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect OPTIONS requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1OptionsNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1OptionsNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1OptionsNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "OPTIONS", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect OPTIONS requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1OptionsNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1OptionsNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1OptionsNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "OPTIONS", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect OPTIONS requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1OptionsNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1OptionsNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1OptionsNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PatchNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PATCH requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PatchNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PatchNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PatchNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PATCH requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PatchNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PatchNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PatchNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PATCH requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PatchNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PatchNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PatchNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PATCH requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PatchNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PatchNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PatchNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PATCH requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PatchNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PatchNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PatchNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PATCH requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PatchNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PatchNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PatchNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedPodAttach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/pods/{name}/attach", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "container", container) # type String - Swagger.set_param(_ctx.query, "stderr", stderr) # type Bool - Swagger.set_param(_ctx.query, "stdin", stdin) # type Bool - Swagger.set_param(_ctx.query, "stdout", stdout) # type Bool - Swagger.set_param(_ctx.query, "tty", tty) # type Bool - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to attach of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: container::String -Param: stderr::Bool -Param: stdin::Bool -Param: stdout::Bool -Param: tty::Bool -Return: String -""" -function connectCoreV1PostNamespacedPodAttach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodAttach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedPodAttach(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodAttach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedPodExec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/pods/{name}/exec", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "command", command) # type String - Swagger.set_param(_ctx.query, "container", container) # type String - Swagger.set_param(_ctx.query, "stderr", stderr) # type Bool - Swagger.set_param(_ctx.query, "stdin", stdin) # type Bool - Swagger.set_param(_ctx.query, "stdout", stdout) # type Bool - Swagger.set_param(_ctx.query, "tty", tty) # type Bool - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to exec of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: command::String -Param: container::String -Param: stderr::Bool -Param: stdin::Bool -Param: stdout::Bool -Param: tty::Bool -Return: String -""" -function connectCoreV1PostNamespacedPodExec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodExec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedPodExec(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodExec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedPodPortforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/pods/{name}/portforward", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "ports", ports) # type Int32 - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to portforward of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: ports::Int32 -Return: String -""" -function connectCoreV1PostNamespacedPodPortforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodPortforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedPodPortforward(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; ports=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodPortforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PostNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PostNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PostNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PostNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PostNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PostNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect POST requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PostNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PostNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PostNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PutNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PUT requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PutNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PutNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PutNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", String, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PUT requests to proxy of Pod -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PutNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PutNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PutNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PUT requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PutNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PutNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PutNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", String, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PUT requests to proxy of Service -Param: name::String (required) -Param: namespace::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PutNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PutNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PutNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", String, "/api/v1/nodes/{name}/proxy", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "path", path) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PUT requests to proxy of Node -Param: name::String (required) -Param: path::String -Return: String -""" -function connectCoreV1PutNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PutNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNodeProxy(_api, name; path=path, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_connectCoreV1PutNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", String, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "path", path) # type String - Swagger.set_param(_ctx.query, "path", path2) # type String - Swagger.set_header_accept(_ctx, ["*/*"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -connect PUT requests to proxy of Node -Param: name::String (required) -Param: path::String (required) -Param: path2::String -Return: String -""" -function connectCoreV1PutNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function connectCoreV1PutNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_connectCoreV1PutNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1Namespace(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Namespace, "/api/v1/namespaces", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Namespace -Param: body::IoK8sApiCoreV1Namespace (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Namespace -""" -function createCoreV1Namespace(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1Namespace(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1Namespace(_api::CoreV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1Namespace(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedBinding(_api::CoreV1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Binding, "/api/v1/namespaces/{namespace}/bindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Binding -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Binding (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiCoreV1Binding -""" -function createCoreV1NamespacedBinding(_api::CoreV1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedBinding(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedBinding(_api::CoreV1Api, response_stream::Channel, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedBinding(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedConfigMap(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1ConfigMap, "/api/v1/namespaces/{namespace}/configmaps", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ConfigMap -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ConfigMap (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ConfigMap -""" -function createCoreV1NamespacedConfigMap(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedConfigMap(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedConfigMap(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedEndpoints(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Endpoints, "/api/v1/namespaces/{namespace}/endpoints", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create Endpoints -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Endpoints (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Endpoints -""" -function createCoreV1NamespacedEndpoints(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedEndpoints(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedEndpoints(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedEvent(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Event, "/api/v1/namespaces/{namespace}/events", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an Event -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Event (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Event -""" -function createCoreV1NamespacedEvent(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedEvent(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedEvent(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedLimitRange(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1LimitRange, "/api/v1/namespaces/{namespace}/limitranges", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a LimitRange -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1LimitRange (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1LimitRange -""" -function createCoreV1NamespacedLimitRange(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedLimitRange(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedLimitRange(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PersistentVolumeClaim -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1PersistentVolumeClaim (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function createCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPersistentVolumeClaim(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPersistentVolumeClaim(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedPod(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Pod -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Pod (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Pod -""" -function createCoreV1NamespacedPod(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPod(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPod(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedPodBinding(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Binding, "/api/v1/namespaces/{namespace}/pods/{name}/binding", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create binding of a Pod -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Binding (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiCoreV1Binding -""" -function createCoreV1NamespacedPodBinding(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPodBinding(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedPodBinding(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPodBinding(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedPodEviction(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiPolicyV1beta1Eviction, "/api/v1/namespaces/{namespace}/pods/{name}/eviction", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create eviction of a Pod -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiPolicyV1beta1Eviction (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiPolicyV1beta1Eviction -""" -function createCoreV1NamespacedPodEviction(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPodEviction(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedPodEviction(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPodEviction(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedPodTemplate(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1PodTemplate, "/api/v1/namespaces/{namespace}/podtemplates", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PodTemplate -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1PodTemplate (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PodTemplate -""" -function createCoreV1NamespacedPodTemplate(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPodTemplate(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedPodTemplate(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedReplicationController(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ReplicationController -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ReplicationController (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ReplicationController -""" -function createCoreV1NamespacedReplicationController(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedReplicationController(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedReplicationController(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedResourceQuota(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ResourceQuota -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ResourceQuota (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ResourceQuota -""" -function createCoreV1NamespacedResourceQuota(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedResourceQuota(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedResourceQuota(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedSecret(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Secret, "/api/v1/namespaces/{namespace}/secrets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Secret -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Secret (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Secret -""" -function createCoreV1NamespacedSecret(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedSecret(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedSecret(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedService(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Service -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Service (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Service -""" -function createCoreV1NamespacedService(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedService(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedService(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedServiceAccount(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1ServiceAccount, "/api/v1/namespaces/{namespace}/serviceaccounts", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ServiceAccount -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ServiceAccount (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ServiceAccount -""" -function createCoreV1NamespacedServiceAccount(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedServiceAccount(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedServiceAccount(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1NamespacedServiceAccountToken(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiAuthenticationV1TokenRequest, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create token of a ServiceAccount -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAuthenticationV1TokenRequest (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiAuthenticationV1TokenRequest -""" -function createCoreV1NamespacedServiceAccountToken(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedServiceAccountToken(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1NamespacedServiceAccountToken(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1NamespacedServiceAccountToken(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1Node(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1Node, "/api/v1/nodes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Node -Param: body::IoK8sApiCoreV1Node (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Node -""" -function createCoreV1Node(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1Node(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1Node(_api::CoreV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1Node(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createCoreV1PersistentVolume(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PersistentVolume -Param: body::IoK8sApiCoreV1PersistentVolume (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PersistentVolume -""" -function createCoreV1PersistentVolume(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1PersistentVolume(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createCoreV1PersistentVolume(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedConfigMap(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/configmaps", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ConfigMap -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedConfigMap(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedConfigMap(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedConfigMap(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedEndpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/endpoints", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Endpoints -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedEndpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedEndpoints(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedEndpoints(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedEvent(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/events", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Event -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedEvent(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedEvent(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedLimitRange(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/limitranges", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of LimitRange -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedLimitRange(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedLimitRange(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedLimitRange(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PersistentVolumeClaim -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedPod(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/pods", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Pod -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedPod(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedPod(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedPod(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedPod(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedPodTemplate(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/podtemplates", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PodTemplate -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedPodTemplate(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedPodTemplate(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedPodTemplate(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedReplicationController(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/replicationcontrollers", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ReplicationController -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedReplicationController(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedReplicationController(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedReplicationController(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedResourceQuota(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/resourcequotas", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ResourceQuota -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedResourceQuota(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedResourceQuota(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedResourceQuota(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedSecret(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/secrets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Secret -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedSecret(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedSecret(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedSecret(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedSecret(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNamespacedServiceAccount(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/serviceaccounts", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ServiceAccount -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNamespacedServiceAccount(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedServiceAccount(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNamespacedServiceAccount(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionNode(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/nodes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Node -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionNode(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionNode(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionNode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1CollectionPersistentVolume(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/persistentvolumes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PersistentVolume -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1CollectionPersistentVolume(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionPersistentVolume(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1CollectionPersistentVolume(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1CollectionPersistentVolume(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1Namespace(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Namespace -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1Namespace(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1Namespace(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1Namespace(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1Namespace(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ConfigMap -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedConfigMap(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedConfigMap(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete Endpoints -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedEndpoints(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedEndpoints(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an Event -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedEvent(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedEvent(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a LimitRange -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedLimitRange(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedLimitRange(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Pod -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedPod(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedPod(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PodTemplate -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedPodTemplate(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedPodTemplate(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedReplicationController(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedReplicationController(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedResourceQuota(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedResourceQuota(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Secret -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedSecret(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedSecret(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Service -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedService(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedService(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ServiceAccount -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedServiceAccount(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1NamespacedServiceAccount(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1Node(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/nodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Node -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1Node(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1Node(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1Node(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1Node(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteCoreV1PersistentVolume(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/api/v1/persistentvolumes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PersistentVolume -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteCoreV1PersistentVolume(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1PersistentVolume(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteCoreV1PersistentVolume(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getCoreV1APIResources(_api::CoreV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/api/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getCoreV1APIResources(_api::CoreV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getCoreV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCoreV1APIResources(_api::CoreV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCoreV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1ComponentStatus(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ComponentStatusList, "/api/v1/componentstatuses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list objects of kind ComponentStatus -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ComponentStatusList -""" -function listCoreV1ComponentStatus(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ComponentStatus(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1ComponentStatus(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ComponentStatus(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1ConfigMapForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ConfigMapList, "/api/v1/configmaps", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ConfigMap -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ConfigMapList -""" -function listCoreV1ConfigMapForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ConfigMapForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1ConfigMapForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ConfigMapForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1EndpointsForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1EndpointsList, "/api/v1/endpoints", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Endpoints -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1EndpointsList -""" -function listCoreV1EndpointsForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1EndpointsForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1EndpointsForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1EndpointsForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1EventForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1EventList, "/api/v1/events", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Event -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1EventList -""" -function listCoreV1EventForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1EventForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1EventForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1EventForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1LimitRangeForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1LimitRangeList, "/api/v1/limitranges", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind LimitRange -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1LimitRangeList -""" -function listCoreV1LimitRangeForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1LimitRangeForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1LimitRangeForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1LimitRangeForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1Namespace(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1NamespaceList, "/api/v1/namespaces", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Namespace -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1NamespaceList -""" -function listCoreV1Namespace(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1Namespace(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1Namespace(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1Namespace(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedConfigMap(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ConfigMapList, "/api/v1/namespaces/{namespace}/configmaps", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ConfigMap -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ConfigMapList -""" -function listCoreV1NamespacedConfigMap(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedConfigMap(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedConfigMap(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedEndpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1EndpointsList, "/api/v1/namespaces/{namespace}/endpoints", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Endpoints -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1EndpointsList -""" -function listCoreV1NamespacedEndpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedEndpoints(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedEndpoints(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedEvent(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1EventList, "/api/v1/namespaces/{namespace}/events", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Event -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1EventList -""" -function listCoreV1NamespacedEvent(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedLimitRange(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1LimitRangeList, "/api/v1/namespaces/{namespace}/limitranges", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind LimitRange -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1LimitRangeList -""" -function listCoreV1NamespacedLimitRange(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedLimitRange(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedLimitRange(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolumeClaimList, "/api/v1/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PersistentVolumeClaim -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PersistentVolumeClaimList -""" -function listCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedPersistentVolumeClaim(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedPersistentVolumeClaim(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedPod(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PodList, "/api/v1/namespaces/{namespace}/pods", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Pod -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PodList -""" -function listCoreV1NamespacedPod(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedPod(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedPod(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedPodTemplate(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PodTemplateList, "/api/v1/namespaces/{namespace}/podtemplates", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodTemplate -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PodTemplateList -""" -function listCoreV1NamespacedPodTemplate(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedPodTemplate(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedPodTemplate(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedReplicationController(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ReplicationControllerList, "/api/v1/namespaces/{namespace}/replicationcontrollers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicationController -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ReplicationControllerList -""" -function listCoreV1NamespacedReplicationController(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedReplicationController(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedReplicationController(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedResourceQuota(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ResourceQuotaList, "/api/v1/namespaces/{namespace}/resourcequotas", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ResourceQuota -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ResourceQuotaList -""" -function listCoreV1NamespacedResourceQuota(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedResourceQuota(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedResourceQuota(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedSecret(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1SecretList, "/api/v1/namespaces/{namespace}/secrets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Secret -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1SecretList -""" -function listCoreV1NamespacedSecret(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedSecret(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedSecret(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedService(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ServiceList, "/api/v1/namespaces/{namespace}/services", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Service -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ServiceList -""" -function listCoreV1NamespacedService(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedService(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedService(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1NamespacedServiceAccount(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ServiceAccountList, "/api/v1/namespaces/{namespace}/serviceaccounts", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ServiceAccount -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ServiceAccountList -""" -function listCoreV1NamespacedServiceAccount(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedServiceAccount(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1NamespacedServiceAccount(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1Node(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1NodeList, "/api/v1/nodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Node -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1NodeList -""" -function listCoreV1Node(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1Node(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1Node(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1Node(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1PersistentVolume(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolumeList, "/api/v1/persistentvolumes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PersistentVolume -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PersistentVolumeList -""" -function listCoreV1PersistentVolume(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PersistentVolume(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PersistentVolume(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1PersistentVolumeClaimForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolumeClaimList, "/api/v1/persistentvolumeclaims", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PersistentVolumeClaim -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PersistentVolumeClaimList -""" -function listCoreV1PersistentVolumeClaimForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PersistentVolumeClaimForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1PersistentVolumeClaimForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PersistentVolumeClaimForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1PodForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PodList, "/api/v1/pods", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Pod -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PodList -""" -function listCoreV1PodForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PodForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1PodForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PodForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1PodTemplateForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PodTemplateList, "/api/v1/podtemplates", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodTemplate -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1PodTemplateList -""" -function listCoreV1PodTemplateForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PodTemplateForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1PodTemplateForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1PodTemplateForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1ReplicationControllerForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ReplicationControllerList, "/api/v1/replicationcontrollers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicationController -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ReplicationControllerList -""" -function listCoreV1ReplicationControllerForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ReplicationControllerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1ReplicationControllerForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ReplicationControllerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1ResourceQuotaForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ResourceQuotaList, "/api/v1/resourcequotas", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ResourceQuota -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ResourceQuotaList -""" -function listCoreV1ResourceQuotaForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ResourceQuotaForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1ResourceQuotaForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ResourceQuotaForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1SecretForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1SecretList, "/api/v1/secrets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Secret -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1SecretList -""" -function listCoreV1SecretForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1SecretForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1SecretForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1SecretForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1ServiceAccountForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ServiceAccountList, "/api/v1/serviceaccounts", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ServiceAccount -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ServiceAccountList -""" -function listCoreV1ServiceAccountForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ServiceAccountForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1ServiceAccountForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ServiceAccountForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCoreV1ServiceForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ServiceList, "/api/v1/services", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Service -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiCoreV1ServiceList -""" -function listCoreV1ServiceForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ServiceForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCoreV1ServiceForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCoreV1ServiceForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1Namespace(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Namespace -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Namespace -""" -function patchCoreV1Namespace(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1Namespace(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1Namespace(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1Namespace(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespaceStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Namespace -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Namespace -""" -function patchCoreV1NamespaceStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespaceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespaceStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespaceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1ConfigMap, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ConfigMap -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1ConfigMap -""" -function patchCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedConfigMap(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedConfigMap(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Endpoints, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Endpoints -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Endpoints -""" -function patchCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedEndpoints(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedEndpoints(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Event, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Event -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Event -""" -function patchCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1LimitRange, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified LimitRange -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1LimitRange -""" -function patchCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedLimitRange(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedLimitRange(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function patchCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function patchCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Pod -""" -function patchCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPod(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPod(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Pod -""" -function patchCoreV1NamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPodStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedPodStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPodStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1PodTemplate, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PodTemplate -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1PodTemplate -""" -function patchCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPodTemplate(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedPodTemplate(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1ReplicationController -""" -function patchCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedReplicationController(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedReplicationController(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiAutoscalingV1Scale, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiAutoscalingV1Scale -""" -function patchCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedReplicationControllerScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedReplicationControllerScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1ReplicationController -""" -function patchCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedReplicationControllerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedReplicationControllerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1ResourceQuota -""" -function patchCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedResourceQuota(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedResourceQuota(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1ResourceQuota -""" -function patchCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedResourceQuotaStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedResourceQuotaStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Secret, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Secret -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Secret -""" -function patchCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedSecret(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedSecret(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Service -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Service -""" -function patchCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedService(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedService(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1ServiceAccount, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ServiceAccount -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1ServiceAccount -""" -function patchCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedServiceAccount(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedServiceAccount(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Service -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Service -""" -function patchCoreV1NamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedServiceStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NamespacedServiceStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NamespacedServiceStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1Node(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Node, "/api/v1/nodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Node -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Node -""" -function patchCoreV1Node(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1Node(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1Node(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1Node(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1NodeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1Node, "/api/v1/nodes/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Node -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1Node -""" -function patchCoreV1NodeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NodeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1NodeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1NodeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1PersistentVolume(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PersistentVolume -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1PersistentVolume -""" -function patchCoreV1PersistentVolume(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1PersistentVolume(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1PersistentVolume(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchCoreV1PersistentVolumeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified PersistentVolume -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiCoreV1PersistentVolume -""" -function patchCoreV1PersistentVolumeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1PersistentVolumeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchCoreV1PersistentVolumeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchCoreV1PersistentVolumeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1ComponentStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ComponentStatus, "/api/v1/componentstatuses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ComponentStatus -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1ComponentStatus -""" -function readCoreV1ComponentStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1ComponentStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1ComponentStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1ComponentStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1Namespace(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Namespace -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Namespace -""" -function readCoreV1Namespace(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1Namespace(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1Namespace(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1Namespace(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespaceStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Namespace -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1Namespace -""" -function readCoreV1NamespaceStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespaceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespaceStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespaceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ConfigMap, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ConfigMap -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1ConfigMap -""" -function readCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedConfigMap(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedConfigMap(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Endpoints, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Endpoints -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Endpoints -""" -function readCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedEndpoints(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedEndpoints(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Event, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Event -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Event -""" -function readCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedEvent(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedEvent(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1LimitRange, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified LimitRange -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1LimitRange -""" -function readCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedLimitRange(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedLimitRange(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function readCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function readCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Pod -""" -function readCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPod(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPod(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedPodLog(_api::CoreV1Api, name::String, namespace::String; container=nothing, follow=nothing, insecureSkipTLSVerifyBackend=nothing, limitBytes=nothing, pretty=nothing, previous=nothing, sinceSeconds=nothing, tailLines=nothing, timestamps=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", String, "/api/v1/namespaces/{namespace}/pods/{name}/log", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "container", container) # type String - Swagger.set_param(_ctx.query, "follow", follow) # type Bool - Swagger.set_param(_ctx.query, "insecureSkipTLSVerifyBackend", insecureSkipTLSVerifyBackend) # type Bool - Swagger.set_param(_ctx.query, "limitBytes", limitBytes) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "previous", previous) # type Bool - Swagger.set_param(_ctx.query, "sinceSeconds", sinceSeconds) # type Int32 - Swagger.set_param(_ctx.query, "tailLines", tailLines) # type Int32 - Swagger.set_param(_ctx.query, "timestamps", timestamps) # type Bool - Swagger.set_header_accept(_ctx, ["text/plain", "application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read log of the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: container::String -Param: follow::Bool -Param: insecureSkipTLSVerifyBackend::Bool -Param: limitBytes::Int32 -Param: pretty::String -Param: previous::Bool -Param: sinceSeconds::Int32 -Param: tailLines::Int32 -Param: timestamps::Bool -Return: String -""" -function readCoreV1NamespacedPodLog(_api::CoreV1Api, name::String, namespace::String; container=nothing, follow=nothing, insecureSkipTLSVerifyBackend=nothing, limitBytes=nothing, pretty=nothing, previous=nothing, sinceSeconds=nothing, tailLines=nothing, timestamps=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPodLog(_api, name, namespace; container=container, follow=follow, insecureSkipTLSVerifyBackend=insecureSkipTLSVerifyBackend, limitBytes=limitBytes, pretty=pretty, previous=previous, sinceSeconds=sinceSeconds, tailLines=tailLines, timestamps=timestamps, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedPodLog(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, follow=nothing, insecureSkipTLSVerifyBackend=nothing, limitBytes=nothing, pretty=nothing, previous=nothing, sinceSeconds=nothing, tailLines=nothing, timestamps=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPodLog(_api, name, namespace; container=container, follow=follow, insecureSkipTLSVerifyBackend=insecureSkipTLSVerifyBackend, limitBytes=limitBytes, pretty=pretty, previous=previous, sinceSeconds=sinceSeconds, tailLines=tailLines, timestamps=timestamps, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1Pod -""" -function readCoreV1NamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPodStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedPodStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPodStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PodTemplate, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PodTemplate -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1PodTemplate -""" -function readCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPodTemplate(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedPodTemplate(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1ReplicationController -""" -function readCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedReplicationController(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedReplicationController(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiAutoscalingV1Scale, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiAutoscalingV1Scale -""" -function readCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedReplicationControllerScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedReplicationControllerScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1ReplicationController -""" -function readCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedReplicationControllerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedReplicationControllerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1ResourceQuota -""" -function readCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedResourceQuota(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedResourceQuota(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1ResourceQuota -""" -function readCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedResourceQuotaStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedResourceQuotaStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Secret, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Secret -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Secret -""" -function readCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedSecret(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedSecret(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Service -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Service -""" -function readCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedService(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedService(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1ServiceAccount, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ServiceAccount -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1ServiceAccount -""" -function readCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedServiceAccount(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedServiceAccount(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Service -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1Service -""" -function readCoreV1NamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedServiceStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NamespacedServiceStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NamespacedServiceStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1Node(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Node, "/api/v1/nodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Node -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1Node -""" -function readCoreV1Node(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1Node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1Node(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1Node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1NodeStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1Node, "/api/v1/nodes/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Node -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1Node -""" -function readCoreV1NodeStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NodeStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1NodeStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1NodeStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1PersistentVolume(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PersistentVolume -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiCoreV1PersistentVolume -""" -function readCoreV1PersistentVolume(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1PersistentVolume(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1PersistentVolume(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readCoreV1PersistentVolumeStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified PersistentVolume -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiCoreV1PersistentVolume -""" -function readCoreV1PersistentVolumeStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1PersistentVolumeStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readCoreV1PersistentVolumeStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readCoreV1PersistentVolumeStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1Namespace(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Namespace -Param: name::String (required) -Param: body::IoK8sApiCoreV1Namespace (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Namespace -""" -function replaceCoreV1Namespace(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1Namespace(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1Namespace(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1Namespace(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespaceFinalize(_api::CoreV1Api, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}/finalize", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace finalize of the specified Namespace -Param: name::String (required) -Param: body::IoK8sApiCoreV1Namespace (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApiCoreV1Namespace -""" -function replaceCoreV1NamespaceFinalize(_api::CoreV1Api, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespaceFinalize(_api, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespaceFinalize(_api::CoreV1Api, response_stream::Channel, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespaceFinalize(_api, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespaceStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Namespace, "/api/v1/namespaces/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Namespace -Param: name::String (required) -Param: body::IoK8sApiCoreV1Namespace (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Namespace -""" -function replaceCoreV1NamespaceStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespaceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespaceStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespaceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1ConfigMap, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ConfigMap -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ConfigMap (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ConfigMap -""" -function replaceCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedConfigMap(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedConfigMap(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Endpoints, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Endpoints -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Endpoints (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Endpoints -""" -function replaceCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedEndpoints(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedEndpoints(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Event, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Event -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Event (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Event -""" -function replaceCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1LimitRange, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified LimitRange -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1LimitRange (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1LimitRange -""" -function replaceCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedLimitRange(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedLimitRange(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1PersistentVolumeClaim (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function replaceCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1PersistentVolumeClaim, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified PersistentVolumeClaim -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1PersistentVolumeClaim (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PersistentVolumeClaim -""" -function replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Pod (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Pod -""" -function replaceCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPod(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPod(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Pod, "/api/v1/namespaces/{namespace}/pods/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Pod -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Pod (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Pod -""" -function replaceCoreV1NamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPodStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedPodStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPodStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1PodTemplate, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PodTemplate -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1PodTemplate (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PodTemplate -""" -function replaceCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPodTemplate(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedPodTemplate(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ReplicationController (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ReplicationController -""" -function replaceCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedReplicationController(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedReplicationController(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiAutoscalingV1Scale, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiAutoscalingV1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiAutoscalingV1Scale -""" -function replaceCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedReplicationControllerScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedReplicationControllerScale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedReplicationControllerScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1ReplicationController, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified ReplicationController -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ReplicationController (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ReplicationController -""" -function replaceCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedReplicationControllerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedReplicationControllerStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedReplicationControllerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ResourceQuota (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ResourceQuota -""" -function replaceCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedResourceQuota(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedResourceQuota(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1ResourceQuota, "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified ResourceQuota -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ResourceQuota (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ResourceQuota -""" -function replaceCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedResourceQuotaStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedResourceQuotaStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedResourceQuotaStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Secret, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Secret -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Secret (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Secret -""" -function replaceCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedSecret(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedSecret(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Service -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Service (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Service -""" -function replaceCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedService(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedService(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1ServiceAccount, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ServiceAccount -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1ServiceAccount (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1ServiceAccount -""" -function replaceCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedServiceAccount(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedServiceAccount(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Service, "/api/v1/namespaces/{namespace}/services/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Service -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiCoreV1Service (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Service -""" -function replaceCoreV1NamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedServiceStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NamespacedServiceStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NamespacedServiceStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1Node(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Node, "/api/v1/nodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Node -Param: name::String (required) -Param: body::IoK8sApiCoreV1Node (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Node -""" -function replaceCoreV1Node(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1Node(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1Node(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1Node(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1NodeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1Node, "/api/v1/nodes/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Node -Param: name::String (required) -Param: body::IoK8sApiCoreV1Node (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1Node -""" -function replaceCoreV1NodeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NodeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1NodeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1NodeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1PersistentVolume(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PersistentVolume -Param: name::String (required) -Param: body::IoK8sApiCoreV1PersistentVolume (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PersistentVolume -""" -function replaceCoreV1PersistentVolume(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1PersistentVolume(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1PersistentVolume(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceCoreV1PersistentVolumeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiCoreV1PersistentVolume, "/api/v1/persistentvolumes/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified PersistentVolume -Param: name::String (required) -Param: body::IoK8sApiCoreV1PersistentVolume (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiCoreV1PersistentVolume -""" -function replaceCoreV1PersistentVolumeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1PersistentVolumeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceCoreV1PersistentVolumeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceCoreV1PersistentVolumeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1ConfigMapListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/configmaps", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1ConfigMapListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ConfigMapListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1ConfigMapListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ConfigMapListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1EndpointsListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/endpoints", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1EndpointsListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1EndpointsListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1EndpointsListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1EndpointsListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1EventListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/events", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1EventListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1EventListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1EventListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1EventListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1LimitRangeListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/limitranges", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1LimitRangeListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1LimitRangeListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1LimitRangeListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1LimitRangeListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1Namespace(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1Namespace(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1Namespace(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1Namespace(_api::CoreV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1Namespace(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespaceList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespaceList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespaceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespaceList(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespaceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/configmaps/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedConfigMap(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedConfigMap(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedConfigMapList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/configmaps", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedConfigMapList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedConfigMapList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedConfigMapList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedConfigMapList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/endpoints/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEndpoints(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEndpoints(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedEndpointsList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/endpoints", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedEndpointsList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEndpointsList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedEndpointsList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEndpointsList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/events/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedEvent(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEvent(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEvent(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedEventList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/events", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedEventList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEventList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedEventList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedEventList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/limitranges/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedLimitRange(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedLimitRange(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedLimitRangeList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/limitranges", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedLimitRangeList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedLimitRangeList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedLimitRangeList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedLimitRangeList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedPersistentVolumeClaimList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedPersistentVolumeClaimList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPersistentVolumeClaimList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedPersistentVolumeClaimList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPersistentVolumeClaimList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/pods/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedPod(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPod(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPod(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedPodList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/pods", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedPodList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPodList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedPodList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPodList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPodTemplate(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPodTemplate(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedPodTemplateList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/podtemplates", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedPodTemplateList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPodTemplateList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedPodTemplateList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedPodTemplateList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedReplicationController(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedReplicationController(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedReplicationControllerList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/replicationcontrollers", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedReplicationControllerList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedReplicationControllerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedReplicationControllerList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedReplicationControllerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedResourceQuota(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedResourceQuota(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedResourceQuotaList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/resourcequotas", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedResourceQuotaList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedResourceQuotaList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedResourceQuotaList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedResourceQuotaList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/secrets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedSecret(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedSecret(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedSecret(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedSecretList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/secrets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedSecretList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedSecretList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedSecretList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedSecretList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/services/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedService(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedService(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedService(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedServiceAccount(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedServiceAccount(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedServiceAccountList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/serviceaccounts", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedServiceAccountList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedServiceAccountList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedServiceAccountList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedServiceAccountList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NamespacedServiceList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/namespaces/{namespace}/services", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NamespacedServiceList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedServiceList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NamespacedServiceList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NamespacedServiceList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1Node(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/nodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1Node(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1Node(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1Node(_api::CoreV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1Node(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1NodeList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/nodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1NodeList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1NodeList(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1NodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1PersistentVolume(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/persistentvolumes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1PersistentVolume(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PersistentVolume(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1PersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PersistentVolume(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/persistentvolumeclaims", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1PersistentVolumeList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/persistentvolumes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1PersistentVolumeList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PersistentVolumeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1PersistentVolumeList(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PersistentVolumeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1PodListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/pods", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1PodListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PodListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1PodListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PodListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1PodTemplateListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/podtemplates", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1PodTemplateListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PodTemplateListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1PodTemplateListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1PodTemplateListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1ReplicationControllerListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/replicationcontrollers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1ReplicationControllerListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ReplicationControllerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1ReplicationControllerListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ReplicationControllerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1ResourceQuotaListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/resourcequotas", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1ResourceQuotaListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ResourceQuotaListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1ResourceQuotaListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ResourceQuotaListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1SecretListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/secrets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1SecretListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1SecretListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1SecretListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1SecretListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1ServiceAccountListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/serviceaccounts", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1ServiceAccountListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ServiceAccountListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1ServiceAccountListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ServiceAccountListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchCoreV1ServiceListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/api/v1/watch/services", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchCoreV1ServiceListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ServiceListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchCoreV1ServiceListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchCoreV1ServiceListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export connectCoreV1DeleteNamespacedPodProxy, connectCoreV1DeleteNamespacedPodProxyWithPath, connectCoreV1DeleteNamespacedServiceProxy, connectCoreV1DeleteNamespacedServiceProxyWithPath, connectCoreV1DeleteNodeProxy, connectCoreV1DeleteNodeProxyWithPath, connectCoreV1GetNamespacedPodAttach, connectCoreV1GetNamespacedPodExec, connectCoreV1GetNamespacedPodPortforward, connectCoreV1GetNamespacedPodProxy, connectCoreV1GetNamespacedPodProxyWithPath, connectCoreV1GetNamespacedServiceProxy, connectCoreV1GetNamespacedServiceProxyWithPath, connectCoreV1GetNodeProxy, connectCoreV1GetNodeProxyWithPath, connectCoreV1HeadNamespacedPodProxy, connectCoreV1HeadNamespacedPodProxyWithPath, connectCoreV1HeadNamespacedServiceProxy, connectCoreV1HeadNamespacedServiceProxyWithPath, connectCoreV1HeadNodeProxy, connectCoreV1HeadNodeProxyWithPath, connectCoreV1OptionsNamespacedPodProxy, connectCoreV1OptionsNamespacedPodProxyWithPath, connectCoreV1OptionsNamespacedServiceProxy, connectCoreV1OptionsNamespacedServiceProxyWithPath, connectCoreV1OptionsNodeProxy, connectCoreV1OptionsNodeProxyWithPath, connectCoreV1PatchNamespacedPodProxy, connectCoreV1PatchNamespacedPodProxyWithPath, connectCoreV1PatchNamespacedServiceProxy, connectCoreV1PatchNamespacedServiceProxyWithPath, connectCoreV1PatchNodeProxy, connectCoreV1PatchNodeProxyWithPath, connectCoreV1PostNamespacedPodAttach, connectCoreV1PostNamespacedPodExec, connectCoreV1PostNamespacedPodPortforward, connectCoreV1PostNamespacedPodProxy, connectCoreV1PostNamespacedPodProxyWithPath, connectCoreV1PostNamespacedServiceProxy, connectCoreV1PostNamespacedServiceProxyWithPath, connectCoreV1PostNodeProxy, connectCoreV1PostNodeProxyWithPath, connectCoreV1PutNamespacedPodProxy, connectCoreV1PutNamespacedPodProxyWithPath, connectCoreV1PutNamespacedServiceProxy, connectCoreV1PutNamespacedServiceProxyWithPath, connectCoreV1PutNodeProxy, connectCoreV1PutNodeProxyWithPath, createCoreV1Namespace, createCoreV1NamespacedBinding, createCoreV1NamespacedConfigMap, createCoreV1NamespacedEndpoints, createCoreV1NamespacedEvent, createCoreV1NamespacedLimitRange, createCoreV1NamespacedPersistentVolumeClaim, createCoreV1NamespacedPod, createCoreV1NamespacedPodBinding, createCoreV1NamespacedPodEviction, createCoreV1NamespacedPodTemplate, createCoreV1NamespacedReplicationController, createCoreV1NamespacedResourceQuota, createCoreV1NamespacedSecret, createCoreV1NamespacedService, createCoreV1NamespacedServiceAccount, createCoreV1NamespacedServiceAccountToken, createCoreV1Node, createCoreV1PersistentVolume, deleteCoreV1CollectionNamespacedConfigMap, deleteCoreV1CollectionNamespacedEndpoints, deleteCoreV1CollectionNamespacedEvent, deleteCoreV1CollectionNamespacedLimitRange, deleteCoreV1CollectionNamespacedPersistentVolumeClaim, deleteCoreV1CollectionNamespacedPod, deleteCoreV1CollectionNamespacedPodTemplate, deleteCoreV1CollectionNamespacedReplicationController, deleteCoreV1CollectionNamespacedResourceQuota, deleteCoreV1CollectionNamespacedSecret, deleteCoreV1CollectionNamespacedServiceAccount, deleteCoreV1CollectionNode, deleteCoreV1CollectionPersistentVolume, deleteCoreV1Namespace, deleteCoreV1NamespacedConfigMap, deleteCoreV1NamespacedEndpoints, deleteCoreV1NamespacedEvent, deleteCoreV1NamespacedLimitRange, deleteCoreV1NamespacedPersistentVolumeClaim, deleteCoreV1NamespacedPod, deleteCoreV1NamespacedPodTemplate, deleteCoreV1NamespacedReplicationController, deleteCoreV1NamespacedResourceQuota, deleteCoreV1NamespacedSecret, deleteCoreV1NamespacedService, deleteCoreV1NamespacedServiceAccount, deleteCoreV1Node, deleteCoreV1PersistentVolume, getCoreV1APIResources, listCoreV1ComponentStatus, listCoreV1ConfigMapForAllNamespaces, listCoreV1EndpointsForAllNamespaces, listCoreV1EventForAllNamespaces, listCoreV1LimitRangeForAllNamespaces, listCoreV1Namespace, listCoreV1NamespacedConfigMap, listCoreV1NamespacedEndpoints, listCoreV1NamespacedEvent, listCoreV1NamespacedLimitRange, listCoreV1NamespacedPersistentVolumeClaim, listCoreV1NamespacedPod, listCoreV1NamespacedPodTemplate, listCoreV1NamespacedReplicationController, listCoreV1NamespacedResourceQuota, listCoreV1NamespacedSecret, listCoreV1NamespacedService, listCoreV1NamespacedServiceAccount, listCoreV1Node, listCoreV1PersistentVolume, listCoreV1PersistentVolumeClaimForAllNamespaces, listCoreV1PodForAllNamespaces, listCoreV1PodTemplateForAllNamespaces, listCoreV1ReplicationControllerForAllNamespaces, listCoreV1ResourceQuotaForAllNamespaces, listCoreV1SecretForAllNamespaces, listCoreV1ServiceAccountForAllNamespaces, listCoreV1ServiceForAllNamespaces, patchCoreV1Namespace, patchCoreV1NamespaceStatus, patchCoreV1NamespacedConfigMap, patchCoreV1NamespacedEndpoints, patchCoreV1NamespacedEvent, patchCoreV1NamespacedLimitRange, patchCoreV1NamespacedPersistentVolumeClaim, patchCoreV1NamespacedPersistentVolumeClaimStatus, patchCoreV1NamespacedPod, patchCoreV1NamespacedPodStatus, patchCoreV1NamespacedPodTemplate, patchCoreV1NamespacedReplicationController, patchCoreV1NamespacedReplicationControllerScale, patchCoreV1NamespacedReplicationControllerStatus, patchCoreV1NamespacedResourceQuota, patchCoreV1NamespacedResourceQuotaStatus, patchCoreV1NamespacedSecret, patchCoreV1NamespacedService, patchCoreV1NamespacedServiceAccount, patchCoreV1NamespacedServiceStatus, patchCoreV1Node, patchCoreV1NodeStatus, patchCoreV1PersistentVolume, patchCoreV1PersistentVolumeStatus, readCoreV1ComponentStatus, readCoreV1Namespace, readCoreV1NamespaceStatus, readCoreV1NamespacedConfigMap, readCoreV1NamespacedEndpoints, readCoreV1NamespacedEvent, readCoreV1NamespacedLimitRange, readCoreV1NamespacedPersistentVolumeClaim, readCoreV1NamespacedPersistentVolumeClaimStatus, readCoreV1NamespacedPod, readCoreV1NamespacedPodLog, readCoreV1NamespacedPodStatus, readCoreV1NamespacedPodTemplate, readCoreV1NamespacedReplicationController, readCoreV1NamespacedReplicationControllerScale, readCoreV1NamespacedReplicationControllerStatus, readCoreV1NamespacedResourceQuota, readCoreV1NamespacedResourceQuotaStatus, readCoreV1NamespacedSecret, readCoreV1NamespacedService, readCoreV1NamespacedServiceAccount, readCoreV1NamespacedServiceStatus, readCoreV1Node, readCoreV1NodeStatus, readCoreV1PersistentVolume, readCoreV1PersistentVolumeStatus, replaceCoreV1Namespace, replaceCoreV1NamespaceFinalize, replaceCoreV1NamespaceStatus, replaceCoreV1NamespacedConfigMap, replaceCoreV1NamespacedEndpoints, replaceCoreV1NamespacedEvent, replaceCoreV1NamespacedLimitRange, replaceCoreV1NamespacedPersistentVolumeClaim, replaceCoreV1NamespacedPersistentVolumeClaimStatus, replaceCoreV1NamespacedPod, replaceCoreV1NamespacedPodStatus, replaceCoreV1NamespacedPodTemplate, replaceCoreV1NamespacedReplicationController, replaceCoreV1NamespacedReplicationControllerScale, replaceCoreV1NamespacedReplicationControllerStatus, replaceCoreV1NamespacedResourceQuota, replaceCoreV1NamespacedResourceQuotaStatus, replaceCoreV1NamespacedSecret, replaceCoreV1NamespacedService, replaceCoreV1NamespacedServiceAccount, replaceCoreV1NamespacedServiceStatus, replaceCoreV1Node, replaceCoreV1NodeStatus, replaceCoreV1PersistentVolume, replaceCoreV1PersistentVolumeStatus, watchCoreV1ConfigMapListForAllNamespaces, watchCoreV1EndpointsListForAllNamespaces, watchCoreV1EventListForAllNamespaces, watchCoreV1LimitRangeListForAllNamespaces, watchCoreV1Namespace, watchCoreV1NamespaceList, watchCoreV1NamespacedConfigMap, watchCoreV1NamespacedConfigMapList, watchCoreV1NamespacedEndpoints, watchCoreV1NamespacedEndpointsList, watchCoreV1NamespacedEvent, watchCoreV1NamespacedEventList, watchCoreV1NamespacedLimitRange, watchCoreV1NamespacedLimitRangeList, watchCoreV1NamespacedPersistentVolumeClaim, watchCoreV1NamespacedPersistentVolumeClaimList, watchCoreV1NamespacedPod, watchCoreV1NamespacedPodList, watchCoreV1NamespacedPodTemplate, watchCoreV1NamespacedPodTemplateList, watchCoreV1NamespacedReplicationController, watchCoreV1NamespacedReplicationControllerList, watchCoreV1NamespacedResourceQuota, watchCoreV1NamespacedResourceQuotaList, watchCoreV1NamespacedSecret, watchCoreV1NamespacedSecretList, watchCoreV1NamespacedService, watchCoreV1NamespacedServiceAccount, watchCoreV1NamespacedServiceAccountList, watchCoreV1NamespacedServiceList, watchCoreV1Node, watchCoreV1NodeList, watchCoreV1PersistentVolume, watchCoreV1PersistentVolumeClaimListForAllNamespaces, watchCoreV1PersistentVolumeList, watchCoreV1PodListForAllNamespaces, watchCoreV1PodTemplateListForAllNamespaces, watchCoreV1ReplicationControllerListForAllNamespaces, watchCoreV1ResourceQuotaListForAllNamespaces, watchCoreV1SecretListForAllNamespaces, watchCoreV1ServiceAccountListForAllNamespaces, watchCoreV1ServiceListForAllNamespaces diff --git a/src/ApiImpl/api/api_CustomMetricsV1beta1Api.jl b/src/ApiImpl/api/api_CustomMetricsV1beta1Api.jl deleted file mode 100644 index 8b1cc981..00000000 --- a/src/ApiImpl/api/api_CustomMetricsV1beta1Api.jl +++ /dev/null @@ -1,74 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct CustomMetricsV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_listCustomMetricsV1beta1MetricValue(_api::CustomMetricsV1beta1Api, compositemetricname::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCustomMetricsV1beta1MetricValueList, "/apis/custom.metrics.k8s.io/v1beta1/{compositemetricname}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "compositemetricname", compositemetricname) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -Retrieve the given metric for the given non-namespaced object (e.g. Node, PersistentVolume). Composite metric name is of the form \"//\" Passing '*' for objectname would retrieve the given metric for all non-namespaced objects of the given type. -Param: compositemetricname::String (required) -Param: pretty::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Return: IoK8sApiCustomMetricsV1beta1MetricValueList -""" -function listCustomMetricsV1beta1MetricValue(_api::CustomMetricsV1beta1Api, compositemetricname::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCustomMetricsV1beta1MetricValue(_api, compositemetricname; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCustomMetricsV1beta1MetricValue(_api::CustomMetricsV1beta1Api, response_stream::Channel, compositemetricname::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCustomMetricsV1beta1MetricValue(_api, compositemetricname; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listCustomMetricsV1beta1NamespacedMetricValue(_api::CustomMetricsV1beta1Api, compositemetricname::String, namespace::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiCustomMetricsV1beta1MetricValueList, "/apis/custom.metrics.k8s.io/v1beta1/namespaces/{namespace}/{compositemetricname}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "compositemetricname", compositemetricname) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -retrieve the given metric (in composite form) which describes the given namespace. Composite form of metrics can be either \"metric/\" to fetch metrics of all objects in the namespace, or \"//\" to fetch metrics of the specified object type and name. Passing \"*\" for objectname would fetch metrics of all objects of the specified type in the namespace. -Param: compositemetricname::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Return: IoK8sApiCustomMetricsV1beta1MetricValueList -""" -function listCustomMetricsV1beta1NamespacedMetricValue(_api::CustomMetricsV1beta1Api, compositemetricname::String, namespace::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCustomMetricsV1beta1NamespacedMetricValue(_api, compositemetricname, namespace; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listCustomMetricsV1beta1NamespacedMetricValue(_api::CustomMetricsV1beta1Api, response_stream::Channel, compositemetricname::String, namespace::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listCustomMetricsV1beta1NamespacedMetricValue(_api, compositemetricname, namespace; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export listCustomMetricsV1beta1MetricValue, listCustomMetricsV1beta1NamespacedMetricValue diff --git a/src/ApiImpl/api/api_DiscoveryApi.jl b/src/ApiImpl/api/api_DiscoveryApi.jl deleted file mode 100644 index 6d146d32..00000000 --- a/src/ApiImpl/api/api_DiscoveryApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct DiscoveryApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getDiscoveryAPIGroup(_api::DiscoveryApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/discovery.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getDiscoveryAPIGroup(_api::DiscoveryApi; _mediaType=nothing) - _ctx = _swaggerinternal_getDiscoveryAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getDiscoveryAPIGroup(_api::DiscoveryApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getDiscoveryAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getDiscoveryAPIGroup diff --git a/src/ApiImpl/api/api_DiscoveryV1beta1Api.jl b/src/ApiImpl/api/api_DiscoveryV1beta1Api.jl deleted file mode 100644 index 4c61fb34..00000000 --- a/src/ApiImpl/api/api_DiscoveryV1beta1Api.jl +++ /dev/null @@ -1,457 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct DiscoveryV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiDiscoveryV1beta1EndpointSlice, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an EndpointSlice -Param: namespace::String (required) -Param: body::IoK8sApiDiscoveryV1beta1EndpointSlice (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiDiscoveryV1beta1EndpointSlice -""" -function createDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createDiscoveryV1beta1NamespacedEndpointSlice(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createDiscoveryV1beta1NamespacedEndpointSlice(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of EndpointSlice -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an EndpointSlice -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getDiscoveryV1beta1APIResources(_api::DiscoveryV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/discovery.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getDiscoveryV1beta1APIResources(_api::DiscoveryV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getDiscoveryV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getDiscoveryV1beta1APIResources(_api::DiscoveryV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getDiscoveryV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api::DiscoveryV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiDiscoveryV1beta1EndpointSliceList, "/apis/discovery.k8s.io/v1beta1/endpointslices", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind EndpointSlice -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiDiscoveryV1beta1EndpointSliceList -""" -function listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api::DiscoveryV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api::DiscoveryV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiDiscoveryV1beta1EndpointSliceList, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind EndpointSlice -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiDiscoveryV1beta1EndpointSliceList -""" -function listDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listDiscoveryV1beta1NamespacedEndpointSlice(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listDiscoveryV1beta1NamespacedEndpointSlice(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiDiscoveryV1beta1EndpointSlice, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified EndpointSlice -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiDiscoveryV1beta1EndpointSlice -""" -function patchDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiDiscoveryV1beta1EndpointSlice, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified EndpointSlice -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiDiscoveryV1beta1EndpointSlice -""" -function readDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiDiscoveryV1beta1EndpointSlice, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified EndpointSlice -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiDiscoveryV1beta1EndpointSlice (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiDiscoveryV1beta1EndpointSlice -""" -function replaceDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api::DiscoveryV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/discovery.k8s.io/v1beta1/watch/endpointslices", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api::DiscoveryV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api::DiscoveryV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchDiscoveryV1beta1NamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchDiscoveryV1beta1NamespacedEndpointSliceList(_api::DiscoveryV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchDiscoveryV1beta1NamespacedEndpointSliceList(_api::DiscoveryV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchDiscoveryV1beta1NamespacedEndpointSliceList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchDiscoveryV1beta1NamespacedEndpointSliceList(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchDiscoveryV1beta1NamespacedEndpointSliceList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createDiscoveryV1beta1NamespacedEndpointSlice, deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice, deleteDiscoveryV1beta1NamespacedEndpointSlice, getDiscoveryV1beta1APIResources, listDiscoveryV1beta1EndpointSliceForAllNamespaces, listDiscoveryV1beta1NamespacedEndpointSlice, patchDiscoveryV1beta1NamespacedEndpointSlice, readDiscoveryV1beta1NamespacedEndpointSlice, replaceDiscoveryV1beta1NamespacedEndpointSlice, watchDiscoveryV1beta1EndpointSliceListForAllNamespaces, watchDiscoveryV1beta1NamespacedEndpointSlice, watchDiscoveryV1beta1NamespacedEndpointSliceList diff --git a/src/ApiImpl/api/api_EventsApi.jl b/src/ApiImpl/api/api_EventsApi.jl deleted file mode 100644 index f348de84..00000000 --- a/src/ApiImpl/api/api_EventsApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct EventsApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getEventsAPIGroup(_api::EventsApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/events.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getEventsAPIGroup(_api::EventsApi; _mediaType=nothing) - _ctx = _swaggerinternal_getEventsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getEventsAPIGroup(_api::EventsApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getEventsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getEventsAPIGroup diff --git a/src/ApiImpl/api/api_EventsV1beta1Api.jl b/src/ApiImpl/api/api_EventsV1beta1Api.jl deleted file mode 100644 index 904806b4..00000000 --- a/src/ApiImpl/api/api_EventsV1beta1Api.jl +++ /dev/null @@ -1,457 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct EventsV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiEventsV1beta1Event, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an Event -Param: namespace::String (required) -Param: body::IoK8sApiEventsV1beta1Event (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiEventsV1beta1Event -""" -function createEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createEventsV1beta1NamespacedEvent(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createEventsV1beta1NamespacedEvent(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteEventsV1beta1CollectionNamespacedEvent(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Event -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteEventsV1beta1CollectionNamespacedEvent(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteEventsV1beta1CollectionNamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteEventsV1beta1CollectionNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteEventsV1beta1CollectionNamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an Event -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteEventsV1beta1NamespacedEvent(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteEventsV1beta1NamespacedEvent(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getEventsV1beta1APIResources(_api::EventsV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/events.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getEventsV1beta1APIResources(_api::EventsV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getEventsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getEventsV1beta1APIResources(_api::EventsV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getEventsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listEventsV1beta1EventForAllNamespaces(_api::EventsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiEventsV1beta1EventList, "/apis/events.k8s.io/v1beta1/events", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Event -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiEventsV1beta1EventList -""" -function listEventsV1beta1EventForAllNamespaces(_api::EventsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listEventsV1beta1EventForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listEventsV1beta1EventForAllNamespaces(_api::EventsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listEventsV1beta1EventForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiEventsV1beta1EventList, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Event -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiEventsV1beta1EventList -""" -function listEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listEventsV1beta1NamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listEventsV1beta1NamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiEventsV1beta1Event, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Event -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiEventsV1beta1Event -""" -function patchEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchEventsV1beta1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchEventsV1beta1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiEventsV1beta1Event, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Event -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiEventsV1beta1Event -""" -function readEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readEventsV1beta1NamespacedEvent(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readEventsV1beta1NamespacedEvent(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiEventsV1beta1Event, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Event -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiEventsV1beta1Event (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiEventsV1beta1Event -""" -function replaceEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceEventsV1beta1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceEventsV1beta1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchEventsV1beta1EventListForAllNamespaces(_api::EventsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/events.k8s.io/v1beta1/watch/events", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchEventsV1beta1EventListForAllNamespaces(_api::EventsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchEventsV1beta1EventListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchEventsV1beta1EventListForAllNamespaces(_api::EventsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchEventsV1beta1EventListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchEventsV1beta1NamespacedEvent(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchEventsV1beta1NamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchEventsV1beta1NamespacedEvent(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchEventsV1beta1NamespacedEventList(_api::EventsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchEventsV1beta1NamespacedEventList(_api::EventsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchEventsV1beta1NamespacedEventList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchEventsV1beta1NamespacedEventList(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchEventsV1beta1NamespacedEventList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createEventsV1beta1NamespacedEvent, deleteEventsV1beta1CollectionNamespacedEvent, deleteEventsV1beta1NamespacedEvent, getEventsV1beta1APIResources, listEventsV1beta1EventForAllNamespaces, listEventsV1beta1NamespacedEvent, patchEventsV1beta1NamespacedEvent, readEventsV1beta1NamespacedEvent, replaceEventsV1beta1NamespacedEvent, watchEventsV1beta1EventListForAllNamespaces, watchEventsV1beta1NamespacedEvent, watchEventsV1beta1NamespacedEventList diff --git a/src/ApiImpl/api/api_ExtensionsApi.jl b/src/ApiImpl/api/api_ExtensionsApi.jl deleted file mode 100644 index 91930eb8..00000000 --- a/src/ApiImpl/api/api_ExtensionsApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ExtensionsApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getExtensionsAPIGroup(_api::ExtensionsApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/extensions/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getExtensionsAPIGroup(_api::ExtensionsApi; _mediaType=nothing) - _ctx = _swaggerinternal_getExtensionsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getExtensionsAPIGroup(_api::ExtensionsApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getExtensionsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getExtensionsAPIGroup diff --git a/src/ApiImpl/api/api_ExtensionsV1beta1Api.jl b/src/ApiImpl/api/api_ExtensionsV1beta1Api.jl deleted file mode 100644 index 294c947e..00000000 --- a/src/ApiImpl/api/api_ExtensionsV1beta1Api.jl +++ /dev/null @@ -1,3199 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct ExtensionsV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a DaemonSet -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function createExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Deployment -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function createExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createExtensionsV1beta1NamespacedDeploymentRollback(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create rollback of a Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1DeploymentRollback (required) -Param: dryRun::String -Param: fieldManager::String -Param: pretty::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function createExtensionsV1beta1NamespacedDeploymentRollback(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedDeploymentRollback(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1NamespacedDeploymentRollback(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedDeploymentRollback(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an Ingress -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Ingress (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function createExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedIngress(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedIngress(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiExtensionsV1beta1NetworkPolicy, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a NetworkPolicy -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1NetworkPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1NetworkPolicy -""" -function createExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedNetworkPolicy(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedNetworkPolicy(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ReplicaSet -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function createExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiExtensionsV1beta1PodSecurityPolicy, "/apis/extensions/v1beta1/podsecuritypolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PodSecurityPolicy -Param: body::IoK8sApiExtensionsV1beta1PodSecurityPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy -""" -function createExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1PodSecurityPolicy(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createExtensionsV1beta1PodSecurityPolicy(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of DaemonSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1CollectionNamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1CollectionNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Ingress -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1CollectionNamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1CollectionNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of NetworkPolicy -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ReplicaSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api::ExtensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/podsecuritypolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PodSecurityPolicy -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api::ExtensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PodSecurityPolicy -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1PodSecurityPolicy(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteExtensionsV1beta1PodSecurityPolicy(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getExtensionsV1beta1APIResources(_api::ExtensionsV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/extensions/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getExtensionsV1beta1APIResources(_api::ExtensionsV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getExtensionsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getExtensionsV1beta1APIResources(_api::ExtensionsV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getExtensionsV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1DaemonSetForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1DaemonSetList, "/apis/extensions/v1beta1/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind DaemonSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1DaemonSetList -""" -function listExtensionsV1beta1DaemonSetForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1DaemonSetForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1DeploymentForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1DeploymentList, "/apis/extensions/v1beta1/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1DeploymentList -""" -function listExtensionsV1beta1DeploymentForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1DeploymentForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1IngressForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1IngressList, "/apis/extensions/v1beta1/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Ingress -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1IngressList -""" -function listExtensionsV1beta1IngressForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1IngressForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1IngressForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1IngressForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1DaemonSetList, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind DaemonSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1DaemonSetList -""" -function listExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1DeploymentList, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Deployment -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1DeploymentList -""" -function listExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1IngressList, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Ingress -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1IngressList -""" -function listExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1NetworkPolicyList, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind NetworkPolicy -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1NetworkPolicyList -""" -function listExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1ReplicaSetList, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicaSet -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1ReplicaSetList -""" -function listExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1NetworkPolicyList, "/apis/extensions/v1beta1/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind NetworkPolicy -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1NetworkPolicyList -""" -function listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1PodSecurityPolicyList, "/apis/extensions/v1beta1/podsecuritypolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodSecurityPolicy -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1PodSecurityPolicyList -""" -function listExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1PodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1PodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listExtensionsV1beta1ReplicaSetForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1ReplicaSetList, "/apis/extensions/v1beta1/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ReplicaSet -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiExtensionsV1beta1ReplicaSetList -""" -function listExtensionsV1beta1ReplicaSetForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listExtensionsV1beta1ReplicaSetForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listExtensionsV1beta1ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function patchExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function patchExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function patchExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Scale -""" -function patchExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function patchExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function patchExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function patchExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1NetworkPolicy, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1NetworkPolicy -""" -function patchExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function patchExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Scale -""" -function patchExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function patchExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update scale of the specified ReplicationControllerDummy -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1Scale -""" -function patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiExtensionsV1beta1PodSecurityPolicy, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PodSecurityPolicy -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy -""" -function patchExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchExtensionsV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function readExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function readExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function readExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1Scale -""" -function readExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function readExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function readExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function readExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1NetworkPolicy, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiExtensionsV1beta1NetworkPolicy -""" -function readExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function readExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1Scale -""" -function readExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function readExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read scale of the specified ReplicationControllerDummy -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiExtensionsV1beta1Scale -""" -function readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiExtensionsV1beta1PodSecurityPolicy, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PodSecurityPolicy -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy -""" -function readExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1PodSecurityPolicy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readExtensionsV1beta1PodSecurityPolicy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function replaceExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1DaemonSet, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified DaemonSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1DaemonSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1DaemonSet -""" -function replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function replaceExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Scale -""" -function replaceExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedDeploymentScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Deployment, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Deployment -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Deployment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Deployment -""" -function replaceExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Ingress (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function replaceExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Ingress, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Ingress (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Ingress -""" -function replaceExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedIngressStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1NetworkPolicy, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1NetworkPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1NetworkPolicy -""" -function replaceExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function replaceExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Scale -""" -function replaceExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1ReplicaSet, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified ReplicaSet -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1ReplicaSet (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1ReplicaSet -""" -function replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1Scale, "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace scale of the specified ReplicationControllerDummy -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiExtensionsV1beta1Scale (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1Scale -""" -function replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiExtensionsV1beta1PodSecurityPolicy, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PodSecurityPolicy -Param: name::String (required) -Param: body::IoK8sApiExtensionsV1beta1PodSecurityPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy -""" -function replaceExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceExtensionsV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1DeploymentListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1DeploymentListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1DeploymentListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1IngressListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1IngressListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1IngressListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1IngressListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1IngressListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedDaemonSetList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedDaemonSetList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedDaemonSetList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedDeploymentList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedDeploymentList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedDeploymentList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedIngress(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedIngress(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedIngressList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedIngressList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedIngressList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedIngressList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedIngressList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedNetworkPolicyList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedNetworkPolicyList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedNetworkPolicyList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedNetworkPolicyList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedNetworkPolicyList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NamespacedReplicaSetList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NamespacedReplicaSetList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NamespacedReplicaSetList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1PodSecurityPolicy(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1PodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1PodSecurityPolicy(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1PodSecurityPolicyList(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/podsecuritypolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1PodSecurityPolicyList(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1PodSecurityPolicyList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1PodSecurityPolicyList(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1PodSecurityPolicyList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/extensions/v1beta1/watch/replicasets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createExtensionsV1beta1NamespacedDaemonSet, createExtensionsV1beta1NamespacedDeployment, createExtensionsV1beta1NamespacedDeploymentRollback, createExtensionsV1beta1NamespacedIngress, createExtensionsV1beta1NamespacedNetworkPolicy, createExtensionsV1beta1NamespacedReplicaSet, createExtensionsV1beta1PodSecurityPolicy, deleteExtensionsV1beta1CollectionNamespacedDaemonSet, deleteExtensionsV1beta1CollectionNamespacedDeployment, deleteExtensionsV1beta1CollectionNamespacedIngress, deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy, deleteExtensionsV1beta1CollectionNamespacedReplicaSet, deleteExtensionsV1beta1CollectionPodSecurityPolicy, deleteExtensionsV1beta1NamespacedDaemonSet, deleteExtensionsV1beta1NamespacedDeployment, deleteExtensionsV1beta1NamespacedIngress, deleteExtensionsV1beta1NamespacedNetworkPolicy, deleteExtensionsV1beta1NamespacedReplicaSet, deleteExtensionsV1beta1PodSecurityPolicy, getExtensionsV1beta1APIResources, listExtensionsV1beta1DaemonSetForAllNamespaces, listExtensionsV1beta1DeploymentForAllNamespaces, listExtensionsV1beta1IngressForAllNamespaces, listExtensionsV1beta1NamespacedDaemonSet, listExtensionsV1beta1NamespacedDeployment, listExtensionsV1beta1NamespacedIngress, listExtensionsV1beta1NamespacedNetworkPolicy, listExtensionsV1beta1NamespacedReplicaSet, listExtensionsV1beta1NetworkPolicyForAllNamespaces, listExtensionsV1beta1PodSecurityPolicy, listExtensionsV1beta1ReplicaSetForAllNamespaces, patchExtensionsV1beta1NamespacedDaemonSet, patchExtensionsV1beta1NamespacedDaemonSetStatus, patchExtensionsV1beta1NamespacedDeployment, patchExtensionsV1beta1NamespacedDeploymentScale, patchExtensionsV1beta1NamespacedDeploymentStatus, patchExtensionsV1beta1NamespacedIngress, patchExtensionsV1beta1NamespacedIngressStatus, patchExtensionsV1beta1NamespacedNetworkPolicy, patchExtensionsV1beta1NamespacedReplicaSet, patchExtensionsV1beta1NamespacedReplicaSetScale, patchExtensionsV1beta1NamespacedReplicaSetStatus, patchExtensionsV1beta1NamespacedReplicationControllerDummyScale, patchExtensionsV1beta1PodSecurityPolicy, readExtensionsV1beta1NamespacedDaemonSet, readExtensionsV1beta1NamespacedDaemonSetStatus, readExtensionsV1beta1NamespacedDeployment, readExtensionsV1beta1NamespacedDeploymentScale, readExtensionsV1beta1NamespacedDeploymentStatus, readExtensionsV1beta1NamespacedIngress, readExtensionsV1beta1NamespacedIngressStatus, readExtensionsV1beta1NamespacedNetworkPolicy, readExtensionsV1beta1NamespacedReplicaSet, readExtensionsV1beta1NamespacedReplicaSetScale, readExtensionsV1beta1NamespacedReplicaSetStatus, readExtensionsV1beta1NamespacedReplicationControllerDummyScale, readExtensionsV1beta1PodSecurityPolicy, replaceExtensionsV1beta1NamespacedDaemonSet, replaceExtensionsV1beta1NamespacedDaemonSetStatus, replaceExtensionsV1beta1NamespacedDeployment, replaceExtensionsV1beta1NamespacedDeploymentScale, replaceExtensionsV1beta1NamespacedDeploymentStatus, replaceExtensionsV1beta1NamespacedIngress, replaceExtensionsV1beta1NamespacedIngressStatus, replaceExtensionsV1beta1NamespacedNetworkPolicy, replaceExtensionsV1beta1NamespacedReplicaSet, replaceExtensionsV1beta1NamespacedReplicaSetScale, replaceExtensionsV1beta1NamespacedReplicaSetStatus, replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale, replaceExtensionsV1beta1PodSecurityPolicy, watchExtensionsV1beta1DaemonSetListForAllNamespaces, watchExtensionsV1beta1DeploymentListForAllNamespaces, watchExtensionsV1beta1IngressListForAllNamespaces, watchExtensionsV1beta1NamespacedDaemonSet, watchExtensionsV1beta1NamespacedDaemonSetList, watchExtensionsV1beta1NamespacedDeployment, watchExtensionsV1beta1NamespacedDeploymentList, watchExtensionsV1beta1NamespacedIngress, watchExtensionsV1beta1NamespacedIngressList, watchExtensionsV1beta1NamespacedNetworkPolicy, watchExtensionsV1beta1NamespacedNetworkPolicyList, watchExtensionsV1beta1NamespacedReplicaSet, watchExtensionsV1beta1NamespacedReplicaSetList, watchExtensionsV1beta1NetworkPolicyListForAllNamespaces, watchExtensionsV1beta1PodSecurityPolicy, watchExtensionsV1beta1PodSecurityPolicyList, watchExtensionsV1beta1ReplicaSetListForAllNamespaces diff --git a/src/ApiImpl/api/api_FlowcontrolApiserverApi.jl b/src/ApiImpl/api/api_FlowcontrolApiserverApi.jl deleted file mode 100644 index 706680cf..00000000 --- a/src/ApiImpl/api/api_FlowcontrolApiserverApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct FlowcontrolApiserverApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getFlowcontrolApiserverAPIGroup(_api::FlowcontrolApiserverApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/flowcontrol.apiserver.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getFlowcontrolApiserverAPIGroup(_api::FlowcontrolApiserverApi; _mediaType=nothing) - _ctx = _swaggerinternal_getFlowcontrolApiserverAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getFlowcontrolApiserverAPIGroup(_api::FlowcontrolApiserverApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getFlowcontrolApiserverAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getFlowcontrolApiserverAPIGroup diff --git a/src/ApiImpl/api/api_FlowcontrolApiserverV1alpha1Api.jl b/src/ApiImpl/api/api_FlowcontrolApiserverV1alpha1Api.jl deleted file mode 100644 index b7b7eddb..00000000 --- a/src/ApiImpl/api/api_FlowcontrolApiserverV1alpha1Api.jl +++ /dev/null @@ -1,868 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct FlowcontrolApiserverV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a FlowSchema -Param: body::IoK8sApiFlowcontrolV1alpha1FlowSchema (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function createFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createFlowcontrolApiserverV1alpha1FlowSchema(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createFlowcontrolApiserverV1alpha1FlowSchema(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PriorityLevelConfiguration -Param: body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of FlowSchema -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PriorityLevelConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a FlowSchema -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1FlowSchema(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1FlowSchema(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PriorityLevelConfiguration -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getFlowcontrolApiserverV1alpha1APIResources(_api::FlowcontrolApiserverV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getFlowcontrolApiserverV1alpha1APIResources(_api::FlowcontrolApiserverV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getFlowcontrolApiserverV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getFlowcontrolApiserverV1alpha1APIResources(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getFlowcontrolApiserverV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiFlowcontrolV1alpha1FlowSchemaList, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind FlowSchema -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiFlowcontrolV1alpha1FlowSchemaList -""" -function listFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listFlowcontrolApiserverV1alpha1FlowSchema(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listFlowcontrolApiserverV1alpha1FlowSchema(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PriorityLevelConfiguration -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList -""" -function listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified FlowSchema -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function patchFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1FlowSchema(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1FlowSchema(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified FlowSchema -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PriorityLevelConfiguration -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified PriorityLevelConfiguration -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified FlowSchema -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function readFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1FlowSchema(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1FlowSchema(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified FlowSchema -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PriorityLevelConfiguration -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified PriorityLevelConfiguration -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified FlowSchema -Param: name::String (required) -Param: body::IoK8sApiFlowcontrolV1alpha1FlowSchema (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function replaceFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1FlowSchema(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1FlowSchema(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiFlowcontrolV1alpha1FlowSchema, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified FlowSchema -Param: name::String (required) -Param: body::IoK8sApiFlowcontrolV1alpha1FlowSchema (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiFlowcontrolV1alpha1FlowSchema -""" -function replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PriorityLevelConfiguration -Param: name::String (required) -Param: body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified PriorityLevelConfiguration -Param: name::String (required) -Param: body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration -""" -function replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1FlowSchema(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchFlowcontrolApiserverV1alpha1FlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1FlowSchema(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api::FlowcontrolApiserverV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api::FlowcontrolApiserverV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api::FlowcontrolApiserverV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api::FlowcontrolApiserverV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createFlowcontrolApiserverV1alpha1FlowSchema, createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema, deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration, deleteFlowcontrolApiserverV1alpha1FlowSchema, deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, getFlowcontrolApiserverV1alpha1APIResources, listFlowcontrolApiserverV1alpha1FlowSchema, listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, patchFlowcontrolApiserverV1alpha1FlowSchema, patchFlowcontrolApiserverV1alpha1FlowSchemaStatus, patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus, readFlowcontrolApiserverV1alpha1FlowSchema, readFlowcontrolApiserverV1alpha1FlowSchemaStatus, readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus, replaceFlowcontrolApiserverV1alpha1FlowSchema, replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus, replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus, watchFlowcontrolApiserverV1alpha1FlowSchema, watchFlowcontrolApiserverV1alpha1FlowSchemaList, watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration, watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList diff --git a/src/ApiImpl/api/api_LogsApi.jl b/src/ApiImpl/api/api_LogsApi.jl deleted file mode 100644 index 7f420c90..00000000 --- a/src/ApiImpl/api/api_LogsApi.jl +++ /dev/null @@ -1,54 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct LogsApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_logFileHandler(_api::LogsApi, logpath::String; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", Nothing, "/logs/{logpath}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "logpath", logpath) # type String - Swagger.set_header_accept(_ctx, []) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -""" - - -Param: logpath::String (required) -Return: Nothing -""" -function logFileHandler(_api::LogsApi, logpath::String; _mediaType=nothing) - _ctx = _swaggerinternal_logFileHandler(_api, logpath; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function logFileHandler(_api::LogsApi, response_stream::Channel, logpath::String; _mediaType=nothing) - _ctx = _swaggerinternal_logFileHandler(_api, logpath; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_logFileListHandler(_api::LogsApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", Nothing, "/logs/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, []) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -""" - - -Return: Nothing -""" -function logFileListHandler(_api::LogsApi; _mediaType=nothing) - _ctx = _swaggerinternal_logFileListHandler(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function logFileListHandler(_api::LogsApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_logFileListHandler(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export logFileHandler, logFileListHandler diff --git a/src/ApiImpl/api/api_MetricsV1beta1Api.jl b/src/ApiImpl/api/api_MetricsV1beta1Api.jl deleted file mode 100644 index e45ffbe2..00000000 --- a/src/ApiImpl/api/api_MetricsV1beta1Api.jl +++ /dev/null @@ -1,146 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct MetricsV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_listMetricsV1beta1NodeMetrics(_api::MetricsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiMetricsV1beta1NodeMetricsList, "/apis/metrics.k8s.io/v1beta1/nodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind NodeMetrics -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiMetricsV1beta1NodeMetricsList -""" -function listMetricsV1beta1NodeMetrics(_api::MetricsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listMetricsV1beta1NodeMetrics(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listMetricsV1beta1NodeMetrics(_api::MetricsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listMetricsV1beta1NodeMetrics(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listMetricsV1beta1PodMetrics(_api::MetricsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiMetricsV1beta1PodMetricsList, "/apis/metrics.k8s.io/v1beta1/pods", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodMetrics -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiMetricsV1beta1PodMetricsList -""" -function listMetricsV1beta1PodMetrics(_api::MetricsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listMetricsV1beta1PodMetrics(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listMetricsV1beta1PodMetrics(_api::MetricsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listMetricsV1beta1PodMetrics(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readMetricsV1beta1NamespacedPodMetrics(_api::MetricsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiMetricsV1beta1PodMetrics, "/apis/metrics.k8s.io/v1beta1/namespaces/{namespace}/pods/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PodMetrics -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiMetricsV1beta1PodMetrics -""" -function readMetricsV1beta1NamespacedPodMetrics(_api::MetricsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readMetricsV1beta1NamespacedPodMetrics(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readMetricsV1beta1NamespacedPodMetrics(_api::MetricsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readMetricsV1beta1NamespacedPodMetrics(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readMetricsV1beta1NodeMetrics(_api::MetricsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiMetricsV1beta1NodeMetrics, "/apis/metrics.k8s.io/v1beta1/nodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified NodeMetrics -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiMetricsV1beta1NodeMetrics -""" -function readMetricsV1beta1NodeMetrics(_api::MetricsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readMetricsV1beta1NodeMetrics(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readMetricsV1beta1NodeMetrics(_api::MetricsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readMetricsV1beta1NodeMetrics(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export listMetricsV1beta1NodeMetrics, listMetricsV1beta1PodMetrics, readMetricsV1beta1NamespacedPodMetrics, readMetricsV1beta1NodeMetrics diff --git a/src/ApiImpl/api/api_NetworkingApi.jl b/src/ApiImpl/api/api_NetworkingApi.jl deleted file mode 100644 index 1b0de441..00000000 --- a/src/ApiImpl/api/api_NetworkingApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct NetworkingApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getNetworkingAPIGroup(_api::NetworkingApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/networking.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getNetworkingAPIGroup(_api::NetworkingApi; _mediaType=nothing) - _ctx = _swaggerinternal_getNetworkingAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getNetworkingAPIGroup(_api::NetworkingApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getNetworkingAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getNetworkingAPIGroup diff --git a/src/ApiImpl/api/api_NetworkingV1Api.jl b/src/ApiImpl/api/api_NetworkingV1Api.jl deleted file mode 100644 index 0892fd58..00000000 --- a/src/ApiImpl/api/api_NetworkingV1Api.jl +++ /dev/null @@ -1,457 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct NetworkingV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiNetworkingV1NetworkPolicy, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a NetworkPolicy -Param: namespace::String (required) -Param: body::IoK8sApiNetworkingV1NetworkPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNetworkingV1NetworkPolicy -""" -function createNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNetworkingV1NamespacedNetworkPolicy(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNetworkingV1NamespacedNetworkPolicy(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of NetworkPolicy -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getNetworkingV1APIResources(_api::NetworkingV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/networking.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getNetworkingV1APIResources(_api::NetworkingV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getNetworkingV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getNetworkingV1APIResources(_api::NetworkingV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getNetworkingV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1NetworkPolicyList, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind NetworkPolicy -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiNetworkingV1NetworkPolicyList -""" -function listNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1NamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1NamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listNetworkingV1NetworkPolicyForAllNamespaces(_api::NetworkingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1NetworkPolicyList, "/apis/networking.k8s.io/v1/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind NetworkPolicy -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiNetworkingV1NetworkPolicyList -""" -function listNetworkingV1NetworkPolicyForAllNamespaces(_api::NetworkingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1NetworkPolicyForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listNetworkingV1NetworkPolicyForAllNamespaces(_api::NetworkingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1NetworkPolicyForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiNetworkingV1NetworkPolicy, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiNetworkingV1NetworkPolicy -""" -function patchNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNetworkingV1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNetworkingV1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1NetworkPolicy, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiNetworkingV1NetworkPolicy -""" -function readNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiNetworkingV1NetworkPolicy, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified NetworkPolicy -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiNetworkingV1NetworkPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNetworkingV1NetworkPolicy -""" -function replaceNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNetworkingV1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNetworkingV1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNetworkingV1NamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNetworkingV1NamespacedNetworkPolicyList(_api::NetworkingV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNetworkingV1NamespacedNetworkPolicyList(_api::NetworkingV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1NamespacedNetworkPolicyList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNetworkingV1NamespacedNetworkPolicyList(_api::NetworkingV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1NamespacedNetworkPolicyList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNetworkingV1NetworkPolicyListForAllNamespaces(_api::NetworkingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/networking.k8s.io/v1/watch/networkpolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNetworkingV1NetworkPolicyListForAllNamespaces(_api::NetworkingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1NetworkPolicyListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNetworkingV1NetworkPolicyListForAllNamespaces(_api::NetworkingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1NetworkPolicyListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createNetworkingV1NamespacedNetworkPolicy, deleteNetworkingV1CollectionNamespacedNetworkPolicy, deleteNetworkingV1NamespacedNetworkPolicy, getNetworkingV1APIResources, listNetworkingV1NamespacedNetworkPolicy, listNetworkingV1NetworkPolicyForAllNamespaces, patchNetworkingV1NamespacedNetworkPolicy, readNetworkingV1NamespacedNetworkPolicy, replaceNetworkingV1NamespacedNetworkPolicy, watchNetworkingV1NamespacedNetworkPolicy, watchNetworkingV1NamespacedNetworkPolicyList, watchNetworkingV1NetworkPolicyListForAllNamespaces diff --git a/src/ApiImpl/api/api_NetworkingV1beta1Api.jl b/src/ApiImpl/api/api_NetworkingV1beta1Api.jl deleted file mode 100644 index 26364aba..00000000 --- a/src/ApiImpl/api/api_NetworkingV1beta1Api.jl +++ /dev/null @@ -1,553 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct NetworkingV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create an Ingress -Param: namespace::String (required) -Param: body::IoK8sApiNetworkingV1beta1Ingress (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function createNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNetworkingV1beta1NamespacedIngress(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNetworkingV1beta1NamespacedIngress(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNetworkingV1beta1CollectionNamespacedIngress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Ingress -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNetworkingV1beta1CollectionNamespacedIngress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1beta1CollectionNamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNetworkingV1beta1CollectionNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1beta1CollectionNamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete an Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNetworkingV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getNetworkingV1beta1APIResources(_api::NetworkingV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/networking.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getNetworkingV1beta1APIResources(_api::NetworkingV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getNetworkingV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getNetworkingV1beta1APIResources(_api::NetworkingV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getNetworkingV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listNetworkingV1beta1IngressForAllNamespaces(_api::NetworkingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1beta1IngressList, "/apis/networking.k8s.io/v1beta1/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Ingress -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiNetworkingV1beta1IngressList -""" -function listNetworkingV1beta1IngressForAllNamespaces(_api::NetworkingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1beta1IngressForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listNetworkingV1beta1IngressForAllNamespaces(_api::NetworkingV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1beta1IngressForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1beta1IngressList, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Ingress -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiNetworkingV1beta1IngressList -""" -function listNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1beta1NamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNetworkingV1beta1NamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function patchNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNetworkingV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNetworkingV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function patchNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function readNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNetworkingV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNetworkingV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function readNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiNetworkingV1beta1Ingress (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function replaceNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNetworkingV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNetworkingV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiNetworkingV1beta1Ingress, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified Ingress -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiNetworkingV1beta1Ingress (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNetworkingV1beta1Ingress -""" -function replaceNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceNetworkingV1beta1NamespacedIngressStatus(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNetworkingV1beta1IngressListForAllNamespaces(_api::NetworkingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/networking.k8s.io/v1beta1/watch/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNetworkingV1beta1IngressListForAllNamespaces(_api::NetworkingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1beta1IngressListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNetworkingV1beta1IngressListForAllNamespaces(_api::NetworkingV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1beta1IngressListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1beta1NamespacedIngress(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNetworkingV1beta1NamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1beta1NamespacedIngress(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNetworkingV1beta1NamespacedIngressList(_api::NetworkingV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNetworkingV1beta1NamespacedIngressList(_api::NetworkingV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1beta1NamespacedIngressList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNetworkingV1beta1NamespacedIngressList(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNetworkingV1beta1NamespacedIngressList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createNetworkingV1beta1NamespacedIngress, deleteNetworkingV1beta1CollectionNamespacedIngress, deleteNetworkingV1beta1NamespacedIngress, getNetworkingV1beta1APIResources, listNetworkingV1beta1IngressForAllNamespaces, listNetworkingV1beta1NamespacedIngress, patchNetworkingV1beta1NamespacedIngress, patchNetworkingV1beta1NamespacedIngressStatus, readNetworkingV1beta1NamespacedIngress, readNetworkingV1beta1NamespacedIngressStatus, replaceNetworkingV1beta1NamespacedIngress, replaceNetworkingV1beta1NamespacedIngressStatus, watchNetworkingV1beta1IngressListForAllNamespaces, watchNetworkingV1beta1NamespacedIngress, watchNetworkingV1beta1NamespacedIngressList diff --git a/src/ApiImpl/api/api_NodeApi.jl b/src/ApiImpl/api/api_NodeApi.jl deleted file mode 100644 index bdbaf865..00000000 --- a/src/ApiImpl/api/api_NodeApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct NodeApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getNodeAPIGroup(_api::NodeApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/node.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getNodeAPIGroup(_api::NodeApi; _mediaType=nothing) - _ctx = _swaggerinternal_getNodeAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getNodeAPIGroup(_api::NodeApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getNodeAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getNodeAPIGroup diff --git a/src/ApiImpl/api/api_NodeV1alpha1Api.jl b/src/ApiImpl/api/api_NodeV1alpha1Api.jl deleted file mode 100644 index 003600b0..00000000 --- a/src/ApiImpl/api/api_NodeV1alpha1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct NodeV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiNodeV1alpha1RuntimeClass, "/apis/node.k8s.io/v1alpha1/runtimeclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a RuntimeClass -Param: body::IoK8sApiNodeV1alpha1RuntimeClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNodeV1alpha1RuntimeClass -""" -function createNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNodeV1alpha1RuntimeClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNodeV1alpha1RuntimeClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNodeV1alpha1CollectionRuntimeClass(_api::NodeV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/node.k8s.io/v1alpha1/runtimeclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of RuntimeClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNodeV1alpha1CollectionRuntimeClass(_api::NodeV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1alpha1CollectionRuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNodeV1alpha1CollectionRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1alpha1CollectionRuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a RuntimeClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1alpha1RuntimeClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1alpha1RuntimeClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getNodeV1alpha1APIResources(_api::NodeV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/node.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getNodeV1alpha1APIResources(_api::NodeV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getNodeV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getNodeV1alpha1APIResources(_api::NodeV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getNodeV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNodeV1alpha1RuntimeClassList, "/apis/node.k8s.io/v1alpha1/runtimeclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RuntimeClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiNodeV1alpha1RuntimeClassList -""" -function listNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNodeV1alpha1RuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNodeV1alpha1RuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiNodeV1alpha1RuntimeClass, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified RuntimeClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiNodeV1alpha1RuntimeClass -""" -function patchNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNodeV1alpha1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNodeV1alpha1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNodeV1alpha1RuntimeClass, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified RuntimeClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiNodeV1alpha1RuntimeClass -""" -function readNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNodeV1alpha1RuntimeClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNodeV1alpha1RuntimeClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiNodeV1alpha1RuntimeClass, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified RuntimeClass -Param: name::String (required) -Param: body::IoK8sApiNodeV1alpha1RuntimeClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNodeV1alpha1RuntimeClass -""" -function replaceNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNodeV1alpha1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNodeV1alpha1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1alpha1RuntimeClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNodeV1alpha1RuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1alpha1RuntimeClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNodeV1alpha1RuntimeClassList(_api::NodeV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNodeV1alpha1RuntimeClassList(_api::NodeV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1alpha1RuntimeClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNodeV1alpha1RuntimeClassList(_api::NodeV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1alpha1RuntimeClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createNodeV1alpha1RuntimeClass, deleteNodeV1alpha1CollectionRuntimeClass, deleteNodeV1alpha1RuntimeClass, getNodeV1alpha1APIResources, listNodeV1alpha1RuntimeClass, patchNodeV1alpha1RuntimeClass, readNodeV1alpha1RuntimeClass, replaceNodeV1alpha1RuntimeClass, watchNodeV1alpha1RuntimeClass, watchNodeV1alpha1RuntimeClassList diff --git a/src/ApiImpl/api/api_NodeV1beta1Api.jl b/src/ApiImpl/api/api_NodeV1beta1Api.jl deleted file mode 100644 index b537cdfe..00000000 --- a/src/ApiImpl/api/api_NodeV1beta1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct NodeV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiNodeV1beta1RuntimeClass, "/apis/node.k8s.io/v1beta1/runtimeclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a RuntimeClass -Param: body::IoK8sApiNodeV1beta1RuntimeClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNodeV1beta1RuntimeClass -""" -function createNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNodeV1beta1RuntimeClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createNodeV1beta1RuntimeClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNodeV1beta1CollectionRuntimeClass(_api::NodeV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/node.k8s.io/v1beta1/runtimeclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of RuntimeClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNodeV1beta1CollectionRuntimeClass(_api::NodeV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1beta1CollectionRuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNodeV1beta1CollectionRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1beta1CollectionRuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a RuntimeClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1beta1RuntimeClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteNodeV1beta1RuntimeClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getNodeV1beta1APIResources(_api::NodeV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/node.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getNodeV1beta1APIResources(_api::NodeV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getNodeV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getNodeV1beta1APIResources(_api::NodeV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getNodeV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listNodeV1beta1RuntimeClass(_api::NodeV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNodeV1beta1RuntimeClassList, "/apis/node.k8s.io/v1beta1/runtimeclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RuntimeClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiNodeV1beta1RuntimeClassList -""" -function listNodeV1beta1RuntimeClass(_api::NodeV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNodeV1beta1RuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listNodeV1beta1RuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiNodeV1beta1RuntimeClass, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified RuntimeClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiNodeV1beta1RuntimeClass -""" -function patchNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNodeV1beta1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchNodeV1beta1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiNodeV1beta1RuntimeClass, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified RuntimeClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiNodeV1beta1RuntimeClass -""" -function readNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNodeV1beta1RuntimeClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readNodeV1beta1RuntimeClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiNodeV1beta1RuntimeClass, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified RuntimeClass -Param: name::String (required) -Param: body::IoK8sApiNodeV1beta1RuntimeClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiNodeV1beta1RuntimeClass -""" -function replaceNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNodeV1beta1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceNodeV1beta1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/node.k8s.io/v1beta1/watch/runtimeclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1beta1RuntimeClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNodeV1beta1RuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1beta1RuntimeClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchNodeV1beta1RuntimeClassList(_api::NodeV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/node.k8s.io/v1beta1/watch/runtimeclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchNodeV1beta1RuntimeClassList(_api::NodeV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1beta1RuntimeClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchNodeV1beta1RuntimeClassList(_api::NodeV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchNodeV1beta1RuntimeClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createNodeV1beta1RuntimeClass, deleteNodeV1beta1CollectionRuntimeClass, deleteNodeV1beta1RuntimeClass, getNodeV1beta1APIResources, listNodeV1beta1RuntimeClass, patchNodeV1beta1RuntimeClass, readNodeV1beta1RuntimeClass, replaceNodeV1beta1RuntimeClass, watchNodeV1beta1RuntimeClass, watchNodeV1beta1RuntimeClassList diff --git a/src/ApiImpl/api/api_PolicyApi.jl b/src/ApiImpl/api/api_PolicyApi.jl deleted file mode 100644 index 55b4906c..00000000 --- a/src/ApiImpl/api/api_PolicyApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct PolicyApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getPolicyAPIGroup(_api::PolicyApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/policy/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getPolicyAPIGroup(_api::PolicyApi; _mediaType=nothing) - _ctx = _swaggerinternal_getPolicyAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getPolicyAPIGroup(_api::PolicyApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getPolicyAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getPolicyAPIGroup diff --git a/src/ApiImpl/api/api_PolicyV1beta1Api.jl b/src/ApiImpl/api/api_PolicyV1beta1Api.jl deleted file mode 100644 index 07d382d4..00000000 --- a/src/ApiImpl/api/api_PolicyV1beta1Api.jl +++ /dev/null @@ -1,882 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct PolicyV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PodDisruptionBudget -Param: namespace::String (required) -Param: body::IoK8sApiPolicyV1beta1PodDisruptionBudget (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function createPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createPolicyV1beta1NamespacedPodDisruptionBudget(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createPolicyV1beta1NamespacedPodDisruptionBudget(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiPolicyV1beta1PodSecurityPolicy, "/apis/policy/v1beta1/podsecuritypolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PodSecurityPolicy -Param: body::IoK8sApiPolicyV1beta1PodSecurityPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiPolicyV1beta1PodSecurityPolicy -""" -function createPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createPolicyV1beta1PodSecurityPolicy(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createPolicyV1beta1PodSecurityPolicy(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PodDisruptionBudget -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deletePolicyV1beta1CollectionPodSecurityPolicy(_api::PolicyV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/policy/v1beta1/podsecuritypolicies", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PodSecurityPolicy -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deletePolicyV1beta1CollectionPodSecurityPolicy(_api::PolicyV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1CollectionPodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deletePolicyV1beta1CollectionPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1CollectionPodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deletePolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deletePolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deletePolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deletePolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PodSecurityPolicy -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deletePolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1PodSecurityPolicy(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deletePolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deletePolicyV1beta1PodSecurityPolicy(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getPolicyV1beta1APIResources(_api::PolicyV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/policy/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getPolicyV1beta1APIResources(_api::PolicyV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getPolicyV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getPolicyV1beta1APIResources(_api::PolicyV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getPolicyV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiPolicyV1beta1PodDisruptionBudgetList, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodDisruptionBudget -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiPolicyV1beta1PodDisruptionBudgetList -""" -function listPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listPolicyV1beta1NamespacedPodDisruptionBudget(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listPolicyV1beta1NamespacedPodDisruptionBudget(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiPolicyV1beta1PodDisruptionBudgetList, "/apis/policy/v1beta1/poddisruptionbudgets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodDisruptionBudget -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiPolicyV1beta1PodDisruptionBudgetList -""" -function listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api::PolicyV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiPolicyV1beta1PodSecurityPolicyList, "/apis/policy/v1beta1/podsecuritypolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodSecurityPolicy -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiPolicyV1beta1PodSecurityPolicyList -""" -function listPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listPolicyV1beta1PodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listPolicyV1beta1PodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function patchPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiPolicyV1beta1PodSecurityPolicy, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PodSecurityPolicy -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiPolicyV1beta1PodSecurityPolicy -""" -function patchPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchPolicyV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchPolicyV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function readPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiPolicyV1beta1PodSecurityPolicy, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PodSecurityPolicy -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiPolicyV1beta1PodSecurityPolicy -""" -function readPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readPolicyV1beta1PodSecurityPolicy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readPolicyV1beta1PodSecurityPolicy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replacePolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiPolicyV1beta1PodDisruptionBudget (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function replacePolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replacePolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replacePolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replacePolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiPolicyV1beta1PodDisruptionBudget, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified PodDisruptionBudget -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiPolicyV1beta1PodDisruptionBudget (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiPolicyV1beta1PodDisruptionBudget -""" -function replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replacePolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiPolicyV1beta1PodSecurityPolicy, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PodSecurityPolicy -Param: name::String (required) -Param: body::IoK8sApiPolicyV1beta1PodSecurityPolicy (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiPolicyV1beta1PodSecurityPolicy -""" -function replacePolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replacePolicyV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replacePolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replacePolicyV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchPolicyV1beta1NamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api::PolicyV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api::PolicyV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/policy/v1beta1/watch/poddisruptionbudgets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api::PolicyV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1PodSecurityPolicy(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchPolicyV1beta1PodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1PodSecurityPolicy(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchPolicyV1beta1PodSecurityPolicyList(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/policy/v1beta1/watch/podsecuritypolicies", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchPolicyV1beta1PodSecurityPolicyList(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1PodSecurityPolicyList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchPolicyV1beta1PodSecurityPolicyList(_api::PolicyV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchPolicyV1beta1PodSecurityPolicyList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createPolicyV1beta1NamespacedPodDisruptionBudget, createPolicyV1beta1PodSecurityPolicy, deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget, deletePolicyV1beta1CollectionPodSecurityPolicy, deletePolicyV1beta1NamespacedPodDisruptionBudget, deletePolicyV1beta1PodSecurityPolicy, getPolicyV1beta1APIResources, listPolicyV1beta1NamespacedPodDisruptionBudget, listPolicyV1beta1PodDisruptionBudgetForAllNamespaces, listPolicyV1beta1PodSecurityPolicy, patchPolicyV1beta1NamespacedPodDisruptionBudget, patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus, patchPolicyV1beta1PodSecurityPolicy, readPolicyV1beta1NamespacedPodDisruptionBudget, readPolicyV1beta1NamespacedPodDisruptionBudgetStatus, readPolicyV1beta1PodSecurityPolicy, replacePolicyV1beta1NamespacedPodDisruptionBudget, replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus, replacePolicyV1beta1PodSecurityPolicy, watchPolicyV1beta1NamespacedPodDisruptionBudget, watchPolicyV1beta1NamespacedPodDisruptionBudgetList, watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces, watchPolicyV1beta1PodSecurityPolicy, watchPolicyV1beta1PodSecurityPolicyList diff --git a/src/ApiImpl/api/api_RbacAuthorizationApi.jl b/src/ApiImpl/api/api_RbacAuthorizationApi.jl deleted file mode 100644 index d8ef0ccb..00000000 --- a/src/ApiImpl/api/api_RbacAuthorizationApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct RbacAuthorizationApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getRbacAuthorizationAPIGroup(_api::RbacAuthorizationApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/rbac.authorization.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getRbacAuthorizationAPIGroup(_api::RbacAuthorizationApi; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getRbacAuthorizationAPIGroup(_api::RbacAuthorizationApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getRbacAuthorizationAPIGroup diff --git a/src/ApiImpl/api/api_RbacAuthorizationV1Api.jl b/src/ApiImpl/api/api_RbacAuthorizationV1Api.jl deleted file mode 100644 index 4bf3f521..00000000 --- a/src/ApiImpl/api/api_RbacAuthorizationV1Api.jl +++ /dev/null @@ -1,1526 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct RbacAuthorizationV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1ClusterRole, "/apis/rbac.authorization.k8s.io/v1/clusterroles", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ClusterRole -Param: body::IoK8sApiRbacV1ClusterRole (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1ClusterRole -""" -function createRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ClusterRoleBinding -Param: body::IoK8sApiRbacV1ClusterRoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1ClusterRoleBinding -""" -function createRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1Role, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Role -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1Role (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1Role -""" -function createRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1RoleBinding, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a RoleBinding -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1RoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1RoleBinding -""" -function createRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ClusterRole -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ClusterRoleBinding -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1CollectionClusterRole(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/clusterroles", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ClusterRole -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1CollectionClusterRole(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1CollectionClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ClusterRoleBinding -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1CollectionNamespacedRole(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Role -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1CollectionNamespacedRole(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1CollectionNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of RoleBinding -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Role -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getRbacAuthorizationV1APIResources(_api::RbacAuthorizationV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/rbac.authorization.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getRbacAuthorizationV1APIResources(_api::RbacAuthorizationV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getRbacAuthorizationV1APIResources(_api::RbacAuthorizationV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1ClusterRoleList, "/apis/rbac.authorization.k8s.io/v1/clusterroles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ClusterRole -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1ClusterRoleList -""" -function listRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1ClusterRoleBindingList, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ClusterRoleBinding -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1ClusterRoleBindingList -""" -function listRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1RoleList, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Role -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1RoleList -""" -function listRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1RoleBindingList, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RoleBinding -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1RoleBindingList -""" -function listRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1RoleBindingList, "/apis/rbac.authorization.k8s.io/v1/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RoleBinding -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1RoleBindingList -""" -function listRbacAuthorizationV1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1RoleForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1RoleList, "/apis/rbac.authorization.k8s.io/v1/roles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Role -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1RoleList -""" -function listRbacAuthorizationV1RoleForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1RoleForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1ClusterRole, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ClusterRole -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1ClusterRole -""" -function patchRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ClusterRoleBinding -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1ClusterRoleBinding -""" -function patchRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1Role, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1Role -""" -function patchRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1RoleBinding, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1RoleBinding -""" -function patchRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1ClusterRole, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ClusterRole -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1ClusterRole -""" -function readRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ClusterRoleBinding -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1ClusterRoleBinding -""" -function readRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1Role, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1Role -""" -function readRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1RoleBinding, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1RoleBinding -""" -function readRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1ClusterRole, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ClusterRole -Param: name::String (required) -Param: body::IoK8sApiRbacV1ClusterRole (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1ClusterRole -""" -function replaceRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ClusterRoleBinding -Param: name::String (required) -Param: body::IoK8sApiRbacV1ClusterRoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1ClusterRoleBinding -""" -function replaceRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1Role, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1Role (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1Role -""" -function replaceRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1RoleBinding, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1RoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1RoleBinding -""" -function replaceRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1ClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1ClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1ClusterRoleBindingList(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1ClusterRoleBindingList(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1ClusterRoleBindingList(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1ClusterRoleList(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1ClusterRoleList(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1ClusterRoleList(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1NamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1NamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleBindingList(_api::RbacAuthorizationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1NamespacedRoleBindingList(_api::RbacAuthorizationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1NamespacedRoleBindingList(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleList(_api::RbacAuthorizationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1NamespacedRoleList(_api::RbacAuthorizationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1NamespacedRoleList(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1RoleListForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1/watch/roles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1RoleListForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1RoleListForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createRbacAuthorizationV1ClusterRole, createRbacAuthorizationV1ClusterRoleBinding, createRbacAuthorizationV1NamespacedRole, createRbacAuthorizationV1NamespacedRoleBinding, deleteRbacAuthorizationV1ClusterRole, deleteRbacAuthorizationV1ClusterRoleBinding, deleteRbacAuthorizationV1CollectionClusterRole, deleteRbacAuthorizationV1CollectionClusterRoleBinding, deleteRbacAuthorizationV1CollectionNamespacedRole, deleteRbacAuthorizationV1CollectionNamespacedRoleBinding, deleteRbacAuthorizationV1NamespacedRole, deleteRbacAuthorizationV1NamespacedRoleBinding, getRbacAuthorizationV1APIResources, listRbacAuthorizationV1ClusterRole, listRbacAuthorizationV1ClusterRoleBinding, listRbacAuthorizationV1NamespacedRole, listRbacAuthorizationV1NamespacedRoleBinding, listRbacAuthorizationV1RoleBindingForAllNamespaces, listRbacAuthorizationV1RoleForAllNamespaces, patchRbacAuthorizationV1ClusterRole, patchRbacAuthorizationV1ClusterRoleBinding, patchRbacAuthorizationV1NamespacedRole, patchRbacAuthorizationV1NamespacedRoleBinding, readRbacAuthorizationV1ClusterRole, readRbacAuthorizationV1ClusterRoleBinding, readRbacAuthorizationV1NamespacedRole, readRbacAuthorizationV1NamespacedRoleBinding, replaceRbacAuthorizationV1ClusterRole, replaceRbacAuthorizationV1ClusterRoleBinding, replaceRbacAuthorizationV1NamespacedRole, replaceRbacAuthorizationV1NamespacedRoleBinding, watchRbacAuthorizationV1ClusterRole, watchRbacAuthorizationV1ClusterRoleBinding, watchRbacAuthorizationV1ClusterRoleBindingList, watchRbacAuthorizationV1ClusterRoleList, watchRbacAuthorizationV1NamespacedRole, watchRbacAuthorizationV1NamespacedRoleBinding, watchRbacAuthorizationV1NamespacedRoleBindingList, watchRbacAuthorizationV1NamespacedRoleList, watchRbacAuthorizationV1RoleBindingListForAllNamespaces, watchRbacAuthorizationV1RoleListForAllNamespaces diff --git a/src/ApiImpl/api/api_RbacAuthorizationV1alpha1Api.jl b/src/ApiImpl/api/api_RbacAuthorizationV1alpha1Api.jl deleted file mode 100644 index bfc85582..00000000 --- a/src/ApiImpl/api/api_RbacAuthorizationV1alpha1Api.jl +++ /dev/null @@ -1,1526 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct RbacAuthorizationV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1alpha1ClusterRole, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ClusterRole -Param: body::IoK8sApiRbacV1alpha1ClusterRole (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1ClusterRole -""" -function createRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1alpha1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ClusterRoleBinding -Param: body::IoK8sApiRbacV1alpha1ClusterRoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1ClusterRoleBinding -""" -function createRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1alpha1Role, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Role -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1alpha1Role (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1Role -""" -function createRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1alpha1RoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a RoleBinding -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1alpha1RoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1RoleBinding -""" -function createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ClusterRole -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ClusterRoleBinding -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ClusterRole -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ClusterRoleBinding -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Role -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of RoleBinding -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Role -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getRbacAuthorizationV1alpha1APIResources(_api::RbacAuthorizationV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/rbac.authorization.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getRbacAuthorizationV1alpha1APIResources(_api::RbacAuthorizationV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getRbacAuthorizationV1alpha1APIResources(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1ClusterRoleList, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ClusterRole -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1alpha1ClusterRoleList -""" -function listRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1ClusterRoleBindingList, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ClusterRoleBinding -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1alpha1ClusterRoleBindingList -""" -function listRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1RoleList, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Role -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1alpha1RoleList -""" -function listRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1RoleBindingList, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RoleBinding -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1alpha1RoleBindingList -""" -function listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1RoleBindingList, "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RoleBinding -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1alpha1RoleBindingList -""" -function listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1RoleList, "/apis/rbac.authorization.k8s.io/v1alpha1/roles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Role -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1alpha1RoleList -""" -function listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1alpha1ClusterRole, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ClusterRole -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1alpha1ClusterRole -""" -function patchRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1alpha1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ClusterRoleBinding -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1alpha1ClusterRoleBinding -""" -function patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1alpha1Role, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1alpha1Role -""" -function patchRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1alpha1RoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1alpha1RoleBinding -""" -function patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1ClusterRole, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ClusterRole -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1alpha1ClusterRole -""" -function readRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ClusterRoleBinding -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1alpha1ClusterRoleBinding -""" -function readRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1Role, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1alpha1Role -""" -function readRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1alpha1RoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1alpha1RoleBinding -""" -function readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1alpha1ClusterRole, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ClusterRole -Param: name::String (required) -Param: body::IoK8sApiRbacV1alpha1ClusterRole (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1ClusterRole -""" -function replaceRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1alpha1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ClusterRoleBinding -Param: name::String (required) -Param: body::IoK8sApiRbacV1alpha1ClusterRoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1ClusterRoleBinding -""" -function replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1alpha1Role, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1alpha1Role (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1Role -""" -function replaceRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1alpha1RoleBinding, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1alpha1RoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1alpha1RoleBinding -""" -function replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1ClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleList(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1ClusterRoleList(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1ClusterRoleList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1NamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api::RbacAuthorizationV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api::RbacAuthorizationV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleList(_api::RbacAuthorizationV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1NamespacedRoleList(_api::RbacAuthorizationV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1NamespacedRoleList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createRbacAuthorizationV1alpha1ClusterRole, createRbacAuthorizationV1alpha1ClusterRoleBinding, createRbacAuthorizationV1alpha1NamespacedRole, createRbacAuthorizationV1alpha1NamespacedRoleBinding, deleteRbacAuthorizationV1alpha1ClusterRole, deleteRbacAuthorizationV1alpha1ClusterRoleBinding, deleteRbacAuthorizationV1alpha1CollectionClusterRole, deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding, deleteRbacAuthorizationV1alpha1CollectionNamespacedRole, deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding, deleteRbacAuthorizationV1alpha1NamespacedRole, deleteRbacAuthorizationV1alpha1NamespacedRoleBinding, getRbacAuthorizationV1alpha1APIResources, listRbacAuthorizationV1alpha1ClusterRole, listRbacAuthorizationV1alpha1ClusterRoleBinding, listRbacAuthorizationV1alpha1NamespacedRole, listRbacAuthorizationV1alpha1NamespacedRoleBinding, listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces, listRbacAuthorizationV1alpha1RoleForAllNamespaces, patchRbacAuthorizationV1alpha1ClusterRole, patchRbacAuthorizationV1alpha1ClusterRoleBinding, patchRbacAuthorizationV1alpha1NamespacedRole, patchRbacAuthorizationV1alpha1NamespacedRoleBinding, readRbacAuthorizationV1alpha1ClusterRole, readRbacAuthorizationV1alpha1ClusterRoleBinding, readRbacAuthorizationV1alpha1NamespacedRole, readRbacAuthorizationV1alpha1NamespacedRoleBinding, replaceRbacAuthorizationV1alpha1ClusterRole, replaceRbacAuthorizationV1alpha1ClusterRoleBinding, replaceRbacAuthorizationV1alpha1NamespacedRole, replaceRbacAuthorizationV1alpha1NamespacedRoleBinding, watchRbacAuthorizationV1alpha1ClusterRole, watchRbacAuthorizationV1alpha1ClusterRoleBinding, watchRbacAuthorizationV1alpha1ClusterRoleBindingList, watchRbacAuthorizationV1alpha1ClusterRoleList, watchRbacAuthorizationV1alpha1NamespacedRole, watchRbacAuthorizationV1alpha1NamespacedRoleBinding, watchRbacAuthorizationV1alpha1NamespacedRoleBindingList, watchRbacAuthorizationV1alpha1NamespacedRoleList, watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces, watchRbacAuthorizationV1alpha1RoleListForAllNamespaces diff --git a/src/ApiImpl/api/api_RbacAuthorizationV1beta1Api.jl b/src/ApiImpl/api/api_RbacAuthorizationV1beta1Api.jl deleted file mode 100644 index 035c5bad..00000000 --- a/src/ApiImpl/api/api_RbacAuthorizationV1beta1Api.jl +++ /dev/null @@ -1,1526 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct RbacAuthorizationV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1beta1ClusterRole, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ClusterRole -Param: body::IoK8sApiRbacV1beta1ClusterRole (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1ClusterRole -""" -function createRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1beta1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a ClusterRoleBinding -Param: body::IoK8sApiRbacV1beta1ClusterRoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1ClusterRoleBinding -""" -function createRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1beta1Role, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a Role -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1beta1Role (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1Role -""" -function createRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiRbacV1beta1RoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a RoleBinding -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1beta1RoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1RoleBinding -""" -function createRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createRbacAuthorizationV1beta1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ClusterRole -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a ClusterRoleBinding -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionClusterRole(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ClusterRole -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1CollectionClusterRole(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1CollectionClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of ClusterRoleBinding -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of Role -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of RoleBinding -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a Role -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getRbacAuthorizationV1beta1APIResources(_api::RbacAuthorizationV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/rbac.authorization.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getRbacAuthorizationV1beta1APIResources(_api::RbacAuthorizationV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getRbacAuthorizationV1beta1APIResources(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getRbacAuthorizationV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1ClusterRoleList, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ClusterRole -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1beta1ClusterRoleList -""" -function listRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1ClusterRoleBindingList, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind ClusterRoleBinding -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1beta1ClusterRoleBindingList -""" -function listRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1RoleList, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Role -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1beta1RoleList -""" -function listRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1RoleBindingList, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RoleBinding -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1beta1RoleBindingList -""" -function listRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1RoleBindingList, "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind RoleBinding -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1beta1RoleBindingList -""" -function listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listRbacAuthorizationV1beta1RoleForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1RoleList, "/apis/rbac.authorization.k8s.io/v1beta1/roles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind Role -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiRbacV1beta1RoleList -""" -function listRbacAuthorizationV1beta1RoleForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listRbacAuthorizationV1beta1RoleForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listRbacAuthorizationV1beta1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1beta1ClusterRole, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ClusterRole -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1beta1ClusterRole -""" -function patchRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1beta1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified ClusterRoleBinding -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1beta1ClusterRoleBinding -""" -function patchRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1beta1Role, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1beta1Role -""" -function patchRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiRbacV1beta1RoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiRbacV1beta1RoleBinding -""" -function patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1ClusterRole, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ClusterRole -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1beta1ClusterRole -""" -function readRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified ClusterRoleBinding -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1beta1ClusterRoleBinding -""" -function readRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1Role, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1beta1Role -""" -function readRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiRbacV1beta1RoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Return: IoK8sApiRbacV1beta1RoleBinding -""" -function readRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1beta1ClusterRole, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ClusterRole -Param: name::String (required) -Param: body::IoK8sApiRbacV1beta1ClusterRole (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1ClusterRole -""" -function replaceRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1beta1ClusterRoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified ClusterRoleBinding -Param: name::String (required) -Param: body::IoK8sApiRbacV1beta1ClusterRoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1ClusterRoleBinding -""" -function replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1beta1Role, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified Role -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1beta1Role (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1Role -""" -function replaceRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiRbacV1beta1RoleBinding, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified RoleBinding -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiRbacV1beta1RoleBinding (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiRbacV1beta1RoleBinding -""" -function replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1ClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1ClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleList(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1ClusterRoleList(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1ClusterRoleList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1NamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api::RbacAuthorizationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api::RbacAuthorizationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleList(_api::RbacAuthorizationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1NamespacedRoleList(_api::RbacAuthorizationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1NamespacedRoleList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createRbacAuthorizationV1beta1ClusterRole, createRbacAuthorizationV1beta1ClusterRoleBinding, createRbacAuthorizationV1beta1NamespacedRole, createRbacAuthorizationV1beta1NamespacedRoleBinding, deleteRbacAuthorizationV1beta1ClusterRole, deleteRbacAuthorizationV1beta1ClusterRoleBinding, deleteRbacAuthorizationV1beta1CollectionClusterRole, deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding, deleteRbacAuthorizationV1beta1CollectionNamespacedRole, deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding, deleteRbacAuthorizationV1beta1NamespacedRole, deleteRbacAuthorizationV1beta1NamespacedRoleBinding, getRbacAuthorizationV1beta1APIResources, listRbacAuthorizationV1beta1ClusterRole, listRbacAuthorizationV1beta1ClusterRoleBinding, listRbacAuthorizationV1beta1NamespacedRole, listRbacAuthorizationV1beta1NamespacedRoleBinding, listRbacAuthorizationV1beta1RoleBindingForAllNamespaces, listRbacAuthorizationV1beta1RoleForAllNamespaces, patchRbacAuthorizationV1beta1ClusterRole, patchRbacAuthorizationV1beta1ClusterRoleBinding, patchRbacAuthorizationV1beta1NamespacedRole, patchRbacAuthorizationV1beta1NamespacedRoleBinding, readRbacAuthorizationV1beta1ClusterRole, readRbacAuthorizationV1beta1ClusterRoleBinding, readRbacAuthorizationV1beta1NamespacedRole, readRbacAuthorizationV1beta1NamespacedRoleBinding, replaceRbacAuthorizationV1beta1ClusterRole, replaceRbacAuthorizationV1beta1ClusterRoleBinding, replaceRbacAuthorizationV1beta1NamespacedRole, replaceRbacAuthorizationV1beta1NamespacedRoleBinding, watchRbacAuthorizationV1beta1ClusterRole, watchRbacAuthorizationV1beta1ClusterRoleBinding, watchRbacAuthorizationV1beta1ClusterRoleBindingList, watchRbacAuthorizationV1beta1ClusterRoleList, watchRbacAuthorizationV1beta1NamespacedRole, watchRbacAuthorizationV1beta1NamespacedRoleBinding, watchRbacAuthorizationV1beta1NamespacedRoleBindingList, watchRbacAuthorizationV1beta1NamespacedRoleList, watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces, watchRbacAuthorizationV1beta1RoleListForAllNamespaces diff --git a/src/ApiImpl/api/api_SchedulingApi.jl b/src/ApiImpl/api/api_SchedulingApi.jl deleted file mode 100644 index 65206a5a..00000000 --- a/src/ApiImpl/api/api_SchedulingApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct SchedulingApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getSchedulingAPIGroup(_api::SchedulingApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/scheduling.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getSchedulingAPIGroup(_api::SchedulingApi; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getSchedulingAPIGroup(_api::SchedulingApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getSchedulingAPIGroup diff --git a/src/ApiImpl/api/api_SchedulingV1Api.jl b/src/ApiImpl/api/api_SchedulingV1Api.jl deleted file mode 100644 index 4a713d38..00000000 --- a/src/ApiImpl/api/api_SchedulingV1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct SchedulingV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createSchedulingV1PriorityClass(_api::SchedulingV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiSchedulingV1PriorityClass, "/apis/scheduling.k8s.io/v1/priorityclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PriorityClass -Param: body::IoK8sApiSchedulingV1PriorityClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSchedulingV1PriorityClass -""" -function createSchedulingV1PriorityClass(_api::SchedulingV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSchedulingV1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSchedulingV1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSchedulingV1CollectionPriorityClass(_api::SchedulingV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/scheduling.k8s.io/v1/priorityclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PriorityClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSchedulingV1CollectionPriorityClass(_api::SchedulingV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSchedulingV1CollectionPriorityClass(_api::SchedulingV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PriorityClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getSchedulingV1APIResources(_api::SchedulingV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/scheduling.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getSchedulingV1APIResources(_api::SchedulingV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getSchedulingV1APIResources(_api::SchedulingV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listSchedulingV1PriorityClass(_api::SchedulingV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSchedulingV1PriorityClassList, "/apis/scheduling.k8s.io/v1/priorityclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PriorityClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiSchedulingV1PriorityClassList -""" -function listSchedulingV1PriorityClass(_api::SchedulingV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSchedulingV1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSchedulingV1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiSchedulingV1PriorityClass, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PriorityClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiSchedulingV1PriorityClass -""" -function patchSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSchedulingV1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSchedulingV1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSchedulingV1PriorityClass, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PriorityClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiSchedulingV1PriorityClass -""" -function readSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSchedulingV1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSchedulingV1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiSchedulingV1PriorityClass, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PriorityClass -Param: name::String (required) -Param: body::IoK8sApiSchedulingV1PriorityClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSchedulingV1PriorityClass -""" -function replaceSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSchedulingV1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSchedulingV1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSchedulingV1PriorityClass(_api::SchedulingV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSchedulingV1PriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSchedulingV1PriorityClassList(_api::SchedulingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/scheduling.k8s.io/v1/watch/priorityclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSchedulingV1PriorityClassList(_api::SchedulingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSchedulingV1PriorityClassList(_api::SchedulingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createSchedulingV1PriorityClass, deleteSchedulingV1CollectionPriorityClass, deleteSchedulingV1PriorityClass, getSchedulingV1APIResources, listSchedulingV1PriorityClass, patchSchedulingV1PriorityClass, readSchedulingV1PriorityClass, replaceSchedulingV1PriorityClass, watchSchedulingV1PriorityClass, watchSchedulingV1PriorityClassList diff --git a/src/ApiImpl/api/api_SchedulingV1alpha1Api.jl b/src/ApiImpl/api/api_SchedulingV1alpha1Api.jl deleted file mode 100644 index 1bf407a9..00000000 --- a/src/ApiImpl/api/api_SchedulingV1alpha1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct SchedulingV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiSchedulingV1alpha1PriorityClass, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PriorityClass -Param: body::IoK8sApiSchedulingV1alpha1PriorityClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSchedulingV1alpha1PriorityClass -""" -function createSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSchedulingV1alpha1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSchedulingV1alpha1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSchedulingV1alpha1CollectionPriorityClass(_api::SchedulingV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PriorityClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSchedulingV1alpha1CollectionPriorityClass(_api::SchedulingV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1alpha1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSchedulingV1alpha1CollectionPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1alpha1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PriorityClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1alpha1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1alpha1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getSchedulingV1alpha1APIResources(_api::SchedulingV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/scheduling.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getSchedulingV1alpha1APIResources(_api::SchedulingV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getSchedulingV1alpha1APIResources(_api::SchedulingV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSchedulingV1alpha1PriorityClassList, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PriorityClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiSchedulingV1alpha1PriorityClassList -""" -function listSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSchedulingV1alpha1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSchedulingV1alpha1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiSchedulingV1alpha1PriorityClass, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PriorityClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiSchedulingV1alpha1PriorityClass -""" -function patchSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSchedulingV1alpha1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSchedulingV1alpha1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSchedulingV1alpha1PriorityClass, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PriorityClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiSchedulingV1alpha1PriorityClass -""" -function readSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSchedulingV1alpha1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSchedulingV1alpha1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiSchedulingV1alpha1PriorityClass, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PriorityClass -Param: name::String (required) -Param: body::IoK8sApiSchedulingV1alpha1PriorityClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSchedulingV1alpha1PriorityClass -""" -function replaceSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSchedulingV1alpha1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSchedulingV1alpha1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1alpha1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSchedulingV1alpha1PriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1alpha1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSchedulingV1alpha1PriorityClassList(_api::SchedulingV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSchedulingV1alpha1PriorityClassList(_api::SchedulingV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1alpha1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSchedulingV1alpha1PriorityClassList(_api::SchedulingV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1alpha1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createSchedulingV1alpha1PriorityClass, deleteSchedulingV1alpha1CollectionPriorityClass, deleteSchedulingV1alpha1PriorityClass, getSchedulingV1alpha1APIResources, listSchedulingV1alpha1PriorityClass, patchSchedulingV1alpha1PriorityClass, readSchedulingV1alpha1PriorityClass, replaceSchedulingV1alpha1PriorityClass, watchSchedulingV1alpha1PriorityClass, watchSchedulingV1alpha1PriorityClassList diff --git a/src/ApiImpl/api/api_SchedulingV1beta1Api.jl b/src/ApiImpl/api/api_SchedulingV1beta1Api.jl deleted file mode 100644 index 1dbb965b..00000000 --- a/src/ApiImpl/api/api_SchedulingV1beta1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct SchedulingV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiSchedulingV1beta1PriorityClass, "/apis/scheduling.k8s.io/v1beta1/priorityclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PriorityClass -Param: body::IoK8sApiSchedulingV1beta1PriorityClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSchedulingV1beta1PriorityClass -""" -function createSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSchedulingV1beta1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSchedulingV1beta1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSchedulingV1beta1CollectionPriorityClass(_api::SchedulingV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/scheduling.k8s.io/v1beta1/priorityclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PriorityClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSchedulingV1beta1CollectionPriorityClass(_api::SchedulingV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1beta1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSchedulingV1beta1CollectionPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1beta1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PriorityClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1beta1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSchedulingV1beta1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getSchedulingV1beta1APIResources(_api::SchedulingV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/scheduling.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getSchedulingV1beta1APIResources(_api::SchedulingV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getSchedulingV1beta1APIResources(_api::SchedulingV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getSchedulingV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSchedulingV1beta1PriorityClassList, "/apis/scheduling.k8s.io/v1beta1/priorityclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PriorityClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiSchedulingV1beta1PriorityClassList -""" -function listSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSchedulingV1beta1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSchedulingV1beta1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiSchedulingV1beta1PriorityClass, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PriorityClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiSchedulingV1beta1PriorityClass -""" -function patchSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSchedulingV1beta1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSchedulingV1beta1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSchedulingV1beta1PriorityClass, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PriorityClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiSchedulingV1beta1PriorityClass -""" -function readSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSchedulingV1beta1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSchedulingV1beta1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiSchedulingV1beta1PriorityClass, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PriorityClass -Param: name::String (required) -Param: body::IoK8sApiSchedulingV1beta1PriorityClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSchedulingV1beta1PriorityClass -""" -function replaceSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSchedulingV1beta1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSchedulingV1beta1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1beta1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSchedulingV1beta1PriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1beta1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSchedulingV1beta1PriorityClassList(_api::SchedulingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSchedulingV1beta1PriorityClassList(_api::SchedulingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1beta1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSchedulingV1beta1PriorityClassList(_api::SchedulingV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSchedulingV1beta1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createSchedulingV1beta1PriorityClass, deleteSchedulingV1beta1CollectionPriorityClass, deleteSchedulingV1beta1PriorityClass, getSchedulingV1beta1APIResources, listSchedulingV1beta1PriorityClass, patchSchedulingV1beta1PriorityClass, readSchedulingV1beta1PriorityClass, replaceSchedulingV1beta1PriorityClass, watchSchedulingV1beta1PriorityClass, watchSchedulingV1beta1PriorityClassList diff --git a/src/ApiImpl/api/api_SettingsApi.jl b/src/ApiImpl/api/api_SettingsApi.jl deleted file mode 100644 index c808ce3d..00000000 --- a/src/ApiImpl/api/api_SettingsApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct SettingsApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getSettingsAPIGroup(_api::SettingsApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/settings.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getSettingsAPIGroup(_api::SettingsApi; _mediaType=nothing) - _ctx = _swaggerinternal_getSettingsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getSettingsAPIGroup(_api::SettingsApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getSettingsAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getSettingsAPIGroup diff --git a/src/ApiImpl/api/api_SettingsV1alpha1Api.jl b/src/ApiImpl/api/api_SettingsV1alpha1Api.jl deleted file mode 100644 index 7c1e2c74..00000000 --- a/src/ApiImpl/api/api_SettingsV1alpha1Api.jl +++ /dev/null @@ -1,457 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct SettingsV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiSettingsV1alpha1PodPreset, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a PodPreset -Param: namespace::String (required) -Param: body::IoK8sApiSettingsV1alpha1PodPreset (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSettingsV1alpha1PodPreset -""" -function createSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSettingsV1alpha1NamespacedPodPreset(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createSettingsV1alpha1NamespacedPodPreset(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of PodPreset -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a PodPreset -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getSettingsV1alpha1APIResources(_api::SettingsV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/settings.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getSettingsV1alpha1APIResources(_api::SettingsV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getSettingsV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getSettingsV1alpha1APIResources(_api::SettingsV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getSettingsV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSettingsV1alpha1PodPresetList, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodPreset -Param: namespace::String (required) -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiSettingsV1alpha1PodPresetList -""" -function listSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSettingsV1alpha1NamespacedPodPreset(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSettingsV1alpha1NamespacedPodPreset(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listSettingsV1alpha1PodPresetForAllNamespaces(_api::SettingsV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSettingsV1alpha1PodPresetList, "/apis/settings.k8s.io/v1alpha1/podpresets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind PodPreset -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiSettingsV1alpha1PodPresetList -""" -function listSettingsV1alpha1PodPresetForAllNamespaces(_api::SettingsV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSettingsV1alpha1PodPresetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listSettingsV1alpha1PodPresetForAllNamespaces(_api::SettingsV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listSettingsV1alpha1PodPresetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiSettingsV1alpha1PodPreset, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified PodPreset -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiSettingsV1alpha1PodPreset -""" -function patchSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSettingsV1alpha1NamespacedPodPreset(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchSettingsV1alpha1NamespacedPodPreset(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiSettingsV1alpha1PodPreset, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified PodPreset -Param: name::String (required) -Param: namespace::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiSettingsV1alpha1PodPreset -""" -function readSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiSettingsV1alpha1PodPreset, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified PodPreset -Param: name::String (required) -Param: namespace::String (required) -Param: body::IoK8sApiSettingsV1alpha1PodPreset (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiSettingsV1alpha1PodPreset -""" -function replaceSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSettingsV1alpha1NamespacedPodPreset(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceSettingsV1alpha1NamespacedPodPreset(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSettingsV1alpha1NamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSettingsV1alpha1NamespacedPodPresetList(_api::SettingsV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets", ["BearerToken"]) - Swagger.set_param(_ctx.path, "namespace", namespace) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead. -Param: namespace::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSettingsV1alpha1NamespacedPodPresetList(_api::SettingsV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSettingsV1alpha1NamespacedPodPresetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSettingsV1alpha1NamespacedPodPresetList(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSettingsV1alpha1NamespacedPodPresetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchSettingsV1alpha1PodPresetListForAllNamespaces(_api::SettingsV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/settings.k8s.io/v1alpha1/watch/podpresets", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchSettingsV1alpha1PodPresetListForAllNamespaces(_api::SettingsV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSettingsV1alpha1PodPresetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchSettingsV1alpha1PodPresetListForAllNamespaces(_api::SettingsV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchSettingsV1alpha1PodPresetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createSettingsV1alpha1NamespacedPodPreset, deleteSettingsV1alpha1CollectionNamespacedPodPreset, deleteSettingsV1alpha1NamespacedPodPreset, getSettingsV1alpha1APIResources, listSettingsV1alpha1NamespacedPodPreset, listSettingsV1alpha1PodPresetForAllNamespaces, patchSettingsV1alpha1NamespacedPodPreset, readSettingsV1alpha1NamespacedPodPreset, replaceSettingsV1alpha1NamespacedPodPreset, watchSettingsV1alpha1NamespacedPodPreset, watchSettingsV1alpha1NamespacedPodPresetList, watchSettingsV1alpha1PodPresetListForAllNamespaces diff --git a/src/ApiImpl/api/api_StorageApi.jl b/src/ApiImpl/api/api_StorageApi.jl deleted file mode 100644 index 040f3f86..00000000 --- a/src/ApiImpl/api/api_StorageApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct StorageApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getStorageAPIGroup(_api::StorageApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIGroup, "/apis/storage.k8s.io/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get information of a group -Return: IoK8sApimachineryPkgApisMetaV1APIGroup -""" -function getStorageAPIGroup(_api::StorageApi; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getStorageAPIGroup(_api::StorageApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageAPIGroup(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getStorageAPIGroup diff --git a/src/ApiImpl/api/api_StorageV1Api.jl b/src/ApiImpl/api/api_StorageV1Api.jl deleted file mode 100644 index b80c6b67..00000000 --- a/src/ApiImpl/api/api_StorageV1Api.jl +++ /dev/null @@ -1,1107 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct StorageV1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createStorageV1CSINode(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1CSINode, "/apis/storage.k8s.io/v1/csinodes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CSINode -Param: body::IoK8sApiStorageV1CSINode (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1CSINode -""" -function createStorageV1CSINode(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1CSINode(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1CSINode(_api::StorageV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1CSINode(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createStorageV1StorageClass(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1StorageClass, "/apis/storage.k8s.io/v1/storageclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a StorageClass -Param: body::IoK8sApiStorageV1StorageClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1StorageClass -""" -function createStorageV1StorageClass(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1StorageClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1StorageClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createStorageV1VolumeAttachment(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a VolumeAttachment -Param: body::IoK8sApiStorageV1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1VolumeAttachment -""" -function createStorageV1VolumeAttachment(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1CSINode(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CSINode -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1CSINode(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CSINode(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1CSINode(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CSINode(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1CollectionCSINode(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1/csinodes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CSINode -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1CollectionCSINode(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CollectionCSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1CollectionCSINode(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CollectionCSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1CollectionStorageClass(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1/storageclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of StorageClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1CollectionStorageClass(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CollectionStorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1CollectionStorageClass(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CollectionStorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1CollectionVolumeAttachment(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1/volumeattachments", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of VolumeAttachment -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1CollectionVolumeAttachment(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1CollectionVolumeAttachment(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1StorageClass(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a StorageClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1StorageClass(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1StorageClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1StorageClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1VolumeAttachment(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a VolumeAttachment -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1VolumeAttachment(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getStorageV1APIResources(_api::StorageV1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/storage.k8s.io/v1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getStorageV1APIResources(_api::StorageV1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getStorageV1APIResources(_api::StorageV1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageV1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1CSINode(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1CSINodeList, "/apis/storage.k8s.io/v1/csinodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CSINode -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1CSINodeList -""" -function listStorageV1CSINode(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1CSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1CSINode(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1CSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1StorageClass(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1StorageClassList, "/apis/storage.k8s.io/v1/storageclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StorageClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1StorageClassList -""" -function listStorageV1StorageClass(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1StorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1StorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1VolumeAttachment(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1VolumeAttachmentList, "/apis/storage.k8s.io/v1/volumeattachments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind VolumeAttachment -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1VolumeAttachmentList -""" -function listStorageV1VolumeAttachment(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1CSINode(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1CSINode, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CSINode -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1CSINode -""" -function patchStorageV1CSINode(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1CSINode(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1StorageClass(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1StorageClass, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified StorageClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1StorageClass -""" -function patchStorageV1StorageClass(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1VolumeAttachment(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1VolumeAttachment -""" -function patchStorageV1VolumeAttachment(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1VolumeAttachmentStatus(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update status of the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1VolumeAttachment -""" -function patchStorageV1VolumeAttachmentStatus(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1VolumeAttachmentStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1VolumeAttachmentStatus(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1VolumeAttachmentStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1CSINode(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1CSINode, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CSINode -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1CSINode -""" -function readStorageV1CSINode(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1CSINode(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1CSINode(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1CSINode(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1StorageClass(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1StorageClass, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified StorageClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1StorageClass -""" -function readStorageV1StorageClass(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1StorageClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1StorageClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1VolumeAttachment(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified VolumeAttachment -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1VolumeAttachment -""" -function readStorageV1VolumeAttachment(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1VolumeAttachmentStatus(_api::StorageV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments/{name}/status", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read status of the specified VolumeAttachment -Param: name::String (required) -Param: pretty::String -Return: IoK8sApiStorageV1VolumeAttachment -""" -function readStorageV1VolumeAttachmentStatus(_api::StorageV1Api, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1VolumeAttachmentStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1VolumeAttachmentStatus(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1VolumeAttachmentStatus(_api, name; pretty=pretty, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1CSINode(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1CSINode, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CSINode -Param: name::String (required) -Param: body::IoK8sApiStorageV1CSINode (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1CSINode -""" -function replaceStorageV1CSINode(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1CSINode(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1StorageClass(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1StorageClass, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified StorageClass -Param: name::String (required) -Param: body::IoK8sApiStorageV1StorageClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1StorageClass -""" -function replaceStorageV1StorageClass(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1VolumeAttachment(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApiStorageV1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1VolumeAttachment -""" -function replaceStorageV1VolumeAttachment(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1VolumeAttachmentStatus(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1VolumeAttachment, "/apis/storage.k8s.io/v1/volumeattachments/{name}/status", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace status of the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApiStorageV1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1VolumeAttachment -""" -function replaceStorageV1VolumeAttachmentStatus(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1VolumeAttachmentStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1VolumeAttachmentStatus(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1VolumeAttachmentStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1CSINode(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1/watch/csinodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1CSINode(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1CSINode(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1CSINode(_api::StorageV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1CSINode(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1CSINodeList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1/watch/csinodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1CSINodeList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1CSINodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1CSINodeList(_api::StorageV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1CSINodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1StorageClass(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1/watch/storageclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1StorageClass(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1StorageClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1StorageClass(_api::StorageV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1StorageClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1StorageClassList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1/watch/storageclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1StorageClassList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1StorageClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1StorageClassList(_api::StorageV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1StorageClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1VolumeAttachment(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1VolumeAttachment(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1VolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1VolumeAttachmentList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1/watch/volumeattachments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1VolumeAttachmentList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1VolumeAttachmentList(_api::StorageV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createStorageV1CSINode, createStorageV1StorageClass, createStorageV1VolumeAttachment, deleteStorageV1CSINode, deleteStorageV1CollectionCSINode, deleteStorageV1CollectionStorageClass, deleteStorageV1CollectionVolumeAttachment, deleteStorageV1StorageClass, deleteStorageV1VolumeAttachment, getStorageV1APIResources, listStorageV1CSINode, listStorageV1StorageClass, listStorageV1VolumeAttachment, patchStorageV1CSINode, patchStorageV1StorageClass, patchStorageV1VolumeAttachment, patchStorageV1VolumeAttachmentStatus, readStorageV1CSINode, readStorageV1StorageClass, readStorageV1VolumeAttachment, readStorageV1VolumeAttachmentStatus, replaceStorageV1CSINode, replaceStorageV1StorageClass, replaceStorageV1VolumeAttachment, replaceStorageV1VolumeAttachmentStatus, watchStorageV1CSINode, watchStorageV1CSINodeList, watchStorageV1StorageClass, watchStorageV1StorageClassList, watchStorageV1VolumeAttachment, watchStorageV1VolumeAttachmentList diff --git a/src/ApiImpl/api/api_StorageV1alpha1Api.jl b/src/ApiImpl/api/api_StorageV1alpha1Api.jl deleted file mode 100644 index 7379c9f5..00000000 --- a/src/ApiImpl/api/api_StorageV1alpha1Api.jl +++ /dev/null @@ -1,359 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct StorageV1alpha1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1alpha1VolumeAttachment, "/apis/storage.k8s.io/v1alpha1/volumeattachments", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a VolumeAttachment -Param: body::IoK8sApiStorageV1alpha1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1alpha1VolumeAttachment -""" -function createStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1alpha1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1alpha1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1alpha1CollectionVolumeAttachment(_api::StorageV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1alpha1/volumeattachments", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of VolumeAttachment -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1alpha1CollectionVolumeAttachment(_api::StorageV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1alpha1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1alpha1CollectionVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1alpha1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a VolumeAttachment -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1alpha1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1alpha1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getStorageV1alpha1APIResources(_api::StorageV1alpha1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/storage.k8s.io/v1alpha1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getStorageV1alpha1APIResources(_api::StorageV1alpha1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getStorageV1alpha1APIResources(_api::StorageV1alpha1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageV1alpha1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1alpha1VolumeAttachmentList, "/apis/storage.k8s.io/v1alpha1/volumeattachments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind VolumeAttachment -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1alpha1VolumeAttachmentList -""" -function listStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1alpha1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1alpha1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1alpha1VolumeAttachment, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1alpha1VolumeAttachment -""" -function patchStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1alpha1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1alpha1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1alpha1VolumeAttachment, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified VolumeAttachment -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1alpha1VolumeAttachment -""" -function readStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1alpha1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1alpha1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1alpha1VolumeAttachment, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApiStorageV1alpha1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1alpha1VolumeAttachment -""" -function replaceStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1alpha1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1alpha1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1alpha1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1alpha1VolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1alpha1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1alpha1VolumeAttachmentList(_api::StorageV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1alpha1VolumeAttachmentList(_api::StorageV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1alpha1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1alpha1VolumeAttachmentList(_api::StorageV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1alpha1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createStorageV1alpha1VolumeAttachment, deleteStorageV1alpha1CollectionVolumeAttachment, deleteStorageV1alpha1VolumeAttachment, getStorageV1alpha1APIResources, listStorageV1alpha1VolumeAttachment, patchStorageV1alpha1VolumeAttachment, readStorageV1alpha1VolumeAttachment, replaceStorageV1alpha1VolumeAttachment, watchStorageV1alpha1VolumeAttachment, watchStorageV1alpha1VolumeAttachmentList diff --git a/src/ApiImpl/api/api_StorageV1beta1Api.jl b/src/ApiImpl/api/api_StorageV1beta1Api.jl deleted file mode 100644 index 5a14d386..00000000 --- a/src/ApiImpl/api/api_StorageV1beta1Api.jl +++ /dev/null @@ -1,1346 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct StorageV1beta1Api <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_createStorageV1beta1CSIDriver(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1beta1CSIDriver, "/apis/storage.k8s.io/v1beta1/csidrivers", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CSIDriver -Param: body::IoK8sApiStorageV1beta1CSIDriver (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1CSIDriver -""" -function createStorageV1beta1CSIDriver(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1CSIDriver(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1CSIDriver(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createStorageV1beta1CSINode(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1beta1CSINode, "/apis/storage.k8s.io/v1beta1/csinodes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a CSINode -Param: body::IoK8sApiStorageV1beta1CSINode (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1CSINode -""" -function createStorageV1beta1CSINode(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1CSINode(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1CSINode(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createStorageV1beta1StorageClass(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1beta1StorageClass, "/apis/storage.k8s.io/v1beta1/storageclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a StorageClass -Param: body::IoK8sApiStorageV1beta1StorageClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1StorageClass -""" -function createStorageV1beta1StorageClass(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1StorageClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1StorageClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_createStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "POST", IoK8sApiStorageV1beta1VolumeAttachment, "/apis/storage.k8s.io/v1beta1/volumeattachments", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -create a VolumeAttachment -Param: body::IoK8sApiStorageV1beta1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1VolumeAttachment -""" -function createStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function createStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_createStorageV1beta1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CSIDriver -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CSIDriver(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CSIDriver(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a CSINode -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CSINode(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CSINode(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1CollectionCSIDriver(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/csidrivers", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CSIDriver -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1CollectionCSIDriver(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionCSIDriver(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1CollectionCSIDriver(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionCSIDriver(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1CollectionCSINode(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/csinodes", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of CSINode -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1CollectionCSINode(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionCSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1CollectionCSINode(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionCSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1CollectionStorageClass(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/storageclasses", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of StorageClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1CollectionStorageClass(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionStorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1CollectionStorageClass(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionStorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1CollectionVolumeAttachment(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/volumeattachments", ["BearerToken"], body) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete collection of VolumeAttachment -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: __continue__::String -Param: dryRun::String -Param: fieldSelector::String -Param: gracePeriodSeconds::Int32 -Param: labelSelector::String -Param: limit::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1CollectionVolumeAttachment(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1CollectionVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a StorageClass -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1StorageClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1StorageClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_deleteStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32 - Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool - Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -delete a VolumeAttachment -Param: name::String (required) -Param: pretty::String -Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions -Param: dryRun::String -Param: gracePeriodSeconds::Int32 -Param: orphanDependents::Bool -Param: propagationPolicy::String -Return: IoK8sApimachineryPkgApisMetaV1Status -""" -function deleteStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function deleteStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_deleteStorageV1beta1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_getStorageV1beta1APIResources(_api::StorageV1beta1Api; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1APIResourceList, "/apis/storage.k8s.io/v1beta1/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"] : [_mediaType]) - return _ctx -end - -""" - -get available resources -Return: IoK8sApimachineryPkgApisMetaV1APIResourceList -""" -function getStorageV1beta1APIResources(_api::StorageV1beta1Api; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getStorageV1beta1APIResources(_api::StorageV1beta1Api, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getStorageV1beta1APIResources(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1beta1CSIDriver(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1CSIDriverList, "/apis/storage.k8s.io/v1beta1/csidrivers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CSIDriver -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1beta1CSIDriverList -""" -function listStorageV1beta1CSIDriver(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1CSIDriver(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1CSIDriver(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1beta1CSINode(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1CSINodeList, "/apis/storage.k8s.io/v1beta1/csinodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind CSINode -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1beta1CSINodeList -""" -function listStorageV1beta1CSINode(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1CSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1CSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1beta1StorageClass(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1StorageClassList, "/apis/storage.k8s.io/v1beta1/storageclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind StorageClass -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1beta1StorageClassList -""" -function listStorageV1beta1StorageClass(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1StorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1StorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_listStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1VolumeAttachmentList, "/apis/storage.k8s.io/v1beta1/volumeattachments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -list or watch objects of kind VolumeAttachment -Param: pretty::String -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApiStorageV1beta1VolumeAttachmentList -""" -function listStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function listStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_listStorageV1beta1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1beta1CSIDriver, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CSIDriver -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1beta1CSIDriver -""" -function patchStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1CSIDriver(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1CSIDriver(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1beta1CSINode, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified CSINode -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1beta1CSINode -""" -function patchStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1beta1StorageClass, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified StorageClass -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1beta1StorageClass -""" -function patchStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_patchStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PATCH", IoK8sApiStorageV1beta1VolumeAttachment, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_param(_ctx.query, "force", force) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType]) - return _ctx -end - -""" - -partially update the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApimachineryPkgApisMetaV1Patch (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Param: force::Bool -Return: IoK8sApiStorageV1beta1VolumeAttachment -""" -function patchStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function patchStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_patchStorageV1beta1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1CSIDriver, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CSIDriver -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1beta1CSIDriver -""" -function readStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1CSIDriver(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1CSIDriver(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1CSINode, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified CSINode -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1beta1CSINode -""" -function readStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1CSINode(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1CSINode(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1StorageClass, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified StorageClass -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1beta1StorageClass -""" -function readStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1StorageClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1StorageClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_readStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiStorageV1beta1VolumeAttachment, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "exact", exact) # type Bool - Swagger.set_param(_ctx.query, "export", __export__) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -read the specified VolumeAttachment -Param: name::String (required) -Param: pretty::String -Param: exact::Bool -Param: __export__::Bool -Return: IoK8sApiStorageV1beta1VolumeAttachment -""" -function readStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function readStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_readStorageV1beta1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1beta1CSIDriver, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CSIDriver -Param: name::String (required) -Param: body::IoK8sApiStorageV1beta1CSIDriver (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1CSIDriver -""" -function replaceStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1CSIDriver(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1CSIDriver(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1beta1CSINode, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified CSINode -Param: name::String (required) -Param: body::IoK8sApiStorageV1beta1CSINode (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1CSINode -""" -function replaceStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1beta1StorageClass, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified StorageClass -Param: name::String (required) -Param: body::IoK8sApiStorageV1beta1StorageClass (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1StorageClass -""" -function replaceStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_replaceStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "PUT", IoK8sApiStorageV1beta1VolumeAttachment, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken"], body) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String - Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -replace the specified VolumeAttachment -Param: name::String (required) -Param: body::IoK8sApiStorageV1beta1VolumeAttachment (required) -Param: pretty::String -Param: dryRun::String -Param: fieldManager::String -Return: IoK8sApiStorageV1beta1VolumeAttachment -""" -function replaceStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function replaceStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_replaceStorageV1beta1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/csidrivers/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1CSIDriver(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSIDriver(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1CSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSIDriver(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1CSIDriverList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/csidrivers", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1CSIDriverList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSIDriverList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1CSIDriverList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSIDriverList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/csinodes/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1CSINode(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSINode(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1CSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSINode(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1CSINodeList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/csinodes", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1CSINodeList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSINodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1CSINodeList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1CSINodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1StorageClass(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1StorageClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1StorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1StorageClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1StorageClassList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/storageclasses", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1StorageClassList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1StorageClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1StorageClassList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1StorageClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}", ["BearerToken"]) - Swagger.set_param(_ctx.path, "name", name) # type String - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. -Param: name::String (required) -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1VolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -function _swaggerinternal_watchStorageV1beta1VolumeAttachmentList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/storage.k8s.io/v1beta1/watch/volumeattachments", ["BearerToken"]) - Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool - Swagger.set_param(_ctx.query, "continue", __continue__) # type String - Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String - Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String - Swagger.set_param(_ctx.query, "limit", limit) # type Int32 - Swagger.set_param(_ctx.query, "pretty", pretty) # type String - Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String - Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32 - Swagger.set_param(_ctx.query, "watch", watch) # type Bool - Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["*/*"] : [_mediaType]) - return _ctx -end - -""" - -watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead. -Param: allowWatchBookmarks::Bool -Param: __continue__::String -Param: fieldSelector::String -Param: labelSelector::String -Param: limit::Int32 -Param: pretty::String -Param: resourceVersion::String -Param: timeoutSeconds::Int32 -Param: watch::Bool -Return: IoK8sApimachineryPkgApisMetaV1WatchEvent -""" -function watchStorageV1beta1VolumeAttachmentList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function watchStorageV1beta1VolumeAttachmentList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) - _ctx = _swaggerinternal_watchStorageV1beta1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export createStorageV1beta1CSIDriver, createStorageV1beta1CSINode, createStorageV1beta1StorageClass, createStorageV1beta1VolumeAttachment, deleteStorageV1beta1CSIDriver, deleteStorageV1beta1CSINode, deleteStorageV1beta1CollectionCSIDriver, deleteStorageV1beta1CollectionCSINode, deleteStorageV1beta1CollectionStorageClass, deleteStorageV1beta1CollectionVolumeAttachment, deleteStorageV1beta1StorageClass, deleteStorageV1beta1VolumeAttachment, getStorageV1beta1APIResources, listStorageV1beta1CSIDriver, listStorageV1beta1CSINode, listStorageV1beta1StorageClass, listStorageV1beta1VolumeAttachment, patchStorageV1beta1CSIDriver, patchStorageV1beta1CSINode, patchStorageV1beta1StorageClass, patchStorageV1beta1VolumeAttachment, readStorageV1beta1CSIDriver, readStorageV1beta1CSINode, readStorageV1beta1StorageClass, readStorageV1beta1VolumeAttachment, replaceStorageV1beta1CSIDriver, replaceStorageV1beta1CSINode, replaceStorageV1beta1StorageClass, replaceStorageV1beta1VolumeAttachment, watchStorageV1beta1CSIDriver, watchStorageV1beta1CSIDriverList, watchStorageV1beta1CSINode, watchStorageV1beta1CSINodeList, watchStorageV1beta1StorageClass, watchStorageV1beta1StorageClassList, watchStorageV1beta1VolumeAttachment, watchStorageV1beta1VolumeAttachmentList diff --git a/src/ApiImpl/api/api_VersionApi.jl b/src/ApiImpl/api/api_VersionApi.jl deleted file mode 100644 index f201cca7..00000000 --- a/src/ApiImpl/api/api_VersionApi.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -struct VersionApi <: SwaggerApi - client::Swagger.Client -end - -function _swaggerinternal_getCodeVersion(_api::VersionApi; _mediaType=nothing) - _ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgVersionInfo, "/version/", ["BearerToken"]) - Swagger.set_header_accept(_ctx, ["application/json"]) - Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json"] : [_mediaType]) - return _ctx -end - -""" - -get the code version -Return: IoK8sApimachineryPkgVersionInfo -""" -function getCodeVersion(_api::VersionApi; _mediaType=nothing) - _ctx = _swaggerinternal_getCodeVersion(_api; _mediaType=_mediaType) - Swagger.exec(_ctx) -end - -function getCodeVersion(_api::VersionApi, response_stream::Channel; _mediaType=nothing) - _ctx = _swaggerinternal_getCodeVersion(_api; _mediaType=_mediaType) - Swagger.exec(_ctx, response_stream) -end - -export getCodeVersion diff --git a/src/ApiImpl/api/apis/api_AdmissionregistrationApi.jl b/src/ApiImpl/api/apis/api_AdmissionregistrationApi.jl new file mode 100644 index 00000000..53ce18e7 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AdmissionregistrationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AdmissionregistrationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AdmissionregistrationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AdmissionregistrationApi }) = "http://localhost" + +const _returntypes_get_admissionregistration_a_p_i_group_AdmissionregistrationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_admissionregistration_a_p_i_group(_api::AdmissionregistrationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_admissionregistration_a_p_i_group_AdmissionregistrationApi, "/apis/admissionregistration.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_admissionregistration_a_p_i_group(_api::AdmissionregistrationApi; _mediaType=nothing) + _ctx = _oacinternal_get_admissionregistration_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_admissionregistration_a_p_i_group(_api::AdmissionregistrationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_admissionregistration_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_admissionregistration_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_AdmissionregistrationV1Api.jl b/src/ApiImpl/api/apis/api_AdmissionregistrationV1Api.jl new file mode 100644 index 00000000..e623c389 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AdmissionregistrationV1Api.jl @@ -0,0 +1,834 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AdmissionregistrationV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AdmissionregistrationV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AdmissionregistrationV1Api }) = "http://localhost" + +const _returntypes_create_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a MutatingWebhookConfiguration + +Params: +- body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function create_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1_mutating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1_mutating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ValidatingWebhookConfiguration + +Params: +- body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function create_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1_validating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1_validating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1_collection_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1_collection_mutating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1_collection_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of MutatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1_collection_mutating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_collection_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1_collection_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_collection_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1_collection_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1_collection_validating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1_collection_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ValidatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1_collection_validating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_collection_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1_collection_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_collection_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a MutatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_mutating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_mutating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ValidatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_validating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1_validating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_admissionregistration_v1_a_p_i_resources_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_admissionregistration_v1_a_p_i_resources(_api::AdmissionregistrationV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_admissionregistration_v1_a_p_i_resources_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_admissionregistration_v1_a_p_i_resources(_api::AdmissionregistrationV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_admissionregistration_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_admissionregistration_v1_a_p_i_resources(_api::AdmissionregistrationV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_admissionregistration_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind MutatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, OpenAPI.Clients.ApiResponse +""" +function list_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ValidatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, OpenAPI.Clients.ApiResponse +""" +function list_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified MutatingWebhookConfiguration + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function patch_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ValidatingWebhookConfiguration + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function patch_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified MutatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function read_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1_mutating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1_mutating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ValidatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function read_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1_validating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1_validating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified MutatingWebhookConfiguration + +Params: +- name::String (required) +- body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function replace_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ValidatingWebhookConfiguration + +Params: +- name::String (required) +- body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function replace_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String, body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1_mutating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_mutating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1_mutating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_mutating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1_mutating_webhook_configuration_list_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1_mutating_webhook_configuration_list(_api::AdmissionregistrationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1_mutating_webhook_configuration_list_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1_mutating_webhook_configuration_list(_api::AdmissionregistrationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_mutating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1_mutating_webhook_configuration_list(_api::AdmissionregistrationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_mutating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1_validating_webhook_configuration_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_validating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1_validating_webhook_configuration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_validating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1_validating_webhook_configuration_list_AdmissionregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1_validating_webhook_configuration_list(_api::AdmissionregistrationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1_validating_webhook_configuration_list_AdmissionregistrationV1Api, "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1_validating_webhook_configuration_list(_api::AdmissionregistrationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_validating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1_validating_webhook_configuration_list(_api::AdmissionregistrationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1_validating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_admissionregistration_v1_mutating_webhook_configuration +export create_admissionregistration_v1_validating_webhook_configuration +export delete_admissionregistration_v1_collection_mutating_webhook_configuration +export delete_admissionregistration_v1_collection_validating_webhook_configuration +export delete_admissionregistration_v1_mutating_webhook_configuration +export delete_admissionregistration_v1_validating_webhook_configuration +export get_admissionregistration_v1_a_p_i_resources +export list_admissionregistration_v1_mutating_webhook_configuration +export list_admissionregistration_v1_validating_webhook_configuration +export patch_admissionregistration_v1_mutating_webhook_configuration +export patch_admissionregistration_v1_validating_webhook_configuration +export read_admissionregistration_v1_mutating_webhook_configuration +export read_admissionregistration_v1_validating_webhook_configuration +export replace_admissionregistration_v1_mutating_webhook_configuration +export replace_admissionregistration_v1_validating_webhook_configuration +export watch_admissionregistration_v1_mutating_webhook_configuration +export watch_admissionregistration_v1_mutating_webhook_configuration_list +export watch_admissionregistration_v1_validating_webhook_configuration +export watch_admissionregistration_v1_validating_webhook_configuration_list diff --git a/src/ApiImpl/api/apis/api_AdmissionregistrationV1beta1Api.jl b/src/ApiImpl/api/apis/api_AdmissionregistrationV1beta1Api.jl new file mode 100644 index 00000000..bf417936 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AdmissionregistrationV1beta1Api.jl @@ -0,0 +1,834 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AdmissionregistrationV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AdmissionregistrationV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AdmissionregistrationV1beta1Api }) = "http://localhost" + +const _returntypes_create_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a MutatingWebhookConfiguration + +Params: +- body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function create_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1beta1_mutating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1beta1_mutating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ValidatingWebhookConfiguration + +Params: +- body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function create_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1beta1_validating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_admissionregistration_v1beta1_validating_webhook_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of MutatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ValidatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1beta1_collection_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1beta1_collection_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a MutatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ValidatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_validating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_admissionregistration_v1beta1_validating_webhook_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_admissionregistration_v1beta1_a_p_i_resources_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_admissionregistration_v1beta1_a_p_i_resources(_api::AdmissionregistrationV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_admissionregistration_v1beta1_a_p_i_resources_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_admissionregistration_v1beta1_a_p_i_resources(_api::AdmissionregistrationV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_admissionregistration_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_admissionregistration_v1beta1_a_p_i_resources(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_admissionregistration_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind MutatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, OpenAPI.Clients.ApiResponse +""" +function list_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1beta1_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1beta1_mutating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ValidatingWebhookConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, OpenAPI.Clients.ApiResponse +""" +function list_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1beta1_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_admissionregistration_v1beta1_validating_webhook_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified MutatingWebhookConfiguration + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function patch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ValidatingWebhookConfiguration + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function patch_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1beta1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_admissionregistration_v1beta1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified MutatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function read_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ValidatingWebhookConfiguration + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function read_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1beta1_validating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_admissionregistration_v1beta1_validating_webhook_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified MutatingWebhookConfiguration + +Params: +- name::String (required) +- body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function replace_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ValidatingWebhookConfiguration + +Params: +- name::String (required) +- body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, OpenAPI.Clients.ApiResponse +""" +function replace_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String, body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1beta1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_admissionregistration_v1beta1_validating_webhook_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1beta1_mutating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_mutating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1beta1_mutating_webhook_configuration_list_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1beta1_mutating_webhook_configuration_list(_api::AdmissionregistrationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1beta1_mutating_webhook_configuration_list_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1beta1_mutating_webhook_configuration_list(_api::AdmissionregistrationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_mutating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1beta1_mutating_webhook_configuration_list(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_mutating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1beta1_validating_webhook_configuration_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_validating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1beta1_validating_webhook_configuration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_validating_webhook_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_admissionregistration_v1beta1_validating_webhook_configuration_list_AdmissionregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_admissionregistration_v1beta1_validating_webhook_configuration_list(_api::AdmissionregistrationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_admissionregistration_v1beta1_validating_webhook_configuration_list_AdmissionregistrationV1beta1Api, "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_admissionregistration_v1beta1_validating_webhook_configuration_list(_api::AdmissionregistrationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_validating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_admissionregistration_v1beta1_validating_webhook_configuration_list(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_admissionregistration_v1beta1_validating_webhook_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_admissionregistration_v1beta1_mutating_webhook_configuration +export create_admissionregistration_v1beta1_validating_webhook_configuration +export delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration +export delete_admissionregistration_v1beta1_collection_validating_webhook_configuration +export delete_admissionregistration_v1beta1_mutating_webhook_configuration +export delete_admissionregistration_v1beta1_validating_webhook_configuration +export get_admissionregistration_v1beta1_a_p_i_resources +export list_admissionregistration_v1beta1_mutating_webhook_configuration +export list_admissionregistration_v1beta1_validating_webhook_configuration +export patch_admissionregistration_v1beta1_mutating_webhook_configuration +export patch_admissionregistration_v1beta1_validating_webhook_configuration +export read_admissionregistration_v1beta1_mutating_webhook_configuration +export read_admissionregistration_v1beta1_validating_webhook_configuration +export replace_admissionregistration_v1beta1_mutating_webhook_configuration +export replace_admissionregistration_v1beta1_validating_webhook_configuration +export watch_admissionregistration_v1beta1_mutating_webhook_configuration +export watch_admissionregistration_v1beta1_mutating_webhook_configuration_list +export watch_admissionregistration_v1beta1_validating_webhook_configuration +export watch_admissionregistration_v1beta1_validating_webhook_configuration_list diff --git a/src/ApiImpl/api/apis/api_ApiextensionsApi.jl b/src/ApiImpl/api/apis/api_ApiextensionsApi.jl new file mode 100644 index 00000000..75dda884 --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApiextensionsApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApiextensionsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApiextensionsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApiextensionsApi }) = "http://localhost" + +const _returntypes_get_apiextensions_a_p_i_group_ApiextensionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apiextensions_a_p_i_group(_api::ApiextensionsApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apiextensions_a_p_i_group_ApiextensionsApi, "/apis/apiextensions.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_apiextensions_a_p_i_group(_api::ApiextensionsApi; _mediaType=nothing) + _ctx = _oacinternal_get_apiextensions_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apiextensions_a_p_i_group(_api::ApiextensionsApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apiextensions_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_apiextensions_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_ApiextensionsV1Api.jl b/src/ApiImpl/api/apis/api_ApiextensionsV1Api.jl new file mode 100644 index 00000000..9d6dd510 --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApiextensionsV1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApiextensionsV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApiextensionsV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApiextensionsV1Api }) = "http://localhost" + +const _returntypes_create_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CustomResourceDefinition + +Params: +- body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function create_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiextensions_v1_custom_resource_definition(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiextensions_v1_custom_resource_definition(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiextensions_v1_collection_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiextensions_v1_collection_custom_resource_definition(_api::ApiextensionsV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiextensions_v1_collection_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CustomResourceDefinition + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiextensions_v1_collection_custom_resource_definition(_api::ApiextensionsV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1_collection_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiextensions_v1_collection_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1_collection_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CustomResourceDefinition + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1_custom_resource_definition(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1_custom_resource_definition(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apiextensions_v1_a_p_i_resources_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apiextensions_v1_a_p_i_resources(_api::ApiextensionsV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apiextensions_v1_a_p_i_resources_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apiextensions_v1_a_p_i_resources(_api::ApiextensionsV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_apiextensions_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apiextensions_v1_a_p_i_resources(_api::ApiextensionsV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apiextensions_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CustomResourceDefinition + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, OpenAPI.Clients.ApiResponse +""" +function list_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiextensions_v1_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiextensions_v1_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function patch_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiextensions_v1_custom_resource_definition_status_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiextensions_v1_custom_resource_definition_status_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function patch_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CustomResourceDefinition + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function read_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1_custom_resource_definition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1_custom_resource_definition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiextensions_v1_custom_resource_definition_status_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiextensions_v1_custom_resource_definition_status_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified CustomResourceDefinition + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function read_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1_custom_resource_definition_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1_custom_resource_definition_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function replace_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiextensions_v1_custom_resource_definition_status_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiextensions_v1_custom_resource_definition_status_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function replace_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiextensions_v1_custom_resource_definition_status(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiextensions_v1_custom_resource_definition_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1_custom_resource_definition(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiextensions_v1_custom_resource_definition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1_custom_resource_definition(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiextensions_v1_custom_resource_definition_list_ApiextensionsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiextensions_v1_custom_resource_definition_list(_api::ApiextensionsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiextensions_v1_custom_resource_definition_list_ApiextensionsV1Api, "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiextensions_v1_custom_resource_definition_list(_api::ApiextensionsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1_custom_resource_definition_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiextensions_v1_custom_resource_definition_list(_api::ApiextensionsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1_custom_resource_definition_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apiextensions_v1_custom_resource_definition +export delete_apiextensions_v1_collection_custom_resource_definition +export delete_apiextensions_v1_custom_resource_definition +export get_apiextensions_v1_a_p_i_resources +export list_apiextensions_v1_custom_resource_definition +export patch_apiextensions_v1_custom_resource_definition +export patch_apiextensions_v1_custom_resource_definition_status +export read_apiextensions_v1_custom_resource_definition +export read_apiextensions_v1_custom_resource_definition_status +export replace_apiextensions_v1_custom_resource_definition +export replace_apiextensions_v1_custom_resource_definition_status +export watch_apiextensions_v1_custom_resource_definition +export watch_apiextensions_v1_custom_resource_definition_list diff --git a/src/ApiImpl/api/apis/api_ApiextensionsV1beta1Api.jl b/src/ApiImpl/api/apis/api_ApiextensionsV1beta1Api.jl new file mode 100644 index 00000000..332b13ac --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApiextensionsV1beta1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApiextensionsV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApiextensionsV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApiextensionsV1beta1Api }) = "http://localhost" + +const _returntypes_create_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CustomResourceDefinition + +Params: +- body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function create_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiextensions_v1beta1_custom_resource_definition(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiextensions_v1beta1_custom_resource_definition(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiextensions_v1beta1_collection_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiextensions_v1beta1_collection_custom_resource_definition(_api::ApiextensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiextensions_v1beta1_collection_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CustomResourceDefinition + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiextensions_v1beta1_collection_custom_resource_definition(_api::ApiextensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1beta1_collection_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiextensions_v1beta1_collection_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1beta1_collection_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CustomResourceDefinition + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1beta1_custom_resource_definition(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiextensions_v1beta1_custom_resource_definition(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apiextensions_v1beta1_a_p_i_resources_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apiextensions_v1beta1_a_p_i_resources(_api::ApiextensionsV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apiextensions_v1beta1_a_p_i_resources_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apiextensions_v1beta1_a_p_i_resources(_api::ApiextensionsV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_apiextensions_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apiextensions_v1beta1_a_p_i_resources(_api::ApiextensionsV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apiextensions_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CustomResourceDefinition + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, OpenAPI.Clients.ApiResponse +""" +function list_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiextensions_v1beta1_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiextensions_v1beta1_custom_resource_definition(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function patch_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1beta1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1beta1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiextensions_v1beta1_custom_resource_definition_status_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiextensions_v1beta1_custom_resource_definition_status_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function patch_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1beta1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiextensions_v1beta1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CustomResourceDefinition + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function read_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1beta1_custom_resource_definition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1beta1_custom_resource_definition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiextensions_v1beta1_custom_resource_definition_status_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiextensions_v1beta1_custom_resource_definition_status_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified CustomResourceDefinition + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function read_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1beta1_custom_resource_definition_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiextensions_v1beta1_custom_resource_definition_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function replace_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1beta1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1beta1_custom_resource_definition(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiextensions_v1beta1_custom_resource_definition_status_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiextensions_v1beta1_custom_resource_definition_status_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified CustomResourceDefinition + +Params: +- name::String (required) +- body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, OpenAPI.Clients.ApiResponse +""" +function replace_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1beta1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiextensions_v1beta1_custom_resource_definition_status(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiextensions_v1beta1_custom_resource_definition_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiextensions_v1beta1_custom_resource_definition_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1beta1_custom_resource_definition(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiextensions_v1beta1_custom_resource_definition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1beta1_custom_resource_definition(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiextensions_v1beta1_custom_resource_definition_list_ApiextensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiextensions_v1beta1_custom_resource_definition_list(_api::ApiextensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiextensions_v1beta1_custom_resource_definition_list_ApiextensionsV1beta1Api, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiextensions_v1beta1_custom_resource_definition_list(_api::ApiextensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1beta1_custom_resource_definition_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiextensions_v1beta1_custom_resource_definition_list(_api::ApiextensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiextensions_v1beta1_custom_resource_definition_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apiextensions_v1beta1_custom_resource_definition +export delete_apiextensions_v1beta1_collection_custom_resource_definition +export delete_apiextensions_v1beta1_custom_resource_definition +export get_apiextensions_v1beta1_a_p_i_resources +export list_apiextensions_v1beta1_custom_resource_definition +export patch_apiextensions_v1beta1_custom_resource_definition +export patch_apiextensions_v1beta1_custom_resource_definition_status +export read_apiextensions_v1beta1_custom_resource_definition +export read_apiextensions_v1beta1_custom_resource_definition_status +export replace_apiextensions_v1beta1_custom_resource_definition +export replace_apiextensions_v1beta1_custom_resource_definition_status +export watch_apiextensions_v1beta1_custom_resource_definition +export watch_apiextensions_v1beta1_custom_resource_definition_list diff --git a/src/ApiImpl/api/apis/api_ApiregistrationApi.jl b/src/ApiImpl/api/apis/api_ApiregistrationApi.jl new file mode 100644 index 00000000..9b8c3ac4 --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApiregistrationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApiregistrationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApiregistrationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApiregistrationApi }) = "http://localhost" + +const _returntypes_get_apiregistration_a_p_i_group_ApiregistrationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apiregistration_a_p_i_group(_api::ApiregistrationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apiregistration_a_p_i_group_ApiregistrationApi, "/apis/apiregistration.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_apiregistration_a_p_i_group(_api::ApiregistrationApi; _mediaType=nothing) + _ctx = _oacinternal_get_apiregistration_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apiregistration_a_p_i_group(_api::ApiregistrationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apiregistration_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_apiregistration_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_ApiregistrationV1Api.jl b/src/ApiImpl/api/apis/api_ApiregistrationV1Api.jl new file mode 100644 index 00000000..57ce6f3c --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApiregistrationV1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApiregistrationV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApiregistrationV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApiregistrationV1Api }) = "http://localhost" + +const _returntypes_create_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an APIService + +Params: +- body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function create_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiregistration_v1_a_p_i_service(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiregistration_v1_a_p_i_service(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an APIService + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1_a_p_i_service(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1_a_p_i_service(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiregistration_v1_collection_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiregistration_v1_collection_a_p_i_service(_api::ApiregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiregistration_v1_collection_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of APIService + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiregistration_v1_collection_a_p_i_service(_api::ApiregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1_collection_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiregistration_v1_collection_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1_collection_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apiregistration_v1_a_p_i_resources_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apiregistration_v1_a_p_i_resources(_api::ApiregistrationV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apiregistration_v1_a_p_i_resources_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apiregistration_v1_a_p_i_resources(_api::ApiregistrationV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_apiregistration_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apiregistration_v1_a_p_i_resources(_api::ApiregistrationV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apiregistration_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind APIService + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, OpenAPI.Clients.ApiResponse +""" +function list_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiregistration_v1_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiregistration_v1_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified APIService + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function patch_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiregistration_v1_a_p_i_service_status_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiregistration_v1_a_p_i_service_status_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified APIService + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function patch_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified APIService + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function read_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1_a_p_i_service(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1_a_p_i_service(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiregistration_v1_a_p_i_service_status_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiregistration_v1_a_p_i_service_status_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified APIService + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function read_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1_a_p_i_service_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1_a_p_i_service_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified APIService + +Params: +- name::String (required) +- body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function replace_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiregistration_v1_a_p_i_service_status_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiregistration_v1_a_p_i_service_status_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified APIService + +Params: +- name::String (required) +- body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, OpenAPI.Clients.ApiResponse +""" +function replace_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiregistration_v1_a_p_i_service_status(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiregistration_v1_a_p_i_service_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiregistration_v1_a_p_i_service_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1_a_p_i_service(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiregistration_v1_a_p_i_service(_api::ApiregistrationV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1_a_p_i_service(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiregistration_v1_a_p_i_service_list_ApiregistrationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiregistration_v1_a_p_i_service_list(_api::ApiregistrationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiregistration_v1_a_p_i_service_list_ApiregistrationV1Api, "/apis/apiregistration.k8s.io/v1/watch/apiservices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiregistration_v1_a_p_i_service_list(_api::ApiregistrationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1_a_p_i_service_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiregistration_v1_a_p_i_service_list(_api::ApiregistrationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1_a_p_i_service_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apiregistration_v1_a_p_i_service +export delete_apiregistration_v1_a_p_i_service +export delete_apiregistration_v1_collection_a_p_i_service +export get_apiregistration_v1_a_p_i_resources +export list_apiregistration_v1_a_p_i_service +export patch_apiregistration_v1_a_p_i_service +export patch_apiregistration_v1_a_p_i_service_status +export read_apiregistration_v1_a_p_i_service +export read_apiregistration_v1_a_p_i_service_status +export replace_apiregistration_v1_a_p_i_service +export replace_apiregistration_v1_a_p_i_service_status +export watch_apiregistration_v1_a_p_i_service +export watch_apiregistration_v1_a_p_i_service_list diff --git a/src/ApiImpl/api/apis/api_ApiregistrationV1beta1Api.jl b/src/ApiImpl/api/apis/api_ApiregistrationV1beta1Api.jl new file mode 100644 index 00000000..96e47ab7 --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApiregistrationV1beta1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApiregistrationV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApiregistrationV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApiregistrationV1beta1Api }) = "http://localhost" + +const _returntypes_create_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an APIService + +Params: +- body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function create_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiregistration_v1beta1_a_p_i_service(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apiregistration_v1beta1_a_p_i_service(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an APIService + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1beta1_a_p_i_service(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1beta1_a_p_i_service(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apiregistration_v1beta1_collection_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apiregistration_v1beta1_collection_a_p_i_service(_api::ApiregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apiregistration_v1beta1_collection_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of APIService + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apiregistration_v1beta1_collection_a_p_i_service(_api::ApiregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1beta1_collection_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apiregistration_v1beta1_collection_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apiregistration_v1beta1_collection_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apiregistration_v1beta1_a_p_i_resources_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apiregistration_v1beta1_a_p_i_resources(_api::ApiregistrationV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apiregistration_v1beta1_a_p_i_resources_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apiregistration_v1beta1_a_p_i_resources(_api::ApiregistrationV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_apiregistration_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apiregistration_v1beta1_a_p_i_resources(_api::ApiregistrationV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apiregistration_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind APIService + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, OpenAPI.Clients.ApiResponse +""" +function list_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiregistration_v1beta1_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apiregistration_v1beta1_a_p_i_service(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified APIService + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function patch_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1beta1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1beta1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apiregistration_v1beta1_a_p_i_service_status_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apiregistration_v1beta1_a_p_i_service_status_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified APIService + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function patch_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1beta1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apiregistration_v1beta1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified APIService + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function read_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1beta1_a_p_i_service(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1beta1_a_p_i_service(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apiregistration_v1beta1_a_p_i_service_status_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apiregistration_v1beta1_a_p_i_service_status_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified APIService + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function read_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1beta1_a_p_i_service_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apiregistration_v1beta1_a_p_i_service_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified APIService + +Params: +- name::String (required) +- body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function replace_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1beta1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1beta1_a_p_i_service(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apiregistration_v1beta1_a_p_i_service_status_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apiregistration_v1beta1_a_p_i_service_status_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified APIService + +Params: +- name::String (required) +- body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, OpenAPI.Clients.ApiResponse +""" +function replace_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1beta1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apiregistration_v1beta1_a_p_i_service_status(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apiregistration_v1beta1_a_p_i_service_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiregistration_v1beta1_a_p_i_service_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1beta1_a_p_i_service(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiregistration_v1beta1_a_p_i_service(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1beta1_a_p_i_service(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apiregistration_v1beta1_a_p_i_service_list_ApiregistrationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apiregistration_v1beta1_a_p_i_service_list(_api::ApiregistrationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apiregistration_v1beta1_a_p_i_service_list_ApiregistrationV1beta1Api, "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apiregistration_v1beta1_a_p_i_service_list(_api::ApiregistrationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1beta1_a_p_i_service_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apiregistration_v1beta1_a_p_i_service_list(_api::ApiregistrationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apiregistration_v1beta1_a_p_i_service_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apiregistration_v1beta1_a_p_i_service +export delete_apiregistration_v1beta1_a_p_i_service +export delete_apiregistration_v1beta1_collection_a_p_i_service +export get_apiregistration_v1beta1_a_p_i_resources +export list_apiregistration_v1beta1_a_p_i_service +export patch_apiregistration_v1beta1_a_p_i_service +export patch_apiregistration_v1beta1_a_p_i_service_status +export read_apiregistration_v1beta1_a_p_i_service +export read_apiregistration_v1beta1_a_p_i_service_status +export replace_apiregistration_v1beta1_a_p_i_service +export replace_apiregistration_v1beta1_a_p_i_service_status +export watch_apiregistration_v1beta1_a_p_i_service +export watch_apiregistration_v1beta1_a_p_i_service_list diff --git a/src/ApiImpl/api/apis/api_ApisApi.jl b/src/ApiImpl/api/apis/api_ApisApi.jl new file mode 100644 index 00000000..7117276d --- /dev/null +++ b/src/ApiImpl/api/apis/api_ApisApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ApisApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ApisApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ApisApi }) = "http://localhost" + +const _returntypes_get_a_p_i_versions_ApisApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroupList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_a_p_i_versions(_api::ApisApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_a_p_i_versions_ApisApi, "/apis/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available API versions + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroupList, OpenAPI.Clients.ApiResponse +""" +function get_a_p_i_versions(_api::ApisApi; _mediaType=nothing) + _ctx = _oacinternal_get_a_p_i_versions(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_a_p_i_versions(_api::ApisApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_a_p_i_versions(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_a_p_i_versions diff --git a/src/ApiImpl/api/apis/api_AppsApi.jl b/src/ApiImpl/api/apis/api_AppsApi.jl new file mode 100644 index 00000000..03f44e04 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AppsApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AppsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AppsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AppsApi }) = "http://localhost" + +const _returntypes_get_apps_a_p_i_group_AppsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apps_a_p_i_group(_api::AppsApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apps_a_p_i_group_AppsApi, "/apis/apps/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_apps_a_p_i_group(_api::AppsApi; _mediaType=nothing) + _ctx = _oacinternal_get_apps_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apps_a_p_i_group(_api::AppsApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apps_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_apps_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_AppsV1Api.jl b/src/ApiImpl/api/apis/api_AppsV1Api.jl new file mode 100644 index 00000000..8ae228a6 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AppsV1Api.jl @@ -0,0 +1,3408 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AppsV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AppsV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AppsV1Api }) = "http://localhost" + +const _returntypes_create_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1_namespaced_controller_revision(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ControllerRevision + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1ControllerRevision (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1_namespaced_controller_revision(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_controller_revision(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_controller_revision(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1_namespaced_daemon_set(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a DaemonSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1_namespaced_daemon_set(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_daemon_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_daemon_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1_namespaced_deployment(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Deployment + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1_namespaced_deployment(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1_namespaced_replica_set(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ReplicaSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1_namespaced_replica_set(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_replica_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_replica_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1_namespaced_stateful_set(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a StatefulSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1_namespaced_stateful_set(_api::AppsV1Api, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_stateful_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1_namespaced_stateful_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_collection_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_collection_namespaced_controller_revision(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_collection_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ControllerRevision + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_collection_namespaced_controller_revision(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_collection_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_collection_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_collection_namespaced_daemon_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_collection_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of DaemonSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_collection_namespaced_daemon_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_collection_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_collection_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_collection_namespaced_deployment(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_collection_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_collection_namespaced_deployment(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_collection_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_collection_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_collection_namespaced_replica_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_collection_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ReplicaSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_collection_namespaced_replica_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_collection_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_collection_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_collection_namespaced_stateful_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_collection_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of StatefulSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_collection_namespaced_stateful_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_collection_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_collection_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_replica_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_replica_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apps_v1_a_p_i_resources_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apps_v1_a_p_i_resources(_api::AppsV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apps_v1_a_p_i_resources_AppsV1Api, "/apis/apps/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apps_v1_a_p_i_resources(_api::AppsV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_apps_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apps_v1_a_p_i_resources(_api::AppsV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apps_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_controller_revision_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevisionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_controller_revision_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_controller_revision_for_all_namespaces_AppsV1Api, "/apis/apps/v1/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ControllerRevision + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1ControllerRevisionList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_controller_revision_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_controller_revision_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_controller_revision_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_controller_revision_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_daemon_set_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_daemon_set_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_daemon_set_for_all_namespaces_AppsV1Api, "/apis/apps/v1/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind DaemonSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1DaemonSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_daemon_set_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_daemon_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_daemon_set_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_daemon_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_deployment_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_deployment_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_deployment_for_all_namespaces_AppsV1Api, "/apis/apps/v1/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_deployment_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_deployment_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevisionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_namespaced_controller_revision(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ControllerRevision + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1ControllerRevisionList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_namespaced_controller_revision(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_namespaced_daemon_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind DaemonSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1DaemonSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_namespaced_daemon_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_namespaced_deployment(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_namespaced_deployment(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_namespaced_replica_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicaSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1ReplicaSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_namespaced_replica_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_namespaced_stateful_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StatefulSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1StatefulSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_namespaced_stateful_set(_api::AppsV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_replica_set_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_replica_set_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_replica_set_for_all_namespaces_AppsV1Api, "/apis/apps/v1/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicaSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1ReplicaSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_replica_set_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_replica_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_replica_set_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_replica_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1_stateful_set_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1_stateful_set_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1_stateful_set_for_all_namespaces_AppsV1Api, "/apis/apps/v1/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StatefulSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1StatefulSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1_stateful_set_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_stateful_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1_stateful_set_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1_stateful_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_daemon_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_daemon_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_deployment_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_deployment_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_deployment_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_deployment_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_deployment_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_deployment_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_deployment_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_replica_set_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_replica_set_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_replica_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_replica_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_stateful_set_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_stateful_set_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1_namespaced_stateful_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1_namespaced_stateful_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_daemon_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_daemon_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_daemon_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_daemon_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_deployment_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_deployment_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_deployment_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_deployment_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_deployment_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_deployment_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_deployment_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_replica_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_replica_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_replica_set_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_replica_set_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_replica_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_replica_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_replica_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_replica_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_replica_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_replica_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_stateful_set_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_stateful_set_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_stateful_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_stateful_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1_namespaced_stateful_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1_namespaced_stateful_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_stateful_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1_namespaced_stateful_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1ControllerRevision (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_daemon_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_daemon_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_daemon_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_deployment_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_deployment_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_deployment_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_deployment_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_deployment_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_deployment_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_deployment_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_deployment_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_replica_set_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_replica_set_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_replica_set_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_replica_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_replica_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_replica_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_stateful_set_scale_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_stateful_set_scale_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_stateful_set_scale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1_namespaced_stateful_set_status_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1_namespaced_stateful_set_status_AppsV1Api, "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, name::String, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1_namespaced_stateful_set_status(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_controller_revision_list_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_controller_revision_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_controller_revision_list_for_all_namespaces_AppsV1Api, "/apis/apps/v1/watch/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_controller_revision_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_controller_revision_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_controller_revision_list_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_controller_revision_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_daemon_set_list_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_daemon_set_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_daemon_set_list_for_all_namespaces_AppsV1Api, "/apis/apps/v1/watch/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_daemon_set_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_daemon_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_daemon_set_list_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_daemon_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_deployment_list_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_deployment_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_deployment_list_for_all_namespaces_AppsV1Api, "/apis/apps/v1/watch/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_deployment_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_deployment_list_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_controller_revision_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_controller_revision_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_controller_revision(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_controller_revision(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_controller_revision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_controller_revision(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_controller_revision_list_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_controller_revision_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_controller_revision_list_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_controller_revision_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_controller_revision_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_controller_revision_list(_api::AppsV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_controller_revision_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_daemon_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_daemon_set_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_daemon_set(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_daemon_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_daemon_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_daemon_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_daemon_set_list_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_daemon_set_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_daemon_set_list_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_daemon_set_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_daemon_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_daemon_set_list(_api::AppsV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_daemon_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_deployment_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_deployment_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_deployment(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_deployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_deployment_list_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_deployment_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_deployment_list_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_deployment_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_deployment_list(_api::AppsV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_replica_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_replica_set_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_replica_set(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_replica_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_replica_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_replica_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_replica_set_list_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_replica_set_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_replica_set_list_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_replica_set_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_replica_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_replica_set_list(_api::AppsV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_replica_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_stateful_set_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_stateful_set_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_stateful_set(_api::AppsV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_stateful_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_stateful_set(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_stateful_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_namespaced_stateful_set_list_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_namespaced_stateful_set_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_namespaced_stateful_set_list_AppsV1Api, "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_namespaced_stateful_set_list(_api::AppsV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_stateful_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_namespaced_stateful_set_list(_api::AppsV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_namespaced_stateful_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_replica_set_list_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_replica_set_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_replica_set_list_for_all_namespaces_AppsV1Api, "/apis/apps/v1/watch/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_replica_set_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_replica_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_replica_set_list_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_replica_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1_stateful_set_list_for_all_namespaces_AppsV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1_stateful_set_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1_stateful_set_list_for_all_namespaces_AppsV1Api, "/apis/apps/v1/watch/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1_stateful_set_list_for_all_namespaces(_api::AppsV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_stateful_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1_stateful_set_list_for_all_namespaces(_api::AppsV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1_stateful_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apps_v1_namespaced_controller_revision +export create_apps_v1_namespaced_daemon_set +export create_apps_v1_namespaced_deployment +export create_apps_v1_namespaced_replica_set +export create_apps_v1_namespaced_stateful_set +export delete_apps_v1_collection_namespaced_controller_revision +export delete_apps_v1_collection_namespaced_daemon_set +export delete_apps_v1_collection_namespaced_deployment +export delete_apps_v1_collection_namespaced_replica_set +export delete_apps_v1_collection_namespaced_stateful_set +export delete_apps_v1_namespaced_controller_revision +export delete_apps_v1_namespaced_daemon_set +export delete_apps_v1_namespaced_deployment +export delete_apps_v1_namespaced_replica_set +export delete_apps_v1_namespaced_stateful_set +export get_apps_v1_a_p_i_resources +export list_apps_v1_controller_revision_for_all_namespaces +export list_apps_v1_daemon_set_for_all_namespaces +export list_apps_v1_deployment_for_all_namespaces +export list_apps_v1_namespaced_controller_revision +export list_apps_v1_namespaced_daemon_set +export list_apps_v1_namespaced_deployment +export list_apps_v1_namespaced_replica_set +export list_apps_v1_namespaced_stateful_set +export list_apps_v1_replica_set_for_all_namespaces +export list_apps_v1_stateful_set_for_all_namespaces +export patch_apps_v1_namespaced_controller_revision +export patch_apps_v1_namespaced_daemon_set +export patch_apps_v1_namespaced_daemon_set_status +export patch_apps_v1_namespaced_deployment +export patch_apps_v1_namespaced_deployment_scale +export patch_apps_v1_namespaced_deployment_status +export patch_apps_v1_namespaced_replica_set +export patch_apps_v1_namespaced_replica_set_scale +export patch_apps_v1_namespaced_replica_set_status +export patch_apps_v1_namespaced_stateful_set +export patch_apps_v1_namespaced_stateful_set_scale +export patch_apps_v1_namespaced_stateful_set_status +export read_apps_v1_namespaced_controller_revision +export read_apps_v1_namespaced_daemon_set +export read_apps_v1_namespaced_daemon_set_status +export read_apps_v1_namespaced_deployment +export read_apps_v1_namespaced_deployment_scale +export read_apps_v1_namespaced_deployment_status +export read_apps_v1_namespaced_replica_set +export read_apps_v1_namespaced_replica_set_scale +export read_apps_v1_namespaced_replica_set_status +export read_apps_v1_namespaced_stateful_set +export read_apps_v1_namespaced_stateful_set_scale +export read_apps_v1_namespaced_stateful_set_status +export replace_apps_v1_namespaced_controller_revision +export replace_apps_v1_namespaced_daemon_set +export replace_apps_v1_namespaced_daemon_set_status +export replace_apps_v1_namespaced_deployment +export replace_apps_v1_namespaced_deployment_scale +export replace_apps_v1_namespaced_deployment_status +export replace_apps_v1_namespaced_replica_set +export replace_apps_v1_namespaced_replica_set_scale +export replace_apps_v1_namespaced_replica_set_status +export replace_apps_v1_namespaced_stateful_set +export replace_apps_v1_namespaced_stateful_set_scale +export replace_apps_v1_namespaced_stateful_set_status +export watch_apps_v1_controller_revision_list_for_all_namespaces +export watch_apps_v1_daemon_set_list_for_all_namespaces +export watch_apps_v1_deployment_list_for_all_namespaces +export watch_apps_v1_namespaced_controller_revision +export watch_apps_v1_namespaced_controller_revision_list +export watch_apps_v1_namespaced_daemon_set +export watch_apps_v1_namespaced_daemon_set_list +export watch_apps_v1_namespaced_deployment +export watch_apps_v1_namespaced_deployment_list +export watch_apps_v1_namespaced_replica_set +export watch_apps_v1_namespaced_replica_set_list +export watch_apps_v1_namespaced_stateful_set +export watch_apps_v1_namespaced_stateful_set_list +export watch_apps_v1_replica_set_list_for_all_namespaces +export watch_apps_v1_stateful_set_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_AppsV1beta1Api.jl b/src/ApiImpl/api/apis/api_AppsV1beta1Api.jl new file mode 100644 index 00000000..f04928a7 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AppsV1beta1Api.jl @@ -0,0 +1,2080 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AppsV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AppsV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AppsV1beta1Api }) = "http://localhost" + +const _returntypes_create_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, namespace::String, body::IoK8sApiAppsV1beta1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ControllerRevision + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta1ControllerRevision (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, namespace::String, body::IoK8sApiAppsV1beta1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_controller_revision(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_controller_revision(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Deployment + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta1_namespaced_deployment_rollback_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta1_namespaced_deployment_rollback(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1DeploymentRollback; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta1_namespaced_deployment_rollback_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create rollback of a Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1DeploymentRollback (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta1_namespaced_deployment_rollback(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1DeploymentRollback; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_deployment_rollback(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta1_namespaced_deployment_rollback(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1DeploymentRollback; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_deployment_rollback(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a StatefulSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta1StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_stateful_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta1_namespaced_stateful_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta1_collection_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta1_collection_namespaced_controller_revision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta1_collection_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ControllerRevision + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta1_collection_namespaced_controller_revision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_collection_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta1_collection_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_collection_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta1_collection_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta1_collection_namespaced_deployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta1_collection_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta1_collection_namespaced_deployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta1_collection_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta1_collection_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta1_collection_namespaced_stateful_set(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta1_collection_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of StatefulSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta1_collection_namespaced_stateful_set(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_collection_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta1_collection_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_collection_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apps_v1beta1_a_p_i_resources_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apps_v1beta1_a_p_i_resources(_api::AppsV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apps_v1beta1_a_p_i_resources_AppsV1beta1Api, "/apis/apps/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apps_v1beta1_a_p_i_resources(_api::AppsV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_apps_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apps_v1beta1_a_p_i_resources(_api::AppsV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apps_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta1_controller_revision_for_all_namespaces_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevisionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta1_controller_revision_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta1_controller_revision_for_all_namespaces_AppsV1beta1Api, "/apis/apps/v1beta1/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ControllerRevision + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta1ControllerRevisionList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta1_controller_revision_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_controller_revision_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta1_controller_revision_for_all_namespaces(_api::AppsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_controller_revision_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta1_deployment_for_all_namespaces_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta1_deployment_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta1_deployment_for_all_namespaces_AppsV1beta1Api, "/apis/apps/v1beta1/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta1DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta1_deployment_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta1_deployment_for_all_namespaces(_api::AppsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevisionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ControllerRevision + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta1ControllerRevisionList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta1DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StatefulSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta1StatefulSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta1_stateful_set_for_all_namespaces_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta1_stateful_set_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta1_stateful_set_for_all_namespaces_AppsV1beta1Api, "/apis/apps/v1beta1/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StatefulSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta1StatefulSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta1_stateful_set_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_stateful_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta1_stateful_set_for_all_namespaces(_api::AppsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta1_stateful_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_deployment_scale_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_deployment_scale_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_deployment_status_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_deployment_status_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_stateful_set_scale_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_stateful_set_scale_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta1_namespaced_stateful_set_status_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta1_namespaced_stateful_set_status_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_controller_revision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_deployment_scale_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_deployment_scale_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_deployment_status_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_deployment_status_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_stateful_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_stateful_set_scale_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_stateful_set_scale_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_stateful_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_stateful_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta1_namespaced_stateful_set_status_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta1_namespaced_stateful_set_status_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_stateful_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta1_namespaced_stateful_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1ControllerRevision (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_deployment_scale_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_deployment_scale_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_deployment_scale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_deployment_status_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_deployment_status_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_deployment_status(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_stateful_set_scale_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_stateful_set_scale_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_stateful_set_scale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta1_namespaced_stateful_set_status_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta1StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta1_namespaced_stateful_set_status_AppsV1beta1Api, "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta1StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta1StatefulSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, name::String, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta1_namespaced_stateful_set_status(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta1StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta1_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_controller_revision_list_for_all_namespaces_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_controller_revision_list_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_controller_revision_list_for_all_namespaces_AppsV1beta1Api, "/apis/apps/v1beta1/watch/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_controller_revision_list_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_controller_revision_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_controller_revision_list_for_all_namespaces(_api::AppsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_controller_revision_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_deployment_list_for_all_namespaces_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_deployment_list_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_deployment_list_for_all_namespaces_AppsV1beta1Api, "/apis/apps/v1beta1/watch/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_deployment_list_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_deployment_list_for_all_namespaces(_api::AppsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_namespaced_controller_revision_AppsV1beta1Api, "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_controller_revision(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_namespaced_controller_revision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_controller_revision(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_namespaced_controller_revision_list_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_namespaced_controller_revision_list(_api::AppsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_namespaced_controller_revision_list_AppsV1beta1Api, "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_namespaced_controller_revision_list(_api::AppsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_controller_revision_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_namespaced_controller_revision_list(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_controller_revision_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_namespaced_deployment_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_namespaced_deployment_AppsV1beta1Api, "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_namespaced_deployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_namespaced_deployment_list_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_namespaced_deployment_list(_api::AppsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_namespaced_deployment_list_AppsV1beta1Api, "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_namespaced_deployment_list(_api::AppsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_namespaced_deployment_list(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_namespaced_stateful_set_AppsV1beta1Api, "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_stateful_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_namespaced_stateful_set(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_stateful_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_namespaced_stateful_set_list_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_namespaced_stateful_set_list(_api::AppsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_namespaced_stateful_set_list_AppsV1beta1Api, "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_namespaced_stateful_set_list(_api::AppsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_stateful_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_namespaced_stateful_set_list(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_namespaced_stateful_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta1_stateful_set_list_for_all_namespaces_AppsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta1_stateful_set_list_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta1_stateful_set_list_for_all_namespaces_AppsV1beta1Api, "/apis/apps/v1beta1/watch/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta1_stateful_set_list_for_all_namespaces(_api::AppsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_stateful_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta1_stateful_set_list_for_all_namespaces(_api::AppsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta1_stateful_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apps_v1beta1_namespaced_controller_revision +export create_apps_v1beta1_namespaced_deployment +export create_apps_v1beta1_namespaced_deployment_rollback +export create_apps_v1beta1_namespaced_stateful_set +export delete_apps_v1beta1_collection_namespaced_controller_revision +export delete_apps_v1beta1_collection_namespaced_deployment +export delete_apps_v1beta1_collection_namespaced_stateful_set +export delete_apps_v1beta1_namespaced_controller_revision +export delete_apps_v1beta1_namespaced_deployment +export delete_apps_v1beta1_namespaced_stateful_set +export get_apps_v1beta1_a_p_i_resources +export list_apps_v1beta1_controller_revision_for_all_namespaces +export list_apps_v1beta1_deployment_for_all_namespaces +export list_apps_v1beta1_namespaced_controller_revision +export list_apps_v1beta1_namespaced_deployment +export list_apps_v1beta1_namespaced_stateful_set +export list_apps_v1beta1_stateful_set_for_all_namespaces +export patch_apps_v1beta1_namespaced_controller_revision +export patch_apps_v1beta1_namespaced_deployment +export patch_apps_v1beta1_namespaced_deployment_scale +export patch_apps_v1beta1_namespaced_deployment_status +export patch_apps_v1beta1_namespaced_stateful_set +export patch_apps_v1beta1_namespaced_stateful_set_scale +export patch_apps_v1beta1_namespaced_stateful_set_status +export read_apps_v1beta1_namespaced_controller_revision +export read_apps_v1beta1_namespaced_deployment +export read_apps_v1beta1_namespaced_deployment_scale +export read_apps_v1beta1_namespaced_deployment_status +export read_apps_v1beta1_namespaced_stateful_set +export read_apps_v1beta1_namespaced_stateful_set_scale +export read_apps_v1beta1_namespaced_stateful_set_status +export replace_apps_v1beta1_namespaced_controller_revision +export replace_apps_v1beta1_namespaced_deployment +export replace_apps_v1beta1_namespaced_deployment_scale +export replace_apps_v1beta1_namespaced_deployment_status +export replace_apps_v1beta1_namespaced_stateful_set +export replace_apps_v1beta1_namespaced_stateful_set_scale +export replace_apps_v1beta1_namespaced_stateful_set_status +export watch_apps_v1beta1_controller_revision_list_for_all_namespaces +export watch_apps_v1beta1_deployment_list_for_all_namespaces +export watch_apps_v1beta1_namespaced_controller_revision +export watch_apps_v1beta1_namespaced_controller_revision_list +export watch_apps_v1beta1_namespaced_deployment +export watch_apps_v1beta1_namespaced_deployment_list +export watch_apps_v1beta1_namespaced_stateful_set +export watch_apps_v1beta1_namespaced_stateful_set_list +export watch_apps_v1beta1_stateful_set_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_AppsV1beta2Api.jl b/src/ApiImpl/api/apis/api_AppsV1beta2Api.jl new file mode 100644 index 00000000..9ee79ec0 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AppsV1beta2Api.jl @@ -0,0 +1,3408 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AppsV1beta2Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AppsV1beta2Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AppsV1beta2Api }) = "http://localhost" + +const _returntypes_create_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ControllerRevision + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta2ControllerRevision (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_controller_revision(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta2ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_controller_revision(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a DaemonSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta2DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_daemon_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_daemon_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Deployment + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta2Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ReplicaSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta2ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_replica_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_replica_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a StatefulSet + +Params: +- namespace::String (required) +- body::IoK8sApiAppsV1beta2StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function create_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_stateful_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_apps_v1beta2_namespaced_stateful_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_collection_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_collection_namespaced_controller_revision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_collection_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ControllerRevision + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_collection_namespaced_controller_revision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_collection_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_collection_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_collection_namespaced_daemon_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_collection_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of DaemonSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_collection_namespaced_daemon_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_collection_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_collection_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_collection_namespaced_deployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_collection_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_collection_namespaced_deployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_collection_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_collection_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_collection_namespaced_replica_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_collection_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ReplicaSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_collection_namespaced_replica_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_collection_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_collection_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_collection_namespaced_stateful_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_collection_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of StatefulSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_collection_namespaced_stateful_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_collection_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_collection_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_controller_revision(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_controller_revision(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_daemon_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_daemon_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_replica_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_replica_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_stateful_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_apps_v1beta2_namespaced_stateful_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_apps_v1beta2_a_p_i_resources_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_apps_v1beta2_a_p_i_resources(_api::AppsV1beta2Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_apps_v1beta2_a_p_i_resources_AppsV1beta2Api, "/apis/apps/v1beta2/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_apps_v1beta2_a_p_i_resources(_api::AppsV1beta2Api; _mediaType=nothing) + _ctx = _oacinternal_get_apps_v1beta2_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_apps_v1beta2_a_p_i_resources(_api::AppsV1beta2Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_apps_v1beta2_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_controller_revision_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevisionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_controller_revision_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_controller_revision_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ControllerRevision + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2ControllerRevisionList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_controller_revision_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_controller_revision_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_controller_revision_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_controller_revision_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_daemon_set_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_daemon_set_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_daemon_set_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind DaemonSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2DaemonSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_daemon_set_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_daemon_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_daemon_set_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_daemon_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_deployment_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_deployment_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_deployment_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_deployment_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_deployment_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevisionList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ControllerRevision + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2ControllerRevisionList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_controller_revision(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind DaemonSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2DaemonSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicaSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2ReplicaSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StatefulSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2StatefulSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_namespaced_stateful_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_replica_set_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_replica_set_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_replica_set_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicaSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2ReplicaSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_replica_set_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_replica_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_replica_set_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_replica_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_apps_v1beta2_stateful_set_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_apps_v1beta2_stateful_set_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_apps_v1beta2_stateful_set_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StatefulSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAppsV1beta2StatefulSetList, OpenAPI.Clients.ApiResponse +""" +function list_apps_v1beta2_stateful_set_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_stateful_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_apps_v1beta2_stateful_set_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_apps_v1beta2_stateful_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_daemon_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_daemon_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_deployment_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_deployment_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_deployment_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_deployment_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_replica_set_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_replica_set_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_replica_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_replica_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_stateful_set_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_stateful_set_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_apps_v1beta2_namespaced_stateful_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_apps_v1beta2_namespaced_stateful_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function patch_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_apps_v1beta2_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta2ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_controller_revision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_controller_revision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_daemon_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_daemon_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_daemon_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_daemon_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_daemon_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_daemon_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_deployment_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_deployment_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_deployment_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_deployment_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_replica_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_replica_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_replica_set_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_replica_set_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_replica_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_replica_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_replica_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_replica_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_replica_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_replica_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_stateful_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_stateful_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_stateful_set_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_stateful_set_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_stateful_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_stateful_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_apps_v1beta2_namespaced_stateful_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_apps_v1beta2_namespaced_stateful_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function read_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_stateful_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_apps_v1beta2_namespaced_stateful_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ControllerRevision, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ControllerRevision + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2ControllerRevision (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2ControllerRevision, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2ControllerRevision; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_controller_revision(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_daemon_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_daemon_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2DaemonSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_daemon_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_deployment_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_deployment_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_deployment_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_deployment_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_deployment_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_deployment_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_replica_set_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_replica_set_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_replica_set_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_replica_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_replica_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_replica_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_stateful_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_stateful_set_scale_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_stateful_set_scale_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2Scale, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_stateful_set_scale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_stateful_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_apps_v1beta2_namespaced_stateful_set_status_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAppsV1beta2StatefulSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_apps_v1beta2_namespaced_stateful_set_status_AppsV1beta2Api, "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified StatefulSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAppsV1beta2StatefulSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAppsV1beta2StatefulSet, OpenAPI.Clients.ApiResponse +""" +function replace_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, name::String, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_apps_v1beta2_namespaced_stateful_set_status(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAppsV1beta2StatefulSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_apps_v1beta2_namespaced_stateful_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_controller_revision_list_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_controller_revision_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_controller_revision_list_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/watch/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_controller_revision_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_controller_revision_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_controller_revision_list_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_controller_revision_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_daemon_set_list_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_daemon_set_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_daemon_set_list_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/watch/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_daemon_set_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_daemon_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_daemon_set_list_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_daemon_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_deployment_list_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_deployment_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_deployment_list_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/watch/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_deployment_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_deployment_list_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_controller_revision_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_controller_revision(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_controller_revision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_controller_revision(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_controller_revision_list_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_controller_revision_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_controller_revision_list_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_controller_revision_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_controller_revision_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_controller_revision_list(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_controller_revision_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_daemon_set_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_daemon_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_daemon_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_daemon_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_daemon_set_list_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_daemon_set_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_daemon_set_list_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_daemon_set_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_daemon_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_daemon_set_list(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_daemon_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_deployment_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_deployment_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_deployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_deployment_list_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_deployment_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_deployment_list_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_deployment_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_deployment_list(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_replica_set_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_replica_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_replica_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_replica_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_replica_set_list_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_replica_set_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_replica_set_list_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_replica_set_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_replica_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_replica_set_list(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_replica_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_stateful_set_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_stateful_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_stateful_set(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_stateful_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_namespaced_stateful_set_list_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_namespaced_stateful_set_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_namespaced_stateful_set_list_AppsV1beta2Api, "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_namespaced_stateful_set_list(_api::AppsV1beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_stateful_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_namespaced_stateful_set_list(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_namespaced_stateful_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_replica_set_list_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_replica_set_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_replica_set_list_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/watch/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_replica_set_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_replica_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_replica_set_list_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_replica_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_apps_v1beta2_stateful_set_list_for_all_namespaces_AppsV1beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_apps_v1beta2_stateful_set_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_apps_v1beta2_stateful_set_list_for_all_namespaces_AppsV1beta2Api, "/apis/apps/v1beta2/watch/statefulsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_apps_v1beta2_stateful_set_list_for_all_namespaces(_api::AppsV1beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_stateful_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_apps_v1beta2_stateful_set_list_for_all_namespaces(_api::AppsV1beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_apps_v1beta2_stateful_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_apps_v1beta2_namespaced_controller_revision +export create_apps_v1beta2_namespaced_daemon_set +export create_apps_v1beta2_namespaced_deployment +export create_apps_v1beta2_namespaced_replica_set +export create_apps_v1beta2_namespaced_stateful_set +export delete_apps_v1beta2_collection_namespaced_controller_revision +export delete_apps_v1beta2_collection_namespaced_daemon_set +export delete_apps_v1beta2_collection_namespaced_deployment +export delete_apps_v1beta2_collection_namespaced_replica_set +export delete_apps_v1beta2_collection_namespaced_stateful_set +export delete_apps_v1beta2_namespaced_controller_revision +export delete_apps_v1beta2_namespaced_daemon_set +export delete_apps_v1beta2_namespaced_deployment +export delete_apps_v1beta2_namespaced_replica_set +export delete_apps_v1beta2_namespaced_stateful_set +export get_apps_v1beta2_a_p_i_resources +export list_apps_v1beta2_controller_revision_for_all_namespaces +export list_apps_v1beta2_daemon_set_for_all_namespaces +export list_apps_v1beta2_deployment_for_all_namespaces +export list_apps_v1beta2_namespaced_controller_revision +export list_apps_v1beta2_namespaced_daemon_set +export list_apps_v1beta2_namespaced_deployment +export list_apps_v1beta2_namespaced_replica_set +export list_apps_v1beta2_namespaced_stateful_set +export list_apps_v1beta2_replica_set_for_all_namespaces +export list_apps_v1beta2_stateful_set_for_all_namespaces +export patch_apps_v1beta2_namespaced_controller_revision +export patch_apps_v1beta2_namespaced_daemon_set +export patch_apps_v1beta2_namespaced_daemon_set_status +export patch_apps_v1beta2_namespaced_deployment +export patch_apps_v1beta2_namespaced_deployment_scale +export patch_apps_v1beta2_namespaced_deployment_status +export patch_apps_v1beta2_namespaced_replica_set +export patch_apps_v1beta2_namespaced_replica_set_scale +export patch_apps_v1beta2_namespaced_replica_set_status +export patch_apps_v1beta2_namespaced_stateful_set +export patch_apps_v1beta2_namespaced_stateful_set_scale +export patch_apps_v1beta2_namespaced_stateful_set_status +export read_apps_v1beta2_namespaced_controller_revision +export read_apps_v1beta2_namespaced_daemon_set +export read_apps_v1beta2_namespaced_daemon_set_status +export read_apps_v1beta2_namespaced_deployment +export read_apps_v1beta2_namespaced_deployment_scale +export read_apps_v1beta2_namespaced_deployment_status +export read_apps_v1beta2_namespaced_replica_set +export read_apps_v1beta2_namespaced_replica_set_scale +export read_apps_v1beta2_namespaced_replica_set_status +export read_apps_v1beta2_namespaced_stateful_set +export read_apps_v1beta2_namespaced_stateful_set_scale +export read_apps_v1beta2_namespaced_stateful_set_status +export replace_apps_v1beta2_namespaced_controller_revision +export replace_apps_v1beta2_namespaced_daemon_set +export replace_apps_v1beta2_namespaced_daemon_set_status +export replace_apps_v1beta2_namespaced_deployment +export replace_apps_v1beta2_namespaced_deployment_scale +export replace_apps_v1beta2_namespaced_deployment_status +export replace_apps_v1beta2_namespaced_replica_set +export replace_apps_v1beta2_namespaced_replica_set_scale +export replace_apps_v1beta2_namespaced_replica_set_status +export replace_apps_v1beta2_namespaced_stateful_set +export replace_apps_v1beta2_namespaced_stateful_set_scale +export replace_apps_v1beta2_namespaced_stateful_set_status +export watch_apps_v1beta2_controller_revision_list_for_all_namespaces +export watch_apps_v1beta2_daemon_set_list_for_all_namespaces +export watch_apps_v1beta2_deployment_list_for_all_namespaces +export watch_apps_v1beta2_namespaced_controller_revision +export watch_apps_v1beta2_namespaced_controller_revision_list +export watch_apps_v1beta2_namespaced_daemon_set +export watch_apps_v1beta2_namespaced_daemon_set_list +export watch_apps_v1beta2_namespaced_deployment +export watch_apps_v1beta2_namespaced_deployment_list +export watch_apps_v1beta2_namespaced_replica_set +export watch_apps_v1beta2_namespaced_replica_set_list +export watch_apps_v1beta2_namespaced_stateful_set +export watch_apps_v1beta2_namespaced_stateful_set_list +export watch_apps_v1beta2_replica_set_list_for_all_namespaces +export watch_apps_v1beta2_stateful_set_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_AuditregistrationApi.jl b/src/ApiImpl/api/apis/api_AuditregistrationApi.jl new file mode 100644 index 00000000..0b410cb0 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuditregistrationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuditregistrationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuditregistrationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuditregistrationApi }) = "http://localhost" + +const _returntypes_get_auditregistration_a_p_i_group_AuditregistrationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_auditregistration_a_p_i_group(_api::AuditregistrationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_auditregistration_a_p_i_group_AuditregistrationApi, "/apis/auditregistration.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_auditregistration_a_p_i_group(_api::AuditregistrationApi; _mediaType=nothing) + _ctx = _oacinternal_get_auditregistration_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_auditregistration_a_p_i_group(_api::AuditregistrationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_auditregistration_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_auditregistration_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_AuditregistrationV1alpha1Api.jl b/src/ApiImpl/api/apis/api_AuditregistrationV1alpha1Api.jl new file mode 100644 index 00000000..a675e1a2 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuditregistrationV1alpha1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuditregistrationV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuditregistrationV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuditregistrationV1alpha1Api }) = "http://localhost" + +const _returntypes_create_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, body::IoK8sApiAuditregistrationV1alpha1AuditSink; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an AuditSink + +Params: +- body::IoK8sApiAuditregistrationV1alpha1AuditSink (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAuditregistrationV1alpha1AuditSink, OpenAPI.Clients.ApiResponse +""" +function create_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, body::IoK8sApiAuditregistrationV1alpha1AuditSink; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_auditregistration_v1alpha1_audit_sink(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, body::IoK8sApiAuditregistrationV1alpha1AuditSink; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_auditregistration_v1alpha1_audit_sink(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an AuditSink + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_auditregistration_v1alpha1_audit_sink(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_auditregistration_v1alpha1_audit_sink(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_auditregistration_v1alpha1_collection_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_auditregistration_v1alpha1_collection_audit_sink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_auditregistration_v1alpha1_collection_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of AuditSink + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_auditregistration_v1alpha1_collection_audit_sink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_auditregistration_v1alpha1_collection_audit_sink(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_auditregistration_v1alpha1_collection_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_auditregistration_v1alpha1_collection_audit_sink(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_auditregistration_v1alpha1_a_p_i_resources_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_auditregistration_v1alpha1_a_p_i_resources(_api::AuditregistrationV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_auditregistration_v1alpha1_a_p_i_resources_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_auditregistration_v1alpha1_a_p_i_resources(_api::AuditregistrationV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_auditregistration_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_auditregistration_v1alpha1_a_p_i_resources(_api::AuditregistrationV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_auditregistration_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSinkList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind AuditSink + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAuditregistrationV1alpha1AuditSinkList, OpenAPI.Clients.ApiResponse +""" +function list_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_auditregistration_v1alpha1_audit_sink(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_auditregistration_v1alpha1_audit_sink(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified AuditSink + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAuditregistrationV1alpha1AuditSink, OpenAPI.Clients.ApiResponse +""" +function patch_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_auditregistration_v1alpha1_audit_sink(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_auditregistration_v1alpha1_audit_sink(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified AuditSink + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAuditregistrationV1alpha1AuditSink, OpenAPI.Clients.ApiResponse +""" +function read_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_auditregistration_v1alpha1_audit_sink(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_auditregistration_v1alpha1_audit_sink(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuditregistrationV1alpha1AuditSink, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String, body::IoK8sApiAuditregistrationV1alpha1AuditSink; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified AuditSink + +Params: +- name::String (required) +- body::IoK8sApiAuditregistrationV1alpha1AuditSink (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAuditregistrationV1alpha1AuditSink, OpenAPI.Clients.ApiResponse +""" +function replace_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String, body::IoK8sApiAuditregistrationV1alpha1AuditSink; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_auditregistration_v1alpha1_audit_sink(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiAuditregistrationV1alpha1AuditSink; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_auditregistration_v1alpha1_audit_sink(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_auditregistration_v1alpha1_audit_sink_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_auditregistration_v1alpha1_audit_sink(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_auditregistration_v1alpha1_audit_sink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_auditregistration_v1alpha1_audit_sink(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_auditregistration_v1alpha1_audit_sink_list_AuditregistrationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_auditregistration_v1alpha1_audit_sink_list(_api::AuditregistrationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_auditregistration_v1alpha1_audit_sink_list_AuditregistrationV1alpha1Api, "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of AuditSink. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_auditregistration_v1alpha1_audit_sink_list(_api::AuditregistrationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_auditregistration_v1alpha1_audit_sink_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_auditregistration_v1alpha1_audit_sink_list(_api::AuditregistrationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_auditregistration_v1alpha1_audit_sink_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_auditregistration_v1alpha1_audit_sink +export delete_auditregistration_v1alpha1_audit_sink +export delete_auditregistration_v1alpha1_collection_audit_sink +export get_auditregistration_v1alpha1_a_p_i_resources +export list_auditregistration_v1alpha1_audit_sink +export patch_auditregistration_v1alpha1_audit_sink +export read_auditregistration_v1alpha1_audit_sink +export replace_auditregistration_v1alpha1_audit_sink +export watch_auditregistration_v1alpha1_audit_sink +export watch_auditregistration_v1alpha1_audit_sink_list diff --git a/src/ApiImpl/api/apis/api_AuthenticationApi.jl b/src/ApiImpl/api/apis/api_AuthenticationApi.jl new file mode 100644 index 00000000..e2d16dfa --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuthenticationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuthenticationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuthenticationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuthenticationApi }) = "http://localhost" + +const _returntypes_get_authentication_a_p_i_group_AuthenticationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_authentication_a_p_i_group(_api::AuthenticationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_authentication_a_p_i_group_AuthenticationApi, "/apis/authentication.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_authentication_a_p_i_group(_api::AuthenticationApi; _mediaType=nothing) + _ctx = _oacinternal_get_authentication_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_authentication_a_p_i_group(_api::AuthenticationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_authentication_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_authentication_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_AuthenticationV1Api.jl b/src/ApiImpl/api/apis/api_AuthenticationV1Api.jl new file mode 100644 index 00000000..cea6091c --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuthenticationV1Api.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuthenticationV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuthenticationV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuthenticationV1Api }) = "http://localhost" + +const _returntypes_create_authentication_v1_token_review_AuthenticationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthenticationV1TokenReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthenticationV1TokenReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthenticationV1TokenReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authentication_v1_token_review(_api::AuthenticationV1Api, body::IoK8sApiAuthenticationV1TokenReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authentication_v1_token_review_AuthenticationV1Api, "/apis/authentication.k8s.io/v1/tokenreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a TokenReview + +Params: +- body::IoK8sApiAuthenticationV1TokenReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthenticationV1TokenReview, OpenAPI.Clients.ApiResponse +""" +function create_authentication_v1_token_review(_api::AuthenticationV1Api, body::IoK8sApiAuthenticationV1TokenReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authentication_v1_token_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authentication_v1_token_review(_api::AuthenticationV1Api, response_stream::Channel, body::IoK8sApiAuthenticationV1TokenReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authentication_v1_token_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_authentication_v1_a_p_i_resources_AuthenticationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_authentication_v1_a_p_i_resources(_api::AuthenticationV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_authentication_v1_a_p_i_resources_AuthenticationV1Api, "/apis/authentication.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_authentication_v1_a_p_i_resources(_api::AuthenticationV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_authentication_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_authentication_v1_a_p_i_resources(_api::AuthenticationV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_authentication_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_authentication_v1_token_review +export get_authentication_v1_a_p_i_resources diff --git a/src/ApiImpl/api/apis/api_AuthenticationV1beta1Api.jl b/src/ApiImpl/api/apis/api_AuthenticationV1beta1Api.jl new file mode 100644 index 00000000..88248b17 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuthenticationV1beta1Api.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuthenticationV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuthenticationV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuthenticationV1beta1Api }) = "http://localhost" + +const _returntypes_create_authentication_v1beta1_token_review_AuthenticationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthenticationV1beta1TokenReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthenticationV1beta1TokenReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthenticationV1beta1TokenReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authentication_v1beta1_token_review(_api::AuthenticationV1beta1Api, body::IoK8sApiAuthenticationV1beta1TokenReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authentication_v1beta1_token_review_AuthenticationV1beta1Api, "/apis/authentication.k8s.io/v1beta1/tokenreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a TokenReview + +Params: +- body::IoK8sApiAuthenticationV1beta1TokenReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthenticationV1beta1TokenReview, OpenAPI.Clients.ApiResponse +""" +function create_authentication_v1beta1_token_review(_api::AuthenticationV1beta1Api, body::IoK8sApiAuthenticationV1beta1TokenReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authentication_v1beta1_token_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authentication_v1beta1_token_review(_api::AuthenticationV1beta1Api, response_stream::Channel, body::IoK8sApiAuthenticationV1beta1TokenReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authentication_v1beta1_token_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_authentication_v1beta1_a_p_i_resources_AuthenticationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_authentication_v1beta1_a_p_i_resources(_api::AuthenticationV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_authentication_v1beta1_a_p_i_resources_AuthenticationV1beta1Api, "/apis/authentication.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_authentication_v1beta1_a_p_i_resources(_api::AuthenticationV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_authentication_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_authentication_v1beta1_a_p_i_resources(_api::AuthenticationV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_authentication_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_authentication_v1beta1_token_review +export get_authentication_v1beta1_a_p_i_resources diff --git a/src/ApiImpl/api/apis/api_AuthorizationApi.jl b/src/ApiImpl/api/apis/api_AuthorizationApi.jl new file mode 100644 index 00000000..b8b92636 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuthorizationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuthorizationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuthorizationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuthorizationApi }) = "http://localhost" + +const _returntypes_get_authorization_a_p_i_group_AuthorizationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_authorization_a_p_i_group(_api::AuthorizationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_authorization_a_p_i_group_AuthorizationApi, "/apis/authorization.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_authorization_a_p_i_group(_api::AuthorizationApi; _mediaType=nothing) + _ctx = _oacinternal_get_authorization_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_authorization_a_p_i_group(_api::AuthorizationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_authorization_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_authorization_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_AuthorizationV1Api.jl b/src/ApiImpl/api/apis/api_AuthorizationV1Api.jl new file mode 100644 index 00000000..72350ef4 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuthorizationV1Api.jl @@ -0,0 +1,196 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuthorizationV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuthorizationV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuthorizationV1Api }) = "http://localhost" + +const _returntypes_create_authorization_v1_namespaced_local_subject_access_review_AuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1LocalSubjectAccessReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1LocalSubjectAccessReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1LocalSubjectAccessReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1_namespaced_local_subject_access_review(_api::AuthorizationV1Api, namespace::String, body::IoK8sApiAuthorizationV1LocalSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1_namespaced_local_subject_access_review_AuthorizationV1Api, "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a LocalSubjectAccessReview + +Params: +- namespace::String (required) +- body::IoK8sApiAuthorizationV1LocalSubjectAccessReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1LocalSubjectAccessReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1_namespaced_local_subject_access_review(_api::AuthorizationV1Api, namespace::String, body::IoK8sApiAuthorizationV1LocalSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_namespaced_local_subject_access_review(_api, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1_namespaced_local_subject_access_review(_api::AuthorizationV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAuthorizationV1LocalSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_namespaced_local_subject_access_review(_api, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_authorization_v1_self_subject_access_review_AuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SelfSubjectAccessReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SelfSubjectAccessReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SelfSubjectAccessReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1_self_subject_access_review(_api::AuthorizationV1Api, body::IoK8sApiAuthorizationV1SelfSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1_self_subject_access_review_AuthorizationV1Api, "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a SelfSubjectAccessReview + +Params: +- body::IoK8sApiAuthorizationV1SelfSubjectAccessReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1SelfSubjectAccessReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1_self_subject_access_review(_api::AuthorizationV1Api, body::IoK8sApiAuthorizationV1SelfSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_self_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1_self_subject_access_review(_api::AuthorizationV1Api, response_stream::Channel, body::IoK8sApiAuthorizationV1SelfSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_self_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_authorization_v1_self_subject_rules_review_AuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SelfSubjectRulesReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SelfSubjectRulesReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SelfSubjectRulesReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1_self_subject_rules_review(_api::AuthorizationV1Api, body::IoK8sApiAuthorizationV1SelfSubjectRulesReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1_self_subject_rules_review_AuthorizationV1Api, "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a SelfSubjectRulesReview + +Params: +- body::IoK8sApiAuthorizationV1SelfSubjectRulesReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1SelfSubjectRulesReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1_self_subject_rules_review(_api::AuthorizationV1Api, body::IoK8sApiAuthorizationV1SelfSubjectRulesReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_self_subject_rules_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1_self_subject_rules_review(_api::AuthorizationV1Api, response_stream::Channel, body::IoK8sApiAuthorizationV1SelfSubjectRulesReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_self_subject_rules_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_authorization_v1_subject_access_review_AuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SubjectAccessReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SubjectAccessReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1SubjectAccessReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1_subject_access_review(_api::AuthorizationV1Api, body::IoK8sApiAuthorizationV1SubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1_subject_access_review_AuthorizationV1Api, "/apis/authorization.k8s.io/v1/subjectaccessreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a SubjectAccessReview + +Params: +- body::IoK8sApiAuthorizationV1SubjectAccessReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1SubjectAccessReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1_subject_access_review(_api::AuthorizationV1Api, body::IoK8sApiAuthorizationV1SubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1_subject_access_review(_api::AuthorizationV1Api, response_stream::Channel, body::IoK8sApiAuthorizationV1SubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_authorization_v1_a_p_i_resources_AuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_authorization_v1_a_p_i_resources(_api::AuthorizationV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_authorization_v1_a_p_i_resources_AuthorizationV1Api, "/apis/authorization.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_authorization_v1_a_p_i_resources(_api::AuthorizationV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_authorization_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_authorization_v1_a_p_i_resources(_api::AuthorizationV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_authorization_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_authorization_v1_namespaced_local_subject_access_review +export create_authorization_v1_self_subject_access_review +export create_authorization_v1_self_subject_rules_review +export create_authorization_v1_subject_access_review +export get_authorization_v1_a_p_i_resources diff --git a/src/ApiImpl/api/apis/api_AuthorizationV1beta1Api.jl b/src/ApiImpl/api/apis/api_AuthorizationV1beta1Api.jl new file mode 100644 index 00000000..79a424ab --- /dev/null +++ b/src/ApiImpl/api/apis/api_AuthorizationV1beta1Api.jl @@ -0,0 +1,196 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AuthorizationV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AuthorizationV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AuthorizationV1beta1Api }) = "http://localhost" + +const _returntypes_create_authorization_v1beta1_namespaced_local_subject_access_review_AuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1beta1_namespaced_local_subject_access_review(_api::AuthorizationV1beta1Api, namespace::String, body::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1beta1_namespaced_local_subject_access_review_AuthorizationV1beta1Api, "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a LocalSubjectAccessReview + +Params: +- namespace::String (required) +- body::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1beta1_namespaced_local_subject_access_review(_api::AuthorizationV1beta1Api, namespace::String, body::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_namespaced_local_subject_access_review(_api, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1beta1_namespaced_local_subject_access_review(_api::AuthorizationV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_namespaced_local_subject_access_review(_api, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_authorization_v1beta1_self_subject_access_review_AuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1beta1_self_subject_access_review(_api::AuthorizationV1beta1Api, body::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1beta1_self_subject_access_review_AuthorizationV1beta1Api, "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a SelfSubjectAccessReview + +Params: +- body::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1beta1_self_subject_access_review(_api::AuthorizationV1beta1Api, body::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_self_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1beta1_self_subject_access_review(_api::AuthorizationV1beta1Api, response_stream::Channel, body::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_self_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_authorization_v1beta1_self_subject_rules_review_AuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1beta1_self_subject_rules_review(_api::AuthorizationV1beta1Api, body::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1beta1_self_subject_rules_review_AuthorizationV1beta1Api, "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a SelfSubjectRulesReview + +Params: +- body::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1beta1_self_subject_rules_review(_api::AuthorizationV1beta1Api, body::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_self_subject_rules_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1beta1_self_subject_rules_review(_api::AuthorizationV1beta1Api, response_stream::Channel, body::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_self_subject_rules_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_authorization_v1beta1_subject_access_review_AuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SubjectAccessReview, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SubjectAccessReview, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthorizationV1beta1SubjectAccessReview, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_authorization_v1beta1_subject_access_review(_api::AuthorizationV1beta1Api, body::IoK8sApiAuthorizationV1beta1SubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_authorization_v1beta1_subject_access_review_AuthorizationV1beta1Api, "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a SubjectAccessReview + +Params: +- body::IoK8sApiAuthorizationV1beta1SubjectAccessReview (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthorizationV1beta1SubjectAccessReview, OpenAPI.Clients.ApiResponse +""" +function create_authorization_v1beta1_subject_access_review(_api::AuthorizationV1beta1Api, body::IoK8sApiAuthorizationV1beta1SubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_authorization_v1beta1_subject_access_review(_api::AuthorizationV1beta1Api, response_stream::Channel, body::IoK8sApiAuthorizationV1beta1SubjectAccessReview; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_authorization_v1beta1_subject_access_review(_api, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_authorization_v1beta1_a_p_i_resources_AuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_authorization_v1beta1_a_p_i_resources(_api::AuthorizationV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_authorization_v1beta1_a_p_i_resources_AuthorizationV1beta1Api, "/apis/authorization.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_authorization_v1beta1_a_p_i_resources(_api::AuthorizationV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_authorization_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_authorization_v1beta1_a_p_i_resources(_api::AuthorizationV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_authorization_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_authorization_v1beta1_namespaced_local_subject_access_review +export create_authorization_v1beta1_self_subject_access_review +export create_authorization_v1beta1_self_subject_rules_review +export create_authorization_v1beta1_subject_access_review +export get_authorization_v1beta1_a_p_i_resources diff --git a/src/ApiImpl/api/apis/api_AutoscalingApi.jl b/src/ApiImpl/api/apis/api_AutoscalingApi.jl new file mode 100644 index 00000000..ed1a88f4 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AutoscalingApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AutoscalingApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AutoscalingApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AutoscalingApi }) = "http://localhost" + +const _returntypes_get_autoscaling_a_p_i_group_AutoscalingApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_autoscaling_a_p_i_group(_api::AutoscalingApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_autoscaling_a_p_i_group_AutoscalingApi, "/apis/autoscaling/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_autoscaling_a_p_i_group(_api::AutoscalingApi; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_autoscaling_a_p_i_group(_api::AutoscalingApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_autoscaling_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_AutoscalingV1Api.jl b/src/ApiImpl/api/apis/api_AutoscalingV1Api.jl new file mode 100644 index 00000000..71987f3d --- /dev/null +++ b/src/ApiImpl/api/apis/api_AutoscalingV1Api.jl @@ -0,0 +1,668 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AutoscalingV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AutoscalingV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AutoscalingV1Api }) = "http://localhost" + +const _returntypes_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_autoscaling_v1_a_p_i_resources_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_autoscaling_v1_a_p_i_resources(_api::AutoscalingV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_autoscaling_v1_a_p_i_resources_AutoscalingV1Api, "/apis/autoscaling/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_autoscaling_v1_a_p_i_resources(_api::AutoscalingV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_autoscaling_v1_a_p_i_resources(_api::AutoscalingV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces_AutoscalingV1Api, "/apis/autoscaling/v1/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind HorizontalPodAutoscaler + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, OpenAPI.Clients.ApiResponse +""" +function list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, OpenAPI.Clients.ApiResponse +""" +function list_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function read_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV1Api, "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces_AutoscalingV1Api, "/apis/autoscaling/v1/watch/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_AutoscalingV1Api, "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list_AutoscalingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list_AutoscalingV1Api, "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler +export delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export get_autoscaling_v1_a_p_i_resources +export list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces +export list_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status +export read_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status +export replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status +export watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces +export watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler +export watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list diff --git a/src/ApiImpl/api/apis/api_AutoscalingV2beta1Api.jl b/src/ApiImpl/api/apis/api_AutoscalingV2beta1Api.jl new file mode 100644 index 00000000..3fe31020 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AutoscalingV2beta1Api.jl @@ -0,0 +1,668 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AutoscalingV2beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AutoscalingV2beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AutoscalingV2beta1Api }) = "http://localhost" + +const _returntypes_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_autoscaling_v2beta1_a_p_i_resources_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_autoscaling_v2beta1_a_p_i_resources(_api::AutoscalingV2beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_autoscaling_v2beta1_a_p_i_resources_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_autoscaling_v2beta1_a_p_i_resources(_api::AutoscalingV2beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_v2beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_autoscaling_v2beta1_a_p_i_resources(_api::AutoscalingV2beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_v2beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV2beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind HorizontalPodAutoscaler + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, OpenAPI.Clients.ApiResponse +""" +function list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV2beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV2beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, OpenAPI.Clients.ApiResponse +""" +function list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV2beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV2beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV2beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list_AutoscalingV2beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV2beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list_AutoscalingV2beta1Api, "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV2beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler +export delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export get_autoscaling_v2beta1_a_p_i_resources +export list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces +export list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status +export read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status +export replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status +export watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces +export watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler +export watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list diff --git a/src/ApiImpl/api/apis/api_AutoscalingV2beta2Api.jl b/src/ApiImpl/api/apis/api_AutoscalingV2beta2Api.jl new file mode 100644 index 00000000..1682d223 --- /dev/null +++ b/src/ApiImpl/api/apis/api_AutoscalingV2beta2Api.jl @@ -0,0 +1,668 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AutoscalingV2beta2Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AutoscalingV2beta2Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AutoscalingV2beta2Api }) = "http://localhost" + +const _returntypes_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_autoscaling_v2beta2_a_p_i_resources_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_autoscaling_v2beta2_a_p_i_resources(_api::AutoscalingV2beta2Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_autoscaling_v2beta2_a_p_i_resources_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_autoscaling_v2beta2_a_p_i_resources(_api::AutoscalingV2beta2Api; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_v2beta2_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_autoscaling_v2beta2_a_p_i_resources(_api::AutoscalingV2beta2Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_autoscaling_v2beta2_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV2beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind HorizontalPodAutoscaler + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, OpenAPI.Clients.ApiResponse +""" +function list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV2beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(_api::AutoscalingV2beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind HorizontalPodAutoscaler + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, OpenAPI.Clients.ApiResponse +""" +function list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified HorizontalPodAutoscaler + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, OpenAPI.Clients.ApiResponse +""" +function replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV2beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV2beta2Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces(_api::AutoscalingV2beta2Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list_AutoscalingV2beta2Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV2beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list_AutoscalingV2beta2Api, "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV2beta2Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler +export delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export get_autoscaling_v2beta2_a_p_i_resources +export list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces +export list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status +export read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status +export replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status +export watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces +export watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler +export watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list diff --git a/src/ApiImpl/api/apis/api_BatchApi.jl b/src/ApiImpl/api/apis/api_BatchApi.jl new file mode 100644 index 00000000..5b35859c --- /dev/null +++ b/src/ApiImpl/api/apis/api_BatchApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct BatchApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `BatchApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ BatchApi }) = "http://localhost" + +const _returntypes_get_batch_a_p_i_group_BatchApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_batch_a_p_i_group(_api::BatchApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_batch_a_p_i_group_BatchApi, "/apis/batch/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_batch_a_p_i_group(_api::BatchApi; _mediaType=nothing) + _ctx = _oacinternal_get_batch_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_batch_a_p_i_group(_api::BatchApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_batch_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_batch_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_BatchV1Api.jl b/src/ApiImpl/api/apis/api_BatchV1Api.jl new file mode 100644 index 00000000..265e6655 --- /dev/null +++ b/src/ApiImpl/api/apis/api_BatchV1Api.jl @@ -0,0 +1,1300 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct BatchV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `BatchV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ BatchV1Api }) = "http://localhost" + +const _returntypes_create_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_batch_v1_namespaced_cron_job(_api::BatchV1Api, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CronJob + +Params: +- namespace::String (required) +- body::IoK8sApiBatchV1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function create_batch_v1_namespaced_cron_job(_api::BatchV1Api, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v1_namespaced_cron_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v1_namespaced_cron_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_batch_v1_namespaced_job(_api::BatchV1Api, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Job + +Params: +- namespace::String (required) +- body::IoK8sApiBatchV1Job (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function create_batch_v1_namespaced_job(_api::BatchV1Api, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v1_namespaced_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v1_namespaced_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v1_collection_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v1_collection_namespaced_cron_job(_api::BatchV1Api, namespace::String; pretty=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v1_collection_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CronJob + +Params: +- namespace::String (required) +- pretty::String +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v1_collection_namespaced_cron_job(_api::BatchV1Api, namespace::String; pretty=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_collection_namespaced_cron_job(_api, namespace; pretty=pretty, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v1_collection_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_collection_namespaced_cron_job(_api, namespace; pretty=pretty, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v1_collection_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v1_collection_namespaced_job(_api::BatchV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v1_collection_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Job + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v1_collection_namespaced_job(_api::BatchV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_collection_namespaced_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v1_collection_namespaced_job(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_collection_namespaced_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_namespaced_cron_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_namespaced_cron_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Job + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_namespaced_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1_namespaced_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_batch_v1_a_p_i_resources_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_batch_v1_a_p_i_resources(_api::BatchV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_batch_v1_a_p_i_resources_BatchV1Api, "/apis/batch/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_batch_v1_a_p_i_resources(_api::BatchV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_batch_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_batch_v1_a_p_i_resources(_api::BatchV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_batch_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v1_cron_job_for_all_namespaces_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v1_cron_job_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v1_cron_job_for_all_namespaces_BatchV1Api, "/apis/batch/v1/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CronJob + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV1CronJobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v1_cron_job_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_cron_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v1_cron_job_for_all_namespaces(_api::BatchV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_cron_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v1_job_for_all_namespaces_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1JobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v1_job_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v1_job_for_all_namespaces_BatchV1Api, "/apis/batch/v1/jobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Job + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV1JobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v1_job_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v1_job_for_all_namespaces(_api::BatchV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v1_namespaced_cron_job(_api::BatchV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CronJob + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV1CronJobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v1_namespaced_cron_job(_api::BatchV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1JobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v1_namespaced_job(_api::BatchV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Job + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV1JobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v1_namespaced_job(_api::BatchV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_namespaced_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1_namespaced_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v1_namespaced_cron_job_status_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v1_namespaced_cron_job_status_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Job + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v1_namespaced_job_status_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v1_namespaced_job_status(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v1_namespaced_job_status_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Job + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v1_namespaced_job_status(_api::BatchV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v1_namespaced_job_status(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1_namespaced_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function read_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_cron_job(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_cron_job(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v1_namespaced_cron_job_status_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v1_namespaced_cron_job_status_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function read_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_cron_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_cron_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Job + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function read_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_job(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_job(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v1_namespaced_job_status_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v1_namespaced_job_status(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v1_namespaced_job_status_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Job + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function read_batch_v1_namespaced_job_status(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v1_namespaced_job_status(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1_namespaced_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v1_namespaced_cron_job_status_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v1_namespaced_cron_job_status_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1CronJob, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v1_namespaced_cron_job_status(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Job + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV1Job (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v1_namespaced_job_status_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1Job, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v1_namespaced_job_status(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v1_namespaced_job_status_BatchV1Api, "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Job + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV1Job (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1Job, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v1_namespaced_job_status(_api::BatchV1Api, name::String, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v1_namespaced_job_status(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV1Job; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1_namespaced_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1_cron_job_list_for_all_namespaces_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1_cron_job_list_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1_cron_job_list_for_all_namespaces_BatchV1Api, "/apis/batch/v1/watch/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1_cron_job_list_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_cron_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1_cron_job_list_for_all_namespaces(_api::BatchV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_cron_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1_job_list_for_all_namespaces_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1_job_list_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1_job_list_for_all_namespaces_BatchV1Api, "/apis/batch/v1/watch/jobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1_job_list_for_all_namespaces(_api::BatchV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1_job_list_for_all_namespaces(_api::BatchV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1_namespaced_cron_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1_namespaced_cron_job_BatchV1Api, "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1_namespaced_cron_job(_api::BatchV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_cron_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1_namespaced_cron_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_cron_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1_namespaced_cron_job_list_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1_namespaced_cron_job_list(_api::BatchV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1_namespaced_cron_job_list_BatchV1Api, "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1_namespaced_cron_job_list(_api::BatchV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_cron_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1_namespaced_cron_job_list(_api::BatchV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_cron_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1_namespaced_job_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1_namespaced_job_BatchV1Api, "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1_namespaced_job(_api::BatchV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1_namespaced_job(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1_namespaced_job_list_BatchV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1_namespaced_job_list(_api::BatchV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1_namespaced_job_list_BatchV1Api, "/apis/batch/v1/watch/namespaces/{namespace}/jobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1_namespaced_job_list(_api::BatchV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1_namespaced_job_list(_api::BatchV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1_namespaced_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_batch_v1_namespaced_cron_job +export create_batch_v1_namespaced_job +export delete_batch_v1_collection_namespaced_cron_job +export delete_batch_v1_collection_namespaced_job +export delete_batch_v1_namespaced_cron_job +export delete_batch_v1_namespaced_job +export get_batch_v1_a_p_i_resources +export list_batch_v1_cron_job_for_all_namespaces +export list_batch_v1_job_for_all_namespaces +export list_batch_v1_namespaced_cron_job +export list_batch_v1_namespaced_job +export patch_batch_v1_namespaced_cron_job +export patch_batch_v1_namespaced_cron_job_status +export patch_batch_v1_namespaced_job +export patch_batch_v1_namespaced_job_status +export read_batch_v1_namespaced_cron_job +export read_batch_v1_namespaced_cron_job_status +export read_batch_v1_namespaced_job +export read_batch_v1_namespaced_job_status +export replace_batch_v1_namespaced_cron_job +export replace_batch_v1_namespaced_cron_job_status +export replace_batch_v1_namespaced_job +export replace_batch_v1_namespaced_job_status +export watch_batch_v1_cron_job_list_for_all_namespaces +export watch_batch_v1_job_list_for_all_namespaces +export watch_batch_v1_namespaced_cron_job +export watch_batch_v1_namespaced_cron_job_list +export watch_batch_v1_namespaced_job +export watch_batch_v1_namespaced_job_list diff --git a/src/ApiImpl/api/apis/api_BatchV1beta1Api.jl b/src/ApiImpl/api/apis/api_BatchV1beta1Api.jl new file mode 100644 index 00000000..1b4fcddf --- /dev/null +++ b/src/ApiImpl/api/apis/api_BatchV1beta1Api.jl @@ -0,0 +1,678 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct BatchV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `BatchV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ BatchV1beta1Api }) = "http://localhost" + +const _returntypes_create_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CronJob + +Params: +- namespace::String (required) +- body::IoK8sApiBatchV1beta1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function create_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v1beta1_namespaced_cron_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v1beta1_namespaced_cron_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v1beta1_collection_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v1beta1_collection_namespaced_cron_job(_api::BatchV1beta1Api, namespace::String; pretty=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v1beta1_collection_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CronJob + +Params: +- namespace::String (required) +- pretty::String +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v1beta1_collection_namespaced_cron_job(_api::BatchV1beta1Api, namespace::String; pretty=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1beta1_collection_namespaced_cron_job(_api, namespace; pretty=pretty, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v1beta1_collection_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1beta1_collection_namespaced_cron_job(_api, namespace; pretty=pretty, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1beta1_namespaced_cron_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v1beta1_namespaced_cron_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_batch_v1beta1_a_p_i_resources_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_batch_v1beta1_a_p_i_resources(_api::BatchV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_batch_v1beta1_a_p_i_resources_BatchV1beta1Api, "/apis/batch/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_batch_v1beta1_a_p_i_resources(_api::BatchV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_batch_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_batch_v1beta1_a_p_i_resources(_api::BatchV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_batch_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v1beta1_cron_job_for_all_namespaces_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v1beta1_cron_job_for_all_namespaces(_api::BatchV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v1beta1_cron_job_for_all_namespaces_BatchV1beta1Api, "/apis/batch/v1beta1/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CronJob + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV1beta1CronJobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v1beta1_cron_job_for_all_namespaces(_api::BatchV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1beta1_cron_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v1beta1_cron_job_for_all_namespaces(_api::BatchV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1beta1_cron_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CronJob + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV1beta1CronJobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1beta1_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v1beta1_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1beta1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1beta1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v1beta1_namespaced_cron_job_status_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v1beta1_namespaced_cron_job_status_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1beta1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v1beta1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function read_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1beta1_namespaced_cron_job(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1beta1_namespaced_cron_job(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v1beta1_namespaced_cron_job_status_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v1beta1_namespaced_cron_job_status_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function read_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1beta1_namespaced_cron_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v1beta1_namespaced_cron_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV1beta1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1beta1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1beta1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v1beta1_namespaced_cron_job_status_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV1beta1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, name::String, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v1beta1_namespaced_cron_job_status_BatchV1beta1Api, "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV1beta1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV1beta1CronJob, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, name::String, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1beta1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v1beta1_namespaced_cron_job_status(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV1beta1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v1beta1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1beta1_cron_job_list_for_all_namespaces_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1beta1_cron_job_list_for_all_namespaces(_api::BatchV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1beta1_cron_job_list_for_all_namespaces_BatchV1beta1Api, "/apis/batch/v1beta1/watch/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1beta1_cron_job_list_for_all_namespaces(_api::BatchV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1beta1_cron_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1beta1_cron_job_list_for_all_namespaces(_api::BatchV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1beta1_cron_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1beta1_namespaced_cron_job_BatchV1beta1Api, "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1beta1_namespaced_cron_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1beta1_namespaced_cron_job(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1beta1_namespaced_cron_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v1beta1_namespaced_cron_job_list_BatchV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v1beta1_namespaced_cron_job_list(_api::BatchV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v1beta1_namespaced_cron_job_list_BatchV1beta1Api, "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v1beta1_namespaced_cron_job_list(_api::BatchV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1beta1_namespaced_cron_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v1beta1_namespaced_cron_job_list(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v1beta1_namespaced_cron_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_batch_v1beta1_namespaced_cron_job +export delete_batch_v1beta1_collection_namespaced_cron_job +export delete_batch_v1beta1_namespaced_cron_job +export get_batch_v1beta1_a_p_i_resources +export list_batch_v1beta1_cron_job_for_all_namespaces +export list_batch_v1beta1_namespaced_cron_job +export patch_batch_v1beta1_namespaced_cron_job +export patch_batch_v1beta1_namespaced_cron_job_status +export read_batch_v1beta1_namespaced_cron_job +export read_batch_v1beta1_namespaced_cron_job_status +export replace_batch_v1beta1_namespaced_cron_job +export replace_batch_v1beta1_namespaced_cron_job_status +export watch_batch_v1beta1_cron_job_list_for_all_namespaces +export watch_batch_v1beta1_namespaced_cron_job +export watch_batch_v1beta1_namespaced_cron_job_list diff --git a/src/ApiImpl/api/apis/api_BatchV2alpha1Api.jl b/src/ApiImpl/api/apis/api_BatchV2alpha1Api.jl new file mode 100644 index 00000000..c14164aa --- /dev/null +++ b/src/ApiImpl/api/apis/api_BatchV2alpha1Api.jl @@ -0,0 +1,668 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct BatchV2alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `BatchV2alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ BatchV2alpha1Api }) = "http://localhost" + +const _returntypes_create_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CronJob + +Params: +- namespace::String (required) +- body::IoK8sApiBatchV2alpha1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function create_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v2alpha1_namespaced_cron_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_batch_v2alpha1_namespaced_cron_job(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v2alpha1_collection_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v2alpha1_collection_namespaced_cron_job(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v2alpha1_collection_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CronJob + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v2alpha1_collection_namespaced_cron_job(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v2alpha1_collection_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v2alpha1_collection_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v2alpha1_collection_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v2alpha1_namespaced_cron_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_batch_v2alpha1_namespaced_cron_job(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_batch_v2alpha1_a_p_i_resources_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_batch_v2alpha1_a_p_i_resources(_api::BatchV2alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_batch_v2alpha1_a_p_i_resources_BatchV2alpha1Api, "/apis/batch/v2alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_batch_v2alpha1_a_p_i_resources(_api::BatchV2alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_batch_v2alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_batch_v2alpha1_a_p_i_resources(_api::BatchV2alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_batch_v2alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v2alpha1_cron_job_for_all_namespaces_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v2alpha1_cron_job_for_all_namespaces(_api::BatchV2alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v2alpha1_cron_job_for_all_namespaces_BatchV2alpha1Api, "/apis/batch/v2alpha1/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CronJob + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV2alpha1CronJobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v2alpha1_cron_job_for_all_namespaces(_api::BatchV2alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v2alpha1_cron_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v2alpha1_cron_job_for_all_namespaces(_api::BatchV2alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v2alpha1_cron_job_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJobList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CronJob + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiBatchV2alpha1CronJobList, OpenAPI.Clients.ApiResponse +""" +function list_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v2alpha1_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_batch_v2alpha1_namespaced_cron_job(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v2alpha1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v2alpha1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_batch_v2alpha1_namespaced_cron_job_status_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_batch_v2alpha1_namespaced_cron_job_status_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function patch_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v2alpha1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_batch_v2alpha1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function read_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v2alpha1_namespaced_cron_job(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v2alpha1_namespaced_cron_job(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_batch_v2alpha1_namespaced_cron_job_status_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_batch_v2alpha1_namespaced_cron_job_status_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function read_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v2alpha1_namespaced_cron_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_batch_v2alpha1_namespaced_cron_job_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV2alpha1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v2alpha1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v2alpha1_namespaced_cron_job(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_batch_v2alpha1_namespaced_cron_job_status_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiBatchV2alpha1CronJob, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, name::String, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_batch_v2alpha1_namespaced_cron_job_status_BatchV2alpha1Api, "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified CronJob + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiBatchV2alpha1CronJob (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiBatchV2alpha1CronJob, OpenAPI.Clients.ApiResponse +""" +function replace_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, name::String, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v2alpha1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_batch_v2alpha1_namespaced_cron_job_status(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiBatchV2alpha1CronJob; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_batch_v2alpha1_namespaced_cron_job_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v2alpha1_cron_job_list_for_all_namespaces_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v2alpha1_cron_job_list_for_all_namespaces(_api::BatchV2alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v2alpha1_cron_job_list_for_all_namespaces_BatchV2alpha1Api, "/apis/batch/v2alpha1/watch/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v2alpha1_cron_job_list_for_all_namespaces(_api::BatchV2alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v2alpha1_cron_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v2alpha1_cron_job_list_for_all_namespaces(_api::BatchV2alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v2alpha1_cron_job_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v2alpha1_namespaced_cron_job_BatchV2alpha1Api, "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v2alpha1_namespaced_cron_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v2alpha1_namespaced_cron_job(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v2alpha1_namespaced_cron_job(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_batch_v2alpha1_namespaced_cron_job_list_BatchV2alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_batch_v2alpha1_namespaced_cron_job_list(_api::BatchV2alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_batch_v2alpha1_namespaced_cron_job_list_BatchV2alpha1Api, "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_batch_v2alpha1_namespaced_cron_job_list(_api::BatchV2alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v2alpha1_namespaced_cron_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_batch_v2alpha1_namespaced_cron_job_list(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_batch_v2alpha1_namespaced_cron_job_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_batch_v2alpha1_namespaced_cron_job +export delete_batch_v2alpha1_collection_namespaced_cron_job +export delete_batch_v2alpha1_namespaced_cron_job +export get_batch_v2alpha1_a_p_i_resources +export list_batch_v2alpha1_cron_job_for_all_namespaces +export list_batch_v2alpha1_namespaced_cron_job +export patch_batch_v2alpha1_namespaced_cron_job +export patch_batch_v2alpha1_namespaced_cron_job_status +export read_batch_v2alpha1_namespaced_cron_job +export read_batch_v2alpha1_namespaced_cron_job_status +export replace_batch_v2alpha1_namespaced_cron_job +export replace_batch_v2alpha1_namespaced_cron_job_status +export watch_batch_v2alpha1_cron_job_list_for_all_namespaces +export watch_batch_v2alpha1_namespaced_cron_job +export watch_batch_v2alpha1_namespaced_cron_job_list diff --git a/src/ApiImpl/api/apis/api_CertificatesApi.jl b/src/ApiImpl/api/apis/api_CertificatesApi.jl new file mode 100644 index 00000000..948918be --- /dev/null +++ b/src/ApiImpl/api/apis/api_CertificatesApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CertificatesApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CertificatesApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CertificatesApi }) = "http://localhost" + +const _returntypes_get_certificates_a_p_i_group_CertificatesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_certificates_a_p_i_group(_api::CertificatesApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_certificates_a_p_i_group_CertificatesApi, "/apis/certificates.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_certificates_a_p_i_group(_api::CertificatesApi; _mediaType=nothing) + _ctx = _oacinternal_get_certificates_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_certificates_a_p_i_group(_api::CertificatesApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_certificates_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_certificates_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_CertificatesV1beta1Api.jl b/src/ApiImpl/api/apis/api_CertificatesV1beta1Api.jl new file mode 100644 index 00000000..1675b1e7 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CertificatesV1beta1Api.jl @@ -0,0 +1,589 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CertificatesV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CertificatesV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CertificatesV1beta1Api }) = "http://localhost" + +const _returntypes_create_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CertificateSigningRequest + +Params: +- body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function create_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_certificates_v1beta1_certificate_signing_request(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_certificates_v1beta1_certificate_signing_request(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CertificateSigningRequest + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_certificates_v1beta1_certificate_signing_request(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_certificates_v1beta1_certificate_signing_request(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_certificates_v1beta1_collection_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_certificates_v1beta1_collection_certificate_signing_request(_api::CertificatesV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_certificates_v1beta1_collection_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CertificateSigningRequest + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_certificates_v1beta1_collection_certificate_signing_request(_api::CertificatesV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_certificates_v1beta1_collection_certificate_signing_request(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_certificates_v1beta1_collection_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_certificates_v1beta1_collection_certificate_signing_request(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_certificates_v1beta1_a_p_i_resources_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_certificates_v1beta1_a_p_i_resources(_api::CertificatesV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_certificates_v1beta1_a_p_i_resources_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_certificates_v1beta1_a_p_i_resources(_api::CertificatesV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_certificates_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_certificates_v1beta1_a_p_i_resources(_api::CertificatesV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_certificates_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequestList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CertificateSigningRequest + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequestList, OpenAPI.Clients.ApiResponse +""" +function list_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_certificates_v1beta1_certificate_signing_request(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_certificates_v1beta1_certificate_signing_request(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CertificateSigningRequest + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function patch_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_certificates_v1beta1_certificate_signing_request(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_certificates_v1beta1_certificate_signing_request(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_certificates_v1beta1_certificate_signing_request_status_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_certificates_v1beta1_certificate_signing_request_status_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified CertificateSigningRequest + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function patch_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_certificates_v1beta1_certificate_signing_request_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_certificates_v1beta1_certificate_signing_request_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CertificateSigningRequest + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function read_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_certificates_v1beta1_certificate_signing_request(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_certificates_v1beta1_certificate_signing_request(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_certificates_v1beta1_certificate_signing_request_status_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_certificates_v1beta1_certificate_signing_request_status_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified CertificateSigningRequest + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function read_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_certificates_v1beta1_certificate_signing_request_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_certificates_v1beta1_certificate_signing_request_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CertificateSigningRequest + +Params: +- name::String (required) +- body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function replace_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_certificates_v1beta1_certificate_signing_request(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_certificates_v1beta1_certificate_signing_request(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_certificates_v1beta1_certificate_signing_request_approval_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_certificates_v1beta1_certificate_signing_request_approval(_api::CertificatesV1beta1Api, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_certificates_v1beta1_certificate_signing_request_approval_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace approval of the specified CertificateSigningRequest + +Params: +- name::String (required) +- body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function replace_certificates_v1beta1_certificate_signing_request_approval(_api::CertificatesV1beta1Api, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_certificates_v1beta1_certificate_signing_request_approval(_api, name, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_certificates_v1beta1_certificate_signing_request_approval(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_certificates_v1beta1_certificate_signing_request_approval(_api, name, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_certificates_v1beta1_certificate_signing_request_status_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCertificatesV1beta1CertificateSigningRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_certificates_v1beta1_certificate_signing_request_status_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified CertificateSigningRequest + +Params: +- name::String (required) +- body::IoK8sApiCertificatesV1beta1CertificateSigningRequest (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCertificatesV1beta1CertificateSigningRequest, OpenAPI.Clients.ApiResponse +""" +function replace_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_certificates_v1beta1_certificate_signing_request_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_certificates_v1beta1_certificate_signing_request_status(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiCertificatesV1beta1CertificateSigningRequest; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_certificates_v1beta1_certificate_signing_request_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_certificates_v1beta1_certificate_signing_request_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_certificates_v1beta1_certificate_signing_request(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_certificates_v1beta1_certificate_signing_request(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_certificates_v1beta1_certificate_signing_request(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_certificates_v1beta1_certificate_signing_request_list_CertificatesV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_certificates_v1beta1_certificate_signing_request_list(_api::CertificatesV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_certificates_v1beta1_certificate_signing_request_list_CertificatesV1beta1Api, "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_certificates_v1beta1_certificate_signing_request_list(_api::CertificatesV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_certificates_v1beta1_certificate_signing_request_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_certificates_v1beta1_certificate_signing_request_list(_api::CertificatesV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_certificates_v1beta1_certificate_signing_request_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_certificates_v1beta1_certificate_signing_request +export delete_certificates_v1beta1_certificate_signing_request +export delete_certificates_v1beta1_collection_certificate_signing_request +export get_certificates_v1beta1_a_p_i_resources +export list_certificates_v1beta1_certificate_signing_request +export patch_certificates_v1beta1_certificate_signing_request +export patch_certificates_v1beta1_certificate_signing_request_status +export read_certificates_v1beta1_certificate_signing_request +export read_certificates_v1beta1_certificate_signing_request_status +export replace_certificates_v1beta1_certificate_signing_request +export replace_certificates_v1beta1_certificate_signing_request_approval +export replace_certificates_v1beta1_certificate_signing_request_status +export watch_certificates_v1beta1_certificate_signing_request +export watch_certificates_v1beta1_certificate_signing_request_list diff --git a/src/ApiImpl/api/apis/api_CoordinationApi.jl b/src/ApiImpl/api/apis/api_CoordinationApi.jl new file mode 100644 index 00000000..55dd7102 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CoordinationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CoordinationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CoordinationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CoordinationApi }) = "http://localhost" + +const _returntypes_get_coordination_a_p_i_group_CoordinationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_coordination_a_p_i_group(_api::CoordinationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_coordination_a_p_i_group_CoordinationApi, "/apis/coordination.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_coordination_a_p_i_group(_api::CoordinationApi; _mediaType=nothing) + _ctx = _oacinternal_get_coordination_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_coordination_a_p_i_group(_api::CoordinationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_coordination_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_coordination_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_CoordinationV1Api.jl b/src/ApiImpl/api/apis/api_CoordinationV1Api.jl new file mode 100644 index 00000000..5a8a24f2 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CoordinationV1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CoordinationV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CoordinationV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CoordinationV1Api }) = "http://localhost" + +const _returntypes_create_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_coordination_v1_namespaced_lease(_api::CoordinationV1Api, namespace::String, body::IoK8sApiCoordinationV1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Lease + +Params: +- namespace::String (required) +- body::IoK8sApiCoordinationV1Lease (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoordinationV1Lease, OpenAPI.Clients.ApiResponse +""" +function create_coordination_v1_namespaced_lease(_api::CoordinationV1Api, namespace::String, body::IoK8sApiCoordinationV1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_coordination_v1_namespaced_lease(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoordinationV1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_coordination_v1_namespaced_lease(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_coordination_v1_collection_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_coordination_v1_collection_namespaced_lease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_coordination_v1_collection_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Lease + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_coordination_v1_collection_namespaced_lease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1_collection_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_coordination_v1_collection_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1_collection_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Lease + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1_namespaced_lease(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1_namespaced_lease(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_coordination_v1_a_p_i_resources_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_coordination_v1_a_p_i_resources(_api::CoordinationV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_coordination_v1_a_p_i_resources_CoordinationV1Api, "/apis/coordination.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_coordination_v1_a_p_i_resources(_api::CoordinationV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_coordination_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_coordination_v1_a_p_i_resources(_api::CoordinationV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_coordination_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_coordination_v1_lease_for_all_namespaces_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1LeaseList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_coordination_v1_lease_for_all_namespaces(_api::CoordinationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_coordination_v1_lease_for_all_namespaces_CoordinationV1Api, "/apis/coordination.k8s.io/v1/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Lease + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoordinationV1LeaseList, OpenAPI.Clients.ApiResponse +""" +function list_coordination_v1_lease_for_all_namespaces(_api::CoordinationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1_lease_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_coordination_v1_lease_for_all_namespaces(_api::CoordinationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1_lease_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1LeaseList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_coordination_v1_namespaced_lease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Lease + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoordinationV1LeaseList, OpenAPI.Clients.ApiResponse +""" +function list_coordination_v1_namespaced_lease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Lease + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoordinationV1Lease, OpenAPI.Clients.ApiResponse +""" +function patch_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_coordination_v1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_coordination_v1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Lease + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoordinationV1Lease, OpenAPI.Clients.ApiResponse +""" +function read_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_coordination_v1_namespaced_lease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_coordination_v1_namespaced_lease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoordinationV1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String, body::IoK8sApiCoordinationV1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Lease + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoordinationV1Lease (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoordinationV1Lease, OpenAPI.Clients.ApiResponse +""" +function replace_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String, body::IoK8sApiCoordinationV1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_coordination_v1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoordinationV1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_coordination_v1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_coordination_v1_lease_list_for_all_namespaces_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_coordination_v1_lease_list_for_all_namespaces(_api::CoordinationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_coordination_v1_lease_list_for_all_namespaces_CoordinationV1Api, "/apis/coordination.k8s.io/v1/watch/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_coordination_v1_lease_list_for_all_namespaces(_api::CoordinationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1_lease_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_coordination_v1_lease_list_for_all_namespaces(_api::CoordinationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1_lease_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_coordination_v1_namespaced_lease_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_coordination_v1_namespaced_lease_CoordinationV1Api, "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_coordination_v1_namespaced_lease(_api::CoordinationV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1_namespaced_lease(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_coordination_v1_namespaced_lease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1_namespaced_lease(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_coordination_v1_namespaced_lease_list_CoordinationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_coordination_v1_namespaced_lease_list(_api::CoordinationV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_coordination_v1_namespaced_lease_list_CoordinationV1Api, "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_coordination_v1_namespaced_lease_list(_api::CoordinationV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1_namespaced_lease_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_coordination_v1_namespaced_lease_list(_api::CoordinationV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1_namespaced_lease_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_coordination_v1_namespaced_lease +export delete_coordination_v1_collection_namespaced_lease +export delete_coordination_v1_namespaced_lease +export get_coordination_v1_a_p_i_resources +export list_coordination_v1_lease_for_all_namespaces +export list_coordination_v1_namespaced_lease +export patch_coordination_v1_namespaced_lease +export read_coordination_v1_namespaced_lease +export replace_coordination_v1_namespaced_lease +export watch_coordination_v1_lease_list_for_all_namespaces +export watch_coordination_v1_namespaced_lease +export watch_coordination_v1_namespaced_lease_list diff --git a/src/ApiImpl/api/apis/api_CoordinationV1beta1Api.jl b/src/ApiImpl/api/apis/api_CoordinationV1beta1Api.jl new file mode 100644 index 00000000..696d0507 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CoordinationV1beta1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CoordinationV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CoordinationV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CoordinationV1beta1Api }) = "http://localhost" + +const _returntypes_create_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, namespace::String, body::IoK8sApiCoordinationV1beta1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Lease + +Params: +- namespace::String (required) +- body::IoK8sApiCoordinationV1beta1Lease (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoordinationV1beta1Lease, OpenAPI.Clients.ApiResponse +""" +function create_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, namespace::String, body::IoK8sApiCoordinationV1beta1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_coordination_v1beta1_namespaced_lease(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoordinationV1beta1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_coordination_v1beta1_namespaced_lease(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_coordination_v1beta1_collection_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_coordination_v1beta1_collection_namespaced_lease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_coordination_v1beta1_collection_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Lease + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_coordination_v1beta1_collection_namespaced_lease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1beta1_collection_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_coordination_v1beta1_collection_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1beta1_collection_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Lease + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1beta1_namespaced_lease(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_coordination_v1beta1_namespaced_lease(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_coordination_v1beta1_a_p_i_resources_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_coordination_v1beta1_a_p_i_resources(_api::CoordinationV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_coordination_v1beta1_a_p_i_resources_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_coordination_v1beta1_a_p_i_resources(_api::CoordinationV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_coordination_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_coordination_v1beta1_a_p_i_resources(_api::CoordinationV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_coordination_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_coordination_v1beta1_lease_for_all_namespaces_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1LeaseList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_coordination_v1beta1_lease_for_all_namespaces(_api::CoordinationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_coordination_v1beta1_lease_for_all_namespaces_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Lease + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoordinationV1beta1LeaseList, OpenAPI.Clients.ApiResponse +""" +function list_coordination_v1beta1_lease_for_all_namespaces(_api::CoordinationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1beta1_lease_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_coordination_v1beta1_lease_for_all_namespaces(_api::CoordinationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1beta1_lease_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1LeaseList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Lease + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoordinationV1beta1LeaseList, OpenAPI.Clients.ApiResponse +""" +function list_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1beta1_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_coordination_v1beta1_namespaced_lease(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Lease + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoordinationV1beta1Lease, OpenAPI.Clients.ApiResponse +""" +function patch_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_coordination_v1beta1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_coordination_v1beta1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Lease + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoordinationV1beta1Lease, OpenAPI.Clients.ApiResponse +""" +function read_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_coordination_v1beta1_namespaced_lease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_coordination_v1beta1_namespaced_lease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoordinationV1beta1Lease, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String, body::IoK8sApiCoordinationV1beta1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Lease + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoordinationV1beta1Lease (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoordinationV1beta1Lease, OpenAPI.Clients.ApiResponse +""" +function replace_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String, body::IoK8sApiCoordinationV1beta1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_coordination_v1beta1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoordinationV1beta1Lease; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_coordination_v1beta1_namespaced_lease(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_coordination_v1beta1_lease_list_for_all_namespaces_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_coordination_v1beta1_lease_list_for_all_namespaces(_api::CoordinationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_coordination_v1beta1_lease_list_for_all_namespaces_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/watch/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_coordination_v1beta1_lease_list_for_all_namespaces(_api::CoordinationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1beta1_lease_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_coordination_v1beta1_lease_list_for_all_namespaces(_api::CoordinationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1beta1_lease_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_coordination_v1beta1_namespaced_lease_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1beta1_namespaced_lease(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_coordination_v1beta1_namespaced_lease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1beta1_namespaced_lease(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_coordination_v1beta1_namespaced_lease_list_CoordinationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_coordination_v1beta1_namespaced_lease_list(_api::CoordinationV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_coordination_v1beta1_namespaced_lease_list_CoordinationV1beta1Api, "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_coordination_v1beta1_namespaced_lease_list(_api::CoordinationV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1beta1_namespaced_lease_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_coordination_v1beta1_namespaced_lease_list(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_coordination_v1beta1_namespaced_lease_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_coordination_v1beta1_namespaced_lease +export delete_coordination_v1beta1_collection_namespaced_lease +export delete_coordination_v1beta1_namespaced_lease +export get_coordination_v1beta1_a_p_i_resources +export list_coordination_v1beta1_lease_for_all_namespaces +export list_coordination_v1beta1_namespaced_lease +export patch_coordination_v1beta1_namespaced_lease +export read_coordination_v1beta1_namespaced_lease +export replace_coordination_v1beta1_namespaced_lease +export watch_coordination_v1beta1_lease_list_for_all_namespaces +export watch_coordination_v1beta1_namespaced_lease +export watch_coordination_v1beta1_namespaced_lease_list diff --git a/src/ApiImpl/api/apis/api_CoreApi.jl b/src/ApiImpl/api/apis/api_CoreApi.jl new file mode 100644 index 00000000..1bff3aa1 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CoreApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CoreApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CoreApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CoreApi }) = "http://localhost" + +const _returntypes_get_core_a_p_i_versions_CoreApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIVersions, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_core_a_p_i_versions(_api::CoreApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_core_a_p_i_versions_CoreApi, "/api/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available API versions + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIVersions, OpenAPI.Clients.ApiResponse +""" +function get_core_a_p_i_versions(_api::CoreApi; _mediaType=nothing) + _ctx = _oacinternal_get_core_a_p_i_versions(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_core_a_p_i_versions(_api::CoreApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_core_a_p_i_versions(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_core_a_p_i_versions diff --git a/src/ApiImpl/api/apis/api_CoreV1Api.jl b/src/ApiImpl/api/apis/api_CoreV1Api.jl new file mode 100644 index 00000000..7c366554 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CoreV1Api.jl @@ -0,0 +1,10322 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CoreV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CoreV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CoreV1Api }) = "http://localhost" + +const _returntypes_connect_core_v1_delete_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_delete_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_connect_core_v1_delete_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect DELETE requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_delete_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_delete_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_delete_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_delete_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_connect_core_v1_delete_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect DELETE requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_delete_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_delete_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_delete_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_delete_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_connect_core_v1_delete_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect DELETE requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_delete_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_delete_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_delete_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_delete_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_connect_core_v1_delete_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect DELETE requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_delete_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_delete_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_delete_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_delete_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_connect_core_v1_delete_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect DELETE requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_delete_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_delete_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_delete_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_delete_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_connect_core_v1_delete_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect DELETE requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_delete_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_delete_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_delete_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_pod_attach_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_pod_attach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_pod_attach_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/attach", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "container", container) # type String + OpenAPI.Clients.set_param(_ctx.query, "stderr", stderr) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdin", stdin) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdout", stdout) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "tty", tty) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to attach of Pod + +Params: +- name::String (required) +- namespace::String (required) +- container::String +- stderr::Bool +- stdin::Bool +- stdout::Bool +- tty::Bool + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_pod_attach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_attach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_pod_attach(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_attach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_pod_exec_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_pod_exec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_pod_exec_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/exec", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "command", command) # type String + OpenAPI.Clients.set_param(_ctx.query, "container", container) # type String + OpenAPI.Clients.set_param(_ctx.query, "stderr", stderr) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdin", stdin) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdout", stdout) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "tty", tty) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to exec of Pod + +Params: +- name::String (required) +- namespace::String (required) +- command::String +- container::String +- stderr::Bool +- stdin::Bool +- stdout::Bool +- tty::Bool + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_pod_exec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_exec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_pod_exec(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_exec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_pod_portforward_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_pod_portforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_pod_portforward_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/portforward", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "ports", ports) # type Int64 + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to portforward of Pod + +Params: +- name::String (required) +- namespace::String (required) +- ports::Int64 + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_pod_portforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_portforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_pod_portforward(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; ports=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_portforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_get_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_get_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_connect_core_v1_get_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect GET requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_get_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_get_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_get_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_head_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_head_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_connect_core_v1_head_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect HEAD requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_head_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_head_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_head_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_head_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_connect_core_v1_head_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect HEAD requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_head_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_head_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_head_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_head_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_connect_core_v1_head_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect HEAD requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_head_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_head_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_head_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_head_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_connect_core_v1_head_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect HEAD requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_head_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_head_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_head_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_head_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_connect_core_v1_head_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect HEAD requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_head_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_head_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_head_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_head_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_connect_core_v1_head_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect HEAD requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_head_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_head_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_head_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_options_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_options_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "OPTIONS", _returntypes_connect_core_v1_options_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect OPTIONS requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_options_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_options_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_options_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_options_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "OPTIONS", _returntypes_connect_core_v1_options_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect OPTIONS requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_options_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_options_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_options_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_options_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "OPTIONS", _returntypes_connect_core_v1_options_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect OPTIONS requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_options_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_options_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_options_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_options_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "OPTIONS", _returntypes_connect_core_v1_options_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect OPTIONS requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_options_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_options_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_options_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_options_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "OPTIONS", _returntypes_connect_core_v1_options_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect OPTIONS requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_options_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_options_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_options_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_options_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "OPTIONS", _returntypes_connect_core_v1_options_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect OPTIONS requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_options_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_options_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_options_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_patch_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_patch_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_connect_core_v1_patch_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PATCH requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_patch_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_patch_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_patch_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_patch_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_connect_core_v1_patch_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PATCH requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_patch_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_patch_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_patch_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_patch_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_connect_core_v1_patch_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PATCH requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_patch_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_patch_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_patch_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_patch_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_connect_core_v1_patch_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PATCH requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_patch_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_patch_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_patch_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_patch_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_connect_core_v1_patch_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PATCH requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_patch_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_patch_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_patch_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_patch_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_connect_core_v1_patch_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PATCH requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_patch_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_patch_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_patch_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_pod_attach_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_pod_attach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_pod_attach_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/attach", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "container", container) # type String + OpenAPI.Clients.set_param(_ctx.query, "stderr", stderr) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdin", stdin) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdout", stdout) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "tty", tty) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to attach of Pod + +Params: +- name::String (required) +- namespace::String (required) +- container::String +- stderr::Bool +- stdin::Bool +- stdout::Bool +- tty::Bool + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_pod_attach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_attach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_pod_attach(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_attach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_pod_exec_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_pod_exec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_pod_exec_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/exec", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "command", command) # type String + OpenAPI.Clients.set_param(_ctx.query, "container", container) # type String + OpenAPI.Clients.set_param(_ctx.query, "stderr", stderr) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdin", stdin) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "stdout", stdout) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "tty", tty) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to exec of Pod + +Params: +- name::String (required) +- namespace::String (required) +- command::String +- container::String +- stderr::Bool +- stdin::Bool +- stdout::Bool +- tty::Bool + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_pod_exec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_exec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_pod_exec(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_exec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_pod_portforward_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_pod_portforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_pod_portforward_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/portforward", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "ports", ports) # type Int64 + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to portforward of Pod + +Params: +- name::String (required) +- namespace::String (required) +- ports::Int64 + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_pod_portforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_portforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_pod_portforward(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; ports=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_portforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_post_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_post_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connect_core_v1_post_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect POST requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_post_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_post_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_post_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_put_namespaced_pod_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_put_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connect_core_v1_put_namespaced_pod_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PUT requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_put_namespaced_pod_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_put_namespaced_pod_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_pod_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_put_namespaced_pod_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_put_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connect_core_v1_put_namespaced_pod_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PUT requests to proxy of Pod + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_put_namespaced_pod_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_put_namespaced_pod_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_pod_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_put_namespaced_service_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_put_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connect_core_v1_put_namespaced_service_proxy_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PUT requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_put_namespaced_service_proxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_put_namespaced_service_proxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_service_proxy(_api, name, namespace; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_put_namespaced_service_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_put_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connect_core_v1_put_namespaced_service_proxy_with_path_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PUT requests to proxy of Service + +Params: +- name::String (required) +- namespace::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_put_namespaced_service_proxy_with_path(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_put_namespaced_service_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_namespaced_service_proxy_with_path(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_put_node_proxy_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_put_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connect_core_v1_put_node_proxy_CoreV1Api, "/api/v1/nodes/{name}/proxy", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PUT requests to proxy of Node + +Params: +- name::String (required) +- path::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_put_node_proxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_put_node_proxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_node_proxy(_api, name; path=path, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_connect_core_v1_put_node_proxy_with_path_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_connect_core_v1_put_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connect_core_v1_put_node_proxy_with_path_CoreV1Api, "/api/v1/nodes/{name}/proxy/{path}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String + OpenAPI.Clients.set_param(_ctx.query, "path", path2) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["*/*", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""connect PUT requests to proxy of Node + +Params: +- name::String (required) +- path::String (required) +- path2::String + +Return: String, OpenAPI.Clients.ApiResponse +""" +function connect_core_v1_put_node_proxy_with_path(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function connect_core_v1_put_node_proxy_with_path(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) + _ctx = _oacinternal_connect_core_v1_put_node_proxy_with_path(_api, name, path; path2=path2, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespace(_api::CoreV1Api, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespace_CoreV1Api, "/api/v1/namespaces", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Namespace + +Params: +- body::IoK8sApiCoreV1Namespace (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespace(_api::CoreV1Api, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespace(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespace(_api::CoreV1Api, response_stream::Channel, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespace(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_binding_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Binding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Binding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Binding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_binding(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Binding; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_binding_CoreV1Api, "/api/v1/namespaces/{namespace}/bindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Binding + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1Binding (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiCoreV1Binding, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_binding(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Binding; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_binding(_api, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_binding(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1Binding; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_binding(_api, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_config_map(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ConfigMap; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ConfigMap + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1ConfigMap (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ConfigMap, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_config_map(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ConfigMap; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_config_map(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1ConfigMap; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_config_map(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_endpoints(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Endpoints; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create Endpoints + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1Endpoints (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Endpoints, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_endpoints(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Endpoints; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_endpoints(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1Endpoints; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_endpoints(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_event(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an Event + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1Event (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Event, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_event(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_event(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_event(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_limit_range(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1LimitRange; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a LimitRange + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1LimitRange (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1LimitRange, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_limit_range(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1LimitRange; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_limit_range(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1LimitRange; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_limit_range(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PersistentVolumeClaim + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1PersistentVolumeClaim (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_persistent_volume_claim(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_persistent_volume_claim(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_pod(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Pod + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1Pod (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_pod(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_pod_binding_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Binding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Binding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Binding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_pod_binding(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Binding; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_pod_binding_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/binding", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create binding of a Pod + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Binding (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiCoreV1Binding, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_pod_binding(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Binding; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod_binding(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_pod_binding(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Binding; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod_binding(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_pod_eviction_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1Eviction, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1Eviction, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1Eviction, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_pod_eviction(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiPolicyV1beta1Eviction; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_pod_eviction_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/eviction", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create eviction of a Pod + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiPolicyV1beta1Eviction (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiPolicyV1beta1Eviction, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_pod_eviction(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiPolicyV1beta1Eviction; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod_eviction(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_pod_eviction(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiPolicyV1beta1Eviction; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod_eviction(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_pod_template(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1PodTemplate; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PodTemplate + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1PodTemplate (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PodTemplate, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_pod_template(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1PodTemplate; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod_template(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1PodTemplate; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_pod_template(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_replication_controller(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ReplicationController + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1ReplicationController (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_replication_controller(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_replication_controller(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_replication_controller(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_resource_quota(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ResourceQuota + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1ResourceQuota (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_resource_quota(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_resource_quota(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_resource_quota(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_secret(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Secret; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Secret + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1Secret (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Secret, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_secret(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Secret; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_secret(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1Secret; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_secret(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_service(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_service_CoreV1Api, "/api/v1/namespaces/{namespace}/services", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Service + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1Service (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_service(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_service(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_service(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_service_account(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ServiceAccount; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ServiceAccount + +Params: +- namespace::String (required) +- body::IoK8sApiCoreV1ServiceAccount (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ServiceAccount, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_service_account(_api::CoreV1Api, namespace::String, body::IoK8sApiCoreV1ServiceAccount; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_service_account(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, namespace::String, body::IoK8sApiCoreV1ServiceAccount; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_service_account(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_namespaced_service_account_token_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAuthenticationV1TokenRequest, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAuthenticationV1TokenRequest, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiAuthenticationV1TokenRequest, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_namespaced_service_account_token(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiAuthenticationV1TokenRequest; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_namespaced_service_account_token_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create token of a ServiceAccount + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAuthenticationV1TokenRequest (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiAuthenticationV1TokenRequest, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_namespaced_service_account_token(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiAuthenticationV1TokenRequest; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_service_account_token(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_namespaced_service_account_token(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAuthenticationV1TokenRequest; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_namespaced_service_account_token(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_node(_api::CoreV1Api, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_node_CoreV1Api, "/api/v1/nodes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Node + +Params: +- body::IoK8sApiCoreV1Node (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_node(_api::CoreV1Api, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_node(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_node(_api::CoreV1Api, response_stream::Channel, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_node(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_core_v1_persistent_volume(_api::CoreV1Api, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_core_v1_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PersistentVolume + +Params: +- body::IoK8sApiCoreV1PersistentVolume (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function create_core_v1_persistent_volume(_api::CoreV1Api, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_persistent_volume(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_core_v1_persistent_volume(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_config_map(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ConfigMap + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_config_map(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_config_map(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_config_map(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_endpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Endpoints + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_endpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_endpoints(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_endpoints(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_event(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Event + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_event(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_event(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_limit_range(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of LimitRange + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_limit_range(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_limit_range(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_limit_range(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_persistent_volume_claim(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PersistentVolumeClaim + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_persistent_volume_claim(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_persistent_volume_claim(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_persistent_volume_claim(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_pod(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Pod + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_pod(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_pod(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_pod(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_pod(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_pod_template(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PodTemplate + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_pod_template(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_pod_template(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_pod_template(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_replication_controller(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ReplicationController + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_replication_controller(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_replication_controller(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_replication_controller(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_resource_quota(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ResourceQuota + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_resource_quota(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_resource_quota(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_resource_quota(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_secret(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Secret + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_secret(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_secret(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_secret(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_secret(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_namespaced_service_account(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ServiceAccount + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_namespaced_service_account(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_service_account(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_namespaced_service_account(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_node(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_node_CoreV1Api, "/api/v1/nodes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Node + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_node(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_node(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_collection_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_collection_persistent_volume(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_collection_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PersistentVolume + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_collection_persistent_volume(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_persistent_volume(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_collection_persistent_volume(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_collection_persistent_volume(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespace(_api::CoreV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespace_CoreV1Api, "/api/v1/namespaces/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Namespace + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespace(_api::CoreV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespace(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespace(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespace(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ConfigMap + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_config_map(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_config_map(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete Endpoints + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_endpoints(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_endpoints(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an Event + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_event(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_event(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a LimitRange + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_limit_range(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_limit_range(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_persistent_volume_claim(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_persistent_volume_claim(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Pod + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_pod(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_pod(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PodTemplate + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_pod_template(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_pod_template(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_replication_controller(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_replication_controller(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_resource_quota(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_resource_quota(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Secret + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_secret(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_secret(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_service_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Service + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_service(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_service(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ServiceAccount + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_service_account(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_namespaced_service_account(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_node(_api::CoreV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_node_CoreV1Api, "/api/v1/nodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Node + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_node(_api::CoreV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_node(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_node(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_node(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_core_v1_persistent_volume(_api::CoreV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_core_v1_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PersistentVolume + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_core_v1_persistent_volume(_api::CoreV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_persistent_volume(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_core_v1_persistent_volume(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_core_v1_a_p_i_resources_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_core_v1_a_p_i_resources(_api::CoreV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_core_v1_a_p_i_resources_CoreV1Api, "/api/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_core_v1_a_p_i_resources(_api::CoreV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_core_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_core_v1_a_p_i_resources(_api::CoreV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_core_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_component_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ComponentStatusList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_component_status(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_component_status_CoreV1Api, "/api/v1/componentstatuses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list objects of kind ComponentStatus + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ComponentStatusList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_component_status(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_component_status(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_component_status(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_component_status(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_config_map_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMapList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_config_map_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_config_map_for_all_namespaces_CoreV1Api, "/api/v1/configmaps", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ConfigMap + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ConfigMapList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_config_map_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_config_map_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_config_map_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_config_map_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_endpoints_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1EndpointsList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_endpoints_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_endpoints_for_all_namespaces_CoreV1Api, "/api/v1/endpoints", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Endpoints + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1EndpointsList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_endpoints_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_endpoints_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_endpoints_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_endpoints_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_event_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1EventList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_event_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_event_for_all_namespaces_CoreV1Api, "/api/v1/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Event + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1EventList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_event_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_event_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_event_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_event_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_limit_range_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRangeList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_limit_range_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_limit_range_for_all_namespaces_CoreV1Api, "/api/v1/limitranges", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind LimitRange + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1LimitRangeList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_limit_range_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_limit_range_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_limit_range_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_limit_range_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1NamespaceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespace(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespace_CoreV1Api, "/api/v1/namespaces", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Namespace + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1NamespaceList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespace(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespace(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespace(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespace(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMapList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_config_map(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ConfigMap + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ConfigMapList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_config_map(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_config_map(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_config_map(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1EndpointsList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_endpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Endpoints + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1EndpointsList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_endpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_endpoints(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_endpoints(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1EventList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_event(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Event + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1EventList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_event(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRangeList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_limit_range(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind LimitRange + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1LimitRangeList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_limit_range(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_limit_range(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_limit_range(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaimList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PersistentVolumeClaim + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PersistentVolumeClaimList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_persistent_volume_claim(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_persistent_volume_claim(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_pod(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Pod + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PodList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_pod(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_pod(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_pod(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplateList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_pod_template(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodTemplate + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PodTemplateList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_pod_template(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_pod_template(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_pod_template(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationControllerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_replication_controller(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicationController + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ReplicationControllerList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_replication_controller(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_replication_controller(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_replication_controller(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuotaList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_resource_quota(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ResourceQuota + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ResourceQuotaList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_resource_quota(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_resource_quota(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_resource_quota(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1SecretList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_secret(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Secret + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1SecretList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_secret(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_secret(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_secret(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_service(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_service_CoreV1Api, "/api/v1/namespaces/{namespace}/services", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Service + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ServiceList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_service(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_service(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_service(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccountList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_namespaced_service_account(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ServiceAccount + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ServiceAccountList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_namespaced_service_account(_api::CoreV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_service_account(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_namespaced_service_account(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1NodeList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_node(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_node_CoreV1Api, "/api/v1/nodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Node + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1NodeList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_node(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_node(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_persistent_volume(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PersistentVolume + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PersistentVolumeList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_persistent_volume(_api::CoreV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_persistent_volume(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_persistent_volume(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_persistent_volume_claim_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaimList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_persistent_volume_claim_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_persistent_volume_claim_for_all_namespaces_CoreV1Api, "/api/v1/persistentvolumeclaims", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PersistentVolumeClaim + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PersistentVolumeClaimList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_persistent_volume_claim_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_persistent_volume_claim_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_persistent_volume_claim_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_persistent_volume_claim_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_pod_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_pod_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_pod_for_all_namespaces_CoreV1Api, "/api/v1/pods", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Pod + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PodList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_pod_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_pod_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_pod_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_pod_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_pod_template_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplateList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_pod_template_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_pod_template_for_all_namespaces_CoreV1Api, "/api/v1/podtemplates", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodTemplate + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1PodTemplateList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_pod_template_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_pod_template_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_pod_template_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_pod_template_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_replication_controller_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationControllerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_replication_controller_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_replication_controller_for_all_namespaces_CoreV1Api, "/api/v1/replicationcontrollers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicationController + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ReplicationControllerList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_replication_controller_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_replication_controller_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_replication_controller_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_replication_controller_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_resource_quota_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuotaList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_resource_quota_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_resource_quota_for_all_namespaces_CoreV1Api, "/api/v1/resourcequotas", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ResourceQuota + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ResourceQuotaList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_resource_quota_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_resource_quota_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_resource_quota_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_resource_quota_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_secret_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1SecretList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_secret_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_secret_for_all_namespaces_CoreV1Api, "/api/v1/secrets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Secret + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1SecretList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_secret_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_secret_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_secret_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_secret_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_service_account_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccountList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_service_account_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_service_account_for_all_namespaces_CoreV1Api, "/api/v1/serviceaccounts", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ServiceAccount + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ServiceAccountList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_service_account_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_service_account_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_service_account_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_service_account_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_core_v1_service_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_core_v1_service_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_core_v1_service_for_all_namespaces_CoreV1Api, "/api/v1/services", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Service + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiCoreV1ServiceList, OpenAPI.Clients.ApiResponse +""" +function list_core_v1_service_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_service_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_core_v1_service_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_core_v1_service_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespace(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespace_CoreV1Api, "/api/v1/namespaces/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Namespace + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespace(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespace(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespace(_api::CoreV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespace(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespace_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespace_status(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespace_status_CoreV1Api, "/api/v1/namespaces/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Namespace + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespace_status(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespace_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespace_status(_api::CoreV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespace_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ConfigMap + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1ConfigMap, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_config_map(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_config_map(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Endpoints + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Endpoints, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_endpoints(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_endpoints(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Event + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Event, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified LimitRange + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1LimitRange, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_limit_range(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_limit_range(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_persistent_volume_claim(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_persistent_volume_claim(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_persistent_volume_claim_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_persistent_volume_claim_status_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_persistent_volume_claim_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_persistent_volume_claim_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_pod(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_pod(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_pod_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_pod_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_pod_status_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_pod_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_pod_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_pod_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_pod_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PodTemplate + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1PodTemplate, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_pod_template(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_pod_template(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_replication_controller(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_replication_controller(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_replication_controller_scale_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_replication_controller_scale_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_replication_controller_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_replication_controller_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_replication_controller_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_replication_controller_status_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_replication_controller_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_replication_controller_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_resource_quota(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_resource_quota(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_resource_quota_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_resource_quota_status_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_resource_quota_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_resource_quota_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Secret + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Secret, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_secret(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_secret(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_service_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Service + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_service(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_service(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ServiceAccount + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1ServiceAccount, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_service_account(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_service_account(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_namespaced_service_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_namespaced_service_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_namespaced_service_status_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Service + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_namespaced_service_status(_api::CoreV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_service_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_namespaced_service_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_namespaced_service_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_node(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_node_CoreV1Api, "/api/v1/nodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Node + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_node(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_node(_api::CoreV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_node_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_node_status(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_node_status_CoreV1Api, "/api/v1/nodes/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Node + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_node_status(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_node_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_node_status(_api::CoreV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_node_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_persistent_volume(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PersistentVolume + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_persistent_volume(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_persistent_volume(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_persistent_volume(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_core_v1_persistent_volume_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_core_v1_persistent_volume_status(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_core_v1_persistent_volume_status_CoreV1Api, "/api/v1/persistentvolumes/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified PersistentVolume + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function patch_core_v1_persistent_volume_status(_api::CoreV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_persistent_volume_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_core_v1_persistent_volume_status(_api::CoreV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_core_v1_persistent_volume_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_component_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ComponentStatus, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_component_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_component_status_CoreV1Api, "/api/v1/componentstatuses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ComponentStatus + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiCoreV1ComponentStatus, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_component_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_component_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_component_status(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_component_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespace(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespace_CoreV1Api, "/api/v1/namespaces/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Namespace + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespace(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespace(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespace(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespace(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespace_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespace_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespace_status_CoreV1Api, "/api/v1/namespaces/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Namespace + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespace_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespace_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespace_status(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespace_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ConfigMap + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1ConfigMap, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_config_map(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_config_map(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Endpoints + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Endpoints, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_endpoints(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_endpoints(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Event + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Event, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_event(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_event(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified LimitRange + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1LimitRange, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_limit_range(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_limit_range(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_persistent_volume_claim(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_persistent_volume_claim(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_persistent_volume_claim_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_persistent_volume_claim_status_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_persistent_volume_claim_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_persistent_volume_claim_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_pod_log_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_pod_log(_api::CoreV1Api, name::String, namespace::String; container=nothing, follow=nothing, insecure_skip_t_l_s_verify_backend=nothing, limit_bytes=nothing, pretty=nothing, previous=nothing, since_seconds=nothing, tail_lines=nothing, timestamps=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_pod_log_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/log", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "container", container) # type String + OpenAPI.Clients.set_param(_ctx.query, "follow", follow) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "insecureSkipTLSVerifyBackend", insecure_skip_t_l_s_verify_backend) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "limitBytes", limit_bytes) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "previous", previous) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "sinceSeconds", since_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "tailLines", tail_lines) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "timestamps", timestamps) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["text/plain", "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read log of the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- container::String +- follow::Bool +- insecure_skip_t_l_s_verify_backend::Bool +- limit_bytes::Int64 +- pretty::String +- previous::Bool +- since_seconds::Int64 +- tail_lines::Int64 +- timestamps::Bool + +Return: String, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_pod_log(_api::CoreV1Api, name::String, namespace::String; container=nothing, follow=nothing, insecure_skip_t_l_s_verify_backend=nothing, limit_bytes=nothing, pretty=nothing, previous=nothing, since_seconds=nothing, tail_lines=nothing, timestamps=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod_log(_api, name, namespace; container=container, follow=follow, insecure_skip_t_l_s_verify_backend=insecure_skip_t_l_s_verify_backend, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_pod_log(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, follow=nothing, insecure_skip_t_l_s_verify_backend=nothing, limit_bytes=nothing, pretty=nothing, previous=nothing, since_seconds=nothing, tail_lines=nothing, timestamps=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod_log(_api, name, namespace; container=container, follow=follow, insecure_skip_t_l_s_verify_backend=insecure_skip_t_l_s_verify_backend, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_pod_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_pod_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_pod_status_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_pod_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_pod_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PodTemplate + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1PodTemplate, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod_template(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_pod_template(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_replication_controller(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_replication_controller(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_replication_controller_scale_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_replication_controller_scale_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_replication_controller_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_replication_controller_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_replication_controller_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_replication_controller_status_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_replication_controller_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_replication_controller_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_resource_quota(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_resource_quota(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_resource_quota_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_resource_quota_status_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_resource_quota_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_resource_quota_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Secret + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Secret, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_secret(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_secret(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_service_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Service + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_service(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_service(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ServiceAccount + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1ServiceAccount, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_service_account(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_service_account(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_namespaced_service_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_namespaced_service_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_namespaced_service_status_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Service + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_namespaced_service_status(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_service_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_namespaced_service_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_namespaced_service_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_node(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_node_CoreV1Api, "/api/v1/nodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Node + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_node(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_node(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_node_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_node_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_node_status_CoreV1Api, "/api/v1/nodes/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Node + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_node_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_node_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_node_status(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_node_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_persistent_volume(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PersistentVolume + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_persistent_volume(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_persistent_volume(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_persistent_volume(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_core_v1_persistent_volume_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_core_v1_persistent_volume_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_core_v1_persistent_volume_status_CoreV1Api, "/api/v1/persistentvolumes/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified PersistentVolume + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function read_core_v1_persistent_volume_status(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_persistent_volume_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_core_v1_persistent_volume_status(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_core_v1_persistent_volume_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespace(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespace_CoreV1Api, "/api/v1/namespaces/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Namespace + +Params: +- name::String (required) +- body::IoK8sApiCoreV1Namespace (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespace(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespace(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespace(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespace(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespace_finalize_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespace_finalize(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Namespace; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespace_finalize_CoreV1Api, "/api/v1/namespaces/{name}/finalize", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace finalize of the specified Namespace + +Params: +- name::String (required) +- body::IoK8sApiCoreV1Namespace (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespace_finalize(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Namespace; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespace_finalize(_api, name, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespace_finalize(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1Namespace; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespace_finalize(_api, name, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespace_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Namespace, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespace_status(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespace_status_CoreV1Api, "/api/v1/namespaces/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Namespace + +Params: +- name::String (required) +- body::IoK8sApiCoreV1Namespace (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Namespace, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespace_status(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespace_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespace_status(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1Namespace; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespace_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ConfigMap, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ConfigMap; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/namespaces/{namespace}/configmaps/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ConfigMap + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1ConfigMap (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ConfigMap, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ConfigMap; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_config_map(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1ConfigMap; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_config_map(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Endpoints, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Endpoints; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/namespaces/{namespace}/endpoints/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Endpoints + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Endpoints (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Endpoints, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Endpoints; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_endpoints(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Endpoints; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_endpoints(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_event_CoreV1Api, "/api/v1/namespaces/{namespace}/events/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Event + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Event (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Event, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1LimitRange, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1LimitRange; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/namespaces/{namespace}/limitranges/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified LimitRange + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1LimitRange (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1LimitRange, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1LimitRange; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_limit_range(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1LimitRange; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_limit_range(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1PersistentVolumeClaim (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_persistent_volume_claim(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_persistent_volume_claim(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_persistent_volume_claim_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolumeClaim, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_persistent_volume_claim_status_CoreV1Api, "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified PersistentVolumeClaim + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1PersistentVolumeClaim (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PersistentVolumeClaim, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_persistent_volume_claim_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_persistent_volume_claim_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1PersistentVolumeClaim; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_persistent_volume_claim_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_pod_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Pod (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_pod(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_pod(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_pod_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Pod, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_pod_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_pod_status_CoreV1Api, "/api/v1/namespaces/{namespace}/pods/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Pod + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Pod (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Pod, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_pod_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_pod_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_pod_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Pod; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_pod_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PodTemplate, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1PodTemplate; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/namespaces/{namespace}/podtemplates/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PodTemplate + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1PodTemplate (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PodTemplate, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1PodTemplate; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_pod_template(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1PodTemplate; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_pod_template(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1ReplicationController (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_replication_controller(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_replication_controller(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_replication_controller_scale_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiAutoscalingV1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_replication_controller_scale_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiAutoscalingV1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiAutoscalingV1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_replication_controller_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_replication_controller_scale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiAutoscalingV1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_replication_controller_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_replication_controller_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ReplicationController, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_replication_controller_status_CoreV1Api, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified ReplicationController + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1ReplicationController (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ReplicationController, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_replication_controller_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_replication_controller_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1ReplicationController; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_replication_controller_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1ResourceQuota (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_resource_quota(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_resource_quota(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_resource_quota_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ResourceQuota, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_resource_quota_status_CoreV1Api, "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified ResourceQuota + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1ResourceQuota (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ResourceQuota, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_resource_quota_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_resource_quota_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1ResourceQuota; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_resource_quota_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Secret, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Secret; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_secret_CoreV1Api, "/api/v1/namespaces/{namespace}/secrets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Secret + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Secret (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Secret, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Secret; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_secret(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Secret; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_secret(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_service_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Service + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Service (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_service(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_service(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1ServiceAccount, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ServiceAccount; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ServiceAccount + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1ServiceAccount (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1ServiceAccount, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1ServiceAccount; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_service_account(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1ServiceAccount; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_service_account(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_namespaced_service_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Service, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_namespaced_service_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_namespaced_service_status_CoreV1Api, "/api/v1/namespaces/{namespace}/services/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Service + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiCoreV1Service (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Service, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_namespaced_service_status(_api::CoreV1Api, name::String, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_service_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_namespaced_service_status(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiCoreV1Service; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_namespaced_service_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_node(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_node_CoreV1Api, "/api/v1/nodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Node + +Params: +- name::String (required) +- body::IoK8sApiCoreV1Node (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_node(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_node(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_node_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1Node, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_node_status(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_node_status_CoreV1Api, "/api/v1/nodes/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Node + +Params: +- name::String (required) +- body::IoK8sApiCoreV1Node (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1Node, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_node_status(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_node_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_node_status(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1Node; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_node_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_persistent_volume(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_persistent_volume_CoreV1Api, "/api/v1/persistentvolumes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PersistentVolume + +Params: +- name::String (required) +- body::IoK8sApiCoreV1PersistentVolume (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_persistent_volume(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_persistent_volume(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_persistent_volume(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_core_v1_persistent_volume_status_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiCoreV1PersistentVolume, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_core_v1_persistent_volume_status(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_core_v1_persistent_volume_status_CoreV1Api, "/api/v1/persistentvolumes/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified PersistentVolume + +Params: +- name::String (required) +- body::IoK8sApiCoreV1PersistentVolume (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiCoreV1PersistentVolume, OpenAPI.Clients.ApiResponse +""" +function replace_core_v1_persistent_volume_status(_api::CoreV1Api, name::String, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_persistent_volume_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_core_v1_persistent_volume_status(_api::CoreV1Api, response_stream::Channel, name::String, body::IoK8sApiCoreV1PersistentVolume; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_core_v1_persistent_volume_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_config_map_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_config_map_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_config_map_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/configmaps", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_config_map_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_config_map_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_config_map_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_config_map_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_endpoints_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_endpoints_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_endpoints_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/endpoints", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_endpoints_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_endpoints_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_endpoints_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_endpoints_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_event_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_event_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_event_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_event_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_event_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_event_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_event_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_limit_range_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_limit_range_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_limit_range_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/limitranges", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_limit_range_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_limit_range_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_limit_range_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_limit_range_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespace_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespace(_api::CoreV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespace_CoreV1Api, "/api/v1/watch/namespaces/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespace(_api::CoreV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespace(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespace(_api::CoreV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespace(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespace_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespace_list(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespace_list_CoreV1Api, "/api/v1/watch/namespaces", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespace_list(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespace_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespace_list(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespace_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_config_map_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_config_map_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/configmaps/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_config_map(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_config_map(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_config_map(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_config_map(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_config_map_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_config_map_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_config_map_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/configmaps", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_config_map_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_config_map_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_config_map_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_config_map_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_endpoints_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_endpoints_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/endpoints/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_endpoints(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_endpoints(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_endpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_endpoints(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_endpoints_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_endpoints_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_endpoints_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/endpoints", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_endpoints_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_endpoints_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_endpoints_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_endpoints_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_event_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_event_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/events/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_event(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_event(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_event(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_event(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_event_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_event_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_event_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_event_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_event_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_event_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_event_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_limit_range_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_limit_range_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/limitranges/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_limit_range(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_limit_range(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_limit_range(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_limit_range(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_limit_range_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_limit_range_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_limit_range_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/limitranges", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_limit_range_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_limit_range_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_limit_range_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_limit_range_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_persistent_volume_claim_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_persistent_volume_claim_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_persistent_volume_claim(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_persistent_volume_claim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_persistent_volume_claim(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_persistent_volume_claim_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_persistent_volume_claim_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_persistent_volume_claim_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_persistent_volume_claim_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_persistent_volume_claim_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_persistent_volume_claim_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_persistent_volume_claim_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_pod_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_pod_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/pods/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_pod(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_pod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_pod_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_pod_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_pod_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/pods", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_pod_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_pod_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_pod_template_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_pod_template_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_pod_template(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod_template(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_pod_template(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod_template(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_pod_template_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_pod_template_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_pod_template_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/podtemplates", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_pod_template_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod_template_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_pod_template_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_pod_template_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_replication_controller_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_replication_controller_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_replication_controller(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_replication_controller(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_replication_controller(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_replication_controller(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_replication_controller_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_replication_controller_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_replication_controller_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/replicationcontrollers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_replication_controller_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_replication_controller_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_replication_controller_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_replication_controller_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_resource_quota_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_resource_quota_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_resource_quota(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_resource_quota(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_resource_quota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_resource_quota(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_resource_quota_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_resource_quota_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_resource_quota_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/resourcequotas", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_resource_quota_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_resource_quota_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_resource_quota_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_resource_quota_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_secret_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_secret_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/secrets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_secret(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_secret(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_secret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_secret(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_secret_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_secret_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_secret_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/secrets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_secret_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_secret_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_secret_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_secret_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_service_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_service_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/services/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_service(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_service(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_service_account_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_service_account_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_service_account(_api::CoreV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service_account(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_service_account(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service_account(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_service_account_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_service_account_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_service_account_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/serviceaccounts", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_service_account_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service_account_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_service_account_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service_account_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_namespaced_service_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_namespaced_service_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_namespaced_service_list_CoreV1Api, "/api/v1/watch/namespaces/{namespace}/services", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_namespaced_service_list(_api::CoreV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_namespaced_service_list(_api::CoreV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_namespaced_service_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_node_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_node(_api::CoreV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_node_CoreV1Api, "/api/v1/watch/nodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_node(_api::CoreV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_node(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_node(_api::CoreV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_node(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_node_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_node_list(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_node_list_CoreV1Api, "/api/v1/watch/nodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_node_list(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_node_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_node_list(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_node_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_persistent_volume_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_persistent_volume(_api::CoreV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_persistent_volume_CoreV1Api, "/api/v1/watch/persistentvolumes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_persistent_volume(_api::CoreV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_persistent_volume(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_persistent_volume(_api::CoreV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_persistent_volume(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_persistent_volume_claim_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_persistent_volume_claim_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_persistent_volume_claim_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/persistentvolumeclaims", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_persistent_volume_claim_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_persistent_volume_claim_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_persistent_volume_claim_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_persistent_volume_claim_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_persistent_volume_list_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_persistent_volume_list(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_persistent_volume_list_CoreV1Api, "/api/v1/watch/persistentvolumes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_persistent_volume_list(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_persistent_volume_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_persistent_volume_list(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_persistent_volume_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_pod_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_pod_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_pod_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/pods", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_pod_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_pod_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_pod_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_pod_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_pod_template_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_pod_template_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_pod_template_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/podtemplates", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_pod_template_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_pod_template_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_pod_template_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_pod_template_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_replication_controller_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_replication_controller_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_replication_controller_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/replicationcontrollers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_replication_controller_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_replication_controller_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_replication_controller_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_replication_controller_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_resource_quota_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_resource_quota_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_resource_quota_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/resourcequotas", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_resource_quota_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_resource_quota_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_resource_quota_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_resource_quota_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_secret_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_secret_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_secret_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/secrets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_secret_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_secret_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_secret_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_secret_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_service_account_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_service_account_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_service_account_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/serviceaccounts", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_service_account_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_service_account_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_service_account_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_service_account_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_core_v1_service_list_for_all_namespaces_CoreV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_core_v1_service_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_core_v1_service_list_for_all_namespaces_CoreV1Api, "/api/v1/watch/services", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_core_v1_service_list_for_all_namespaces(_api::CoreV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_service_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_core_v1_service_list_for_all_namespaces(_api::CoreV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_core_v1_service_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export connect_core_v1_delete_namespaced_pod_proxy +export connect_core_v1_delete_namespaced_pod_proxy_with_path +export connect_core_v1_delete_namespaced_service_proxy +export connect_core_v1_delete_namespaced_service_proxy_with_path +export connect_core_v1_delete_node_proxy +export connect_core_v1_delete_node_proxy_with_path +export connect_core_v1_get_namespaced_pod_attach +export connect_core_v1_get_namespaced_pod_exec +export connect_core_v1_get_namespaced_pod_portforward +export connect_core_v1_get_namespaced_pod_proxy +export connect_core_v1_get_namespaced_pod_proxy_with_path +export connect_core_v1_get_namespaced_service_proxy +export connect_core_v1_get_namespaced_service_proxy_with_path +export connect_core_v1_get_node_proxy +export connect_core_v1_get_node_proxy_with_path +export connect_core_v1_head_namespaced_pod_proxy +export connect_core_v1_head_namespaced_pod_proxy_with_path +export connect_core_v1_head_namespaced_service_proxy +export connect_core_v1_head_namespaced_service_proxy_with_path +export connect_core_v1_head_node_proxy +export connect_core_v1_head_node_proxy_with_path +export connect_core_v1_options_namespaced_pod_proxy +export connect_core_v1_options_namespaced_pod_proxy_with_path +export connect_core_v1_options_namespaced_service_proxy +export connect_core_v1_options_namespaced_service_proxy_with_path +export connect_core_v1_options_node_proxy +export connect_core_v1_options_node_proxy_with_path +export connect_core_v1_patch_namespaced_pod_proxy +export connect_core_v1_patch_namespaced_pod_proxy_with_path +export connect_core_v1_patch_namespaced_service_proxy +export connect_core_v1_patch_namespaced_service_proxy_with_path +export connect_core_v1_patch_node_proxy +export connect_core_v1_patch_node_proxy_with_path +export connect_core_v1_post_namespaced_pod_attach +export connect_core_v1_post_namespaced_pod_exec +export connect_core_v1_post_namespaced_pod_portforward +export connect_core_v1_post_namespaced_pod_proxy +export connect_core_v1_post_namespaced_pod_proxy_with_path +export connect_core_v1_post_namespaced_service_proxy +export connect_core_v1_post_namespaced_service_proxy_with_path +export connect_core_v1_post_node_proxy +export connect_core_v1_post_node_proxy_with_path +export connect_core_v1_put_namespaced_pod_proxy +export connect_core_v1_put_namespaced_pod_proxy_with_path +export connect_core_v1_put_namespaced_service_proxy +export connect_core_v1_put_namespaced_service_proxy_with_path +export connect_core_v1_put_node_proxy +export connect_core_v1_put_node_proxy_with_path +export create_core_v1_namespace +export create_core_v1_namespaced_binding +export create_core_v1_namespaced_config_map +export create_core_v1_namespaced_endpoints +export create_core_v1_namespaced_event +export create_core_v1_namespaced_limit_range +export create_core_v1_namespaced_persistent_volume_claim +export create_core_v1_namespaced_pod +export create_core_v1_namespaced_pod_binding +export create_core_v1_namespaced_pod_eviction +export create_core_v1_namespaced_pod_template +export create_core_v1_namespaced_replication_controller +export create_core_v1_namespaced_resource_quota +export create_core_v1_namespaced_secret +export create_core_v1_namespaced_service +export create_core_v1_namespaced_service_account +export create_core_v1_namespaced_service_account_token +export create_core_v1_node +export create_core_v1_persistent_volume +export delete_core_v1_collection_namespaced_config_map +export delete_core_v1_collection_namespaced_endpoints +export delete_core_v1_collection_namespaced_event +export delete_core_v1_collection_namespaced_limit_range +export delete_core_v1_collection_namespaced_persistent_volume_claim +export delete_core_v1_collection_namespaced_pod +export delete_core_v1_collection_namespaced_pod_template +export delete_core_v1_collection_namespaced_replication_controller +export delete_core_v1_collection_namespaced_resource_quota +export delete_core_v1_collection_namespaced_secret +export delete_core_v1_collection_namespaced_service_account +export delete_core_v1_collection_node +export delete_core_v1_collection_persistent_volume +export delete_core_v1_namespace +export delete_core_v1_namespaced_config_map +export delete_core_v1_namespaced_endpoints +export delete_core_v1_namespaced_event +export delete_core_v1_namespaced_limit_range +export delete_core_v1_namespaced_persistent_volume_claim +export delete_core_v1_namespaced_pod +export delete_core_v1_namespaced_pod_template +export delete_core_v1_namespaced_replication_controller +export delete_core_v1_namespaced_resource_quota +export delete_core_v1_namespaced_secret +export delete_core_v1_namespaced_service +export delete_core_v1_namespaced_service_account +export delete_core_v1_node +export delete_core_v1_persistent_volume +export get_core_v1_a_p_i_resources +export list_core_v1_component_status +export list_core_v1_config_map_for_all_namespaces +export list_core_v1_endpoints_for_all_namespaces +export list_core_v1_event_for_all_namespaces +export list_core_v1_limit_range_for_all_namespaces +export list_core_v1_namespace +export list_core_v1_namespaced_config_map +export list_core_v1_namespaced_endpoints +export list_core_v1_namespaced_event +export list_core_v1_namespaced_limit_range +export list_core_v1_namespaced_persistent_volume_claim +export list_core_v1_namespaced_pod +export list_core_v1_namespaced_pod_template +export list_core_v1_namespaced_replication_controller +export list_core_v1_namespaced_resource_quota +export list_core_v1_namespaced_secret +export list_core_v1_namespaced_service +export list_core_v1_namespaced_service_account +export list_core_v1_node +export list_core_v1_persistent_volume +export list_core_v1_persistent_volume_claim_for_all_namespaces +export list_core_v1_pod_for_all_namespaces +export list_core_v1_pod_template_for_all_namespaces +export list_core_v1_replication_controller_for_all_namespaces +export list_core_v1_resource_quota_for_all_namespaces +export list_core_v1_secret_for_all_namespaces +export list_core_v1_service_account_for_all_namespaces +export list_core_v1_service_for_all_namespaces +export patch_core_v1_namespace +export patch_core_v1_namespace_status +export patch_core_v1_namespaced_config_map +export patch_core_v1_namespaced_endpoints +export patch_core_v1_namespaced_event +export patch_core_v1_namespaced_limit_range +export patch_core_v1_namespaced_persistent_volume_claim +export patch_core_v1_namespaced_persistent_volume_claim_status +export patch_core_v1_namespaced_pod +export patch_core_v1_namespaced_pod_status +export patch_core_v1_namespaced_pod_template +export patch_core_v1_namespaced_replication_controller +export patch_core_v1_namespaced_replication_controller_scale +export patch_core_v1_namespaced_replication_controller_status +export patch_core_v1_namespaced_resource_quota +export patch_core_v1_namespaced_resource_quota_status +export patch_core_v1_namespaced_secret +export patch_core_v1_namespaced_service +export patch_core_v1_namespaced_service_account +export patch_core_v1_namespaced_service_status +export patch_core_v1_node +export patch_core_v1_node_status +export patch_core_v1_persistent_volume +export patch_core_v1_persistent_volume_status +export read_core_v1_component_status +export read_core_v1_namespace +export read_core_v1_namespace_status +export read_core_v1_namespaced_config_map +export read_core_v1_namespaced_endpoints +export read_core_v1_namespaced_event +export read_core_v1_namespaced_limit_range +export read_core_v1_namespaced_persistent_volume_claim +export read_core_v1_namespaced_persistent_volume_claim_status +export read_core_v1_namespaced_pod +export read_core_v1_namespaced_pod_log +export read_core_v1_namespaced_pod_status +export read_core_v1_namespaced_pod_template +export read_core_v1_namespaced_replication_controller +export read_core_v1_namespaced_replication_controller_scale +export read_core_v1_namespaced_replication_controller_status +export read_core_v1_namespaced_resource_quota +export read_core_v1_namespaced_resource_quota_status +export read_core_v1_namespaced_secret +export read_core_v1_namespaced_service +export read_core_v1_namespaced_service_account +export read_core_v1_namespaced_service_status +export read_core_v1_node +export read_core_v1_node_status +export read_core_v1_persistent_volume +export read_core_v1_persistent_volume_status +export replace_core_v1_namespace +export replace_core_v1_namespace_finalize +export replace_core_v1_namespace_status +export replace_core_v1_namespaced_config_map +export replace_core_v1_namespaced_endpoints +export replace_core_v1_namespaced_event +export replace_core_v1_namespaced_limit_range +export replace_core_v1_namespaced_persistent_volume_claim +export replace_core_v1_namespaced_persistent_volume_claim_status +export replace_core_v1_namespaced_pod +export replace_core_v1_namespaced_pod_status +export replace_core_v1_namespaced_pod_template +export replace_core_v1_namespaced_replication_controller +export replace_core_v1_namespaced_replication_controller_scale +export replace_core_v1_namespaced_replication_controller_status +export replace_core_v1_namespaced_resource_quota +export replace_core_v1_namespaced_resource_quota_status +export replace_core_v1_namespaced_secret +export replace_core_v1_namespaced_service +export replace_core_v1_namespaced_service_account +export replace_core_v1_namespaced_service_status +export replace_core_v1_node +export replace_core_v1_node_status +export replace_core_v1_persistent_volume +export replace_core_v1_persistent_volume_status +export watch_core_v1_config_map_list_for_all_namespaces +export watch_core_v1_endpoints_list_for_all_namespaces +export watch_core_v1_event_list_for_all_namespaces +export watch_core_v1_limit_range_list_for_all_namespaces +export watch_core_v1_namespace +export watch_core_v1_namespace_list +export watch_core_v1_namespaced_config_map +export watch_core_v1_namespaced_config_map_list +export watch_core_v1_namespaced_endpoints +export watch_core_v1_namespaced_endpoints_list +export watch_core_v1_namespaced_event +export watch_core_v1_namespaced_event_list +export watch_core_v1_namespaced_limit_range +export watch_core_v1_namespaced_limit_range_list +export watch_core_v1_namespaced_persistent_volume_claim +export watch_core_v1_namespaced_persistent_volume_claim_list +export watch_core_v1_namespaced_pod +export watch_core_v1_namespaced_pod_list +export watch_core_v1_namespaced_pod_template +export watch_core_v1_namespaced_pod_template_list +export watch_core_v1_namespaced_replication_controller +export watch_core_v1_namespaced_replication_controller_list +export watch_core_v1_namespaced_resource_quota +export watch_core_v1_namespaced_resource_quota_list +export watch_core_v1_namespaced_secret +export watch_core_v1_namespaced_secret_list +export watch_core_v1_namespaced_service +export watch_core_v1_namespaced_service_account +export watch_core_v1_namespaced_service_account_list +export watch_core_v1_namespaced_service_list +export watch_core_v1_node +export watch_core_v1_node_list +export watch_core_v1_persistent_volume +export watch_core_v1_persistent_volume_claim_list_for_all_namespaces +export watch_core_v1_persistent_volume_list +export watch_core_v1_pod_list_for_all_namespaces +export watch_core_v1_pod_template_list_for_all_namespaces +export watch_core_v1_replication_controller_list_for_all_namespaces +export watch_core_v1_resource_quota_list_for_all_namespaces +export watch_core_v1_secret_list_for_all_namespaces +export watch_core_v1_service_account_list_for_all_namespaces +export watch_core_v1_service_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_CustomMetricsV1beta1Api.jl b/src/ApiImpl/api/apis/api_CustomMetricsV1beta1Api.jl new file mode 100644 index 00000000..4e976f20 --- /dev/null +++ b/src/ApiImpl/api/apis/api_CustomMetricsV1beta1Api.jl @@ -0,0 +1,93 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CustomMetricsV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CustomMetricsV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CustomMetricsV1beta1Api }) = "http://localhost" + +const _returntypes_list_custom_metrics_v1beta1_metric_value_CustomMetricsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCustomMetricsV1beta1MetricValueList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_custom_metrics_v1beta1_metric_value(_api::CustomMetricsV1beta1Api, compositemetricname::String; pretty=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_custom_metrics_v1beta1_metric_value_CustomMetricsV1beta1Api, "/apis/custom.metrics.k8s.io/v1beta1/{compositemetricname}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "compositemetricname", compositemetricname) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Retrieve the given metric for the given non-namespaced object (e.g. Node, PersistentVolume). Composite metric name is of the form \"//\" Passing '*' for objectname would retrieve the given metric for all non-namespaced objects of the given type. + +Params: +- compositemetricname::String (required) +- pretty::String +- field_selector::String +- label_selector::String +- limit::Int64 + +Return: IoK8sApiCustomMetricsV1beta1MetricValueList, OpenAPI.Clients.ApiResponse +""" +function list_custom_metrics_v1beta1_metric_value(_api::CustomMetricsV1beta1Api, compositemetricname::String; pretty=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_custom_metrics_v1beta1_metric_value(_api, compositemetricname; pretty=pretty, field_selector=field_selector, label_selector=label_selector, limit=limit, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_custom_metrics_v1beta1_metric_value(_api::CustomMetricsV1beta1Api, response_stream::Channel, compositemetricname::String; pretty=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_custom_metrics_v1beta1_metric_value(_api, compositemetricname; pretty=pretty, field_selector=field_selector, label_selector=label_selector, limit=limit, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_custom_metrics_v1beta1_namespaced_metric_value_CustomMetricsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiCustomMetricsV1beta1MetricValueList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_custom_metrics_v1beta1_namespaced_metric_value(_api::CustomMetricsV1beta1Api, compositemetricname::String, namespace::String; pretty=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_custom_metrics_v1beta1_namespaced_metric_value_CustomMetricsV1beta1Api, "/apis/custom.metrics.k8s.io/v1beta1/namespaces/{namespace}/{compositemetricname}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "compositemetricname", compositemetricname) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""retrieve the given metric (in composite form) which describes the given namespace. Composite form of metrics can be either \"metric/\" to fetch metrics of all objects in the namespace, or \"//\" to fetch metrics of the specified object type and name. Passing \"*\" for objectname would fetch metrics of all objects of the specified type in the namespace. + +Params: +- compositemetricname::String (required) +- namespace::String (required) +- pretty::String +- field_selector::String +- label_selector::String +- limit::Int64 + +Return: IoK8sApiCustomMetricsV1beta1MetricValueList, OpenAPI.Clients.ApiResponse +""" +function list_custom_metrics_v1beta1_namespaced_metric_value(_api::CustomMetricsV1beta1Api, compositemetricname::String, namespace::String; pretty=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_custom_metrics_v1beta1_namespaced_metric_value(_api, compositemetricname, namespace; pretty=pretty, field_selector=field_selector, label_selector=label_selector, limit=limit, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_custom_metrics_v1beta1_namespaced_metric_value(_api::CustomMetricsV1beta1Api, response_stream::Channel, compositemetricname::String, namespace::String; pretty=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_custom_metrics_v1beta1_namespaced_metric_value(_api, compositemetricname, namespace; pretty=pretty, field_selector=field_selector, label_selector=label_selector, limit=limit, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export list_custom_metrics_v1beta1_metric_value +export list_custom_metrics_v1beta1_namespaced_metric_value diff --git a/src/ApiImpl/api/apis/api_DiscoveryApi.jl b/src/ApiImpl/api/apis/api_DiscoveryApi.jl new file mode 100644 index 00000000..867c13c7 --- /dev/null +++ b/src/ApiImpl/api/apis/api_DiscoveryApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct DiscoveryApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `DiscoveryApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ DiscoveryApi }) = "http://localhost" + +const _returntypes_get_discovery_a_p_i_group_DiscoveryApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_discovery_a_p_i_group(_api::DiscoveryApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_discovery_a_p_i_group_DiscoveryApi, "/apis/discovery.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_discovery_a_p_i_group(_api::DiscoveryApi; _mediaType=nothing) + _ctx = _oacinternal_get_discovery_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_discovery_a_p_i_group(_api::DiscoveryApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_discovery_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_discovery_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_DiscoveryV1beta1Api.jl b/src/ApiImpl/api/apis/api_DiscoveryV1beta1Api.jl new file mode 100644 index 00000000..432923db --- /dev/null +++ b/src/ApiImpl/api/apis/api_DiscoveryV1beta1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct DiscoveryV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `DiscoveryV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ DiscoveryV1beta1Api }) = "http://localhost" + +const _returntypes_create_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, namespace::String, body::IoK8sApiDiscoveryV1beta1EndpointSlice; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an EndpointSlice + +Params: +- namespace::String (required) +- body::IoK8sApiDiscoveryV1beta1EndpointSlice (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiDiscoveryV1beta1EndpointSlice, OpenAPI.Clients.ApiResponse +""" +function create_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, namespace::String, body::IoK8sApiDiscoveryV1beta1EndpointSlice; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_discovery_v1beta1_namespaced_endpoint_slice(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiDiscoveryV1beta1EndpointSlice; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_discovery_v1beta1_namespaced_endpoint_slice(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_discovery_v1beta1_collection_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_discovery_v1beta1_collection_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_discovery_v1beta1_collection_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of EndpointSlice + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_discovery_v1beta1_collection_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_discovery_v1beta1_collection_namespaced_endpoint_slice(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_discovery_v1beta1_collection_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_discovery_v1beta1_collection_namespaced_endpoint_slice(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an EndpointSlice + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_discovery_v1beta1_a_p_i_resources_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_discovery_v1beta1_a_p_i_resources(_api::DiscoveryV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_discovery_v1beta1_a_p_i_resources_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_discovery_v1beta1_a_p_i_resources(_api::DiscoveryV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_discovery_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_discovery_v1beta1_a_p_i_resources(_api::DiscoveryV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_discovery_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_discovery_v1beta1_endpoint_slice_for_all_namespaces_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSliceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_discovery_v1beta1_endpoint_slice_for_all_namespaces(_api::DiscoveryV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_discovery_v1beta1_endpoint_slice_for_all_namespaces_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/endpointslices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind EndpointSlice + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiDiscoveryV1beta1EndpointSliceList, OpenAPI.Clients.ApiResponse +""" +function list_discovery_v1beta1_endpoint_slice_for_all_namespaces(_api::DiscoveryV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_discovery_v1beta1_endpoint_slice_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_discovery_v1beta1_endpoint_slice_for_all_namespaces(_api::DiscoveryV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_discovery_v1beta1_endpoint_slice_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSliceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind EndpointSlice + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiDiscoveryV1beta1EndpointSliceList, OpenAPI.Clients.ApiResponse +""" +function list_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_discovery_v1beta1_namespaced_endpoint_slice(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_discovery_v1beta1_namespaced_endpoint_slice(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified EndpointSlice + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiDiscoveryV1beta1EndpointSlice, OpenAPI.Clients.ApiResponse +""" +function patch_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified EndpointSlice + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiDiscoveryV1beta1EndpointSlice, OpenAPI.Clients.ApiResponse +""" +function read_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiDiscoveryV1beta1EndpointSlice, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body::IoK8sApiDiscoveryV1beta1EndpointSlice; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified EndpointSlice + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiDiscoveryV1beta1EndpointSlice (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiDiscoveryV1beta1EndpointSlice, OpenAPI.Clients.ApiResponse +""" +function replace_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body::IoK8sApiDiscoveryV1beta1EndpointSlice; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiDiscoveryV1beta1EndpointSlice; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces(_api::DiscoveryV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/watch/endpointslices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces(_api::DiscoveryV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces(_api::DiscoveryV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_discovery_v1beta1_namespaced_endpoint_slice_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_discovery_v1beta1_namespaced_endpoint_slice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_discovery_v1beta1_namespaced_endpoint_slice(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_discovery_v1beta1_namespaced_endpoint_slice_list_DiscoveryV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_discovery_v1beta1_namespaced_endpoint_slice_list(_api::DiscoveryV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_discovery_v1beta1_namespaced_endpoint_slice_list_DiscoveryV1beta1Api, "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_discovery_v1beta1_namespaced_endpoint_slice_list(_api::DiscoveryV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_discovery_v1beta1_namespaced_endpoint_slice_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_discovery_v1beta1_namespaced_endpoint_slice_list(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_discovery_v1beta1_namespaced_endpoint_slice_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_discovery_v1beta1_namespaced_endpoint_slice +export delete_discovery_v1beta1_collection_namespaced_endpoint_slice +export delete_discovery_v1beta1_namespaced_endpoint_slice +export get_discovery_v1beta1_a_p_i_resources +export list_discovery_v1beta1_endpoint_slice_for_all_namespaces +export list_discovery_v1beta1_namespaced_endpoint_slice +export patch_discovery_v1beta1_namespaced_endpoint_slice +export read_discovery_v1beta1_namespaced_endpoint_slice +export replace_discovery_v1beta1_namespaced_endpoint_slice +export watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces +export watch_discovery_v1beta1_namespaced_endpoint_slice +export watch_discovery_v1beta1_namespaced_endpoint_slice_list diff --git a/src/ApiImpl/api/apis/api_EventsApi.jl b/src/ApiImpl/api/apis/api_EventsApi.jl new file mode 100644 index 00000000..c14266a9 --- /dev/null +++ b/src/ApiImpl/api/apis/api_EventsApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct EventsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `EventsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ EventsApi }) = "http://localhost" + +const _returntypes_get_events_a_p_i_group_EventsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_events_a_p_i_group(_api::EventsApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_events_a_p_i_group_EventsApi, "/apis/events.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_events_a_p_i_group(_api::EventsApi; _mediaType=nothing) + _ctx = _oacinternal_get_events_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_events_a_p_i_group(_api::EventsApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_events_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_events_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_EventsV1beta1Api.jl b/src/ApiImpl/api/apis/api_EventsV1beta1Api.jl new file mode 100644 index 00000000..51763f6c --- /dev/null +++ b/src/ApiImpl/api/apis/api_EventsV1beta1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct EventsV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `EventsV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ EventsV1beta1Api }) = "http://localhost" + +const _returntypes_create_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, namespace::String, body::IoK8sApiEventsV1beta1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an Event + +Params: +- namespace::String (required) +- body::IoK8sApiEventsV1beta1Event (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiEventsV1beta1Event, OpenAPI.Clients.ApiResponse +""" +function create_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, namespace::String, body::IoK8sApiEventsV1beta1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_events_v1beta1_namespaced_event(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiEventsV1beta1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_events_v1beta1_namespaced_event(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_events_v1beta1_collection_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_events_v1beta1_collection_namespaced_event(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_events_v1beta1_collection_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Event + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_events_v1beta1_collection_namespaced_event(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_events_v1beta1_collection_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_events_v1beta1_collection_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_events_v1beta1_collection_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an Event + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_events_v1beta1_namespaced_event(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_events_v1beta1_namespaced_event(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_events_v1beta1_a_p_i_resources_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_events_v1beta1_a_p_i_resources(_api::EventsV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_events_v1beta1_a_p_i_resources_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_events_v1beta1_a_p_i_resources(_api::EventsV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_events_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_events_v1beta1_a_p_i_resources(_api::EventsV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_events_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_events_v1beta1_event_for_all_namespaces_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiEventsV1beta1EventList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_events_v1beta1_event_for_all_namespaces(_api::EventsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_events_v1beta1_event_for_all_namespaces_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Event + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiEventsV1beta1EventList, OpenAPI.Clients.ApiResponse +""" +function list_events_v1beta1_event_for_all_namespaces(_api::EventsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_events_v1beta1_event_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_events_v1beta1_event_for_all_namespaces(_api::EventsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_events_v1beta1_event_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiEventsV1beta1EventList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Event + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiEventsV1beta1EventList, OpenAPI.Clients.ApiResponse +""" +function list_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_events_v1beta1_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_events_v1beta1_namespaced_event(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Event + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiEventsV1beta1Event, OpenAPI.Clients.ApiResponse +""" +function patch_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_events_v1beta1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_events_v1beta1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Event + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiEventsV1beta1Event, OpenAPI.Clients.ApiResponse +""" +function read_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_events_v1beta1_namespaced_event(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_events_v1beta1_namespaced_event(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiEventsV1beta1Event, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String, body::IoK8sApiEventsV1beta1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Event + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiEventsV1beta1Event (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiEventsV1beta1Event, OpenAPI.Clients.ApiResponse +""" +function replace_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String, body::IoK8sApiEventsV1beta1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_events_v1beta1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiEventsV1beta1Event; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_events_v1beta1_namespaced_event(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_events_v1beta1_event_list_for_all_namespaces_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_events_v1beta1_event_list_for_all_namespaces(_api::EventsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_events_v1beta1_event_list_for_all_namespaces_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/watch/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_events_v1beta1_event_list_for_all_namespaces(_api::EventsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_events_v1beta1_event_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_events_v1beta1_event_list_for_all_namespaces(_api::EventsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_events_v1beta1_event_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_events_v1beta1_namespaced_event_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_events_v1beta1_namespaced_event_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_events_v1beta1_namespaced_event(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_events_v1beta1_namespaced_event(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_events_v1beta1_namespaced_event(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_events_v1beta1_namespaced_event_list_EventsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_events_v1beta1_namespaced_event_list(_api::EventsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_events_v1beta1_namespaced_event_list_EventsV1beta1Api, "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_events_v1beta1_namespaced_event_list(_api::EventsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_events_v1beta1_namespaced_event_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_events_v1beta1_namespaced_event_list(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_events_v1beta1_namespaced_event_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_events_v1beta1_namespaced_event +export delete_events_v1beta1_collection_namespaced_event +export delete_events_v1beta1_namespaced_event +export get_events_v1beta1_a_p_i_resources +export list_events_v1beta1_event_for_all_namespaces +export list_events_v1beta1_namespaced_event +export patch_events_v1beta1_namespaced_event +export read_events_v1beta1_namespaced_event +export replace_events_v1beta1_namespaced_event +export watch_events_v1beta1_event_list_for_all_namespaces +export watch_events_v1beta1_namespaced_event +export watch_events_v1beta1_namespaced_event_list diff --git a/src/ApiImpl/api/apis/api_ExtensionsApi.jl b/src/ApiImpl/api/apis/api_ExtensionsApi.jl new file mode 100644 index 00000000..d590dee4 --- /dev/null +++ b/src/ApiImpl/api/apis/api_ExtensionsApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ExtensionsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ExtensionsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ExtensionsApi }) = "http://localhost" + +const _returntypes_get_extensions_a_p_i_group_ExtensionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_extensions_a_p_i_group(_api::ExtensionsApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_extensions_a_p_i_group_ExtensionsApi, "/apis/extensions/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_extensions_a_p_i_group(_api::ExtensionsApi; _mediaType=nothing) + _ctx = _oacinternal_get_extensions_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_extensions_a_p_i_group(_api::ExtensionsApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_extensions_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_extensions_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_ExtensionsV1beta1Api.jl b/src/ApiImpl/api/apis/api_ExtensionsV1beta1Api.jl new file mode 100644 index 00000000..a325f523 --- /dev/null +++ b/src/ApiImpl/api/apis/api_ExtensionsV1beta1Api.jl @@ -0,0 +1,3846 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct ExtensionsV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `ExtensionsV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ ExtensionsV1beta1Api }) = "http://localhost" + +const _returntypes_create_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a DaemonSet + +Params: +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_daemon_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_daemon_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Deployment + +Params: +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_deployment(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_extensions_v1beta1_namespaced_deployment_rollback_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_namespaced_deployment_rollback(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DeploymentRollback; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_namespaced_deployment_rollback_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create rollback of a Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1DeploymentRollback (required) +- dry_run::String +- field_manager::String +- pretty::String + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_namespaced_deployment_rollback(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DeploymentRollback; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_deployment_rollback(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_namespaced_deployment_rollback(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DeploymentRollback; dry_run=nothing, field_manager=nothing, pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_deployment_rollback(_api, name, namespace, body; dry_run=dry_run, field_manager=field_manager, pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an Ingress + +Params: +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Ingress (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_ingress(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_ingress(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a NetworkPolicy + +Params: +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1NetworkPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_network_policy(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiExtensionsV1beta1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_network_policy(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ReplicaSet + +Params: +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_replica_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_namespaced_replica_set(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, body::IoK8sApiExtensionsV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PodSecurityPolicy + +Params: +- body::IoK8sApiExtensionsV1beta1PodSecurityPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function create_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, body::IoK8sApiExtensionsV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_pod_security_policy(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, body::IoK8sApiExtensionsV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_extensions_v1beta1_pod_security_policy(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_collection_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_collection_namespaced_daemon_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_collection_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of DaemonSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_collection_namespaced_daemon_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_collection_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_collection_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_collection_namespaced_deployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_collection_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_collection_namespaced_deployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_collection_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_collection_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_collection_namespaced_ingress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_collection_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Ingress + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_collection_namespaced_ingress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_collection_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_collection_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_collection_namespaced_network_policy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_collection_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of NetworkPolicy + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_collection_namespaced_network_policy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_collection_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_collection_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_collection_namespaced_replica_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_collection_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ReplicaSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_collection_namespaced_replica_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_collection_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_collection_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_collection_pod_security_policy(_api::ExtensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_collection_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PodSecurityPolicy + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_collection_pod_security_policy(_api::ExtensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_collection_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_collection_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an Ingress + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_network_policy(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_network_policy(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_replica_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_namespaced_replica_set(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PodSecurityPolicy + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_pod_security_policy(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_extensions_v1beta1_pod_security_policy(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_extensions_v1beta1_a_p_i_resources_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_extensions_v1beta1_a_p_i_resources(_api::ExtensionsV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_extensions_v1beta1_a_p_i_resources_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_extensions_v1beta1_a_p_i_resources(_api::ExtensionsV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_extensions_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_extensions_v1beta1_a_p_i_resources(_api::ExtensionsV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_extensions_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_daemon_set_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_daemon_set_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_daemon_set_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind DaemonSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1DaemonSetList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_daemon_set_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_daemon_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_daemon_set_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_daemon_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_deployment_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_deployment_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_deployment_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_deployment_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_deployment_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_deployment_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_ingress_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1IngressList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_ingress_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_ingress_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Ingress + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1IngressList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_ingress_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_ingress_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_ingress_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_ingress_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind DaemonSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1DaemonSetList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_daemon_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DeploymentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Deployment + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1DeploymentList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_deployment(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1IngressList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Ingress + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1IngressList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicyList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind NetworkPolicy + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1NetworkPolicyList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicaSet + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1ReplicaSetList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_namespaced_replica_set(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_network_policy_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicyList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_network_policy_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_network_policy_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind NetworkPolicy + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1NetworkPolicyList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_network_policy_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_network_policy_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_network_policy_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_network_policy_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicyList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodSecurityPolicy + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1PodSecurityPolicyList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_extensions_v1beta1_replica_set_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_extensions_v1beta1_replica_set_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_extensions_v1beta1_replica_set_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ReplicaSet + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiExtensionsV1beta1ReplicaSetList, OpenAPI.Clients.ApiResponse +""" +function list_extensions_v1beta1_replica_set_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_replica_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_extensions_v1beta1_replica_set_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_extensions_v1beta1_replica_set_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_daemon_set_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_daemon_set_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_deployment_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_deployment_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_deployment_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_deployment_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_ingress_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_ingress_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_replica_set_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_replica_set_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_replica_set_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_replica_set_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update scale of the specified ReplicationControllerDummy + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PodSecurityPolicy + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function patch_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_extensions_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_daemon_set_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_daemon_set_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_daemon_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_daemon_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_deployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_deployment_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_deployment_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_deployment_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_deployment_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_deployment_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_deployment_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_ingress_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_ingress_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_ingress_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_ingress_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiExtensionsV1beta1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_network_policy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_network_policy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replica_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replica_set(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_replica_set_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_replica_set_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replica_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replica_set_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_replica_set_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_replica_set_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replica_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replica_set_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_namespaced_replication_controller_dummy_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_namespaced_replication_controller_dummy_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read scale of the specified ReplicationControllerDummy + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PodSecurityPolicy + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function read_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_pod_security_policy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_extensions_v1beta1_pod_security_policy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_daemon_set_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1DaemonSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_daemon_set_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified DaemonSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1DaemonSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1DaemonSet, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_daemon_set_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1DaemonSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_daemon_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_deployment(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_deployment_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_deployment_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_deployment_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_deployment_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_deployment_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Deployment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_deployment_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Deployment + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Deployment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Deployment, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_deployment_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Deployment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_deployment_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Ingress (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_ingress_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_ingress_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Ingress (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_ingress_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1NetworkPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replica_set(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_replica_set_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_replica_set_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_replica_set_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replica_set_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_replica_set_status_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1ReplicaSet, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_replica_set_status_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified ReplicaSet + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1ReplicaSet (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1ReplicaSet, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_replica_set_status(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1ReplicaSet; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replica_set_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1Scale, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace scale of the specified ReplicationControllerDummy + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiExtensionsV1beta1Scale (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1Scale, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiExtensionsV1beta1Scale; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiExtensionsV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String, body::IoK8sApiExtensionsV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PodSecurityPolicy + +Params: +- name::String (required) +- body::IoK8sApiExtensionsV1beta1PodSecurityPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiExtensionsV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function replace_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String, body::IoK8sApiExtensionsV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiExtensionsV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_extensions_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_daemon_set_list_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_daemon_set_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_daemon_set_list_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_daemon_set_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_daemon_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_daemon_set_list_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_daemon_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_deployment_list_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_deployment_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_deployment_list_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_deployment_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_deployment_list_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_deployment_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_ingress_list_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_ingress_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_ingress_list_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_ingress_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_ingress_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_ingress_list_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_ingress_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_daemon_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_daemon_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_daemon_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_daemon_set_list_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_daemon_set_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_daemon_set_list_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_daemon_set_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_daemon_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_daemon_set_list(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_daemon_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_deployment_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_deployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_deployment(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_deployment_list_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_deployment_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_deployment_list_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_deployment_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_deployment_list(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_deployment_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_ingress_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_ingress(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_ingress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_ingress(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_ingress_list_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_ingress_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_ingress_list_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_ingress_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_ingress_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_ingress_list(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_ingress_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_network_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_network_policy(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_network_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_network_policy(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_network_policy_list_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_network_policy_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_network_policy_list_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_network_policy_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_network_policy_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_network_policy_list(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_network_policy_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_replica_set_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_replica_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_replica_set(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_replica_set(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_namespaced_replica_set_list_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_namespaced_replica_set_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_namespaced_replica_set_list_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_namespaced_replica_set_list(_api::ExtensionsV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_replica_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_namespaced_replica_set_list(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_namespaced_replica_set_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_network_policy_list_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_network_policy_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_network_policy_list_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_network_policy_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_network_policy_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_network_policy_list_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_network_policy_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_pod_security_policy_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_pod_security_policy(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_pod_security_policy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_pod_security_policy(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_pod_security_policy_list_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_pod_security_policy_list(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_pod_security_policy_list_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/podsecuritypolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_pod_security_policy_list(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_pod_security_policy_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_pod_security_policy_list(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_pod_security_policy_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_extensions_v1beta1_replica_set_list_for_all_namespaces_ExtensionsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_extensions_v1beta1_replica_set_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_extensions_v1beta1_replica_set_list_for_all_namespaces_ExtensionsV1beta1Api, "/apis/extensions/v1beta1/watch/replicasets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_extensions_v1beta1_replica_set_list_for_all_namespaces(_api::ExtensionsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_replica_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_extensions_v1beta1_replica_set_list_for_all_namespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_extensions_v1beta1_replica_set_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_extensions_v1beta1_namespaced_daemon_set +export create_extensions_v1beta1_namespaced_deployment +export create_extensions_v1beta1_namespaced_deployment_rollback +export create_extensions_v1beta1_namespaced_ingress +export create_extensions_v1beta1_namespaced_network_policy +export create_extensions_v1beta1_namespaced_replica_set +export create_extensions_v1beta1_pod_security_policy +export delete_extensions_v1beta1_collection_namespaced_daemon_set +export delete_extensions_v1beta1_collection_namespaced_deployment +export delete_extensions_v1beta1_collection_namespaced_ingress +export delete_extensions_v1beta1_collection_namespaced_network_policy +export delete_extensions_v1beta1_collection_namespaced_replica_set +export delete_extensions_v1beta1_collection_pod_security_policy +export delete_extensions_v1beta1_namespaced_daemon_set +export delete_extensions_v1beta1_namespaced_deployment +export delete_extensions_v1beta1_namespaced_ingress +export delete_extensions_v1beta1_namespaced_network_policy +export delete_extensions_v1beta1_namespaced_replica_set +export delete_extensions_v1beta1_pod_security_policy +export get_extensions_v1beta1_a_p_i_resources +export list_extensions_v1beta1_daemon_set_for_all_namespaces +export list_extensions_v1beta1_deployment_for_all_namespaces +export list_extensions_v1beta1_ingress_for_all_namespaces +export list_extensions_v1beta1_namespaced_daemon_set +export list_extensions_v1beta1_namespaced_deployment +export list_extensions_v1beta1_namespaced_ingress +export list_extensions_v1beta1_namespaced_network_policy +export list_extensions_v1beta1_namespaced_replica_set +export list_extensions_v1beta1_network_policy_for_all_namespaces +export list_extensions_v1beta1_pod_security_policy +export list_extensions_v1beta1_replica_set_for_all_namespaces +export patch_extensions_v1beta1_namespaced_daemon_set +export patch_extensions_v1beta1_namespaced_daemon_set_status +export patch_extensions_v1beta1_namespaced_deployment +export patch_extensions_v1beta1_namespaced_deployment_scale +export patch_extensions_v1beta1_namespaced_deployment_status +export patch_extensions_v1beta1_namespaced_ingress +export patch_extensions_v1beta1_namespaced_ingress_status +export patch_extensions_v1beta1_namespaced_network_policy +export patch_extensions_v1beta1_namespaced_replica_set +export patch_extensions_v1beta1_namespaced_replica_set_scale +export patch_extensions_v1beta1_namespaced_replica_set_status +export patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale +export patch_extensions_v1beta1_pod_security_policy +export read_extensions_v1beta1_namespaced_daemon_set +export read_extensions_v1beta1_namespaced_daemon_set_status +export read_extensions_v1beta1_namespaced_deployment +export read_extensions_v1beta1_namespaced_deployment_scale +export read_extensions_v1beta1_namespaced_deployment_status +export read_extensions_v1beta1_namespaced_ingress +export read_extensions_v1beta1_namespaced_ingress_status +export read_extensions_v1beta1_namespaced_network_policy +export read_extensions_v1beta1_namespaced_replica_set +export read_extensions_v1beta1_namespaced_replica_set_scale +export read_extensions_v1beta1_namespaced_replica_set_status +export read_extensions_v1beta1_namespaced_replication_controller_dummy_scale +export read_extensions_v1beta1_pod_security_policy +export replace_extensions_v1beta1_namespaced_daemon_set +export replace_extensions_v1beta1_namespaced_daemon_set_status +export replace_extensions_v1beta1_namespaced_deployment +export replace_extensions_v1beta1_namespaced_deployment_scale +export replace_extensions_v1beta1_namespaced_deployment_status +export replace_extensions_v1beta1_namespaced_ingress +export replace_extensions_v1beta1_namespaced_ingress_status +export replace_extensions_v1beta1_namespaced_network_policy +export replace_extensions_v1beta1_namespaced_replica_set +export replace_extensions_v1beta1_namespaced_replica_set_scale +export replace_extensions_v1beta1_namespaced_replica_set_status +export replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale +export replace_extensions_v1beta1_pod_security_policy +export watch_extensions_v1beta1_daemon_set_list_for_all_namespaces +export watch_extensions_v1beta1_deployment_list_for_all_namespaces +export watch_extensions_v1beta1_ingress_list_for_all_namespaces +export watch_extensions_v1beta1_namespaced_daemon_set +export watch_extensions_v1beta1_namespaced_daemon_set_list +export watch_extensions_v1beta1_namespaced_deployment +export watch_extensions_v1beta1_namespaced_deployment_list +export watch_extensions_v1beta1_namespaced_ingress +export watch_extensions_v1beta1_namespaced_ingress_list +export watch_extensions_v1beta1_namespaced_network_policy +export watch_extensions_v1beta1_namespaced_network_policy_list +export watch_extensions_v1beta1_namespaced_replica_set +export watch_extensions_v1beta1_namespaced_replica_set_list +export watch_extensions_v1beta1_network_policy_list_for_all_namespaces +export watch_extensions_v1beta1_pod_security_policy +export watch_extensions_v1beta1_pod_security_policy_list +export watch_extensions_v1beta1_replica_set_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_FlowcontrolApiserverApi.jl b/src/ApiImpl/api/apis/api_FlowcontrolApiserverApi.jl new file mode 100644 index 00000000..a8332548 --- /dev/null +++ b/src/ApiImpl/api/apis/api_FlowcontrolApiserverApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct FlowcontrolApiserverApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `FlowcontrolApiserverApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ FlowcontrolApiserverApi }) = "http://localhost" + +const _returntypes_get_flowcontrol_apiserver_a_p_i_group_FlowcontrolApiserverApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_flowcontrol_apiserver_a_p_i_group(_api::FlowcontrolApiserverApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_flowcontrol_apiserver_a_p_i_group_FlowcontrolApiserverApi, "/apis/flowcontrol.apiserver.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_flowcontrol_apiserver_a_p_i_group(_api::FlowcontrolApiserverApi; _mediaType=nothing) + _ctx = _oacinternal_get_flowcontrol_apiserver_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_flowcontrol_apiserver_a_p_i_group(_api::FlowcontrolApiserverApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_flowcontrol_apiserver_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_flowcontrol_apiserver_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_FlowcontrolApiserverV1alpha1Api.jl b/src/ApiImpl/api/apis/api_FlowcontrolApiserverV1alpha1Api.jl new file mode 100644 index 00000000..fe75d48c --- /dev/null +++ b/src/ApiImpl/api/apis/api_FlowcontrolApiserverV1alpha1Api.jl @@ -0,0 +1,1058 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct FlowcontrolApiserverV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `FlowcontrolApiserverV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ FlowcontrolApiserverV1alpha1Api }) = "http://localhost" + +const _returntypes_create_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a FlowSchema + +Params: +- body::IoK8sApiFlowcontrolV1alpha1FlowSchema (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function create_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_flowcontrol_apiserver_v1alpha1_flow_schema(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_flowcontrol_apiserver_v1alpha1_flow_schema(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PriorityLevelConfiguration + +Params: +- body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function create_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of FlowSchema + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PriorityLevelConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a FlowSchema + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PriorityLevelConfiguration + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_flowcontrol_apiserver_v1alpha1_a_p_i_resources_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_flowcontrol_apiserver_v1alpha1_a_p_i_resources(_api::FlowcontrolApiserverV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_flowcontrol_apiserver_v1alpha1_a_p_i_resources_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_flowcontrol_apiserver_v1alpha1_a_p_i_resources(_api::FlowcontrolApiserverV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_flowcontrol_apiserver_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_flowcontrol_apiserver_v1alpha1_a_p_i_resources(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_flowcontrol_apiserver_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchemaList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind FlowSchema + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchemaList, OpenAPI.Clients.ApiResponse +""" +function list_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_flowcontrol_apiserver_v1alpha1_flow_schema(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_flowcontrol_apiserver_v1alpha1_flow_schema(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PriorityLevelConfiguration + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, OpenAPI.Clients.ApiResponse +""" +function list_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified FlowSchema + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function patch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_flowcontrol_apiserver_v1alpha1_flow_schema_status_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_flowcontrol_apiserver_v1alpha1_flow_schema_status_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified FlowSchema + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function patch_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PriorityLevelConfiguration + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified PriorityLevelConfiguration + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified FlowSchema + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function read_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_flowcontrol_apiserver_v1alpha1_flow_schema_status_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_flowcontrol_apiserver_v1alpha1_flow_schema_status_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified FlowSchema + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function read_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PriorityLevelConfiguration + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function read_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified PriorityLevelConfiguration + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified FlowSchema + +Params: +- name::String (required) +- body::IoK8sApiFlowcontrolV1alpha1FlowSchema (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function replace_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_flowcontrol_apiserver_v1alpha1_flow_schema_status_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1FlowSchema, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_flowcontrol_apiserver_v1alpha1_flow_schema_status_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified FlowSchema + +Params: +- name::String (required) +- body::IoK8sApiFlowcontrolV1alpha1FlowSchema (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiFlowcontrolV1alpha1FlowSchema, OpenAPI.Clients.ApiResponse +""" +function replace_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiFlowcontrolV1alpha1FlowSchema; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PriorityLevelConfiguration + +Params: +- name::String (required) +- body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified PriorityLevelConfiguration + +Params: +- name::String (required) +- body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, OpenAPI.Clients.ApiResponse +""" +function replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, name::String, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_flowcontrol_apiserver_v1alpha1_flow_schema_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_flow_schema(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_flowcontrol_apiserver_v1alpha1_flow_schema_list_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_flowcontrol_apiserver_v1alpha1_flow_schema_list(_api::FlowcontrolApiserverV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_flowcontrol_apiserver_v1alpha1_flow_schema_list_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_flowcontrol_apiserver_v1alpha1_flow_schema_list(_api::FlowcontrolApiserverV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_flow_schema_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_flowcontrol_apiserver_v1alpha1_flow_schema_list(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_flow_schema_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list_FlowcontrolApiserverV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list(_api::FlowcontrolApiserverV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list_FlowcontrolApiserverV1alpha1Api, "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list(_api::FlowcontrolApiserverV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_flowcontrol_apiserver_v1alpha1_flow_schema +export create_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema +export delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration +export delete_flowcontrol_apiserver_v1alpha1_flow_schema +export delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export get_flowcontrol_apiserver_v1alpha1_a_p_i_resources +export list_flowcontrol_apiserver_v1alpha1_flow_schema +export list_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export patch_flowcontrol_apiserver_v1alpha1_flow_schema +export patch_flowcontrol_apiserver_v1alpha1_flow_schema_status +export patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status +export read_flowcontrol_apiserver_v1alpha1_flow_schema +export read_flowcontrol_apiserver_v1alpha1_flow_schema_status +export read_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status +export replace_flowcontrol_apiserver_v1alpha1_flow_schema +export replace_flowcontrol_apiserver_v1alpha1_flow_schema_status +export replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status +export watch_flowcontrol_apiserver_v1alpha1_flow_schema +export watch_flowcontrol_apiserver_v1alpha1_flow_schema_list +export watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration +export watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list diff --git a/src/ApiImpl/api/apis/api_KarpenterShV1alpha5Api.jl b/src/ApiImpl/api/apis/api_KarpenterShV1alpha5Api.jl new file mode 100644 index 00000000..f59356fd --- /dev/null +++ b/src/ApiImpl/api/apis/api_KarpenterShV1alpha5Api.jl @@ -0,0 +1,416 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct KarpenterShV1alpha5Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `KarpenterShV1alpha5Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ KarpenterShV1alpha5Api }) = "http://localhost" + +const _returntypes_create_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("201", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("202", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Provisioner + +Params: +- body::ShKarpenterV1alpha5Provisioner (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function create_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_karpenter_sh_v1alpha5_provisioner(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_karpenter_sh_v1alpha5_provisioner(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_karpenter_sh_v1alpha5_collection_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1StatusV2, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_karpenter_sh_v1alpha5_collection_provisioner(_api::KarpenterShV1alpha5Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_karpenter_sh_v1alpha5_collection_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Provisioner + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1StatusV2, OpenAPI.Clients.ApiResponse +""" +function delete_karpenter_sh_v1alpha5_collection_provisioner(_api::KarpenterShV1alpha5Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_karpenter_sh_v1alpha5_collection_provisioner(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_karpenter_sh_v1alpha5_collection_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_karpenter_sh_v1alpha5_collection_provisioner(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1StatusV2, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1StatusV2, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Provisioner + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 + +Return: IoK8sApimachineryPkgApisMetaV1StatusV2, OpenAPI.Clients.ApiResponse +""" +function delete_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_karpenter_sh_v1alpha5_provisioner(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_karpenter_sh_v1alpha5_provisioner(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5ProvisionerList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersionMatch", resource_version_match) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list objects of kind Provisioner + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- resource_version_match::String +- timeout_seconds::Int64 +- watch::Bool + +Return: ShKarpenterV1alpha5ProvisionerList, OpenAPI.Clients.ApiResponse +""" +function list_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_karpenter_sh_v1alpha5_provisioner(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, resource_version_match=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_karpenter_sh_v1alpha5_provisioner(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Provisioner + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function patch_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_karpenter_sh_v1alpha5_provisioner(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_karpenter_sh_v1alpha5_provisioner(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_karpenter_sh_v1alpha5_provisioner_status_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_karpenter_sh_v1alpha5_provisioner_status_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Provisioner + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function patch_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_karpenter_sh_v1alpha5_provisioner_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_karpenter_sh_v1alpha5_provisioner_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String; pretty=nothing, resource_version=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Provisioner + +Params: +- name::String (required) +- pretty::String +- resource_version::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function read_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String; pretty=nothing, resource_version=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_karpenter_sh_v1alpha5_provisioner(_api, name; pretty=pretty, resource_version=resource_version, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String; pretty=nothing, resource_version=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_karpenter_sh_v1alpha5_provisioner(_api, name; pretty=pretty, resource_version=resource_version, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_karpenter_sh_v1alpha5_provisioner_status_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, name::String; pretty=nothing, resource_version=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_karpenter_sh_v1alpha5_provisioner_status_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Provisioner + +Params: +- name::String (required) +- pretty::String +- resource_version::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function read_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, name::String; pretty=nothing, resource_version=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_karpenter_sh_v1alpha5_provisioner_status(_api, name; pretty=pretty, resource_version=resource_version, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String; pretty=nothing, resource_version=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_karpenter_sh_v1alpha5_provisioner_status(_api, name; pretty=pretty, resource_version=resource_version, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("201", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_karpenter_sh_v1alpha5_provisioner_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Provisioner + +Params: +- name::String (required) +- body::ShKarpenterV1alpha5Provisioner (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function replace_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, name::String, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_karpenter_sh_v1alpha5_provisioner(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_karpenter_sh_v1alpha5_provisioner(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_karpenter_sh_v1alpha5_provisioner(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_karpenter_sh_v1alpha5_provisioner_status_KarpenterShV1alpha5Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("201", "x"=>".") * "\$") => ShKarpenterV1alpha5Provisioner, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, name::String, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_karpenter_sh_v1alpha5_provisioner_status_KarpenterShV1alpha5Api, "/apis/karpenter.sh/v1alpha5/provisioners/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "application/yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Provisioner + +Params: +- name::String (required) +- body::ShKarpenterV1alpha5Provisioner (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: ShKarpenterV1alpha5Provisioner, OpenAPI.Clients.ApiResponse +""" +function replace_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, name::String, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_karpenter_sh_v1alpha5_provisioner_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_karpenter_sh_v1alpha5_provisioner_status(_api::KarpenterShV1alpha5Api, response_stream::Channel, name::String, body::ShKarpenterV1alpha5Provisioner; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_karpenter_sh_v1alpha5_provisioner_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_karpenter_sh_v1alpha5_provisioner +export delete_karpenter_sh_v1alpha5_collection_provisioner +export delete_karpenter_sh_v1alpha5_provisioner +export list_karpenter_sh_v1alpha5_provisioner +export patch_karpenter_sh_v1alpha5_provisioner +export patch_karpenter_sh_v1alpha5_provisioner_status +export read_karpenter_sh_v1alpha5_provisioner +export read_karpenter_sh_v1alpha5_provisioner_status +export replace_karpenter_sh_v1alpha5_provisioner +export replace_karpenter_sh_v1alpha5_provisioner_status diff --git a/src/ApiImpl/api/apis/api_LogsApi.jl b/src/ApiImpl/api/apis/api_LogsApi.jl new file mode 100644 index 00000000..cd5f13a0 --- /dev/null +++ b/src/ApiImpl/api/apis/api_LogsApi.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct LogsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `LogsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ LogsApi }) = "http://localhost" + +const _returntypes_log_file_handler_LogsApi = Dict{Regex,Type}( + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_log_file_handler(_api::LogsApi, logpath::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_log_file_handler_LogsApi, "/logs/{logpath}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "logpath", logpath) # type String + OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Params: +- logpath::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function log_file_handler(_api::LogsApi, logpath::String; _mediaType=nothing) + _ctx = _oacinternal_log_file_handler(_api, logpath; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function log_file_handler(_api::LogsApi, response_stream::Channel, logpath::String; _mediaType=nothing) + _ctx = _oacinternal_log_file_handler(_api, logpath; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_log_file_list_handler_LogsApi = Dict{Regex,Type}( + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_log_file_list_handler(_api::LogsApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_log_file_list_handler_LogsApi, "/logs/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Params: + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function log_file_list_handler(_api::LogsApi; _mediaType=nothing) + _ctx = _oacinternal_log_file_list_handler(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function log_file_list_handler(_api::LogsApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_log_file_list_handler(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export log_file_handler +export log_file_list_handler diff --git a/src/ApiImpl/api/apis/api_MetricsV1beta1Api.jl b/src/ApiImpl/api/apis/api_MetricsV1beta1Api.jl new file mode 100644 index 00000000..a8eb2573 --- /dev/null +++ b/src/ApiImpl/api/apis/api_MetricsV1beta1Api.jl @@ -0,0 +1,179 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct MetricsV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `MetricsV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ MetricsV1beta1Api }) = "http://localhost" + +const _returntypes_list_metrics_v1beta1_node_metrics_MetricsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiMetricsV1beta1NodeMetricsList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_metrics_v1beta1_node_metrics(_api::MetricsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_metrics_v1beta1_node_metrics_MetricsV1beta1Api, "/apis/metrics.k8s.io/v1beta1/nodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind NodeMetrics + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiMetricsV1beta1NodeMetricsList, OpenAPI.Clients.ApiResponse +""" +function list_metrics_v1beta1_node_metrics(_api::MetricsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_metrics_v1beta1_node_metrics(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_metrics_v1beta1_node_metrics(_api::MetricsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_metrics_v1beta1_node_metrics(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_metrics_v1beta1_pod_metrics_MetricsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiMetricsV1beta1PodMetricsList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_metrics_v1beta1_pod_metrics(_api::MetricsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_metrics_v1beta1_pod_metrics_MetricsV1beta1Api, "/apis/metrics.k8s.io/v1beta1/pods", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodMetrics + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiMetricsV1beta1PodMetricsList, OpenAPI.Clients.ApiResponse +""" +function list_metrics_v1beta1_pod_metrics(_api::MetricsV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_metrics_v1beta1_pod_metrics(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_metrics_v1beta1_pod_metrics(_api::MetricsV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_metrics_v1beta1_pod_metrics(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_metrics_v1beta1_namespaced_pod_metrics_MetricsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiMetricsV1beta1PodMetrics, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_metrics_v1beta1_namespaced_pod_metrics(_api::MetricsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_metrics_v1beta1_namespaced_pod_metrics_MetricsV1beta1Api, "/apis/metrics.k8s.io/v1beta1/namespaces/{namespace}/pods/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PodMetrics + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiMetricsV1beta1PodMetrics, OpenAPI.Clients.ApiResponse +""" +function read_metrics_v1beta1_namespaced_pod_metrics(_api::MetricsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_metrics_v1beta1_namespaced_pod_metrics(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_metrics_v1beta1_namespaced_pod_metrics(_api::MetricsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_metrics_v1beta1_namespaced_pod_metrics(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_metrics_v1beta1_node_metrics_MetricsV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiMetricsV1beta1NodeMetrics, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_metrics_v1beta1_node_metrics(_api::MetricsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_metrics_v1beta1_node_metrics_MetricsV1beta1Api, "/apis/metrics.k8s.io/v1beta1/nodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified NodeMetrics + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiMetricsV1beta1NodeMetrics, OpenAPI.Clients.ApiResponse +""" +function read_metrics_v1beta1_node_metrics(_api::MetricsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_metrics_v1beta1_node_metrics(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_metrics_v1beta1_node_metrics(_api::MetricsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_metrics_v1beta1_node_metrics(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export list_metrics_v1beta1_node_metrics +export list_metrics_v1beta1_pod_metrics +export read_metrics_v1beta1_namespaced_pod_metrics +export read_metrics_v1beta1_node_metrics diff --git a/src/ApiImpl/api/apis/api_NetworkingApi.jl b/src/ApiImpl/api/apis/api_NetworkingApi.jl new file mode 100644 index 00000000..a2fc96cc --- /dev/null +++ b/src/ApiImpl/api/apis/api_NetworkingApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct NetworkingApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `NetworkingApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ NetworkingApi }) = "http://localhost" + +const _returntypes_get_networking_a_p_i_group_NetworkingApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_networking_a_p_i_group(_api::NetworkingApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_networking_a_p_i_group_NetworkingApi, "/apis/networking.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_networking_a_p_i_group(_api::NetworkingApi; _mediaType=nothing) + _ctx = _oacinternal_get_networking_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_networking_a_p_i_group(_api::NetworkingApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_networking_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_networking_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_NetworkingV1Api.jl b/src/ApiImpl/api/apis/api_NetworkingV1Api.jl new file mode 100644 index 00000000..eb8c4445 --- /dev/null +++ b/src/ApiImpl/api/apis/api_NetworkingV1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct NetworkingV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `NetworkingV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ NetworkingV1Api }) = "http://localhost" + +const _returntypes_create_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, namespace::String, body::IoK8sApiNetworkingV1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a NetworkPolicy + +Params: +- namespace::String (required) +- body::IoK8sApiNetworkingV1NetworkPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNetworkingV1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function create_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, namespace::String, body::IoK8sApiNetworkingV1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_networking_v1_namespaced_network_policy(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, namespace::String, body::IoK8sApiNetworkingV1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_networking_v1_namespaced_network_policy(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_networking_v1_collection_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_networking_v1_collection_namespaced_network_policy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_networking_v1_collection_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of NetworkPolicy + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_networking_v1_collection_namespaced_network_policy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1_collection_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_networking_v1_collection_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1_collection_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1_namespaced_network_policy(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1_namespaced_network_policy(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_networking_v1_a_p_i_resources_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_networking_v1_a_p_i_resources(_api::NetworkingV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_networking_v1_a_p_i_resources_NetworkingV1Api, "/apis/networking.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_networking_v1_a_p_i_resources(_api::NetworkingV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_networking_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_networking_v1_a_p_i_resources(_api::NetworkingV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_networking_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicyList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind NetworkPolicy + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiNetworkingV1NetworkPolicyList, OpenAPI.Clients.ApiResponse +""" +function list_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1_namespaced_network_policy(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_networking_v1_network_policy_for_all_namespaces_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicyList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_networking_v1_network_policy_for_all_namespaces(_api::NetworkingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_networking_v1_network_policy_for_all_namespaces_NetworkingV1Api, "/apis/networking.k8s.io/v1/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind NetworkPolicy + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiNetworkingV1NetworkPolicyList, OpenAPI.Clients.ApiResponse +""" +function list_networking_v1_network_policy_for_all_namespaces(_api::NetworkingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1_network_policy_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_networking_v1_network_policy_for_all_namespaces(_api::NetworkingV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1_network_policy_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiNetworkingV1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function patch_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_networking_v1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_networking_v1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiNetworkingV1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function read_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_networking_v1_namespaced_network_policy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_networking_v1_namespaced_network_policy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNetworkingV1NetworkPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String, body::IoK8sApiNetworkingV1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified NetworkPolicy + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiNetworkingV1NetworkPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNetworkingV1NetworkPolicy, OpenAPI.Clients.ApiResponse +""" +function replace_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String, body::IoK8sApiNetworkingV1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_networking_v1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiNetworkingV1NetworkPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_networking_v1_namespaced_network_policy(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_networking_v1_namespaced_network_policy_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_networking_v1_namespaced_network_policy_NetworkingV1Api, "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1_namespaced_network_policy(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_networking_v1_namespaced_network_policy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1_namespaced_network_policy(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_networking_v1_namespaced_network_policy_list_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_networking_v1_namespaced_network_policy_list(_api::NetworkingV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_networking_v1_namespaced_network_policy_list_NetworkingV1Api, "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_networking_v1_namespaced_network_policy_list(_api::NetworkingV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1_namespaced_network_policy_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_networking_v1_namespaced_network_policy_list(_api::NetworkingV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1_namespaced_network_policy_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_networking_v1_network_policy_list_for_all_namespaces_NetworkingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_networking_v1_network_policy_list_for_all_namespaces(_api::NetworkingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_networking_v1_network_policy_list_for_all_namespaces_NetworkingV1Api, "/apis/networking.k8s.io/v1/watch/networkpolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_networking_v1_network_policy_list_for_all_namespaces(_api::NetworkingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1_network_policy_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_networking_v1_network_policy_list_for_all_namespaces(_api::NetworkingV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1_network_policy_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_networking_v1_namespaced_network_policy +export delete_networking_v1_collection_namespaced_network_policy +export delete_networking_v1_namespaced_network_policy +export get_networking_v1_a_p_i_resources +export list_networking_v1_namespaced_network_policy +export list_networking_v1_network_policy_for_all_namespaces +export patch_networking_v1_namespaced_network_policy +export read_networking_v1_namespaced_network_policy +export replace_networking_v1_namespaced_network_policy +export watch_networking_v1_namespaced_network_policy +export watch_networking_v1_namespaced_network_policy_list +export watch_networking_v1_network_policy_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_NetworkingV1beta1Api.jl b/src/ApiImpl/api/apis/api_NetworkingV1beta1Api.jl new file mode 100644 index 00000000..53367662 --- /dev/null +++ b/src/ApiImpl/api/apis/api_NetworkingV1beta1Api.jl @@ -0,0 +1,668 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct NetworkingV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `NetworkingV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ NetworkingV1beta1Api }) = "http://localhost" + +const _returntypes_create_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create an Ingress + +Params: +- namespace::String (required) +- body::IoK8sApiNetworkingV1beta1Ingress (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function create_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_networking_v1beta1_namespaced_ingress(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_networking_v1beta1_namespaced_ingress(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_networking_v1beta1_collection_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_networking_v1beta1_collection_namespaced_ingress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_networking_v1beta1_collection_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Ingress + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_networking_v1beta1_collection_namespaced_ingress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1beta1_collection_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_networking_v1beta1_collection_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1beta1_collection_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete an Ingress + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_networking_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_networking_v1beta1_a_p_i_resources_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_networking_v1beta1_a_p_i_resources(_api::NetworkingV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_networking_v1beta1_a_p_i_resources_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_networking_v1beta1_a_p_i_resources(_api::NetworkingV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_networking_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_networking_v1beta1_a_p_i_resources(_api::NetworkingV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_networking_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_networking_v1beta1_ingress_for_all_namespaces_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1IngressList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_networking_v1beta1_ingress_for_all_namespaces(_api::NetworkingV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_networking_v1beta1_ingress_for_all_namespaces_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Ingress + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiNetworkingV1beta1IngressList, OpenAPI.Clients.ApiResponse +""" +function list_networking_v1beta1_ingress_for_all_namespaces(_api::NetworkingV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1beta1_ingress_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_networking_v1beta1_ingress_for_all_namespaces(_api::NetworkingV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1beta1_ingress_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1IngressList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Ingress + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiNetworkingV1beta1IngressList, OpenAPI.Clients.ApiResponse +""" +function list_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1beta1_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_networking_v1beta1_namespaced_ingress(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function patch_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_networking_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_networking_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_networking_v1beta1_namespaced_ingress_status_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_networking_v1beta1_namespaced_ingress_status_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function patch_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_networking_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_networking_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function read_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_networking_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_networking_v1beta1_namespaced_ingress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_networking_v1beta1_namespaced_ingress_status_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_networking_v1beta1_namespaced_ingress_status_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function read_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_networking_v1beta1_namespaced_ingress_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_networking_v1beta1_namespaced_ingress_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiNetworkingV1beta1Ingress (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function replace_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_networking_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_networking_v1beta1_namespaced_ingress(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_networking_v1beta1_namespaced_ingress_status_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNetworkingV1beta1Ingress, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, name::String, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_networking_v1beta1_namespaced_ingress_status_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified Ingress + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiNetworkingV1beta1Ingress (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNetworkingV1beta1Ingress, OpenAPI.Clients.ApiResponse +""" +function replace_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, name::String, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_networking_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_networking_v1beta1_namespaced_ingress_status(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiNetworkingV1beta1Ingress; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_networking_v1beta1_namespaced_ingress_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_networking_v1beta1_ingress_list_for_all_namespaces_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_networking_v1beta1_ingress_list_for_all_namespaces(_api::NetworkingV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_networking_v1beta1_ingress_list_for_all_namespaces_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/watch/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_networking_v1beta1_ingress_list_for_all_namespaces(_api::NetworkingV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1beta1_ingress_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_networking_v1beta1_ingress_list_for_all_namespaces(_api::NetworkingV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1beta1_ingress_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_networking_v1beta1_namespaced_ingress_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1beta1_namespaced_ingress(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_networking_v1beta1_namespaced_ingress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1beta1_namespaced_ingress(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_networking_v1beta1_namespaced_ingress_list_NetworkingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_networking_v1beta1_namespaced_ingress_list(_api::NetworkingV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_networking_v1beta1_namespaced_ingress_list_NetworkingV1beta1Api, "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_networking_v1beta1_namespaced_ingress_list(_api::NetworkingV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1beta1_namespaced_ingress_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_networking_v1beta1_namespaced_ingress_list(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_networking_v1beta1_namespaced_ingress_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_networking_v1beta1_namespaced_ingress +export delete_networking_v1beta1_collection_namespaced_ingress +export delete_networking_v1beta1_namespaced_ingress +export get_networking_v1beta1_a_p_i_resources +export list_networking_v1beta1_ingress_for_all_namespaces +export list_networking_v1beta1_namespaced_ingress +export patch_networking_v1beta1_namespaced_ingress +export patch_networking_v1beta1_namespaced_ingress_status +export read_networking_v1beta1_namespaced_ingress +export read_networking_v1beta1_namespaced_ingress_status +export replace_networking_v1beta1_namespaced_ingress +export replace_networking_v1beta1_namespaced_ingress_status +export watch_networking_v1beta1_ingress_list_for_all_namespaces +export watch_networking_v1beta1_namespaced_ingress +export watch_networking_v1beta1_namespaced_ingress_list diff --git a/src/ApiImpl/api/apis/api_NodeApi.jl b/src/ApiImpl/api/apis/api_NodeApi.jl new file mode 100644 index 00000000..478aa493 --- /dev/null +++ b/src/ApiImpl/api/apis/api_NodeApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct NodeApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `NodeApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ NodeApi }) = "http://localhost" + +const _returntypes_get_node_a_p_i_group_NodeApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_node_a_p_i_group(_api::NodeApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_node_a_p_i_group_NodeApi, "/apis/node.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_node_a_p_i_group(_api::NodeApi; _mediaType=nothing) + _ctx = _oacinternal_get_node_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_node_a_p_i_group(_api::NodeApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_node_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_node_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_NodeV1alpha1Api.jl b/src/ApiImpl/api/apis/api_NodeV1alpha1Api.jl new file mode 100644 index 00000000..66798999 --- /dev/null +++ b/src/ApiImpl/api/apis/api_NodeV1alpha1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct NodeV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `NodeV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ NodeV1alpha1Api }) = "http://localhost" + +const _returntypes_create_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, body::IoK8sApiNodeV1alpha1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a RuntimeClass + +Params: +- body::IoK8sApiNodeV1alpha1RuntimeClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNodeV1alpha1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function create_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, body::IoK8sApiNodeV1alpha1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_node_v1alpha1_runtime_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel, body::IoK8sApiNodeV1alpha1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_node_v1alpha1_runtime_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_node_v1alpha1_collection_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_node_v1alpha1_collection_runtime_class(_api::NodeV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_node_v1alpha1_collection_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of RuntimeClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_node_v1alpha1_collection_runtime_class(_api::NodeV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1alpha1_collection_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_node_v1alpha1_collection_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1alpha1_collection_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a RuntimeClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1alpha1_runtime_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1alpha1_runtime_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_node_v1alpha1_a_p_i_resources_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_node_v1alpha1_a_p_i_resources(_api::NodeV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_node_v1alpha1_a_p_i_resources_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_node_v1alpha1_a_p_i_resources(_api::NodeV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_node_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_node_v1alpha1_a_p_i_resources(_api::NodeV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_node_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RuntimeClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiNodeV1alpha1RuntimeClassList, OpenAPI.Clients.ApiResponse +""" +function list_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_node_v1alpha1_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_node_v1alpha1_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified RuntimeClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiNodeV1alpha1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function patch_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_node_v1alpha1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_node_v1alpha1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified RuntimeClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiNodeV1alpha1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function read_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_node_v1alpha1_runtime_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_node_v1alpha1_runtime_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNodeV1alpha1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String, body::IoK8sApiNodeV1alpha1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified RuntimeClass + +Params: +- name::String (required) +- body::IoK8sApiNodeV1alpha1RuntimeClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNodeV1alpha1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function replace_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String, body::IoK8sApiNodeV1alpha1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_node_v1alpha1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiNodeV1alpha1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_node_v1alpha1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_node_v1alpha1_runtime_class_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_node_v1alpha1_runtime_class_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1alpha1_runtime_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_node_v1alpha1_runtime_class(_api::NodeV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1alpha1_runtime_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_node_v1alpha1_runtime_class_list_NodeV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_node_v1alpha1_runtime_class_list(_api::NodeV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_node_v1alpha1_runtime_class_list_NodeV1alpha1Api, "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_node_v1alpha1_runtime_class_list(_api::NodeV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1alpha1_runtime_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_node_v1alpha1_runtime_class_list(_api::NodeV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1alpha1_runtime_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_node_v1alpha1_runtime_class +export delete_node_v1alpha1_collection_runtime_class +export delete_node_v1alpha1_runtime_class +export get_node_v1alpha1_a_p_i_resources +export list_node_v1alpha1_runtime_class +export patch_node_v1alpha1_runtime_class +export read_node_v1alpha1_runtime_class +export replace_node_v1alpha1_runtime_class +export watch_node_v1alpha1_runtime_class +export watch_node_v1alpha1_runtime_class_list diff --git a/src/ApiImpl/api/apis/api_NodeV1beta1Api.jl b/src/ApiImpl/api/apis/api_NodeV1beta1Api.jl new file mode 100644 index 00000000..445272bb --- /dev/null +++ b/src/ApiImpl/api/apis/api_NodeV1beta1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct NodeV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `NodeV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ NodeV1beta1Api }) = "http://localhost" + +const _returntypes_create_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_node_v1beta1_runtime_class(_api::NodeV1beta1Api, body::IoK8sApiNodeV1beta1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a RuntimeClass + +Params: +- body::IoK8sApiNodeV1beta1RuntimeClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNodeV1beta1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function create_node_v1beta1_runtime_class(_api::NodeV1beta1Api, body::IoK8sApiNodeV1beta1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_node_v1beta1_runtime_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel, body::IoK8sApiNodeV1beta1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_node_v1beta1_runtime_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_node_v1beta1_collection_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_node_v1beta1_collection_runtime_class(_api::NodeV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_node_v1beta1_collection_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of RuntimeClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_node_v1beta1_collection_runtime_class(_api::NodeV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1beta1_collection_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_node_v1beta1_collection_runtime_class(_api::NodeV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1beta1_collection_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a RuntimeClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1beta1_runtime_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_node_v1beta1_runtime_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_node_v1beta1_a_p_i_resources_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_node_v1beta1_a_p_i_resources(_api::NodeV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_node_v1beta1_a_p_i_resources_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_node_v1beta1_a_p_i_resources(_api::NodeV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_node_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_node_v1beta1_a_p_i_resources(_api::NodeV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_node_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_node_v1beta1_runtime_class(_api::NodeV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RuntimeClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiNodeV1beta1RuntimeClassList, OpenAPI.Clients.ApiResponse +""" +function list_node_v1beta1_runtime_class(_api::NodeV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_node_v1beta1_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_node_v1beta1_runtime_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified RuntimeClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiNodeV1beta1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function patch_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_node_v1beta1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_node_v1beta1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified RuntimeClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiNodeV1beta1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function read_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_node_v1beta1_runtime_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_node_v1beta1_runtime_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiNodeV1beta1RuntimeClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String, body::IoK8sApiNodeV1beta1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified RuntimeClass + +Params: +- name::String (required) +- body::IoK8sApiNodeV1beta1RuntimeClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiNodeV1beta1RuntimeClass, OpenAPI.Clients.ApiResponse +""" +function replace_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String, body::IoK8sApiNodeV1beta1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_node_v1beta1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiNodeV1beta1RuntimeClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_node_v1beta1_runtime_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_node_v1beta1_runtime_class_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_node_v1beta1_runtime_class_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/watch/runtimeclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_node_v1beta1_runtime_class(_api::NodeV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1beta1_runtime_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_node_v1beta1_runtime_class(_api::NodeV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1beta1_runtime_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_node_v1beta1_runtime_class_list_NodeV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_node_v1beta1_runtime_class_list(_api::NodeV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_node_v1beta1_runtime_class_list_NodeV1beta1Api, "/apis/node.k8s.io/v1beta1/watch/runtimeclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_node_v1beta1_runtime_class_list(_api::NodeV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1beta1_runtime_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_node_v1beta1_runtime_class_list(_api::NodeV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_node_v1beta1_runtime_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_node_v1beta1_runtime_class +export delete_node_v1beta1_collection_runtime_class +export delete_node_v1beta1_runtime_class +export get_node_v1beta1_a_p_i_resources +export list_node_v1beta1_runtime_class +export patch_node_v1beta1_runtime_class +export read_node_v1beta1_runtime_class +export replace_node_v1beta1_runtime_class +export watch_node_v1beta1_runtime_class +export watch_node_v1beta1_runtime_class_list diff --git a/src/ApiImpl/api/apis/api_PolicyApi.jl b/src/ApiImpl/api/apis/api_PolicyApi.jl new file mode 100644 index 00000000..4007f09d --- /dev/null +++ b/src/ApiImpl/api/apis/api_PolicyApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct PolicyApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `PolicyApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ PolicyApi }) = "http://localhost" + +const _returntypes_get_policy_a_p_i_group_PolicyApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_policy_a_p_i_group(_api::PolicyApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_policy_a_p_i_group_PolicyApi, "/apis/policy/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_policy_a_p_i_group(_api::PolicyApi; _mediaType=nothing) + _ctx = _oacinternal_get_policy_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_policy_a_p_i_group(_api::PolicyApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_policy_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_policy_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_PolicyV1beta1Api.jl b/src/ApiImpl/api/apis/api_PolicyV1beta1Api.jl new file mode 100644 index 00000000..51a36ef0 --- /dev/null +++ b/src/ApiImpl/api/apis/api_PolicyV1beta1Api.jl @@ -0,0 +1,1064 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct PolicyV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `PolicyV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ PolicyV1beta1Api }) = "http://localhost" + +const _returntypes_create_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PodDisruptionBudget + +Params: +- namespace::String (required) +- body::IoK8sApiPolicyV1beta1PodDisruptionBudget (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function create_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_policy_v1beta1_namespaced_pod_disruption_budget(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_policy_v1beta1_namespaced_pod_disruption_budget(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, body::IoK8sApiPolicyV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PodSecurityPolicy + +Params: +- body::IoK8sApiPolicyV1beta1PodSecurityPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiPolicyV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function create_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, body::IoK8sApiPolicyV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_policy_v1beta1_pod_security_policy(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel, body::IoK8sApiPolicyV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_policy_v1beta1_pod_security_policy(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PodDisruptionBudget + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_policy_v1beta1_collection_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_policy_v1beta1_collection_pod_security_policy(_api::PolicyV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_policy_v1beta1_collection_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PodSecurityPolicy + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_policy_v1beta1_collection_pod_security_policy(_api::PolicyV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_collection_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_policy_v1beta1_collection_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_collection_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PodSecurityPolicy + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_pod_security_policy(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_policy_v1beta1_pod_security_policy(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_policy_v1beta1_a_p_i_resources_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_policy_v1beta1_a_p_i_resources(_api::PolicyV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_policy_v1beta1_a_p_i_resources_PolicyV1beta1Api, "/apis/policy/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_policy_v1beta1_a_p_i_resources(_api::PolicyV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_policy_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_policy_v1beta1_a_p_i_resources(_api::PolicyV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_policy_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudgetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodDisruptionBudget + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudgetList, OpenAPI.Clients.ApiResponse +""" +function list_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_policy_v1beta1_namespaced_pod_disruption_budget(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_policy_v1beta1_namespaced_pod_disruption_budget(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudgetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(_api::PolicyV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces_PolicyV1beta1Api, "/apis/policy/v1beta1/poddisruptionbudgets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodDisruptionBudget + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudgetList, OpenAPI.Clients.ApiResponse +""" +function list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(_api::PolicyV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(_api::PolicyV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicyList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodSecurityPolicy + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiPolicyV1beta1PodSecurityPolicyList, OpenAPI.Clients.ApiResponse +""" +function list_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_policy_v1beta1_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_policy_v1beta1_pod_security_policy(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function patch_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_policy_v1beta1_namespaced_pod_disruption_budget_status_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_policy_v1beta1_namespaced_pod_disruption_budget_status_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function patch_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_policy_v1beta1_namespaced_pod_disruption_budget_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_policy_v1beta1_namespaced_pod_disruption_budget_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PodSecurityPolicy + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiPolicyV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function patch_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_policy_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_policy_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function read_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_policy_v1beta1_namespaced_pod_disruption_budget_status_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_policy_v1beta1_namespaced_pod_disruption_budget_status_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function read_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_policy_v1beta1_namespaced_pod_disruption_budget_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_policy_v1beta1_namespaced_pod_disruption_budget_status(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PodSecurityPolicy + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiPolicyV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function read_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_policy_v1beta1_pod_security_policy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_policy_v1beta1_pod_security_policy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiPolicyV1beta1PodDisruptionBudget (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function replace_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_policy_v1beta1_namespaced_pod_disruption_budget_status_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodDisruptionBudget, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, name::String, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_policy_v1beta1_namespaced_pod_disruption_budget_status_PolicyV1beta1Api, "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified PodDisruptionBudget + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiPolicyV1beta1PodDisruptionBudget (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiPolicyV1beta1PodDisruptionBudget, OpenAPI.Clients.ApiResponse +""" +function replace_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, name::String, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_policy_v1beta1_namespaced_pod_disruption_budget_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiPolicyV1beta1PodDisruptionBudget; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_policy_v1beta1_namespaced_pod_disruption_budget_status(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiPolicyV1beta1PodSecurityPolicy, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String, body::IoK8sApiPolicyV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/podsecuritypolicies/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PodSecurityPolicy + +Params: +- name::String (required) +- body::IoK8sApiPolicyV1beta1PodSecurityPolicy (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiPolicyV1beta1PodSecurityPolicy, OpenAPI.Clients.ApiResponse +""" +function replace_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String, body::IoK8sApiPolicyV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_policy_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiPolicyV1beta1PodSecurityPolicy; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_policy_v1beta1_pod_security_policy(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_policy_v1beta1_namespaced_pod_disruption_budget_PolicyV1beta1Api, "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_policy_v1beta1_namespaced_pod_disruption_budget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_namespaced_pod_disruption_budget(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_policy_v1beta1_namespaced_pod_disruption_budget_list_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_policy_v1beta1_namespaced_pod_disruption_budget_list(_api::PolicyV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_policy_v1beta1_namespaced_pod_disruption_budget_list_PolicyV1beta1Api, "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_policy_v1beta1_namespaced_pod_disruption_budget_list(_api::PolicyV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_namespaced_pod_disruption_budget_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_policy_v1beta1_namespaced_pod_disruption_budget_list(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_namespaced_pod_disruption_budget_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces(_api::PolicyV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces_PolicyV1beta1Api, "/apis/policy/v1beta1/watch/poddisruptionbudgets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces(_api::PolicyV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces(_api::PolicyV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_policy_v1beta1_pod_security_policy_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_policy_v1beta1_pod_security_policy_PolicyV1beta1Api, "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_pod_security_policy(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_policy_v1beta1_pod_security_policy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_pod_security_policy(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_policy_v1beta1_pod_security_policy_list_PolicyV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_policy_v1beta1_pod_security_policy_list(_api::PolicyV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_policy_v1beta1_pod_security_policy_list_PolicyV1beta1Api, "/apis/policy/v1beta1/watch/podsecuritypolicies", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_policy_v1beta1_pod_security_policy_list(_api::PolicyV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_pod_security_policy_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_policy_v1beta1_pod_security_policy_list(_api::PolicyV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_policy_v1beta1_pod_security_policy_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_policy_v1beta1_namespaced_pod_disruption_budget +export create_policy_v1beta1_pod_security_policy +export delete_policy_v1beta1_collection_namespaced_pod_disruption_budget +export delete_policy_v1beta1_collection_pod_security_policy +export delete_policy_v1beta1_namespaced_pod_disruption_budget +export delete_policy_v1beta1_pod_security_policy +export get_policy_v1beta1_a_p_i_resources +export list_policy_v1beta1_namespaced_pod_disruption_budget +export list_policy_v1beta1_pod_disruption_budget_for_all_namespaces +export list_policy_v1beta1_pod_security_policy +export patch_policy_v1beta1_namespaced_pod_disruption_budget +export patch_policy_v1beta1_namespaced_pod_disruption_budget_status +export patch_policy_v1beta1_pod_security_policy +export read_policy_v1beta1_namespaced_pod_disruption_budget +export read_policy_v1beta1_namespaced_pod_disruption_budget_status +export read_policy_v1beta1_pod_security_policy +export replace_policy_v1beta1_namespaced_pod_disruption_budget +export replace_policy_v1beta1_namespaced_pod_disruption_budget_status +export replace_policy_v1beta1_pod_security_policy +export watch_policy_v1beta1_namespaced_pod_disruption_budget +export watch_policy_v1beta1_namespaced_pod_disruption_budget_list +export watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces +export watch_policy_v1beta1_pod_security_policy +export watch_policy_v1beta1_pod_security_policy_list diff --git a/src/ApiImpl/api/apis/api_RbacAuthorizationApi.jl b/src/ApiImpl/api/apis/api_RbacAuthorizationApi.jl new file mode 100644 index 00000000..20610212 --- /dev/null +++ b/src/ApiImpl/api/apis/api_RbacAuthorizationApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct RbacAuthorizationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `RbacAuthorizationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ RbacAuthorizationApi }) = "http://localhost" + +const _returntypes_get_rbac_authorization_a_p_i_group_RbacAuthorizationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_rbac_authorization_a_p_i_group(_api::RbacAuthorizationApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_rbac_authorization_a_p_i_group_RbacAuthorizationApi, "/apis/rbac.authorization.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_rbac_authorization_a_p_i_group(_api::RbacAuthorizationApi; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_rbac_authorization_a_p_i_group(_api::RbacAuthorizationApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_rbac_authorization_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_RbacAuthorizationV1Api.jl b/src/ApiImpl/api/apis/api_RbacAuthorizationV1Api.jl new file mode 100644 index 00000000..0669e75a --- /dev/null +++ b/src/ApiImpl/api/apis/api_RbacAuthorizationV1Api.jl @@ -0,0 +1,1834 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct RbacAuthorizationV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `RbacAuthorizationV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ RbacAuthorizationV1Api }) = "http://localhost" + +const _returntypes_create_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, body::IoK8sApiRbacV1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ClusterRole + +Params: +- body::IoK8sApiRbacV1ClusterRole (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, body::IoK8sApiRbacV1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_cluster_role(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel, body::IoK8sApiRbacV1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_cluster_role(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, body::IoK8sApiRbacV1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ClusterRoleBinding + +Params: +- body::IoK8sApiRbacV1ClusterRoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, body::IoK8sApiRbacV1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_cluster_role_binding(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, body::IoK8sApiRbacV1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_cluster_role_binding(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, namespace::String, body::IoK8sApiRbacV1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Role + +Params: +- namespace::String (required) +- body::IoK8sApiRbacV1Role (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1Role, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, namespace::String, body::IoK8sApiRbacV1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_namespaced_role(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String, body::IoK8sApiRbacV1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_namespaced_role(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, namespace::String, body::IoK8sApiRbacV1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a RoleBinding + +Params: +- namespace::String (required) +- body::IoK8sApiRbacV1RoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, namespace::String, body::IoK8sApiRbacV1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_namespaced_role_binding(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String, body::IoK8sApiRbacV1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1_namespaced_role_binding(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ClusterRole + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_cluster_role(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_cluster_role(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ClusterRoleBinding + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_cluster_role_binding(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_cluster_role_binding(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_collection_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_collection_cluster_role(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_collection_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ClusterRole + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_collection_cluster_role(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_collection_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_collection_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_collection_cluster_role_binding(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_collection_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ClusterRoleBinding + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_collection_cluster_role_binding(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_collection_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_collection_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_collection_namespaced_role(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_collection_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Role + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_collection_namespaced_role(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_collection_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_collection_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_collection_namespaced_role_binding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_collection_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of RoleBinding + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_collection_namespaced_role_binding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_collection_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_collection_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Role + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_namespaced_role(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_namespaced_role(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_rbac_authorization_v1_a_p_i_resources_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_rbac_authorization_v1_a_p_i_resources(_api::RbacAuthorizationV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_rbac_authorization_v1_a_p_i_resources_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_rbac_authorization_v1_a_p_i_resources(_api::RbacAuthorizationV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_rbac_authorization_v1_a_p_i_resources(_api::RbacAuthorizationV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ClusterRole + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1ClusterRoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ClusterRoleBinding + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1ClusterRoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Role + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1RoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RoleBinding + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1RoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1_role_binding_for_all_namespaces_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1_role_binding_for_all_namespaces_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RoleBinding + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1RoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_role_binding_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_role_binding_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1_role_for_all_namespaces_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1_role_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1_role_for_all_namespaces_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Role + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1RoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1_role_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_role_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1_role_for_all_namespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1_role_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ClusterRole + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ClusterRoleBinding + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1Role, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ClusterRole + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiRbacV1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_cluster_role(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_cluster_role(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ClusterRoleBinding + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiRbacV1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_cluster_role_binding(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_cluster_role_binding(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiRbacV1Role, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_namespaced_role(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_namespaced_role(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiRbacV1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String, body::IoK8sApiRbacV1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ClusterRole + +Params: +- name::String (required) +- body::IoK8sApiRbacV1ClusterRole (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String, body::IoK8sApiRbacV1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body::IoK8sApiRbacV1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String, body::IoK8sApiRbacV1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ClusterRoleBinding + +Params: +- name::String (required) +- body::IoK8sApiRbacV1ClusterRoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String, body::IoK8sApiRbacV1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body::IoK8sApiRbacV1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::IoK8sApiRbacV1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiRbacV1Role (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1Role, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::IoK8sApiRbacV1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiRbacV1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::IoK8sApiRbacV1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiRbacV1RoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body::IoK8sApiRbacV1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiRbacV1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_cluster_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_cluster_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_cluster_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role_binding(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_cluster_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role_binding(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_cluster_role_binding_list_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_cluster_role_binding_list(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_cluster_role_binding_list_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_cluster_role_binding_list(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role_binding_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_cluster_role_binding_list(_api::RbacAuthorizationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role_binding_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_cluster_role_list_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_cluster_role_list(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_cluster_role_list_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_cluster_role_list(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_cluster_role_list(_api::RbacAuthorizationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_cluster_role_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_namespaced_role_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_namespaced_role(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_namespaced_role_binding_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_namespaced_role_binding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role_binding(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_namespaced_role_binding_list_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_namespaced_role_binding_list(_api::RbacAuthorizationV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_namespaced_role_binding_list_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_namespaced_role_binding_list(_api::RbacAuthorizationV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role_binding_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_namespaced_role_binding_list(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role_binding_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_namespaced_role_list_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_namespaced_role_list(_api::RbacAuthorizationV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_namespaced_role_list_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_namespaced_role_list(_api::RbacAuthorizationV1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_namespaced_role_list(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_namespaced_role_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_role_binding_list_for_all_namespaces_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_role_binding_list_for_all_namespaces_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_role_binding_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_role_binding_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1_role_list_for_all_namespaces_RbacAuthorizationV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1_role_list_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1_role_list_for_all_namespaces_RbacAuthorizationV1Api, "/apis/rbac.authorization.k8s.io/v1/watch/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1_role_list_for_all_namespaces(_api::RbacAuthorizationV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_role_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1_role_list_for_all_namespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1_role_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_rbac_authorization_v1_cluster_role +export create_rbac_authorization_v1_cluster_role_binding +export create_rbac_authorization_v1_namespaced_role +export create_rbac_authorization_v1_namespaced_role_binding +export delete_rbac_authorization_v1_cluster_role +export delete_rbac_authorization_v1_cluster_role_binding +export delete_rbac_authorization_v1_collection_cluster_role +export delete_rbac_authorization_v1_collection_cluster_role_binding +export delete_rbac_authorization_v1_collection_namespaced_role +export delete_rbac_authorization_v1_collection_namespaced_role_binding +export delete_rbac_authorization_v1_namespaced_role +export delete_rbac_authorization_v1_namespaced_role_binding +export get_rbac_authorization_v1_a_p_i_resources +export list_rbac_authorization_v1_cluster_role +export list_rbac_authorization_v1_cluster_role_binding +export list_rbac_authorization_v1_namespaced_role +export list_rbac_authorization_v1_namespaced_role_binding +export list_rbac_authorization_v1_role_binding_for_all_namespaces +export list_rbac_authorization_v1_role_for_all_namespaces +export patch_rbac_authorization_v1_cluster_role +export patch_rbac_authorization_v1_cluster_role_binding +export patch_rbac_authorization_v1_namespaced_role +export patch_rbac_authorization_v1_namespaced_role_binding +export read_rbac_authorization_v1_cluster_role +export read_rbac_authorization_v1_cluster_role_binding +export read_rbac_authorization_v1_namespaced_role +export read_rbac_authorization_v1_namespaced_role_binding +export replace_rbac_authorization_v1_cluster_role +export replace_rbac_authorization_v1_cluster_role_binding +export replace_rbac_authorization_v1_namespaced_role +export replace_rbac_authorization_v1_namespaced_role_binding +export watch_rbac_authorization_v1_cluster_role +export watch_rbac_authorization_v1_cluster_role_binding +export watch_rbac_authorization_v1_cluster_role_binding_list +export watch_rbac_authorization_v1_cluster_role_list +export watch_rbac_authorization_v1_namespaced_role +export watch_rbac_authorization_v1_namespaced_role_binding +export watch_rbac_authorization_v1_namespaced_role_binding_list +export watch_rbac_authorization_v1_namespaced_role_list +export watch_rbac_authorization_v1_role_binding_list_for_all_namespaces +export watch_rbac_authorization_v1_role_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_RbacAuthorizationV1alpha1Api.jl b/src/ApiImpl/api/apis/api_RbacAuthorizationV1alpha1Api.jl new file mode 100644 index 00000000..0ff921a1 --- /dev/null +++ b/src/ApiImpl/api/apis/api_RbacAuthorizationV1alpha1Api.jl @@ -0,0 +1,1834 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct RbacAuthorizationV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `RbacAuthorizationV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ RbacAuthorizationV1alpha1Api }) = "http://localhost" + +const _returntypes_create_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, body::IoK8sApiRbacV1alpha1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ClusterRole + +Params: +- body::IoK8sApiRbacV1alpha1ClusterRole (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, body::IoK8sApiRbacV1alpha1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_cluster_role(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, body::IoK8sApiRbacV1alpha1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_cluster_role(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, body::IoK8sApiRbacV1alpha1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ClusterRoleBinding + +Params: +- body::IoK8sApiRbacV1alpha1ClusterRoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, body::IoK8sApiRbacV1alpha1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_cluster_role_binding(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, body::IoK8sApiRbacV1alpha1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_cluster_role_binding(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, namespace::String, body::IoK8sApiRbacV1alpha1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Role + +Params: +- namespace::String (required) +- body::IoK8sApiRbacV1alpha1Role (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1Role, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, namespace::String, body::IoK8sApiRbacV1alpha1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_namespaced_role(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String, body::IoK8sApiRbacV1alpha1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_namespaced_role(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, namespace::String, body::IoK8sApiRbacV1alpha1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a RoleBinding + +Params: +- namespace::String (required) +- body::IoK8sApiRbacV1alpha1RoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, namespace::String, body::IoK8sApiRbacV1alpha1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_namespaced_role_binding(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String, body::IoK8sApiRbacV1alpha1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1alpha1_namespaced_role_binding(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ClusterRole + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_cluster_role(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_cluster_role(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ClusterRoleBinding + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_cluster_role_binding(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_cluster_role_binding(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_collection_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_collection_cluster_role(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_collection_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ClusterRole + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_collection_cluster_role(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_collection_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ClusterRoleBinding + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_collection_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_collection_namespaced_role(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_collection_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Role + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_collection_namespaced_role(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_collection_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of RoleBinding + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Role + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_rbac_authorization_v1alpha1_a_p_i_resources_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_rbac_authorization_v1alpha1_a_p_i_resources(_api::RbacAuthorizationV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_rbac_authorization_v1alpha1_a_p_i_resources_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_rbac_authorization_v1alpha1_a_p_i_resources(_api::RbacAuthorizationV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_rbac_authorization_v1alpha1_a_p_i_resources(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ClusterRole + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1alpha1ClusterRoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ClusterRoleBinding + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1alpha1ClusterRoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Role + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1alpha1RoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RoleBinding + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1alpha1RoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RoleBinding + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1alpha1RoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1alpha1_role_for_all_namespaces_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1alpha1_role_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1alpha1_role_for_all_namespaces_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Role + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1alpha1RoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1alpha1_role_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_role_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1alpha1_role_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1alpha1_role_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ClusterRole + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1alpha1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ClusterRoleBinding + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1alpha1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1alpha1Role, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1alpha1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ClusterRole + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiRbacV1alpha1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_cluster_role(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_cluster_role(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ClusterRoleBinding + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiRbacV1alpha1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_cluster_role_binding(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_cluster_role_binding(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiRbacV1alpha1Role, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiRbacV1alpha1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String, body::IoK8sApiRbacV1alpha1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ClusterRole + +Params: +- name::String (required) +- body::IoK8sApiRbacV1alpha1ClusterRole (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String, body::IoK8sApiRbacV1alpha1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiRbacV1alpha1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, body::IoK8sApiRbacV1alpha1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ClusterRoleBinding + +Params: +- name::String (required) +- body::IoK8sApiRbacV1alpha1ClusterRoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, body::IoK8sApiRbacV1alpha1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiRbacV1alpha1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::IoK8sApiRbacV1alpha1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiRbacV1alpha1Role (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1Role, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::IoK8sApiRbacV1alpha1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiRbacV1alpha1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1alpha1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::IoK8sApiRbacV1alpha1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiRbacV1alpha1RoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1alpha1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body::IoK8sApiRbacV1alpha1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiRbacV1alpha1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_cluster_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_binding(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_cluster_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_binding(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_binding_list_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_binding_list(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_binding_list_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_cluster_role_binding_list(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_binding_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_cluster_role_binding_list(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_binding_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_list_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_list(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_cluster_role_list_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_cluster_role_list(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_cluster_role_list(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_cluster_role_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_namespaced_role(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_binding_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_binding(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_binding_list_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_binding_list(_api::RbacAuthorizationV1alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_binding_list_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_namespaced_role_binding_list(_api::RbacAuthorizationV1alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_binding_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_namespaced_role_binding_list(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_binding_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_list_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_list(_api::RbacAuthorizationV1alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_namespaced_role_list_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_namespaced_role_list(_api::RbacAuthorizationV1alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_namespaced_role_list(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_namespaced_role_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces_RbacAuthorizationV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces_RbacAuthorizationV1alpha1Api, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_rbac_authorization_v1alpha1_cluster_role +export create_rbac_authorization_v1alpha1_cluster_role_binding +export create_rbac_authorization_v1alpha1_namespaced_role +export create_rbac_authorization_v1alpha1_namespaced_role_binding +export delete_rbac_authorization_v1alpha1_cluster_role +export delete_rbac_authorization_v1alpha1_cluster_role_binding +export delete_rbac_authorization_v1alpha1_collection_cluster_role +export delete_rbac_authorization_v1alpha1_collection_cluster_role_binding +export delete_rbac_authorization_v1alpha1_collection_namespaced_role +export delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding +export delete_rbac_authorization_v1alpha1_namespaced_role +export delete_rbac_authorization_v1alpha1_namespaced_role_binding +export get_rbac_authorization_v1alpha1_a_p_i_resources +export list_rbac_authorization_v1alpha1_cluster_role +export list_rbac_authorization_v1alpha1_cluster_role_binding +export list_rbac_authorization_v1alpha1_namespaced_role +export list_rbac_authorization_v1alpha1_namespaced_role_binding +export list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces +export list_rbac_authorization_v1alpha1_role_for_all_namespaces +export patch_rbac_authorization_v1alpha1_cluster_role +export patch_rbac_authorization_v1alpha1_cluster_role_binding +export patch_rbac_authorization_v1alpha1_namespaced_role +export patch_rbac_authorization_v1alpha1_namespaced_role_binding +export read_rbac_authorization_v1alpha1_cluster_role +export read_rbac_authorization_v1alpha1_cluster_role_binding +export read_rbac_authorization_v1alpha1_namespaced_role +export read_rbac_authorization_v1alpha1_namespaced_role_binding +export replace_rbac_authorization_v1alpha1_cluster_role +export replace_rbac_authorization_v1alpha1_cluster_role_binding +export replace_rbac_authorization_v1alpha1_namespaced_role +export replace_rbac_authorization_v1alpha1_namespaced_role_binding +export watch_rbac_authorization_v1alpha1_cluster_role +export watch_rbac_authorization_v1alpha1_cluster_role_binding +export watch_rbac_authorization_v1alpha1_cluster_role_binding_list +export watch_rbac_authorization_v1alpha1_cluster_role_list +export watch_rbac_authorization_v1alpha1_namespaced_role +export watch_rbac_authorization_v1alpha1_namespaced_role_binding +export watch_rbac_authorization_v1alpha1_namespaced_role_binding_list +export watch_rbac_authorization_v1alpha1_namespaced_role_list +export watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces +export watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_RbacAuthorizationV1beta1Api.jl b/src/ApiImpl/api/apis/api_RbacAuthorizationV1beta1Api.jl new file mode 100644 index 00000000..6a82e473 --- /dev/null +++ b/src/ApiImpl/api/apis/api_RbacAuthorizationV1beta1Api.jl @@ -0,0 +1,1834 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct RbacAuthorizationV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `RbacAuthorizationV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ RbacAuthorizationV1beta1Api }) = "http://localhost" + +const _returntypes_create_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, body::IoK8sApiRbacV1beta1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ClusterRole + +Params: +- body::IoK8sApiRbacV1beta1ClusterRole (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, body::IoK8sApiRbacV1beta1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_cluster_role(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, body::IoK8sApiRbacV1beta1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_cluster_role(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, body::IoK8sApiRbacV1beta1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a ClusterRoleBinding + +Params: +- body::IoK8sApiRbacV1beta1ClusterRoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, body::IoK8sApiRbacV1beta1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_cluster_role_binding(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, body::IoK8sApiRbacV1beta1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_cluster_role_binding(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, namespace::String, body::IoK8sApiRbacV1beta1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a Role + +Params: +- namespace::String (required) +- body::IoK8sApiRbacV1beta1Role (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1Role, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, namespace::String, body::IoK8sApiRbacV1beta1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_namespaced_role(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiRbacV1beta1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_namespaced_role(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, namespace::String, body::IoK8sApiRbacV1beta1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a RoleBinding + +Params: +- namespace::String (required) +- body::IoK8sApiRbacV1beta1RoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function create_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, namespace::String, body::IoK8sApiRbacV1beta1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_namespaced_role_binding(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String, body::IoK8sApiRbacV1beta1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_rbac_authorization_v1beta1_namespaced_role_binding(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ClusterRole + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_cluster_role(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_cluster_role(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a ClusterRoleBinding + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_cluster_role_binding(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_cluster_role_binding(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_collection_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_collection_cluster_role(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_collection_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ClusterRole + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_collection_cluster_role(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_collection_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_collection_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_collection_cluster_role_binding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_collection_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of ClusterRoleBinding + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_collection_cluster_role_binding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_collection_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_collection_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_collection_namespaced_role(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_collection_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of Role + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_collection_namespaced_role(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_collection_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of RoleBinding + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a Role + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_rbac_authorization_v1beta1_a_p_i_resources_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_rbac_authorization_v1beta1_a_p_i_resources(_api::RbacAuthorizationV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_rbac_authorization_v1beta1_a_p_i_resources_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_rbac_authorization_v1beta1_a_p_i_resources(_api::RbacAuthorizationV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_rbac_authorization_v1beta1_a_p_i_resources(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_rbac_authorization_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ClusterRole + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1beta1ClusterRoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_cluster_role(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind ClusterRoleBinding + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1beta1ClusterRoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_cluster_role_binding(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Role + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1beta1RoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_namespaced_role(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RoleBinding + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1beta1RoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_namespaced_role_binding(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBindingList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind RoleBinding + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1beta1RoleBindingList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_rbac_authorization_v1beta1_role_for_all_namespaces_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_rbac_authorization_v1beta1_role_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_rbac_authorization_v1beta1_role_for_all_namespaces_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind Role + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiRbacV1beta1RoleList, OpenAPI.Clients.ApiResponse +""" +function list_rbac_authorization_v1beta1_role_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_role_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_rbac_authorization_v1beta1_role_for_all_namespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_rbac_authorization_v1beta1_role_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ClusterRole + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1beta1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified ClusterRoleBinding + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1beta1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1beta1Role, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiRbacV1beta1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function patch_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ClusterRole + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiRbacV1beta1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_cluster_role(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_cluster_role(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified ClusterRoleBinding + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiRbacV1beta1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_cluster_role_binding(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_cluster_role_binding(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiRbacV1beta1Role, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String + +Return: IoK8sApiRbacV1beta1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function read_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRole, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String, body::IoK8sApiRbacV1beta1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ClusterRole + +Params: +- name::String (required) +- body::IoK8sApiRbacV1beta1ClusterRole (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1ClusterRole, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String, body::IoK8sApiRbacV1beta1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiRbacV1beta1ClusterRole; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_cluster_role(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1ClusterRoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, body::IoK8sApiRbacV1beta1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified ClusterRoleBinding + +Params: +- name::String (required) +- body::IoK8sApiRbacV1beta1ClusterRoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1ClusterRoleBinding, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, body::IoK8sApiRbacV1beta1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiRbacV1beta1ClusterRoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_cluster_role_binding(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1Role, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::IoK8sApiRbacV1beta1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified Role + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiRbacV1beta1Role (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1Role, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::IoK8sApiRbacV1beta1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiRbacV1beta1Role; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiRbacV1beta1RoleBinding, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::IoK8sApiRbacV1beta1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified RoleBinding + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiRbacV1beta1RoleBinding (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiRbacV1beta1RoleBinding, OpenAPI.Clients.ApiResponse +""" +function replace_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body::IoK8sApiRbacV1beta1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiRbacV1beta1RoleBinding; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_cluster_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_cluster_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_cluster_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_binding(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_cluster_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_binding(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_cluster_role_binding_list_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_binding_list(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_cluster_role_binding_list_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_cluster_role_binding_list(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_binding_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_cluster_role_binding_list(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_binding_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_cluster_role_list_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_list(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_cluster_role_list_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_cluster_role_list(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_cluster_role_list(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_cluster_role_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_namespaced_role(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_binding_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_namespaced_role_binding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_binding(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_binding_list_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_binding_list(_api::RbacAuthorizationV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_binding_list_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_namespaced_role_binding_list(_api::RbacAuthorizationV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_binding_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_namespaced_role_binding_list(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_binding_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_list_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_list(_api::RbacAuthorizationV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_namespaced_role_list_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_namespaced_role_list(_api::RbacAuthorizationV1beta1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_namespaced_role_list(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_namespaced_role_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_rbac_authorization_v1beta1_role_list_for_all_namespaces_RbacAuthorizationV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_rbac_authorization_v1beta1_role_list_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_rbac_authorization_v1beta1_role_list_for_all_namespaces_RbacAuthorizationV1beta1Api, "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_rbac_authorization_v1beta1_role_list_for_all_namespaces(_api::RbacAuthorizationV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_role_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_rbac_authorization_v1beta1_role_list_for_all_namespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_rbac_authorization_v1beta1_role_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_rbac_authorization_v1beta1_cluster_role +export create_rbac_authorization_v1beta1_cluster_role_binding +export create_rbac_authorization_v1beta1_namespaced_role +export create_rbac_authorization_v1beta1_namespaced_role_binding +export delete_rbac_authorization_v1beta1_cluster_role +export delete_rbac_authorization_v1beta1_cluster_role_binding +export delete_rbac_authorization_v1beta1_collection_cluster_role +export delete_rbac_authorization_v1beta1_collection_cluster_role_binding +export delete_rbac_authorization_v1beta1_collection_namespaced_role +export delete_rbac_authorization_v1beta1_collection_namespaced_role_binding +export delete_rbac_authorization_v1beta1_namespaced_role +export delete_rbac_authorization_v1beta1_namespaced_role_binding +export get_rbac_authorization_v1beta1_a_p_i_resources +export list_rbac_authorization_v1beta1_cluster_role +export list_rbac_authorization_v1beta1_cluster_role_binding +export list_rbac_authorization_v1beta1_namespaced_role +export list_rbac_authorization_v1beta1_namespaced_role_binding +export list_rbac_authorization_v1beta1_role_binding_for_all_namespaces +export list_rbac_authorization_v1beta1_role_for_all_namespaces +export patch_rbac_authorization_v1beta1_cluster_role +export patch_rbac_authorization_v1beta1_cluster_role_binding +export patch_rbac_authorization_v1beta1_namespaced_role +export patch_rbac_authorization_v1beta1_namespaced_role_binding +export read_rbac_authorization_v1beta1_cluster_role +export read_rbac_authorization_v1beta1_cluster_role_binding +export read_rbac_authorization_v1beta1_namespaced_role +export read_rbac_authorization_v1beta1_namespaced_role_binding +export replace_rbac_authorization_v1beta1_cluster_role +export replace_rbac_authorization_v1beta1_cluster_role_binding +export replace_rbac_authorization_v1beta1_namespaced_role +export replace_rbac_authorization_v1beta1_namespaced_role_binding +export watch_rbac_authorization_v1beta1_cluster_role +export watch_rbac_authorization_v1beta1_cluster_role_binding +export watch_rbac_authorization_v1beta1_cluster_role_binding_list +export watch_rbac_authorization_v1beta1_cluster_role_list +export watch_rbac_authorization_v1beta1_namespaced_role +export watch_rbac_authorization_v1beta1_namespaced_role_binding +export watch_rbac_authorization_v1beta1_namespaced_role_binding_list +export watch_rbac_authorization_v1beta1_namespaced_role_list +export watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces +export watch_rbac_authorization_v1beta1_role_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_SchedulingApi.jl b/src/ApiImpl/api/apis/api_SchedulingApi.jl new file mode 100644 index 00000000..6403a51f --- /dev/null +++ b/src/ApiImpl/api/apis/api_SchedulingApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct SchedulingApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `SchedulingApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ SchedulingApi }) = "http://localhost" + +const _returntypes_get_scheduling_a_p_i_group_SchedulingApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_scheduling_a_p_i_group(_api::SchedulingApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_scheduling_a_p_i_group_SchedulingApi, "/apis/scheduling.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_scheduling_a_p_i_group(_api::SchedulingApi; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_scheduling_a_p_i_group(_api::SchedulingApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_scheduling_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_SchedulingV1Api.jl b/src/ApiImpl/api/apis/api_SchedulingV1Api.jl new file mode 100644 index 00000000..3a2097b7 --- /dev/null +++ b/src/ApiImpl/api/apis/api_SchedulingV1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct SchedulingV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `SchedulingV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ SchedulingV1Api }) = "http://localhost" + +const _returntypes_create_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_scheduling_v1_priority_class(_api::SchedulingV1Api, body::IoK8sApiSchedulingV1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PriorityClass + +Params: +- body::IoK8sApiSchedulingV1PriorityClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSchedulingV1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function create_scheduling_v1_priority_class(_api::SchedulingV1Api, body::IoK8sApiSchedulingV1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_scheduling_v1_priority_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel, body::IoK8sApiSchedulingV1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_scheduling_v1_priority_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_scheduling_v1_collection_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_scheduling_v1_collection_priority_class(_api::SchedulingV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_scheduling_v1_collection_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PriorityClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_scheduling_v1_collection_priority_class(_api::SchedulingV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1_collection_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_scheduling_v1_collection_priority_class(_api::SchedulingV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1_collection_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PriorityClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1_priority_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1_priority_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_scheduling_v1_a_p_i_resources_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_scheduling_v1_a_p_i_resources(_api::SchedulingV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_scheduling_v1_a_p_i_resources_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_scheduling_v1_a_p_i_resources(_api::SchedulingV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_scheduling_v1_a_p_i_resources(_api::SchedulingV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_scheduling_v1_priority_class(_api::SchedulingV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PriorityClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiSchedulingV1PriorityClassList, OpenAPI.Clients.ApiResponse +""" +function list_scheduling_v1_priority_class(_api::SchedulingV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_scheduling_v1_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_scheduling_v1_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PriorityClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiSchedulingV1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function patch_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_scheduling_v1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_scheduling_v1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PriorityClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiSchedulingV1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function read_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_scheduling_v1_priority_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_scheduling_v1_priority_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSchedulingV1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String, body::IoK8sApiSchedulingV1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PriorityClass + +Params: +- name::String (required) +- body::IoK8sApiSchedulingV1PriorityClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSchedulingV1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function replace_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String, body::IoK8sApiSchedulingV1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_scheduling_v1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel, name::String, body::IoK8sApiSchedulingV1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_scheduling_v1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_scheduling_v1_priority_class_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_scheduling_v1_priority_class_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_scheduling_v1_priority_class(_api::SchedulingV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1_priority_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_scheduling_v1_priority_class(_api::SchedulingV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1_priority_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_scheduling_v1_priority_class_list_SchedulingV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_scheduling_v1_priority_class_list(_api::SchedulingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_scheduling_v1_priority_class_list_SchedulingV1Api, "/apis/scheduling.k8s.io/v1/watch/priorityclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_scheduling_v1_priority_class_list(_api::SchedulingV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1_priority_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_scheduling_v1_priority_class_list(_api::SchedulingV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1_priority_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_scheduling_v1_priority_class +export delete_scheduling_v1_collection_priority_class +export delete_scheduling_v1_priority_class +export get_scheduling_v1_a_p_i_resources +export list_scheduling_v1_priority_class +export patch_scheduling_v1_priority_class +export read_scheduling_v1_priority_class +export replace_scheduling_v1_priority_class +export watch_scheduling_v1_priority_class +export watch_scheduling_v1_priority_class_list diff --git a/src/ApiImpl/api/apis/api_SchedulingV1alpha1Api.jl b/src/ApiImpl/api/apis/api_SchedulingV1alpha1Api.jl new file mode 100644 index 00000000..1499c6f8 --- /dev/null +++ b/src/ApiImpl/api/apis/api_SchedulingV1alpha1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct SchedulingV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `SchedulingV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ SchedulingV1alpha1Api }) = "http://localhost" + +const _returntypes_create_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, body::IoK8sApiSchedulingV1alpha1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PriorityClass + +Params: +- body::IoK8sApiSchedulingV1alpha1PriorityClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSchedulingV1alpha1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function create_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, body::IoK8sApiSchedulingV1alpha1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_scheduling_v1alpha1_priority_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel, body::IoK8sApiSchedulingV1alpha1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_scheduling_v1alpha1_priority_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_scheduling_v1alpha1_collection_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_scheduling_v1alpha1_collection_priority_class(_api::SchedulingV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_scheduling_v1alpha1_collection_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PriorityClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_scheduling_v1alpha1_collection_priority_class(_api::SchedulingV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1alpha1_collection_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_scheduling_v1alpha1_collection_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1alpha1_collection_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PriorityClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1alpha1_priority_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1alpha1_priority_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_scheduling_v1alpha1_a_p_i_resources_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_scheduling_v1alpha1_a_p_i_resources(_api::SchedulingV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_scheduling_v1alpha1_a_p_i_resources_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_scheduling_v1alpha1_a_p_i_resources(_api::SchedulingV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_scheduling_v1alpha1_a_p_i_resources(_api::SchedulingV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PriorityClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiSchedulingV1alpha1PriorityClassList, OpenAPI.Clients.ApiResponse +""" +function list_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_scheduling_v1alpha1_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_scheduling_v1alpha1_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PriorityClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiSchedulingV1alpha1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function patch_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_scheduling_v1alpha1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_scheduling_v1alpha1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PriorityClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiSchedulingV1alpha1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function read_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_scheduling_v1alpha1_priority_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_scheduling_v1alpha1_priority_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSchedulingV1alpha1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String, body::IoK8sApiSchedulingV1alpha1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PriorityClass + +Params: +- name::String (required) +- body::IoK8sApiSchedulingV1alpha1PriorityClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSchedulingV1alpha1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function replace_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String, body::IoK8sApiSchedulingV1alpha1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_scheduling_v1alpha1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiSchedulingV1alpha1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_scheduling_v1alpha1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_scheduling_v1alpha1_priority_class_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1alpha1_priority_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_scheduling_v1alpha1_priority_class(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1alpha1_priority_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_scheduling_v1alpha1_priority_class_list_SchedulingV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_scheduling_v1alpha1_priority_class_list(_api::SchedulingV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_scheduling_v1alpha1_priority_class_list_SchedulingV1alpha1Api, "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_scheduling_v1alpha1_priority_class_list(_api::SchedulingV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1alpha1_priority_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_scheduling_v1alpha1_priority_class_list(_api::SchedulingV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1alpha1_priority_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_scheduling_v1alpha1_priority_class +export delete_scheduling_v1alpha1_collection_priority_class +export delete_scheduling_v1alpha1_priority_class +export get_scheduling_v1alpha1_a_p_i_resources +export list_scheduling_v1alpha1_priority_class +export patch_scheduling_v1alpha1_priority_class +export read_scheduling_v1alpha1_priority_class +export replace_scheduling_v1alpha1_priority_class +export watch_scheduling_v1alpha1_priority_class +export watch_scheduling_v1alpha1_priority_class_list diff --git a/src/ApiImpl/api/apis/api_SchedulingV1beta1Api.jl b/src/ApiImpl/api/apis/api_SchedulingV1beta1Api.jl new file mode 100644 index 00000000..f5c549d6 --- /dev/null +++ b/src/ApiImpl/api/apis/api_SchedulingV1beta1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct SchedulingV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `SchedulingV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ SchedulingV1beta1Api }) = "http://localhost" + +const _returntypes_create_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, body::IoK8sApiSchedulingV1beta1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PriorityClass + +Params: +- body::IoK8sApiSchedulingV1beta1PriorityClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSchedulingV1beta1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function create_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, body::IoK8sApiSchedulingV1beta1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_scheduling_v1beta1_priority_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel, body::IoK8sApiSchedulingV1beta1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_scheduling_v1beta1_priority_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_scheduling_v1beta1_collection_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_scheduling_v1beta1_collection_priority_class(_api::SchedulingV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_scheduling_v1beta1_collection_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PriorityClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_scheduling_v1beta1_collection_priority_class(_api::SchedulingV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1beta1_collection_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_scheduling_v1beta1_collection_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1beta1_collection_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PriorityClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1beta1_priority_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_scheduling_v1beta1_priority_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_scheduling_v1beta1_a_p_i_resources_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_scheduling_v1beta1_a_p_i_resources(_api::SchedulingV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_scheduling_v1beta1_a_p_i_resources_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_scheduling_v1beta1_a_p_i_resources(_api::SchedulingV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_scheduling_v1beta1_a_p_i_resources(_api::SchedulingV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_scheduling_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PriorityClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiSchedulingV1beta1PriorityClassList, OpenAPI.Clients.ApiResponse +""" +function list_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_scheduling_v1beta1_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_scheduling_v1beta1_priority_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PriorityClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiSchedulingV1beta1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function patch_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_scheduling_v1beta1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_scheduling_v1beta1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PriorityClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiSchedulingV1beta1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function read_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_scheduling_v1beta1_priority_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_scheduling_v1beta1_priority_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSchedulingV1beta1PriorityClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String, body::IoK8sApiSchedulingV1beta1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PriorityClass + +Params: +- name::String (required) +- body::IoK8sApiSchedulingV1beta1PriorityClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSchedulingV1beta1PriorityClass, OpenAPI.Clients.ApiResponse +""" +function replace_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String, body::IoK8sApiSchedulingV1beta1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_scheduling_v1beta1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiSchedulingV1beta1PriorityClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_scheduling_v1beta1_priority_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_scheduling_v1beta1_priority_class_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_scheduling_v1beta1_priority_class_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1beta1_priority_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_scheduling_v1beta1_priority_class(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1beta1_priority_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_scheduling_v1beta1_priority_class_list_SchedulingV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_scheduling_v1beta1_priority_class_list(_api::SchedulingV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_scheduling_v1beta1_priority_class_list_SchedulingV1beta1Api, "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_scheduling_v1beta1_priority_class_list(_api::SchedulingV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1beta1_priority_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_scheduling_v1beta1_priority_class_list(_api::SchedulingV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_scheduling_v1beta1_priority_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_scheduling_v1beta1_priority_class +export delete_scheduling_v1beta1_collection_priority_class +export delete_scheduling_v1beta1_priority_class +export get_scheduling_v1beta1_a_p_i_resources +export list_scheduling_v1beta1_priority_class +export patch_scheduling_v1beta1_priority_class +export read_scheduling_v1beta1_priority_class +export replace_scheduling_v1beta1_priority_class +export watch_scheduling_v1beta1_priority_class +export watch_scheduling_v1beta1_priority_class_list diff --git a/src/ApiImpl/api/apis/api_SettingsApi.jl b/src/ApiImpl/api/apis/api_SettingsApi.jl new file mode 100644 index 00000000..c8e7f1ad --- /dev/null +++ b/src/ApiImpl/api/apis/api_SettingsApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct SettingsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `SettingsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ SettingsApi }) = "http://localhost" + +const _returntypes_get_settings_a_p_i_group_SettingsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_settings_a_p_i_group(_api::SettingsApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_settings_a_p_i_group_SettingsApi, "/apis/settings.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_settings_a_p_i_group(_api::SettingsApi; _mediaType=nothing) + _ctx = _oacinternal_get_settings_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_settings_a_p_i_group(_api::SettingsApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_settings_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_settings_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_SettingsV1alpha1Api.jl b/src/ApiImpl/api/apis/api_SettingsV1alpha1Api.jl new file mode 100644 index 00000000..7a1aecb6 --- /dev/null +++ b/src/ApiImpl/api/apis/api_SettingsV1alpha1Api.jl @@ -0,0 +1,550 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct SettingsV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `SettingsV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ SettingsV1alpha1Api }) = "http://localhost" + +const _returntypes_create_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, namespace::String, body::IoK8sApiSettingsV1alpha1PodPreset; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a PodPreset + +Params: +- namespace::String (required) +- body::IoK8sApiSettingsV1alpha1PodPreset (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSettingsV1alpha1PodPreset, OpenAPI.Clients.ApiResponse +""" +function create_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, namespace::String, body::IoK8sApiSettingsV1alpha1PodPreset; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_settings_v1alpha1_namespaced_pod_preset(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String, body::IoK8sApiSettingsV1alpha1PodPreset; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_settings_v1alpha1_namespaced_pod_preset(_api, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_settings_v1alpha1_collection_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_settings_v1alpha1_collection_namespaced_pod_preset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_settings_v1alpha1_collection_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of PodPreset + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_settings_v1alpha1_collection_namespaced_pod_preset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_settings_v1alpha1_collection_namespaced_pod_preset(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_settings_v1alpha1_collection_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_settings_v1alpha1_collection_namespaced_pod_preset(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a PodPreset + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_settings_v1alpha1_a_p_i_resources_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_settings_v1alpha1_a_p_i_resources(_api::SettingsV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_settings_v1alpha1_a_p_i_resources_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_settings_v1alpha1_a_p_i_resources(_api::SettingsV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_settings_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_settings_v1alpha1_a_p_i_resources(_api::SettingsV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_settings_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPresetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodPreset + +Params: +- namespace::String (required) +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiSettingsV1alpha1PodPresetList, OpenAPI.Clients.ApiResponse +""" +function list_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_settings_v1alpha1_namespaced_pod_preset(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_settings_v1alpha1_namespaced_pod_preset(_api, namespace; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_settings_v1alpha1_pod_preset_for_all_namespaces_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPresetList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_settings_v1alpha1_pod_preset_for_all_namespaces(_api::SettingsV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_settings_v1alpha1_pod_preset_for_all_namespaces_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/podpresets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind PodPreset + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiSettingsV1alpha1PodPresetList, OpenAPI.Clients.ApiResponse +""" +function list_settings_v1alpha1_pod_preset_for_all_namespaces(_api::SettingsV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_settings_v1alpha1_pod_preset_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_settings_v1alpha1_pod_preset_for_all_namespaces(_api::SettingsV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_settings_v1alpha1_pod_preset_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified PodPreset + +Params: +- name::String (required) +- namespace::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiSettingsV1alpha1PodPreset, OpenAPI.Clients.ApiResponse +""" +function patch_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified PodPreset + +Params: +- name::String (required) +- namespace::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiSettingsV1alpha1PodPreset, OpenAPI.Clients.ApiResponse +""" +function read_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiSettingsV1alpha1PodPreset, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String, body::IoK8sApiSettingsV1alpha1PodPreset; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified PodPreset + +Params: +- name::String (required) +- namespace::String (required) +- body::IoK8sApiSettingsV1alpha1PodPreset (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiSettingsV1alpha1PodPreset, OpenAPI.Clients.ApiResponse +""" +function replace_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String, body::IoK8sApiSettingsV1alpha1PodPreset; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String, body::IoK8sApiSettingsV1alpha1PodPreset; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_settings_v1alpha1_namespaced_pod_preset_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_settings_v1alpha1_namespaced_pod_preset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_settings_v1alpha1_namespaced_pod_preset(_api, name, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_settings_v1alpha1_namespaced_pod_preset_list_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_settings_v1alpha1_namespaced_pod_preset_list(_api::SettingsV1alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_settings_v1alpha1_namespaced_pod_preset_list_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "namespace", namespace) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- namespace::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_settings_v1alpha1_namespaced_pod_preset_list(_api::SettingsV1alpha1Api, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_settings_v1alpha1_namespaced_pod_preset_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_settings_v1alpha1_namespaced_pod_preset_list(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_settings_v1alpha1_namespaced_pod_preset_list(_api, namespace; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_settings_v1alpha1_pod_preset_list_for_all_namespaces_SettingsV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_settings_v1alpha1_pod_preset_list_for_all_namespaces(_api::SettingsV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_settings_v1alpha1_pod_preset_list_for_all_namespaces_SettingsV1alpha1Api, "/apis/settings.k8s.io/v1alpha1/watch/podpresets", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_settings_v1alpha1_pod_preset_list_for_all_namespaces(_api::SettingsV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_settings_v1alpha1_pod_preset_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_settings_v1alpha1_pod_preset_list_for_all_namespaces(_api::SettingsV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_settings_v1alpha1_pod_preset_list_for_all_namespaces(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_settings_v1alpha1_namespaced_pod_preset +export delete_settings_v1alpha1_collection_namespaced_pod_preset +export delete_settings_v1alpha1_namespaced_pod_preset +export get_settings_v1alpha1_a_p_i_resources +export list_settings_v1alpha1_namespaced_pod_preset +export list_settings_v1alpha1_pod_preset_for_all_namespaces +export patch_settings_v1alpha1_namespaced_pod_preset +export read_settings_v1alpha1_namespaced_pod_preset +export replace_settings_v1alpha1_namespaced_pod_preset +export watch_settings_v1alpha1_namespaced_pod_preset +export watch_settings_v1alpha1_namespaced_pod_preset_list +export watch_settings_v1alpha1_pod_preset_list_for_all_namespaces diff --git a/src/ApiImpl/api/apis/api_StorageApi.jl b/src/ApiImpl/api/apis/api_StorageApi.jl new file mode 100644 index 00000000..7335037d --- /dev/null +++ b/src/ApiImpl/api/apis/api_StorageApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct StorageApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `StorageApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ StorageApi }) = "http://localhost" + +const _returntypes_get_storage_a_p_i_group_StorageApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIGroup, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_storage_a_p_i_group(_api::StorageApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_storage_a_p_i_group_StorageApi, "/apis/storage.k8s.io/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get information of a group + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIGroup, OpenAPI.Clients.ApiResponse +""" +function get_storage_a_p_i_group(_api::StorageApi; _mediaType=nothing) + _ctx = _oacinternal_get_storage_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_storage_a_p_i_group(_api::StorageApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_storage_a_p_i_group(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_storage_a_p_i_group diff --git a/src/ApiImpl/api/apis/api_StorageV1Api.jl b/src/ApiImpl/api/apis/api_StorageV1Api.jl new file mode 100644 index 00000000..664ac600 --- /dev/null +++ b/src/ApiImpl/api/apis/api_StorageV1Api.jl @@ -0,0 +1,1342 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct StorageV1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `StorageV1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ StorageV1Api }) = "http://localhost" + +const _returntypes_create_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1_c_s_i_node(_api::StorageV1Api, body::IoK8sApiStorageV1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CSINode + +Params: +- body::IoK8sApiStorageV1CSINode (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1CSINode, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1_c_s_i_node(_api::StorageV1Api, body::IoK8sApiStorageV1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1_c_s_i_node(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel, body::IoK8sApiStorageV1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1_c_s_i_node(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1_storage_class(_api::StorageV1Api, body::IoK8sApiStorageV1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a StorageClass + +Params: +- body::IoK8sApiStorageV1StorageClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1StorageClass, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1_storage_class(_api::StorageV1Api, body::IoK8sApiStorageV1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1_storage_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel, body::IoK8sApiStorageV1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1_storage_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1_volume_attachment(_api::StorageV1Api, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a VolumeAttachment + +Params: +- body::IoK8sApiStorageV1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1_volume_attachment(_api::StorageV1Api, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1_volume_attachment(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1_volume_attachment(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1_c_s_i_node(_api::StorageV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CSINode + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1_c_s_i_node(_api::StorageV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_c_s_i_node(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_c_s_i_node(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1_collection_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1_collection_c_s_i_node(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1_collection_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CSINode + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1_collection_c_s_i_node(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_collection_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1_collection_c_s_i_node(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_collection_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1_collection_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1_collection_storage_class(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1_collection_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of StorageClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1_collection_storage_class(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_collection_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1_collection_storage_class(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_collection_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1_collection_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1_collection_volume_attachment(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1_collection_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of VolumeAttachment + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1_collection_volume_attachment(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_collection_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1_collection_volume_attachment(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_collection_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1_storage_class(_api::StorageV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a StorageClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1_storage_class(_api::StorageV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_storage_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_storage_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1_volume_attachment(_api::StorageV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a VolumeAttachment + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1_volume_attachment(_api::StorageV1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_volume_attachment(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1_volume_attachment(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_storage_v1_a_p_i_resources_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_storage_v1_a_p_i_resources(_api::StorageV1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_storage_v1_a_p_i_resources_StorageV1Api, "/apis/storage.k8s.io/v1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_storage_v1_a_p_i_resources(_api::StorageV1Api; _mediaType=nothing) + _ctx = _oacinternal_get_storage_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_storage_v1_a_p_i_resources(_api::StorageV1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_storage_v1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1CSINodeList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1_c_s_i_node(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CSINode + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1CSINodeList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1_c_s_i_node(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1_storage_class(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StorageClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1StorageClassList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1_storage_class(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachmentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1_volume_attachment(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind VolumeAttachment + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1VolumeAttachmentList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1_volume_attachment(_api::StorageV1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1_c_s_i_node(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CSINode + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1CSINode, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1_c_s_i_node(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1_storage_class(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified StorageClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1StorageClass, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1_storage_class(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1_volume_attachment(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified VolumeAttachment + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1_volume_attachment(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1_volume_attachment_status_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1_volume_attachment_status(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1_volume_attachment_status_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update status of the specified VolumeAttachment + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1_volume_attachment_status(_api::StorageV1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_volume_attachment_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1_volume_attachment_status(_api::StorageV1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1_volume_attachment_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1_c_s_i_node(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CSINode + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1CSINode, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1_c_s_i_node(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_c_s_i_node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_c_s_i_node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1_storage_class(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified StorageClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1StorageClass, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1_storage_class(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_storage_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_storage_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1_volume_attachment(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified VolumeAttachment + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1_volume_attachment(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_volume_attachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_volume_attachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1_volume_attachment_status_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1_volume_attachment_status(_api::StorageV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1_volume_attachment_status_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}/status", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read status of the specified VolumeAttachment + +Params: +- name::String (required) +- pretty::String + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1_volume_attachment_status(_api::StorageV1Api, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_volume_attachment_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1_volume_attachment_status(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1_volume_attachment_status(_api, name; pretty=pretty, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1_c_s_i_node(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/csinodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CSINode + +Params: +- name::String (required) +- body::IoK8sApiStorageV1CSINode (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1CSINode, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1_c_s_i_node(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1_storage_class(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/storageclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified StorageClass + +Params: +- name::String (required) +- body::IoK8sApiStorageV1StorageClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1StorageClass, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1_storage_class(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1_volume_attachment(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified VolumeAttachment + +Params: +- name::String (required) +- body::IoK8sApiStorageV1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1_volume_attachment(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1_volume_attachment_status_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1_volume_attachment_status(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1_volume_attachment_status_StorageV1Api, "/apis/storage.k8s.io/v1/volumeattachments/{name}/status", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace status of the specified VolumeAttachment + +Params: +- name::String (required) +- body::IoK8sApiStorageV1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1_volume_attachment_status(_api::StorageV1Api, name::String, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_volume_attachment_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1_volume_attachment_status(_api::StorageV1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1_volume_attachment_status(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1_c_s_i_node_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1_c_s_i_node(_api::StorageV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1_c_s_i_node_StorageV1Api, "/apis/storage.k8s.io/v1/watch/csinodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1_c_s_i_node(_api::StorageV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_c_s_i_node(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1_c_s_i_node(_api::StorageV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_c_s_i_node(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1_c_s_i_node_list_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1_c_s_i_node_list(_api::StorageV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1_c_s_i_node_list_StorageV1Api, "/apis/storage.k8s.io/v1/watch/csinodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1_c_s_i_node_list(_api::StorageV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_c_s_i_node_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1_c_s_i_node_list(_api::StorageV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_c_s_i_node_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1_storage_class_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1_storage_class(_api::StorageV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1_storage_class_StorageV1Api, "/apis/storage.k8s.io/v1/watch/storageclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1_storage_class(_api::StorageV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_storage_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1_storage_class(_api::StorageV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_storage_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1_storage_class_list_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1_storage_class_list(_api::StorageV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1_storage_class_list_StorageV1Api, "/apis/storage.k8s.io/v1/watch/storageclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1_storage_class_list(_api::StorageV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_storage_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1_storage_class_list(_api::StorageV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_storage_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1_volume_attachment_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1_volume_attachment(_api::StorageV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1_volume_attachment_StorageV1Api, "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1_volume_attachment(_api::StorageV1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_volume_attachment(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1_volume_attachment(_api::StorageV1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_volume_attachment(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1_volume_attachment_list_StorageV1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1_volume_attachment_list(_api::StorageV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1_volume_attachment_list_StorageV1Api, "/apis/storage.k8s.io/v1/watch/volumeattachments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1_volume_attachment_list(_api::StorageV1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_volume_attachment_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1_volume_attachment_list(_api::StorageV1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1_volume_attachment_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_storage_v1_c_s_i_node +export create_storage_v1_storage_class +export create_storage_v1_volume_attachment +export delete_storage_v1_c_s_i_node +export delete_storage_v1_collection_c_s_i_node +export delete_storage_v1_collection_storage_class +export delete_storage_v1_collection_volume_attachment +export delete_storage_v1_storage_class +export delete_storage_v1_volume_attachment +export get_storage_v1_a_p_i_resources +export list_storage_v1_c_s_i_node +export list_storage_v1_storage_class +export list_storage_v1_volume_attachment +export patch_storage_v1_c_s_i_node +export patch_storage_v1_storage_class +export patch_storage_v1_volume_attachment +export patch_storage_v1_volume_attachment_status +export read_storage_v1_c_s_i_node +export read_storage_v1_storage_class +export read_storage_v1_volume_attachment +export read_storage_v1_volume_attachment_status +export replace_storage_v1_c_s_i_node +export replace_storage_v1_storage_class +export replace_storage_v1_volume_attachment +export replace_storage_v1_volume_attachment_status +export watch_storage_v1_c_s_i_node +export watch_storage_v1_c_s_i_node_list +export watch_storage_v1_storage_class +export watch_storage_v1_storage_class_list +export watch_storage_v1_volume_attachment +export watch_storage_v1_volume_attachment_list diff --git a/src/ApiImpl/api/apis/api_StorageV1alpha1Api.jl b/src/ApiImpl/api/apis/api_StorageV1alpha1Api.jl new file mode 100644 index 00000000..b59c894e --- /dev/null +++ b/src/ApiImpl/api/apis/api_StorageV1alpha1Api.jl @@ -0,0 +1,438 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct StorageV1alpha1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `StorageV1alpha1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ StorageV1alpha1Api }) = "http://localhost" + +const _returntypes_create_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, body::IoK8sApiStorageV1alpha1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a VolumeAttachment + +Params: +- body::IoK8sApiStorageV1alpha1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1alpha1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, body::IoK8sApiStorageV1alpha1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1alpha1_volume_attachment(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel, body::IoK8sApiStorageV1alpha1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1alpha1_volume_attachment(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1alpha1_collection_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1alpha1_collection_volume_attachment(_api::StorageV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1alpha1_collection_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of VolumeAttachment + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1alpha1_collection_volume_attachment(_api::StorageV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1alpha1_collection_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1alpha1_collection_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1alpha1_collection_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a VolumeAttachment + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1alpha1_volume_attachment(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1alpha1_volume_attachment(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_storage_v1alpha1_a_p_i_resources_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_storage_v1alpha1_a_p_i_resources(_api::StorageV1alpha1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_storage_v1alpha1_a_p_i_resources_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_storage_v1alpha1_a_p_i_resources(_api::StorageV1alpha1Api; _mediaType=nothing) + _ctx = _oacinternal_get_storage_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_storage_v1alpha1_a_p_i_resources(_api::StorageV1alpha1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_storage_v1alpha1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachmentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind VolumeAttachment + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1alpha1VolumeAttachmentList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1alpha1_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1alpha1_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified VolumeAttachment + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1alpha1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1alpha1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1alpha1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified VolumeAttachment + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1alpha1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1alpha1_volume_attachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1alpha1_volume_attachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1alpha1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String, body::IoK8sApiStorageV1alpha1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified VolumeAttachment + +Params: +- name::String (required) +- body::IoK8sApiStorageV1alpha1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1alpha1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String, body::IoK8sApiStorageV1alpha1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1alpha1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1alpha1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1alpha1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1alpha1_volume_attachment_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1alpha1_volume_attachment_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1alpha1_volume_attachment(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1alpha1_volume_attachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1alpha1_volume_attachment(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1alpha1_volume_attachment_list_StorageV1alpha1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1alpha1_volume_attachment_list(_api::StorageV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1alpha1_volume_attachment_list_StorageV1alpha1Api, "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1alpha1_volume_attachment_list(_api::StorageV1alpha1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1alpha1_volume_attachment_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1alpha1_volume_attachment_list(_api::StorageV1alpha1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1alpha1_volume_attachment_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_storage_v1alpha1_volume_attachment +export delete_storage_v1alpha1_collection_volume_attachment +export delete_storage_v1alpha1_volume_attachment +export get_storage_v1alpha1_a_p_i_resources +export list_storage_v1alpha1_volume_attachment +export patch_storage_v1alpha1_volume_attachment +export read_storage_v1alpha1_volume_attachment +export replace_storage_v1alpha1_volume_attachment +export watch_storage_v1alpha1_volume_attachment +export watch_storage_v1alpha1_volume_attachment_list diff --git a/src/ApiImpl/api/apis/api_StorageV1beta1Api.jl b/src/ApiImpl/api/apis/api_StorageV1beta1Api.jl new file mode 100644 index 00000000..48b703b1 --- /dev/null +++ b/src/ApiImpl/api/apis/api_StorageV1beta1Api.jl @@ -0,0 +1,1626 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct StorageV1beta1Api <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `StorageV1beta1Api`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ StorageV1beta1Api }) = "http://localhost" + +const _returntypes_create_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1CSIDriver; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CSIDriver + +Params: +- body::IoK8sApiStorageV1beta1CSIDriver (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1CSIDriver, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1CSIDriver; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_c_s_i_driver(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel, body::IoK8sApiStorageV1beta1CSIDriver; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_c_s_i_driver(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a CSINode + +Params: +- body::IoK8sApiStorageV1beta1CSINode (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1CSINode, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_c_s_i_node(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel, body::IoK8sApiStorageV1beta1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_c_s_i_node(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1beta1_storage_class(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a StorageClass + +Params: +- body::IoK8sApiStorageV1beta1StorageClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1StorageClass, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1beta1_storage_class(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_storage_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel, body::IoK8sApiStorageV1beta1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_storage_class(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_create_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_create_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_create_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""create a VolumeAttachment + +Params: +- body::IoK8sApiStorageV1beta1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function create_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, body::IoK8sApiStorageV1beta1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_volume_attachment(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function create_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel, body::IoK8sApiStorageV1beta1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_create_storage_v1beta1_volume_attachment(_api, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CSIDriver + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_c_s_i_driver(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_c_s_i_driver(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a CSINode + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_c_s_i_node(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_c_s_i_node(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_collection_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_collection_c_s_i_driver(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_collection_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CSIDriver + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_collection_c_s_i_driver(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_c_s_i_driver(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_collection_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_c_s_i_driver(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_collection_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_collection_c_s_i_node(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_collection_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of CSINode + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_collection_c_s_i_node(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_collection_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_collection_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_collection_storage_class(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_collection_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of StorageClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_collection_storage_class(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_collection_storage_class(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_collection_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_collection_volume_attachment(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_collection_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete collection of VolumeAttachment + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- dry_run::String +- field_selector::String +- grace_period_seconds::Int64 +- label_selector::String +- limit::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_collection_volume_attachment(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_collection_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, dry_run=nothing, field_selector=nothing, grace_period_seconds=nothing, label_selector=nothing, limit=nothing, orphan_dependents=nothing, propagation_policy=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_collection_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a StorageClass + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_storage_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_storage_class(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_delete_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("202", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1Status, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_delete_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_delete_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "gracePeriodSeconds", grace_period_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "orphanDependents", orphan_dependents) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "propagationPolicy", propagation_policy) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""delete a VolumeAttachment + +Params: +- name::String (required) +- pretty::String +- dry_run::String +- grace_period_seconds::Int64 +- orphan_dependents::Bool +- propagation_policy::String +- body::IoK8sApimachineryPkgApisMetaV1DeleteOptions + +Return: IoK8sApimachineryPkgApisMetaV1Status, OpenAPI.Clients.ApiResponse +""" +function delete_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_volume_attachment(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function delete_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, dry_run=nothing, grace_period_seconds=nothing, orphan_dependents=nothing, propagation_policy=nothing, body=nothing, _mediaType=nothing) + _ctx = _oacinternal_delete_storage_v1beta1_volume_attachment(_api, name; pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_get_storage_v1beta1_a_p_i_resources_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1APIResourceList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_storage_v1beta1_a_p_i_resources(_api::StorageV1beta1Api; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_storage_v1beta1_a_p_i_resources_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get available resources + +Params: + +Return: IoK8sApimachineryPkgApisMetaV1APIResourceList, OpenAPI.Clients.ApiResponse +""" +function get_storage_v1beta1_a_p_i_resources(_api::StorageV1beta1Api; _mediaType=nothing) + _ctx = _oacinternal_get_storage_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_storage_v1beta1_a_p_i_resources(_api::StorageV1beta1Api, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_storage_v1beta1_a_p_i_resources(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriverList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CSIDriver + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1beta1CSIDriverList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_c_s_i_driver(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_c_s_i_driver(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINodeList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind CSINode + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1beta1CSINodeList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_c_s_i_node(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClassList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1beta1_storage_class(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind StorageClass + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1beta1StorageClassList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1beta1_storage_class(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_storage_class(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_list_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachmentList, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_list_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_list_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""list or watch objects of kind VolumeAttachment + +Params: +- pretty::String +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApiStorageV1beta1VolumeAttachmentList, OpenAPI.Clients.ApiResponse +""" +function list_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function list_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_list_storage_v1beta1_volume_attachment(_api; pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CSIDriver + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1beta1CSIDriver, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_c_s_i_driver(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_c_s_i_driver(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified CSINode + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1beta1CSINode, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified StorageClass + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1beta1StorageClass, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_patch_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_patch_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_patch_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_param(_ctx.query, "force", force) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml", ] : [_mediaType]) + return _ctx +end + +@doc raw"""partially update the specified VolumeAttachment + +Params: +- name::String (required) +- body::Any (required) +- pretty::String +- dry_run::String +- field_manager::String +- force::Bool + +Return: IoK8sApiStorageV1beta1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function patch_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function patch_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::Any; pretty=nothing, dry_run=nothing, field_manager=nothing, force=nothing, _mediaType=nothing) + _ctx = _oacinternal_patch_storage_v1beta1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CSIDriver + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1beta1CSIDriver, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_c_s_i_driver(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_c_s_i_driver(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified CSINode + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1beta1CSINode, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_c_s_i_node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_c_s_i_node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified StorageClass + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1beta1StorageClass, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_storage_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_storage_class(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_read_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_read_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_read_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "exact", exact) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "export", __export__) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""read the specified VolumeAttachment + +Params: +- name::String (required) +- pretty::String +- exact::Bool +- __export__::Bool + +Return: IoK8sApiStorageV1beta1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function read_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_volume_attachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function read_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) + _ctx = _oacinternal_read_storage_v1beta1_volume_attachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSIDriver, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1CSIDriver; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csidrivers/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CSIDriver + +Params: +- name::String (required) +- body::IoK8sApiStorageV1beta1CSIDriver (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1CSIDriver, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1CSIDriver; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_c_s_i_driver(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1beta1CSIDriver; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_c_s_i_driver(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1CSINode, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/csinodes/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified CSINode + +Params: +- name::String (required) +- body::IoK8sApiStorageV1beta1CSINode (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1CSINode, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1beta1CSINode; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_c_s_i_node(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1StorageClass, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified StorageClass + +Params: +- name::String (required) +- body::IoK8sApiStorageV1beta1StorageClass (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1StorageClass, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1beta1StorageClass; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_storage_class(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_replace_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("201", "x"=>".") * "\$") => IoK8sApiStorageV1beta1VolumeAttachment, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_replace_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_replace_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}", ["BearerToken", ], body) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "dryRun", dry_run) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldManager", field_manager) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""replace the specified VolumeAttachment + +Params: +- name::String (required) +- body::IoK8sApiStorageV1beta1VolumeAttachment (required) +- pretty::String +- dry_run::String +- field_manager::String + +Return: IoK8sApiStorageV1beta1VolumeAttachment, OpenAPI.Clients.ApiResponse +""" +function replace_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String, body::IoK8sApiStorageV1beta1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function replace_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel, name::String, body::IoK8sApiStorageV1beta1VolumeAttachment; pretty=nothing, dry_run=nothing, field_manager=nothing, _mediaType=nothing) + _ctx = _oacinternal_replace_storage_v1beta1_volume_attachment(_api, name, body; pretty=pretty, dry_run=dry_run, field_manager=field_manager, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_c_s_i_driver_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_c_s_i_driver_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/csidrivers/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_driver(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_c_s_i_driver(_api::StorageV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_driver(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_c_s_i_driver_list_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_c_s_i_driver_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_c_s_i_driver_list_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/csidrivers", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_c_s_i_driver_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_driver_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_c_s_i_driver_list(_api::StorageV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_driver_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_c_s_i_node_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_c_s_i_node_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/csinodes/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_node(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_c_s_i_node(_api::StorageV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_node(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_c_s_i_node_list_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_c_s_i_node_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_c_s_i_node_list_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/csinodes", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_c_s_i_node_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_node_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_c_s_i_node_list(_api::StorageV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_c_s_i_node_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_storage_class_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_storage_class_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_storage_class(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_storage_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_storage_class(_api::StorageV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_storage_class(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_storage_class_list_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_storage_class_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_storage_class_list_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/storageclasses", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_storage_class_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_storage_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_storage_class_list(_api::StorageV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_storage_class_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_volume_attachment_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_volume_attachment_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.path, "name", name) # type String + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + +Params: +- name::String (required) +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_volume_attachment(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_volume_attachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_volume_attachment(_api, name; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_watch_storage_v1beta1_volume_attachment_list_StorageV1beta1Api = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgApisMetaV1WatchEvent, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_watch_storage_v1beta1_volume_attachment_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_watch_storage_v1beta1_volume_attachment_list_StorageV1beta1Api, "/apis/storage.k8s.io/v1beta1/watch/volumeattachments", ["BearerToken", ]) + OpenAPI.Clients.set_param(_ctx.query, "allowWatchBookmarks", allow_watch_bookmarks) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "continue", __continue__) # type String + OpenAPI.Clients.set_param(_ctx.query, "fieldSelector", field_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "labelSelector", label_selector) # type String + OpenAPI.Clients.set_param(_ctx.query, "limit", limit) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "pretty", pretty) # type String + OpenAPI.Clients.set_param(_ctx.query, "resourceVersion", resource_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "timeoutSeconds", timeout_seconds) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "watch", watch) # type Bool + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead. + +Params: +- allow_watch_bookmarks::Bool +- __continue__::String +- field_selector::String +- label_selector::String +- limit::Int64 +- pretty::String +- resource_version::String +- timeout_seconds::Int64 +- watch::Bool + +Return: IoK8sApimachineryPkgApisMetaV1WatchEvent, OpenAPI.Clients.ApiResponse +""" +function watch_storage_v1beta1_volume_attachment_list(_api::StorageV1beta1Api; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_volume_attachment_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function watch_storage_v1beta1_volume_attachment_list(_api::StorageV1beta1Api, response_stream::Channel; allow_watch_bookmarks=nothing, __continue__=nothing, field_selector=nothing, label_selector=nothing, limit=nothing, pretty=nothing, resource_version=nothing, timeout_seconds=nothing, watch=nothing, _mediaType=nothing) + _ctx = _oacinternal_watch_storage_v1beta1_volume_attachment_list(_api; allow_watch_bookmarks=allow_watch_bookmarks, __continue__=__continue__, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export create_storage_v1beta1_c_s_i_driver +export create_storage_v1beta1_c_s_i_node +export create_storage_v1beta1_storage_class +export create_storage_v1beta1_volume_attachment +export delete_storage_v1beta1_c_s_i_driver +export delete_storage_v1beta1_c_s_i_node +export delete_storage_v1beta1_collection_c_s_i_driver +export delete_storage_v1beta1_collection_c_s_i_node +export delete_storage_v1beta1_collection_storage_class +export delete_storage_v1beta1_collection_volume_attachment +export delete_storage_v1beta1_storage_class +export delete_storage_v1beta1_volume_attachment +export get_storage_v1beta1_a_p_i_resources +export list_storage_v1beta1_c_s_i_driver +export list_storage_v1beta1_c_s_i_node +export list_storage_v1beta1_storage_class +export list_storage_v1beta1_volume_attachment +export patch_storage_v1beta1_c_s_i_driver +export patch_storage_v1beta1_c_s_i_node +export patch_storage_v1beta1_storage_class +export patch_storage_v1beta1_volume_attachment +export read_storage_v1beta1_c_s_i_driver +export read_storage_v1beta1_c_s_i_node +export read_storage_v1beta1_storage_class +export read_storage_v1beta1_volume_attachment +export replace_storage_v1beta1_c_s_i_driver +export replace_storage_v1beta1_c_s_i_node +export replace_storage_v1beta1_storage_class +export replace_storage_v1beta1_volume_attachment +export watch_storage_v1beta1_c_s_i_driver +export watch_storage_v1beta1_c_s_i_driver_list +export watch_storage_v1beta1_c_s_i_node +export watch_storage_v1beta1_c_s_i_node_list +export watch_storage_v1beta1_storage_class +export watch_storage_v1beta1_storage_class_list +export watch_storage_v1beta1_volume_attachment +export watch_storage_v1beta1_volume_attachment_list diff --git a/src/ApiImpl/api/apis/api_VersionApi.jl b/src/ApiImpl/api/apis/api_VersionApi.jl new file mode 100644 index 00000000..8b3c58bc --- /dev/null +++ b/src/ApiImpl/api/apis/api_VersionApi.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct VersionApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `VersionApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ VersionApi }) = "http://localhost" + +const _returntypes_get_code_version_VersionApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => IoK8sApimachineryPkgVersionInfo, + Regex("^" * replace("401", "x"=>".") * "\$") => Nothing, +) + +function _oacinternal_get_code_version(_api::VersionApi; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_get_code_version_VersionApi, "/version/", ["BearerToken", ]) + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""get the code version + +Params: + +Return: IoK8sApimachineryPkgVersionInfo, OpenAPI.Clients.ApiResponse +""" +function get_code_version(_api::VersionApi; _mediaType=nothing) + _ctx = _oacinternal_get_code_version(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function get_code_version(_api::VersionApi, response_stream::Channel; _mediaType=nothing) + _ctx = _oacinternal_get_code_version(_api; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export get_code_version diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl deleted file mode 100644 index 4b3cf66a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl +++ /dev/null @@ -1,89 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MutatingWebhook describes an admission webhook and the resources and operations it applies to. - - IoK8sApiAdmissionregistrationV1MutatingWebhook(; - admissionReviewVersions=nothing, - clientConfig=nothing, - failurePolicy=nothing, - matchPolicy=nothing, - name=nothing, - namespaceSelector=nothing, - objectSelector=nothing, - reinvocationPolicy=nothing, - rules=nothing, - sideEffects=nothing, - timeoutSeconds=nothing, - ) - - - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. - - clientConfig::IoK8sApiAdmissionregistrationV1WebhookClientConfig : ClientConfig defines how to communicate with the hook. Required - - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. - - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Equivalent\" - - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. - - reinvocationPolicy::String : reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\". Never: the webhook will not be called more than once in a single admission evaluation. IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to \"Never\". - - rules::Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. - - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. - - timeoutSeconds::Int32 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds. -""" -mutable struct IoK8sApiAdmissionregistrationV1MutatingWebhook <: SwaggerModel - admissionReviewVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: admissionReviewVersions - clientConfig::Any # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1WebhookClientConfig } # spec name: clientConfig - failurePolicy::Any # spec type: Union{ Nothing, String } # spec name: failurePolicy - matchPolicy::Any # spec type: Union{ Nothing, String } # spec name: matchPolicy - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespaceSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: namespaceSelector - objectSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: objectSelector - reinvocationPolicy::Any # spec type: Union{ Nothing, String } # spec name: reinvocationPolicy - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} } # spec name: rules - sideEffects::Any # spec type: Union{ Nothing, String } # spec name: sideEffects - timeoutSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: timeoutSeconds - - function IoK8sApiAdmissionregistrationV1MutatingWebhook(;admissionReviewVersions=nothing, clientConfig=nothing, failurePolicy=nothing, matchPolicy=nothing, name=nothing, namespaceSelector=nothing, objectSelector=nothing, reinvocationPolicy=nothing, rules=nothing, sideEffects=nothing, timeoutSeconds=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) - setfield!(o, Symbol("admissionReviewVersions"), admissionReviewVersions) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("clientConfig"), clientConfig) - setfield!(o, Symbol("clientConfig"), clientConfig) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("failurePolicy"), failurePolicy) - setfield!(o, Symbol("failurePolicy"), failurePolicy) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("matchPolicy"), matchPolicy) - setfield!(o, Symbol("matchPolicy"), matchPolicy) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("namespaceSelector"), namespaceSelector) - setfield!(o, Symbol("namespaceSelector"), namespaceSelector) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("objectSelector"), objectSelector) - setfield!(o, Symbol("objectSelector"), objectSelector) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("reinvocationPolicy"), reinvocationPolicy) - setfield!(o, Symbol("reinvocationPolicy"), reinvocationPolicy) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("sideEffects"), sideEffects) - setfield!(o, Symbol("sideEffects"), sideEffects) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) - setfield!(o, Symbol("timeoutSeconds"), timeoutSeconds) - o - end -end # type IoK8sApiAdmissionregistrationV1MutatingWebhook - -const _property_map_IoK8sApiAdmissionregistrationV1MutatingWebhook = Dict{Symbol,Symbol}(Symbol("admissionReviewVersions")=>Symbol("admissionReviewVersions"), Symbol("clientConfig")=>Symbol("clientConfig"), Symbol("failurePolicy")=>Symbol("failurePolicy"), Symbol("matchPolicy")=>Symbol("matchPolicy"), Symbol("name")=>Symbol("name"), Symbol("namespaceSelector")=>Symbol("namespaceSelector"), Symbol("objectSelector")=>Symbol("objectSelector"), Symbol("reinvocationPolicy")=>Symbol("reinvocationPolicy"), Symbol("rules")=>Symbol("rules"), Symbol("sideEffects")=>Symbol("sideEffects"), Symbol("timeoutSeconds")=>Symbol("timeoutSeconds")) -const _property_types_IoK8sApiAdmissionregistrationV1MutatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("reinvocationPolicy")=>"String", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhook }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1MutatingWebhook)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1MutatingWebhook[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhook }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1MutatingWebhook[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1MutatingWebhook) - (getproperty(o, Symbol("admissionReviewVersions")) === nothing) && (return false) - (getproperty(o, Symbol("clientConfig")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("sideEffects")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhook }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl deleted file mode 100644 index dc6ed6dd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. - - IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - webhooks=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - webhooks::Vector{IoK8sApiAdmissionregistrationV1MutatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. -""" -mutable struct IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - webhooks::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1MutatingWebhook} } # spec name: webhooks - - function IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration(;apiVersion=nothing, kind=nothing, metadata=nothing, webhooks=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("webhooks"), webhooks) - setfield!(o, Symbol("webhooks"), webhooks) - o - end -end # type IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration - -const _property_map_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("webhooks")=>Symbol("webhooks")) -const _property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1MutatingWebhook}") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl deleted file mode 100644 index e746d46d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. - - IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration} : List of MutatingWebhookConfiguration. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList - -const _property_map_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl deleted file mode 100644 index cc7bd42f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. - - IoK8sApiAdmissionregistrationV1RuleWithOperations(; - apiGroups=nothing, - apiVersions=nothing, - operations=nothing, - resources=nothing, - scope=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. - - apiVersions::Vector{String} : APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. - - operations::Vector{String} : Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. - - resources::Vector{String} : Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. - - scope::String : scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\". -""" -mutable struct IoK8sApiAdmissionregistrationV1RuleWithOperations <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - apiVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiVersions - operations::Any # spec type: Union{ Nothing, Vector{String} } # spec name: operations - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - scope::Any # spec type: Union{ Nothing, String } # spec name: scope - - function IoK8sApiAdmissionregistrationV1RuleWithOperations(;apiGroups=nothing, apiVersions=nothing, operations=nothing, resources=nothing, scope=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("apiVersions"), apiVersions) - setfield!(o, Symbol("apiVersions"), apiVersions) - validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("operations"), operations) - setfield!(o, Symbol("operations"), operations) - validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("scope"), scope) - setfield!(o, Symbol("scope"), scope) - o - end -end # type IoK8sApiAdmissionregistrationV1RuleWithOperations - -const _property_map_IoK8sApiAdmissionregistrationV1RuleWithOperations = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("apiVersions")=>Symbol("apiVersions"), Symbol("operations")=>Symbol("operations"), Symbol("resources")=>Symbol("resources"), Symbol("scope")=>Symbol("scope")) -const _property_types_IoK8sApiAdmissionregistrationV1RuleWithOperations = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("apiVersions")=>"Vector{String}", Symbol("operations")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("scope")=>"String") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1RuleWithOperations }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1RuleWithOperations)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1RuleWithOperations }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1RuleWithOperations[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1RuleWithOperations }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1RuleWithOperations[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1RuleWithOperations) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1RuleWithOperations }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl deleted file mode 100644 index 0e7c35b6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sApiAdmissionregistrationV1ServiceReference(; - name=nothing, - namespace=nothing, - path=nothing, - port=nothing, - ) - - - name::String : `name` is the name of the service. Required - - namespace::String : `namespace` is the namespace of the service. Required - - path::String : `path` is an optional URL path which will be sent in any request to this service. - - port::Int32 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). -""" -mutable struct IoK8sApiAdmissionregistrationV1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - path::Any # spec type: Union{ Nothing, String } # spec name: path - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sApiAdmissionregistrationV1ServiceReference(;name=nothing, namespace=nothing, path=nothing, port=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sApiAdmissionregistrationV1ServiceReference - -const _property_map_IoK8sApiAdmissionregistrationV1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("path")=>Symbol("path"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sApiAdmissionregistrationV1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1ServiceReference }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1ServiceReference)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1ServiceReference }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1ServiceReference[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1ServiceReference) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl deleted file mode 100644 index ce45fb28..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl +++ /dev/null @@ -1,84 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ValidatingWebhook describes an admission webhook and the resources and operations it applies to. - - IoK8sApiAdmissionregistrationV1ValidatingWebhook(; - admissionReviewVersions=nothing, - clientConfig=nothing, - failurePolicy=nothing, - matchPolicy=nothing, - name=nothing, - namespaceSelector=nothing, - objectSelector=nothing, - rules=nothing, - sideEffects=nothing, - timeoutSeconds=nothing, - ) - - - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. - - clientConfig::IoK8sApiAdmissionregistrationV1WebhookClientConfig : ClientConfig defines how to communicate with the hook. Required - - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. - - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Equivalent\" - - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. - - rules::Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. - - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. - - timeoutSeconds::Int32 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds. -""" -mutable struct IoK8sApiAdmissionregistrationV1ValidatingWebhook <: SwaggerModel - admissionReviewVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: admissionReviewVersions - clientConfig::Any # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1WebhookClientConfig } # spec name: clientConfig - failurePolicy::Any # spec type: Union{ Nothing, String } # spec name: failurePolicy - matchPolicy::Any # spec type: Union{ Nothing, String } # spec name: matchPolicy - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespaceSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: namespaceSelector - objectSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: objectSelector - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} } # spec name: rules - sideEffects::Any # spec type: Union{ Nothing, String } # spec name: sideEffects - timeoutSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: timeoutSeconds - - function IoK8sApiAdmissionregistrationV1ValidatingWebhook(;admissionReviewVersions=nothing, clientConfig=nothing, failurePolicy=nothing, matchPolicy=nothing, name=nothing, namespaceSelector=nothing, objectSelector=nothing, rules=nothing, sideEffects=nothing, timeoutSeconds=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) - setfield!(o, Symbol("admissionReviewVersions"), admissionReviewVersions) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("clientConfig"), clientConfig) - setfield!(o, Symbol("clientConfig"), clientConfig) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("failurePolicy"), failurePolicy) - setfield!(o, Symbol("failurePolicy"), failurePolicy) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("matchPolicy"), matchPolicy) - setfield!(o, Symbol("matchPolicy"), matchPolicy) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("namespaceSelector"), namespaceSelector) - setfield!(o, Symbol("namespaceSelector"), namespaceSelector) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("objectSelector"), objectSelector) - setfield!(o, Symbol("objectSelector"), objectSelector) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("sideEffects"), sideEffects) - setfield!(o, Symbol("sideEffects"), sideEffects) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) - setfield!(o, Symbol("timeoutSeconds"), timeoutSeconds) - o - end -end # type IoK8sApiAdmissionregistrationV1ValidatingWebhook - -const _property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhook = Dict{Symbol,Symbol}(Symbol("admissionReviewVersions")=>Symbol("admissionReviewVersions"), Symbol("clientConfig")=>Symbol("clientConfig"), Symbol("failurePolicy")=>Symbol("failurePolicy"), Symbol("matchPolicy")=>Symbol("matchPolicy"), Symbol("name")=>Symbol("name"), Symbol("namespaceSelector")=>Symbol("namespaceSelector"), Symbol("objectSelector")=>Symbol("objectSelector"), Symbol("rules")=>Symbol("rules"), Symbol("sideEffects")=>Symbol("sideEffects"), Symbol("timeoutSeconds")=>Symbol("timeoutSeconds")) -const _property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhook }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhook)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhook[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhook }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhook[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1ValidatingWebhook) - (getproperty(o, Symbol("admissionReviewVersions")) === nothing) && (return false) - (getproperty(o, Symbol("clientConfig")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("sideEffects")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhook }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl deleted file mode 100644 index 23587be7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. - - IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - webhooks=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - webhooks::Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. -""" -mutable struct IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - webhooks::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhook} } # spec name: webhooks - - function IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration(;apiVersion=nothing, kind=nothing, metadata=nothing, webhooks=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("webhooks"), webhooks) - setfield!(o, Symbol("webhooks"), webhooks) - o - end -end # type IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration - -const _property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("webhooks")=>Symbol("webhooks")) -const _property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhook}") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl deleted file mode 100644 index e90fcf91..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. - - IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration} : List of ValidatingWebhookConfiguration. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList - -const _property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl deleted file mode 100644 index 5903db4a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookClientConfig contains the information to make a TLS connection with the webhook - - IoK8sApiAdmissionregistrationV1WebhookClientConfig(; - caBundle=nothing, - service=nothing, - url=nothing, - ) - - - caBundle::Vector{UInt8} : `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - - service::IoK8sApiAdmissionregistrationV1ServiceReference : `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. - - url::String : `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. -""" -mutable struct IoK8sApiAdmissionregistrationV1WebhookClientConfig <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - service::Any # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1ServiceReference } # spec name: service - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiAdmissionregistrationV1WebhookClientConfig(;caBundle=nothing, service=nothing, url=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1WebhookClientConfig, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sApiAdmissionregistrationV1WebhookClientConfig, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sApiAdmissionregistrationV1WebhookClientConfig, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiAdmissionregistrationV1WebhookClientConfig - -const _property_map_IoK8sApiAdmissionregistrationV1WebhookClientConfig = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("service")=>Symbol("service"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiAdmissionregistrationV1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiAdmissionregistrationV1ServiceReference", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1WebhookClientConfig }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1WebhookClientConfig)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1WebhookClientConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1WebhookClientConfig }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1WebhookClientConfig[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1WebhookClientConfig) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1WebhookClientConfig }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl deleted file mode 100644 index 505ca611..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl +++ /dev/null @@ -1,87 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MutatingWebhook describes an admission webhook and the resources and operations it applies to. - - IoK8sApiAdmissionregistrationV1beta1MutatingWebhook(; - admissionReviewVersions=nothing, - clientConfig=nothing, - failurePolicy=nothing, - matchPolicy=nothing, - name=nothing, - namespaceSelector=nothing, - objectSelector=nothing, - reinvocationPolicy=nothing, - rules=nothing, - sideEffects=nothing, - timeoutSeconds=nothing, - ) - - - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`. - - clientConfig::IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig : ClientConfig defines how to communicate with the hook. Required - - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. - - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Exact\" - - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. - - reinvocationPolicy::String : reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\". Never: the webhook will not be called more than once in a single admission evaluation. IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to \"Never\". - - rules::Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. - - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown. - - timeoutSeconds::Int32 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds. -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1MutatingWebhook <: SwaggerModel - admissionReviewVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: admissionReviewVersions - clientConfig::Any # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig } # spec name: clientConfig - failurePolicy::Any # spec type: Union{ Nothing, String } # spec name: failurePolicy - matchPolicy::Any # spec type: Union{ Nothing, String } # spec name: matchPolicy - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespaceSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: namespaceSelector - objectSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: objectSelector - reinvocationPolicy::Any # spec type: Union{ Nothing, String } # spec name: reinvocationPolicy - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} } # spec name: rules - sideEffects::Any # spec type: Union{ Nothing, String } # spec name: sideEffects - timeoutSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: timeoutSeconds - - function IoK8sApiAdmissionregistrationV1beta1MutatingWebhook(;admissionReviewVersions=nothing, clientConfig=nothing, failurePolicy=nothing, matchPolicy=nothing, name=nothing, namespaceSelector=nothing, objectSelector=nothing, reinvocationPolicy=nothing, rules=nothing, sideEffects=nothing, timeoutSeconds=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) - setfield!(o, Symbol("admissionReviewVersions"), admissionReviewVersions) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("clientConfig"), clientConfig) - setfield!(o, Symbol("clientConfig"), clientConfig) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("failurePolicy"), failurePolicy) - setfield!(o, Symbol("failurePolicy"), failurePolicy) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("matchPolicy"), matchPolicy) - setfield!(o, Symbol("matchPolicy"), matchPolicy) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("namespaceSelector"), namespaceSelector) - setfield!(o, Symbol("namespaceSelector"), namespaceSelector) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("objectSelector"), objectSelector) - setfield!(o, Symbol("objectSelector"), objectSelector) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("reinvocationPolicy"), reinvocationPolicy) - setfield!(o, Symbol("reinvocationPolicy"), reinvocationPolicy) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("sideEffects"), sideEffects) - setfield!(o, Symbol("sideEffects"), sideEffects) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) - setfield!(o, Symbol("timeoutSeconds"), timeoutSeconds) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1MutatingWebhook - -const _property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook = Dict{Symbol,Symbol}(Symbol("admissionReviewVersions")=>Symbol("admissionReviewVersions"), Symbol("clientConfig")=>Symbol("clientConfig"), Symbol("failurePolicy")=>Symbol("failurePolicy"), Symbol("matchPolicy")=>Symbol("matchPolicy"), Symbol("name")=>Symbol("name"), Symbol("namespaceSelector")=>Symbol("namespaceSelector"), Symbol("objectSelector")=>Symbol("objectSelector"), Symbol("reinvocationPolicy")=>Symbol("reinvocationPolicy"), Symbol("rules")=>Symbol("rules"), Symbol("sideEffects")=>Symbol("sideEffects"), Symbol("timeoutSeconds")=>Symbol("timeoutSeconds")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("reinvocationPolicy")=>"String", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhook }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhook }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1MutatingWebhook) - (getproperty(o, Symbol("clientConfig")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhook }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl deleted file mode 100644 index c5a2d7b0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead. - - IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - webhooks=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - webhooks::Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - webhooks::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhook} } # spec name: webhooks - - function IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration(;apiVersion=nothing, kind=nothing, metadata=nothing, webhooks=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("webhooks"), webhooks) - setfield!(o, Symbol("webhooks"), webhooks) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration - -const _property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("webhooks")=>Symbol("webhooks")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhook}") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl deleted file mode 100644 index 5f0cf2a5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. - - IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration} : List of MutatingWebhookConfiguration. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList - -const _property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl deleted file mode 100644 index e97a45b6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. - - IoK8sApiAdmissionregistrationV1beta1RuleWithOperations(; - apiGroups=nothing, - apiVersions=nothing, - operations=nothing, - resources=nothing, - scope=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. - - apiVersions::Vector{String} : APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. - - operations::Vector{String} : Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. - - resources::Vector{String} : Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. - - scope::String : scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\". -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1RuleWithOperations <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - apiVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiVersions - operations::Any # spec type: Union{ Nothing, Vector{String} } # spec name: operations - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - scope::Any # spec type: Union{ Nothing, String } # spec name: scope - - function IoK8sApiAdmissionregistrationV1beta1RuleWithOperations(;apiGroups=nothing, apiVersions=nothing, operations=nothing, resources=nothing, scope=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("apiVersions"), apiVersions) - setfield!(o, Symbol("apiVersions"), apiVersions) - validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("operations"), operations) - setfield!(o, Symbol("operations"), operations) - validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("scope"), scope) - setfield!(o, Symbol("scope"), scope) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1RuleWithOperations - -const _property_map_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("apiVersions")=>Symbol("apiVersions"), Symbol("operations")=>Symbol("operations"), Symbol("resources")=>Symbol("resources"), Symbol("scope")=>Symbol("scope")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("apiVersions")=>"Vector{String}", Symbol("operations")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("scope")=>"String") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1RuleWithOperations }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1RuleWithOperations }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1RuleWithOperations }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1RuleWithOperations) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1RuleWithOperations }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl deleted file mode 100644 index 2d7c68e0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sApiAdmissionregistrationV1beta1ServiceReference(; - name=nothing, - namespace=nothing, - path=nothing, - port=nothing, - ) - - - name::String : `name` is the name of the service. Required - - namespace::String : `namespace` is the namespace of the service. Required - - path::String : `path` is an optional URL path which will be sent in any request to this service. - - port::Int32 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - path::Any # spec type: Union{ Nothing, String } # spec name: path - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sApiAdmissionregistrationV1beta1ServiceReference(;name=nothing, namespace=nothing, path=nothing, port=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1ServiceReference - -const _property_map_IoK8sApiAdmissionregistrationV1beta1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("path")=>Symbol("path"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1ServiceReference }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1ServiceReference)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1ServiceReference }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1ServiceReference[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1ServiceReference) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl deleted file mode 100644 index fb137915..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl +++ /dev/null @@ -1,82 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ValidatingWebhook describes an admission webhook and the resources and operations it applies to. - - IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook(; - admissionReviewVersions=nothing, - clientConfig=nothing, - failurePolicy=nothing, - matchPolicy=nothing, - name=nothing, - namespaceSelector=nothing, - objectSelector=nothing, - rules=nothing, - sideEffects=nothing, - timeoutSeconds=nothing, - ) - - - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`. - - clientConfig::IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig : ClientConfig defines how to communicate with the hook. Required - - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. - - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Exact\" - - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. - - rules::Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. - - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown. - - timeoutSeconds::Int32 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds. -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook <: SwaggerModel - admissionReviewVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: admissionReviewVersions - clientConfig::Any # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig } # spec name: clientConfig - failurePolicy::Any # spec type: Union{ Nothing, String } # spec name: failurePolicy - matchPolicy::Any # spec type: Union{ Nothing, String } # spec name: matchPolicy - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespaceSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: namespaceSelector - objectSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: objectSelector - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} } # spec name: rules - sideEffects::Any # spec type: Union{ Nothing, String } # spec name: sideEffects - timeoutSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: timeoutSeconds - - function IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook(;admissionReviewVersions=nothing, clientConfig=nothing, failurePolicy=nothing, matchPolicy=nothing, name=nothing, namespaceSelector=nothing, objectSelector=nothing, rules=nothing, sideEffects=nothing, timeoutSeconds=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) - setfield!(o, Symbol("admissionReviewVersions"), admissionReviewVersions) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("clientConfig"), clientConfig) - setfield!(o, Symbol("clientConfig"), clientConfig) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("failurePolicy"), failurePolicy) - setfield!(o, Symbol("failurePolicy"), failurePolicy) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("matchPolicy"), matchPolicy) - setfield!(o, Symbol("matchPolicy"), matchPolicy) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("namespaceSelector"), namespaceSelector) - setfield!(o, Symbol("namespaceSelector"), namespaceSelector) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("objectSelector"), objectSelector) - setfield!(o, Symbol("objectSelector"), objectSelector) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("sideEffects"), sideEffects) - setfield!(o, Symbol("sideEffects"), sideEffects) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) - setfield!(o, Symbol("timeoutSeconds"), timeoutSeconds) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook - -const _property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook = Dict{Symbol,Symbol}(Symbol("admissionReviewVersions")=>Symbol("admissionReviewVersions"), Symbol("clientConfig")=>Symbol("clientConfig"), Symbol("failurePolicy")=>Symbol("failurePolicy"), Symbol("matchPolicy")=>Symbol("matchPolicy"), Symbol("name")=>Symbol("name"), Symbol("namespaceSelector")=>Symbol("namespaceSelector"), Symbol("objectSelector")=>Symbol("objectSelector"), Symbol("rules")=>Symbol("rules"), Symbol("sideEffects")=>Symbol("sideEffects"), Symbol("timeoutSeconds")=>Symbol("timeoutSeconds")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook) - (getproperty(o, Symbol("clientConfig")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl deleted file mode 100644 index 2e7b5aea..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead. - - IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - webhooks=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - webhooks::Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - webhooks::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook} } # spec name: webhooks - - function IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration(;apiVersion=nothing, kind=nothing, metadata=nothing, webhooks=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("webhooks"), webhooks) - setfield!(o, Symbol("webhooks"), webhooks) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration - -const _property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("webhooks")=>Symbol("webhooks")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook}") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl deleted file mode 100644 index 1291fbb1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. - - IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration} : List of ValidatingWebhookConfiguration. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList - -const _property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl b/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl deleted file mode 100644 index ed7227c1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookClientConfig contains the information to make a TLS connection with the webhook - - IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig(; - caBundle=nothing, - service=nothing, - url=nothing, - ) - - - caBundle::Vector{UInt8} : `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - - service::IoK8sApiAdmissionregistrationV1beta1ServiceReference : `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. - - url::String : `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. -""" -mutable struct IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - service::Any # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1beta1ServiceReference } # spec name: service - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig(;caBundle=nothing, service=nothing, url=nothing) - o = new() - validate_property(IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig - -const _property_map_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("service")=>Symbol("service"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiAdmissionregistrationV1beta1ServiceReference", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig }) = collect(keys(_property_map_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig)) -Swagger.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig }, property_name::Symbol) = _property_map_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig[property_name] - -function check_required(o::IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig) - true -end - -function validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ControllerRevision.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ControllerRevision.jl deleted file mode 100644 index 1363f35c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ControllerRevision.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. - - IoK8sApiAppsV1ControllerRevision(; - apiVersion=nothing, - data=nothing, - kind=nothing, - metadata=nothing, - revision=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - data::IoK8sApimachineryPkgRuntimeRawExtension : Data is the serialized representation of the state. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - revision::Int64 : Revision indicates the revision of the state represented by Data. -""" -mutable struct IoK8sApiAppsV1ControllerRevision <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - data::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgRuntimeRawExtension } # spec name: data - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - revision::Any # spec type: Union{ Nothing, Int64 } # spec name: revision - - function IoK8sApiAppsV1ControllerRevision(;apiVersion=nothing, data=nothing, kind=nothing, metadata=nothing, revision=nothing) - o = new() - validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("data"), data) - setfield!(o, Symbol("data"), data) - validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("revision"), revision) - setfield!(o, Symbol("revision"), revision) - o - end -end # type IoK8sApiAppsV1ControllerRevision - -const _property_map_IoK8sApiAppsV1ControllerRevision = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("data")=>Symbol("data"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("revision")=>Symbol("revision")) -const _property_types_IoK8sApiAppsV1ControllerRevision = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"IoK8sApimachineryPkgRuntimeRawExtension", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("revision")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAppsV1ControllerRevision }) = collect(keys(_property_map_IoK8sApiAppsV1ControllerRevision)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ControllerRevision }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ControllerRevision[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ControllerRevision }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ControllerRevision[property_name] - -function check_required(o::IoK8sApiAppsV1ControllerRevision) - (getproperty(o, Symbol("revision")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ControllerRevision }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ControllerRevisionList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ControllerRevisionList.jl deleted file mode 100644 index 952a7b56..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ControllerRevisionList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ControllerRevisionList is a resource containing a list of ControllerRevision objects. - - IoK8sApiAppsV1ControllerRevisionList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1ControllerRevision} : Items is the list of ControllerRevisions - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiAppsV1ControllerRevisionList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1ControllerRevision} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1ControllerRevisionList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1ControllerRevisionList - -const _property_map_IoK8sApiAppsV1ControllerRevisionList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1ControllerRevisionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1ControllerRevision}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1ControllerRevisionList }) = collect(keys(_property_map_IoK8sApiAppsV1ControllerRevisionList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ControllerRevisionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ControllerRevisionList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ControllerRevisionList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ControllerRevisionList[property_name] - -function check_required(o::IoK8sApiAppsV1ControllerRevisionList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ControllerRevisionList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSet.jl deleted file mode 100644 index 910f5d7e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSet represents the configuration of a daemon set. - - IoK8sApiAppsV1DaemonSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAppsV1DaemonSetSpec : The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiAppsV1DaemonSetStatus : The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiAppsV1DaemonSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1DaemonSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1DaemonSetStatus } # spec name: status - - function IoK8sApiAppsV1DaemonSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1DaemonSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1DaemonSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1DaemonSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1DaemonSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1DaemonSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1DaemonSet - -const _property_map_IoK8sApiAppsV1DaemonSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1DaemonSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1DaemonSetSpec", Symbol("status")=>"IoK8sApiAppsV1DaemonSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1DaemonSet }) = collect(keys(_property_map_IoK8sApiAppsV1DaemonSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DaemonSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DaemonSet[property_name] - -function check_required(o::IoK8sApiAppsV1DaemonSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DaemonSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetCondition.jl deleted file mode 100644 index aca87c51..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetCondition describes the state of a DaemonSet at a certain point. - - IoK8sApiAppsV1DaemonSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of DaemonSet condition. -""" -mutable struct IoK8sApiAppsV1DaemonSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1DaemonSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1DaemonSetCondition - -const _property_map_IoK8sApiAppsV1DaemonSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1DaemonSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1DaemonSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1DaemonSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DaemonSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DaemonSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DaemonSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1DaemonSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DaemonSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetList.jl deleted file mode 100644 index 2e3ccaba..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetList is a collection of daemon sets. - - IoK8sApiAppsV1DaemonSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1DaemonSet} : A list of daemon sets. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiAppsV1DaemonSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1DaemonSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1DaemonSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1DaemonSetList - -const _property_map_IoK8sApiAppsV1DaemonSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1DaemonSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1DaemonSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1DaemonSetList }) = collect(keys(_property_map_IoK8sApiAppsV1DaemonSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DaemonSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DaemonSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DaemonSetList[property_name] - -function check_required(o::IoK8sApiAppsV1DaemonSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DaemonSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetSpec.jl deleted file mode 100644 index 2fee81c2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetSpec.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetSpec is the specification of a daemon set. - - IoK8sApiAppsV1DaemonSetSpec(; - minReadySeconds=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - template=nothing, - updateStrategy=nothing, - ) - - - minReadySeconds::Int32 : The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). - - revisionHistoryLimit::Int32 : The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template - - updateStrategy::IoK8sApiAppsV1DaemonSetUpdateStrategy : An update strategy to replace existing DaemonSet pods with new pods. -""" -mutable struct IoK8sApiAppsV1DaemonSetSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - updateStrategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1DaemonSetUpdateStrategy } # spec name: updateStrategy - - function IoK8sApiAppsV1DaemonSetSpec(;minReadySeconds=nothing, revisionHistoryLimit=nothing, selector=nothing, template=nothing, updateStrategy=nothing) - o = new() - validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("updateStrategy"), updateStrategy) - setfield!(o, Symbol("updateStrategy"), updateStrategy) - o - end -end # type IoK8sApiAppsV1DaemonSetSpec - -const _property_map_IoK8sApiAppsV1DaemonSetSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template"), Symbol("updateStrategy")=>Symbol("updateStrategy")) -const _property_types_IoK8sApiAppsV1DaemonSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1DaemonSetUpdateStrategy") -Base.propertynames(::Type{ IoK8sApiAppsV1DaemonSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1DaemonSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DaemonSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DaemonSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DaemonSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1DaemonSetSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DaemonSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetStatus.jl deleted file mode 100644 index f75bcf84..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetStatus.jl +++ /dev/null @@ -1,84 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetStatus represents the current status of a daemon set. - - IoK8sApiAppsV1DaemonSetStatus(; - collisionCount=nothing, - conditions=nothing, - currentNumberScheduled=nothing, - desiredNumberScheduled=nothing, - numberAvailable=nothing, - numberMisscheduled=nothing, - numberReady=nothing, - numberUnavailable=nothing, - observedGeneration=nothing, - updatedNumberScheduled=nothing, - ) - - - collisionCount::Int32 : Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. - - conditions::Vector{IoK8sApiAppsV1DaemonSetCondition} : Represents the latest available observations of a DaemonSet's current state. - - currentNumberScheduled::Int32 : The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - desiredNumberScheduled::Int32 : The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - numberAvailable::Int32 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) - - numberMisscheduled::Int32 : The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - numberReady::Int32 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. - - numberUnavailable::Int32 : The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) - - observedGeneration::Int64 : The most recent generation observed by the daemon set controller. - - updatedNumberScheduled::Int32 : The total number of nodes that are running updated daemon pod -""" -mutable struct IoK8sApiAppsV1DaemonSetStatus <: SwaggerModel - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1DaemonSetCondition} } # spec name: conditions - currentNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: currentNumberScheduled - desiredNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredNumberScheduled - numberAvailable::Any # spec type: Union{ Nothing, Int32 } # spec name: numberAvailable - numberMisscheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: numberMisscheduled - numberReady::Any # spec type: Union{ Nothing, Int32 } # spec name: numberReady - numberUnavailable::Any # spec type: Union{ Nothing, Int32 } # spec name: numberUnavailable - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - updatedNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedNumberScheduled - - function IoK8sApiAppsV1DaemonSetStatus(;collisionCount=nothing, conditions=nothing, currentNumberScheduled=nothing, desiredNumberScheduled=nothing, numberAvailable=nothing, numberMisscheduled=nothing, numberReady=nothing, numberUnavailable=nothing, observedGeneration=nothing, updatedNumberScheduled=nothing) - o = new() - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("currentNumberScheduled"), currentNumberScheduled) - setfield!(o, Symbol("currentNumberScheduled"), currentNumberScheduled) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("desiredNumberScheduled"), desiredNumberScheduled) - setfield!(o, Symbol("desiredNumberScheduled"), desiredNumberScheduled) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberAvailable"), numberAvailable) - setfield!(o, Symbol("numberAvailable"), numberAvailable) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberMisscheduled"), numberMisscheduled) - setfield!(o, Symbol("numberMisscheduled"), numberMisscheduled) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberReady"), numberReady) - setfield!(o, Symbol("numberReady"), numberReady) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberUnavailable"), numberUnavailable) - setfield!(o, Symbol("numberUnavailable"), numberUnavailable) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("updatedNumberScheduled"), updatedNumberScheduled) - setfield!(o, Symbol("updatedNumberScheduled"), updatedNumberScheduled) - o - end -end # type IoK8sApiAppsV1DaemonSetStatus - -const _property_map_IoK8sApiAppsV1DaemonSetStatus = Dict{Symbol,Symbol}(Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("currentNumberScheduled")=>Symbol("currentNumberScheduled"), Symbol("desiredNumberScheduled")=>Symbol("desiredNumberScheduled"), Symbol("numberAvailable")=>Symbol("numberAvailable"), Symbol("numberMisscheduled")=>Symbol("numberMisscheduled"), Symbol("numberReady")=>Symbol("numberReady"), Symbol("numberUnavailable")=>Symbol("numberUnavailable"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("updatedNumberScheduled")=>Symbol("updatedNumberScheduled")) -const _property_types_IoK8sApiAppsV1DaemonSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1DaemonSetCondition}", Symbol("currentNumberScheduled")=>"Int32", Symbol("desiredNumberScheduled")=>"Int32", Symbol("numberAvailable")=>"Int32", Symbol("numberMisscheduled")=>"Int32", Symbol("numberReady")=>"Int32", Symbol("numberUnavailable")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("updatedNumberScheduled")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1DaemonSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1DaemonSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DaemonSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DaemonSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DaemonSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1DaemonSetStatus) - (getproperty(o, Symbol("currentNumberScheduled")) === nothing) && (return false) - (getproperty(o, Symbol("desiredNumberScheduled")) === nothing) && (return false) - (getproperty(o, Symbol("numberMisscheduled")) === nothing) && (return false) - (getproperty(o, Symbol("numberReady")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DaemonSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl deleted file mode 100644 index 4b4673c1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. - - IoK8sApiAppsV1DaemonSetUpdateStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1RollingUpdateDaemonSet : Rolling update config params. Present only if type = \"RollingUpdate\". - - type::String : Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1DaemonSetUpdateStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1RollingUpdateDaemonSet } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1DaemonSetUpdateStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1DaemonSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1DaemonSetUpdateStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1DaemonSetUpdateStrategy - -const _property_map_IoK8sApiAppsV1DaemonSetUpdateStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1DaemonSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1RollingUpdateDaemonSet", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1DaemonSetUpdateStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1DaemonSetUpdateStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DaemonSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetUpdateStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DaemonSetUpdateStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DaemonSetUpdateStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1DaemonSetUpdateStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DaemonSetUpdateStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1Deployment.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1Deployment.jl deleted file mode 100644 index 4c896838..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1Deployment.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Deployment enables declarative updates for Pods and ReplicaSets. - - IoK8sApiAppsV1Deployment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. - - spec::IoK8sApiAppsV1DeploymentSpec : Specification of the desired behavior of the Deployment. - - status::IoK8sApiAppsV1DeploymentStatus : Most recently observed status of the Deployment. -""" -mutable struct IoK8sApiAppsV1Deployment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1DeploymentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1DeploymentStatus } # spec name: status - - function IoK8sApiAppsV1Deployment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1Deployment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1Deployment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1Deployment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1Deployment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1Deployment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1Deployment - -const _property_map_IoK8sApiAppsV1Deployment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1DeploymentSpec", Symbol("status")=>"IoK8sApiAppsV1DeploymentStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1Deployment }) = collect(keys(_property_map_IoK8sApiAppsV1Deployment)) -Swagger.property_type(::Type{ IoK8sApiAppsV1Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1Deployment[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1Deployment }, property_name::Symbol) = _property_map_IoK8sApiAppsV1Deployment[property_name] - -function check_required(o::IoK8sApiAppsV1Deployment) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1Deployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentCondition.jl deleted file mode 100644 index 4d2e146e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentCondition describes the state of a deployment at a certain point. - - IoK8sApiAppsV1DeploymentCondition(; - lastTransitionTime=nothing, - lastUpdateTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - lastUpdateTime::IoK8sApimachineryPkgApisMetaV1Time : The last time this condition was updated. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of deployment condition. -""" -mutable struct IoK8sApiAppsV1DeploymentCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - lastUpdateTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastUpdateTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1DeploymentCondition(;lastTransitionTime=nothing, lastUpdateTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) - setfield!(o, Symbol("lastUpdateTime"), lastUpdateTime) - validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1DeploymentCondition - -const _property_map_IoK8sApiAppsV1DeploymentCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("lastUpdateTime")=>Symbol("lastUpdateTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastUpdateTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1DeploymentCondition }) = collect(keys(_property_map_IoK8sApiAppsV1DeploymentCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DeploymentCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DeploymentCondition[property_name] - -function check_required(o::IoK8sApiAppsV1DeploymentCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DeploymentCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentList.jl deleted file mode 100644 index 9a34881b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentList is a list of Deployments. - - IoK8sApiAppsV1DeploymentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1Deployment} : Items is the list of Deployments. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. -""" -mutable struct IoK8sApiAppsV1DeploymentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1Deployment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1DeploymentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1DeploymentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1DeploymentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1DeploymentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1DeploymentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1DeploymentList - -const _property_map_IoK8sApiAppsV1DeploymentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1DeploymentList }) = collect(keys(_property_map_IoK8sApiAppsV1DeploymentList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DeploymentList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DeploymentList[property_name] - -function check_required(o::IoK8sApiAppsV1DeploymentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DeploymentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentSpec.jl deleted file mode 100644 index 79bff1f7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentSpec.jl +++ /dev/null @@ -1,72 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentSpec is the specification of the desired behavior of the Deployment. - - IoK8sApiAppsV1DeploymentSpec(; - minReadySeconds=nothing, - paused=nothing, - progressDeadlineSeconds=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - strategy=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - paused::Bool : Indicates that the deployment is paused. - - progressDeadlineSeconds::Int32 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. - - replicas::Int32 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. - - revisionHistoryLimit::Int32 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. - - strategy::IoK8sApiAppsV1DeploymentStrategy : The deployment strategy to use to replace existing pods with new ones. - - template::IoK8sApiCoreV1PodTemplateSpec : Template describes the pods that will be created. -""" -mutable struct IoK8sApiAppsV1DeploymentSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - paused::Any # spec type: Union{ Nothing, Bool } # spec name: paused - progressDeadlineSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: progressDeadlineSeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - strategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1DeploymentStrategy } # spec name: strategy - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiAppsV1DeploymentSpec(;minReadySeconds=nothing, paused=nothing, progressDeadlineSeconds=nothing, replicas=nothing, revisionHistoryLimit=nothing, selector=nothing, strategy=nothing, template=nothing) - o = new() - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("paused"), paused) - setfield!(o, Symbol("paused"), paused) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - setfield!(o, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("strategy"), strategy) - setfield!(o, Symbol("strategy"), strategy) - validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiAppsV1DeploymentSpec - -const _property_map_IoK8sApiAppsV1DeploymentSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("paused")=>Symbol("paused"), Symbol("progressDeadlineSeconds")=>Symbol("progressDeadlineSeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("strategy")=>Symbol("strategy"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiAppsV1DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiAppsV1DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiAppsV1DeploymentSpec }) = collect(keys(_property_map_IoK8sApiAppsV1DeploymentSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DeploymentSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DeploymentSpec[property_name] - -function check_required(o::IoK8sApiAppsV1DeploymentSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DeploymentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentStatus.jl deleted file mode 100644 index 145e7125..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentStatus.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStatus is the most recently observed status of the Deployment. - - IoK8sApiAppsV1DeploymentStatus(; - availableReplicas=nothing, - collisionCount=nothing, - conditions=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - unavailableReplicas=nothing, - updatedReplicas=nothing, - ) - - - availableReplicas::Int32 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. - - collisionCount::Int32 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. - - conditions::Vector{IoK8sApiAppsV1DeploymentCondition} : Represents the latest available observations of a deployment's current state. - - observedGeneration::Int64 : The generation observed by the deployment controller. - - readyReplicas::Int32 : Total number of ready pods targeted by this deployment. - - replicas::Int32 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). - - unavailableReplicas::Int32 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. - - updatedReplicas::Int32 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. -""" -mutable struct IoK8sApiAppsV1DeploymentStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1DeploymentCondition} } # spec name: conditions - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - unavailableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: unavailableReplicas - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiAppsV1DeploymentStatus(;availableReplicas=nothing, collisionCount=nothing, conditions=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, unavailableReplicas=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) - setfield!(o, Symbol("unavailableReplicas"), unavailableReplicas) - validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiAppsV1DeploymentStatus - -const _property_map_IoK8sApiAppsV1DeploymentStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("unavailableReplicas")=>Symbol("unavailableReplicas"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiAppsV1DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("unavailableReplicas")=>"Int32", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1DeploymentStatus }) = collect(keys(_property_map_IoK8sApiAppsV1DeploymentStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DeploymentStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DeploymentStatus[property_name] - -function check_required(o::IoK8sApiAppsV1DeploymentStatus) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DeploymentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentStrategy.jl deleted file mode 100644 index 40e83975..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1DeploymentStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStrategy describes how to replace existing pods with new ones. - - IoK8sApiAppsV1DeploymentStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1RollingUpdateDeployment : Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. - - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1DeploymentStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1RollingUpdateDeployment } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1DeploymentStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1DeploymentStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1DeploymentStrategy - -const _property_map_IoK8sApiAppsV1DeploymentStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1RollingUpdateDeployment", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1DeploymentStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1DeploymentStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1DeploymentStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1DeploymentStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1DeploymentStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1DeploymentStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSet.jl deleted file mode 100644 index 61fb65bb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSet ensures that a specified number of pod replicas are running at any given time. - - IoK8sApiAppsV1ReplicaSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAppsV1ReplicaSetSpec : Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiAppsV1ReplicaSetStatus : Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiAppsV1ReplicaSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1ReplicaSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1ReplicaSetStatus } # spec name: status - - function IoK8sApiAppsV1ReplicaSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1ReplicaSet - -const _property_map_IoK8sApiAppsV1ReplicaSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1ReplicaSetSpec", Symbol("status")=>"IoK8sApiAppsV1ReplicaSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1ReplicaSet }) = collect(keys(_property_map_IoK8sApiAppsV1ReplicaSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ReplicaSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ReplicaSet[property_name] - -function check_required(o::IoK8sApiAppsV1ReplicaSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ReplicaSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetCondition.jl deleted file mode 100644 index 91c311f5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetCondition describes the state of a replica set at a certain point. - - IoK8sApiAppsV1ReplicaSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : The last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of replica set condition. -""" -mutable struct IoK8sApiAppsV1ReplicaSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1ReplicaSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1ReplicaSetCondition - -const _property_map_IoK8sApiAppsV1ReplicaSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1ReplicaSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1ReplicaSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1ReplicaSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ReplicaSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ReplicaSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ReplicaSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1ReplicaSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ReplicaSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetList.jl deleted file mode 100644 index fb5268e4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetList is a collection of ReplicaSets. - - IoK8sApiAppsV1ReplicaSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1ReplicaSet} : List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiAppsV1ReplicaSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1ReplicaSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1ReplicaSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1ReplicaSetList - -const _property_map_IoK8sApiAppsV1ReplicaSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1ReplicaSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1ReplicaSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1ReplicaSetList }) = collect(keys(_property_map_IoK8sApiAppsV1ReplicaSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ReplicaSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ReplicaSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ReplicaSetList[property_name] - -function check_required(o::IoK8sApiAppsV1ReplicaSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ReplicaSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetSpec.jl deleted file mode 100644 index fd2ea3ee..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetSpec.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetSpec is the specification of a ReplicaSet. - - IoK8sApiAppsV1ReplicaSetSpec(; - minReadySeconds=nothing, - replicas=nothing, - selector=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - replicas::Int32 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template -""" -mutable struct IoK8sApiAppsV1ReplicaSetSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiAppsV1ReplicaSetSpec(;minReadySeconds=nothing, replicas=nothing, selector=nothing, template=nothing) - o = new() - validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiAppsV1ReplicaSetSpec - -const _property_map_IoK8sApiAppsV1ReplicaSetSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiAppsV1ReplicaSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiAppsV1ReplicaSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1ReplicaSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ReplicaSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ReplicaSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ReplicaSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1ReplicaSetSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ReplicaSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetStatus.jl deleted file mode 100644 index 71ef09cb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1ReplicaSetStatus.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetStatus represents the current status of a ReplicaSet. - - IoK8sApiAppsV1ReplicaSetStatus(; - availableReplicas=nothing, - conditions=nothing, - fullyLabeledReplicas=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - ) - - - availableReplicas::Int32 : The number of available replicas (ready for at least minReadySeconds) for this replica set. - - conditions::Vector{IoK8sApiAppsV1ReplicaSetCondition} : Represents the latest available observations of a replica set's current state. - - fullyLabeledReplicas::Int32 : The number of pods that have labels matching the labels of the pod template of the replicaset. - - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed ReplicaSet. - - readyReplicas::Int32 : The number of ready replicas for this replica set. - - replicas::Int32 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller -""" -mutable struct IoK8sApiAppsV1ReplicaSetStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1ReplicaSetCondition} } # spec name: conditions - fullyLabeledReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: fullyLabeledReplicas - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiAppsV1ReplicaSetStatus(;availableReplicas=nothing, conditions=nothing, fullyLabeledReplicas=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - setfield!(o, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiAppsV1ReplicaSetStatus - -const _property_map_IoK8sApiAppsV1ReplicaSetStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("conditions")=>Symbol("conditions"), Symbol("fullyLabeledReplicas")=>Symbol("fullyLabeledReplicas"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiAppsV1ReplicaSetStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1ReplicaSetCondition}", Symbol("fullyLabeledReplicas")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1ReplicaSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1ReplicaSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1ReplicaSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1ReplicaSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1ReplicaSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1ReplicaSetStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1ReplicaSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl deleted file mode 100644 index afecfca4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of daemon set rolling update. - - IoK8sApiAppsV1RollingUpdateDaemonSet(; - maxUnavailable=nothing, - ) - - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. -""" -mutable struct IoK8sApiAppsV1RollingUpdateDaemonSet <: SwaggerModel - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiAppsV1RollingUpdateDaemonSet(;maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiAppsV1RollingUpdateDaemonSet, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiAppsV1RollingUpdateDaemonSet - -const _property_map_IoK8sApiAppsV1RollingUpdateDaemonSet = Dict{Symbol,Symbol}(Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiAppsV1RollingUpdateDaemonSet = Dict{Symbol,String}(Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiAppsV1RollingUpdateDaemonSet }) = collect(keys(_property_map_IoK8sApiAppsV1RollingUpdateDaemonSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1RollingUpdateDaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1RollingUpdateDaemonSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1RollingUpdateDaemonSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1RollingUpdateDaemonSet[property_name] - -function check_required(o::IoK8sApiAppsV1RollingUpdateDaemonSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1RollingUpdateDaemonSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateDeployment.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateDeployment.jl deleted file mode 100644 index 73fa562d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateDeployment.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of rolling update. - - IoK8sApiAppsV1RollingUpdateDeployment(; - maxSurge=nothing, - maxUnavailable=nothing, - ) - - - maxSurge::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. -""" -mutable struct IoK8sApiAppsV1RollingUpdateDeployment <: SwaggerModel - maxSurge::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxSurge - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiAppsV1RollingUpdateDeployment(;maxSurge=nothing, maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiAppsV1RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) - setfield!(o, Symbol("maxSurge"), maxSurge) - validate_property(IoK8sApiAppsV1RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiAppsV1RollingUpdateDeployment - -const _property_map_IoK8sApiAppsV1RollingUpdateDeployment = Dict{Symbol,Symbol}(Symbol("maxSurge")=>Symbol("maxSurge"), Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiAppsV1RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiAppsV1RollingUpdateDeployment }) = collect(keys(_property_map_IoK8sApiAppsV1RollingUpdateDeployment)) -Swagger.property_type(::Type{ IoK8sApiAppsV1RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1RollingUpdateDeployment[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1RollingUpdateDeployment }, property_name::Symbol) = _property_map_IoK8sApiAppsV1RollingUpdateDeployment[property_name] - -function check_required(o::IoK8sApiAppsV1RollingUpdateDeployment) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1RollingUpdateDeployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl deleted file mode 100644 index 7647cefe..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. - - IoK8sApiAppsV1RollingUpdateStatefulSetStrategy(; - partition=nothing, - ) - - - partition::Int32 : Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. -""" -mutable struct IoK8sApiAppsV1RollingUpdateStatefulSetStrategy <: SwaggerModel - partition::Any # spec type: Union{ Nothing, Int32 } # spec name: partition - - function IoK8sApiAppsV1RollingUpdateStatefulSetStrategy(;partition=nothing) - o = new() - validate_property(IoK8sApiAppsV1RollingUpdateStatefulSetStrategy, Symbol("partition"), partition) - setfield!(o, Symbol("partition"), partition) - o - end -end # type IoK8sApiAppsV1RollingUpdateStatefulSetStrategy - -const _property_map_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy = Dict{Symbol,Symbol}(Symbol("partition")=>Symbol("partition")) -const _property_types_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy = Dict{Symbol,String}(Symbol("partition")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1RollingUpdateStatefulSetStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1RollingUpdateStatefulSetStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1RollingUpdateStatefulSetStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1RollingUpdateStatefulSetStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1RollingUpdateStatefulSetStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSet.jl deleted file mode 100644 index 689756cc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. - - IoK8sApiAppsV1StatefulSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAppsV1StatefulSetSpec : Spec defines the desired identities of pods in this set. - - status::IoK8sApiAppsV1StatefulSetStatus : Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. -""" -mutable struct IoK8sApiAppsV1StatefulSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1StatefulSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1StatefulSetStatus } # spec name: status - - function IoK8sApiAppsV1StatefulSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1StatefulSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1StatefulSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1StatefulSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1StatefulSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1StatefulSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1StatefulSet - -const _property_map_IoK8sApiAppsV1StatefulSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1StatefulSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1StatefulSetSpec", Symbol("status")=>"IoK8sApiAppsV1StatefulSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1StatefulSet }) = collect(keys(_property_map_IoK8sApiAppsV1StatefulSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1StatefulSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1StatefulSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1StatefulSet[property_name] - -function check_required(o::IoK8sApiAppsV1StatefulSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1StatefulSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetCondition.jl deleted file mode 100644 index b47df29e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetCondition describes the state of a statefulset at a certain point. - - IoK8sApiAppsV1StatefulSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of statefulset condition. -""" -mutable struct IoK8sApiAppsV1StatefulSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1StatefulSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1StatefulSetCondition - -const _property_map_IoK8sApiAppsV1StatefulSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1StatefulSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1StatefulSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1StatefulSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1StatefulSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1StatefulSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1StatefulSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1StatefulSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1StatefulSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetList.jl deleted file mode 100644 index abadc7eb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetList is a collection of StatefulSets. - - IoK8sApiAppsV1StatefulSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1StatefulSet} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiAppsV1StatefulSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1StatefulSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1StatefulSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1StatefulSetList - -const _property_map_IoK8sApiAppsV1StatefulSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1StatefulSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1StatefulSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1StatefulSetList }) = collect(keys(_property_map_IoK8sApiAppsV1StatefulSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1StatefulSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1StatefulSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1StatefulSetList[property_name] - -function check_required(o::IoK8sApiAppsV1StatefulSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1StatefulSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetSpec.jl deleted file mode 100644 index dc108aae..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetSpec.jl +++ /dev/null @@ -1,73 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A StatefulSetSpec is the specification of a StatefulSet. - - IoK8sApiAppsV1StatefulSetSpec(; - podManagementPolicy=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - serviceName=nothing, - template=nothing, - updateStrategy=nothing, - volumeClaimTemplates=nothing, - ) - - - podManagementPolicy::String : podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. - - replicas::Int32 : replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. - - revisionHistoryLimit::Int32 : revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - serviceName::String : serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. - - template::IoK8sApiCoreV1PodTemplateSpec : template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. - - updateStrategy::IoK8sApiAppsV1StatefulSetUpdateStrategy : updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. - - volumeClaimTemplates::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. -""" -mutable struct IoK8sApiAppsV1StatefulSetSpec <: SwaggerModel - podManagementPolicy::Any # spec type: Union{ Nothing, String } # spec name: podManagementPolicy - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - serviceName::Any # spec type: Union{ Nothing, String } # spec name: serviceName - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - updateStrategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1StatefulSetUpdateStrategy } # spec name: updateStrategy - volumeClaimTemplates::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } # spec name: volumeClaimTemplates - - function IoK8sApiAppsV1StatefulSetSpec(;podManagementPolicy=nothing, replicas=nothing, revisionHistoryLimit=nothing, selector=nothing, serviceName=nothing, template=nothing, updateStrategy=nothing, volumeClaimTemplates=nothing) - o = new() - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("podManagementPolicy"), podManagementPolicy) - setfield!(o, Symbol("podManagementPolicy"), podManagementPolicy) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("serviceName"), serviceName) - setfield!(o, Symbol("serviceName"), serviceName) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("updateStrategy"), updateStrategy) - setfield!(o, Symbol("updateStrategy"), updateStrategy) - validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("volumeClaimTemplates"), volumeClaimTemplates) - setfield!(o, Symbol("volumeClaimTemplates"), volumeClaimTemplates) - o - end -end # type IoK8sApiAppsV1StatefulSetSpec - -const _property_map_IoK8sApiAppsV1StatefulSetSpec = Dict{Symbol,Symbol}(Symbol("podManagementPolicy")=>Symbol("podManagementPolicy"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("serviceName")=>Symbol("serviceName"), Symbol("template")=>Symbol("template"), Symbol("updateStrategy")=>Symbol("updateStrategy"), Symbol("volumeClaimTemplates")=>Symbol("volumeClaimTemplates")) -const _property_types_IoK8sApiAppsV1StatefulSetSpec = Dict{Symbol,String}(Symbol("podManagementPolicy")=>"String", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("serviceName")=>"String", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1StatefulSetUpdateStrategy", Symbol("volumeClaimTemplates")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}") -Base.propertynames(::Type{ IoK8sApiAppsV1StatefulSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1StatefulSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1StatefulSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1StatefulSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1StatefulSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1StatefulSetSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - (getproperty(o, Symbol("serviceName")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1StatefulSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetStatus.jl deleted file mode 100644 index 8478af72..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetStatus.jl +++ /dev/null @@ -1,76 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetStatus represents the current state of a StatefulSet. - - IoK8sApiAppsV1StatefulSetStatus(; - collisionCount=nothing, - conditions=nothing, - currentReplicas=nothing, - currentRevision=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - updateRevision=nothing, - updatedReplicas=nothing, - ) - - - collisionCount::Int32 : collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. - - conditions::Vector{IoK8sApiAppsV1StatefulSetCondition} : Represents the latest available observations of a statefulset's current state. - - currentReplicas::Int32 : currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. - - currentRevision::String : currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). - - observedGeneration::Int64 : observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. - - readyReplicas::Int32 : readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. - - replicas::Int32 : replicas is the number of Pods created by the StatefulSet controller. - - updateRevision::String : updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) - - updatedReplicas::Int32 : updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. -""" -mutable struct IoK8sApiAppsV1StatefulSetStatus <: SwaggerModel - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1StatefulSetCondition} } # spec name: conditions - currentReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: currentReplicas - currentRevision::Any # spec type: Union{ Nothing, String } # spec name: currentRevision - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - updateRevision::Any # spec type: Union{ Nothing, String } # spec name: updateRevision - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiAppsV1StatefulSetStatus(;collisionCount=nothing, conditions=nothing, currentReplicas=nothing, currentRevision=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, updateRevision=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("currentReplicas"), currentReplicas) - setfield!(o, Symbol("currentReplicas"), currentReplicas) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("currentRevision"), currentRevision) - setfield!(o, Symbol("currentRevision"), currentRevision) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("updateRevision"), updateRevision) - setfield!(o, Symbol("updateRevision"), updateRevision) - validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiAppsV1StatefulSetStatus - -const _property_map_IoK8sApiAppsV1StatefulSetStatus = Dict{Symbol,Symbol}(Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("currentReplicas")=>Symbol("currentReplicas"), Symbol("currentRevision")=>Symbol("currentRevision"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("updateRevision")=>Symbol("updateRevision"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiAppsV1StatefulSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1StatefulSetCondition}", Symbol("currentReplicas")=>"Int32", Symbol("currentRevision")=>"String", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("updateRevision")=>"String", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1StatefulSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1StatefulSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1StatefulSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1StatefulSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1StatefulSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1StatefulSetStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1StatefulSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl deleted file mode 100644 index 18d831ae..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. - - IoK8sApiAppsV1StatefulSetUpdateStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1RollingUpdateStatefulSetStrategy : RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. - - type::String : Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1StatefulSetUpdateStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1RollingUpdateStatefulSetStrategy } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1StatefulSetUpdateStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1StatefulSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1StatefulSetUpdateStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1StatefulSetUpdateStrategy - -const _property_map_IoK8sApiAppsV1StatefulSetUpdateStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1StatefulSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1RollingUpdateStatefulSetStrategy", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1StatefulSetUpdateStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1StatefulSetUpdateStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1StatefulSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetUpdateStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1StatefulSetUpdateStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1StatefulSetUpdateStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1StatefulSetUpdateStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1StatefulSetUpdateStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ControllerRevision.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ControllerRevision.jl deleted file mode 100644 index e5f4ec28..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ControllerRevision.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. - - IoK8sApiAppsV1beta1ControllerRevision(; - apiVersion=nothing, - data=nothing, - kind=nothing, - metadata=nothing, - revision=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - data::IoK8sApimachineryPkgRuntimeRawExtension : Data is the serialized representation of the state. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - revision::Int64 : Revision indicates the revision of the state represented by Data. -""" -mutable struct IoK8sApiAppsV1beta1ControllerRevision <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - data::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgRuntimeRawExtension } # spec name: data - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - revision::Any # spec type: Union{ Nothing, Int64 } # spec name: revision - - function IoK8sApiAppsV1beta1ControllerRevision(;apiVersion=nothing, data=nothing, kind=nothing, metadata=nothing, revision=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("data"), data) - setfield!(o, Symbol("data"), data) - validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("revision"), revision) - setfield!(o, Symbol("revision"), revision) - o - end -end # type IoK8sApiAppsV1beta1ControllerRevision - -const _property_map_IoK8sApiAppsV1beta1ControllerRevision = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("data")=>Symbol("data"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("revision")=>Symbol("revision")) -const _property_types_IoK8sApiAppsV1beta1ControllerRevision = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"IoK8sApimachineryPkgRuntimeRawExtension", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("revision")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1ControllerRevision }) = collect(keys(_property_map_IoK8sApiAppsV1beta1ControllerRevision)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1ControllerRevision }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ControllerRevision[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1ControllerRevision }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1ControllerRevision[property_name] - -function check_required(o::IoK8sApiAppsV1beta1ControllerRevision) - (getproperty(o, Symbol("revision")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1ControllerRevision }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl deleted file mode 100644 index 9e33c07c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ControllerRevisionList is a resource containing a list of ControllerRevision objects. - - IoK8sApiAppsV1beta1ControllerRevisionList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta1ControllerRevision} : Items is the list of ControllerRevisions - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiAppsV1beta1ControllerRevisionList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1ControllerRevision} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta1ControllerRevisionList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta1ControllerRevisionList - -const _property_map_IoK8sApiAppsV1beta1ControllerRevisionList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta1ControllerRevisionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta1ControllerRevision}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1ControllerRevisionList }) = collect(keys(_property_map_IoK8sApiAppsV1beta1ControllerRevisionList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1ControllerRevisionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ControllerRevisionList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1ControllerRevisionList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1ControllerRevisionList[property_name] - -function check_required(o::IoK8sApiAppsV1beta1ControllerRevisionList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1ControllerRevisionList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1Deployment.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1Deployment.jl deleted file mode 100644 index c0a5de97..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1Deployment.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. - - IoK8sApiAppsV1beta1Deployment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. - - spec::IoK8sApiAppsV1beta1DeploymentSpec : Specification of the desired behavior of the Deployment. - - status::IoK8sApiAppsV1beta1DeploymentStatus : Most recently observed status of the Deployment. -""" -mutable struct IoK8sApiAppsV1beta1Deployment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1DeploymentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1DeploymentStatus } # spec name: status - - function IoK8sApiAppsV1beta1Deployment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta1Deployment - -const _property_map_IoK8sApiAppsV1beta1Deployment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta1Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta1DeploymentSpec", Symbol("status")=>"IoK8sApiAppsV1beta1DeploymentStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1Deployment }) = collect(keys(_property_map_IoK8sApiAppsV1beta1Deployment)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1Deployment[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1Deployment }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1Deployment[property_name] - -function check_required(o::IoK8sApiAppsV1beta1Deployment) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1Deployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentCondition.jl deleted file mode 100644 index 4b2d3840..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentCondition describes the state of a deployment at a certain point. - - IoK8sApiAppsV1beta1DeploymentCondition(; - lastTransitionTime=nothing, - lastUpdateTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - lastUpdateTime::IoK8sApimachineryPkgApisMetaV1Time : The last time this condition was updated. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of deployment condition. -""" -mutable struct IoK8sApiAppsV1beta1DeploymentCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - lastUpdateTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastUpdateTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta1DeploymentCondition(;lastTransitionTime=nothing, lastUpdateTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) - setfield!(o, Symbol("lastUpdateTime"), lastUpdateTime) - validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta1DeploymentCondition - -const _property_map_IoK8sApiAppsV1beta1DeploymentCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("lastUpdateTime")=>Symbol("lastUpdateTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta1DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastUpdateTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1DeploymentCondition }) = collect(keys(_property_map_IoK8sApiAppsV1beta1DeploymentCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1DeploymentCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1DeploymentCondition[property_name] - -function check_required(o::IoK8sApiAppsV1beta1DeploymentCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentList.jl deleted file mode 100644 index 0ae21dbb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentList is a list of Deployments. - - IoK8sApiAppsV1beta1DeploymentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta1Deployment} : Items is the list of Deployments. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. -""" -mutable struct IoK8sApiAppsV1beta1DeploymentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1Deployment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta1DeploymentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta1DeploymentList - -const _property_map_IoK8sApiAppsV1beta1DeploymentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta1DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta1Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1DeploymentList }) = collect(keys(_property_map_IoK8sApiAppsV1beta1DeploymentList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1DeploymentList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1DeploymentList[property_name] - -function check_required(o::IoK8sApiAppsV1beta1DeploymentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentRollback.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentRollback.jl deleted file mode 100644 index 0c9aed29..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentRollback.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED. DeploymentRollback stores the information required to rollback a deployment. - - IoK8sApiAppsV1beta1DeploymentRollback(; - apiVersion=nothing, - kind=nothing, - name=nothing, - rollbackTo=nothing, - updatedAnnotations=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - name::String : Required: This must match the Name of a deployment. - - rollbackTo::IoK8sApiAppsV1beta1RollbackConfig : The config of this deployment rollback. - - updatedAnnotations::Dict{String, String} : The annotations to be updated to a deployment -""" -mutable struct IoK8sApiAppsV1beta1DeploymentRollback <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - rollbackTo::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollbackConfig } # spec name: rollbackTo - updatedAnnotations::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: updatedAnnotations - - function IoK8sApiAppsV1beta1DeploymentRollback(;apiVersion=nothing, kind=nothing, name=nothing, rollbackTo=nothing, updatedAnnotations=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("rollbackTo"), rollbackTo) - setfield!(o, Symbol("rollbackTo"), rollbackTo) - validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("updatedAnnotations"), updatedAnnotations) - setfield!(o, Symbol("updatedAnnotations"), updatedAnnotations) - o - end -end # type IoK8sApiAppsV1beta1DeploymentRollback - -const _property_map_IoK8sApiAppsV1beta1DeploymentRollback = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("rollbackTo")=>Symbol("rollbackTo"), Symbol("updatedAnnotations")=>Symbol("updatedAnnotations")) -const _property_types_IoK8sApiAppsV1beta1DeploymentRollback = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("rollbackTo")=>"IoK8sApiAppsV1beta1RollbackConfig", Symbol("updatedAnnotations")=>"Dict{String, String}") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1DeploymentRollback }) = collect(keys(_property_map_IoK8sApiAppsV1beta1DeploymentRollback)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentRollback }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentRollback[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1DeploymentRollback }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1DeploymentRollback[property_name] - -function check_required(o::IoK8sApiAppsV1beta1DeploymentRollback) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("rollbackTo")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentRollback }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentSpec.jl deleted file mode 100644 index e2808aa1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentSpec.jl +++ /dev/null @@ -1,76 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentSpec is the specification of the desired behavior of the Deployment. - - IoK8sApiAppsV1beta1DeploymentSpec(; - minReadySeconds=nothing, - paused=nothing, - progressDeadlineSeconds=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - rollbackTo=nothing, - selector=nothing, - strategy=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - paused::Bool : Indicates that the deployment is paused. - - progressDeadlineSeconds::Int32 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. - - replicas::Int32 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. - - revisionHistoryLimit::Int32 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. - - rollbackTo::IoK8sApiAppsV1beta1RollbackConfig : DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. - - strategy::IoK8sApiAppsV1beta1DeploymentStrategy : The deployment strategy to use to replace existing pods with new ones. - - template::IoK8sApiCoreV1PodTemplateSpec : Template describes the pods that will be created. -""" -mutable struct IoK8sApiAppsV1beta1DeploymentSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - paused::Any # spec type: Union{ Nothing, Bool } # spec name: paused - progressDeadlineSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: progressDeadlineSeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - rollbackTo::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollbackConfig } # spec name: rollbackTo - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - strategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1DeploymentStrategy } # spec name: strategy - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiAppsV1beta1DeploymentSpec(;minReadySeconds=nothing, paused=nothing, progressDeadlineSeconds=nothing, replicas=nothing, revisionHistoryLimit=nothing, rollbackTo=nothing, selector=nothing, strategy=nothing, template=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("paused"), paused) - setfield!(o, Symbol("paused"), paused) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - setfield!(o, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("rollbackTo"), rollbackTo) - setfield!(o, Symbol("rollbackTo"), rollbackTo) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("strategy"), strategy) - setfield!(o, Symbol("strategy"), strategy) - validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiAppsV1beta1DeploymentSpec - -const _property_map_IoK8sApiAppsV1beta1DeploymentSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("paused")=>Symbol("paused"), Symbol("progressDeadlineSeconds")=>Symbol("progressDeadlineSeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("rollbackTo")=>Symbol("rollbackTo"), Symbol("selector")=>Symbol("selector"), Symbol("strategy")=>Symbol("strategy"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiAppsV1beta1DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("rollbackTo")=>"IoK8sApiAppsV1beta1RollbackConfig", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiAppsV1beta1DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1DeploymentSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta1DeploymentSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1DeploymentSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1DeploymentSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta1DeploymentSpec) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentStatus.jl deleted file mode 100644 index b8622d55..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentStatus.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStatus is the most recently observed status of the Deployment. - - IoK8sApiAppsV1beta1DeploymentStatus(; - availableReplicas=nothing, - collisionCount=nothing, - conditions=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - unavailableReplicas=nothing, - updatedReplicas=nothing, - ) - - - availableReplicas::Int32 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. - - collisionCount::Int32 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. - - conditions::Vector{IoK8sApiAppsV1beta1DeploymentCondition} : Represents the latest available observations of a deployment's current state. - - observedGeneration::Int64 : The generation observed by the deployment controller. - - readyReplicas::Int32 : Total number of ready pods targeted by this deployment. - - replicas::Int32 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). - - unavailableReplicas::Int32 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. - - updatedReplicas::Int32 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. -""" -mutable struct IoK8sApiAppsV1beta1DeploymentStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1DeploymentCondition} } # spec name: conditions - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - unavailableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: unavailableReplicas - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiAppsV1beta1DeploymentStatus(;availableReplicas=nothing, collisionCount=nothing, conditions=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, unavailableReplicas=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) - setfield!(o, Symbol("unavailableReplicas"), unavailableReplicas) - validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiAppsV1beta1DeploymentStatus - -const _property_map_IoK8sApiAppsV1beta1DeploymentStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("unavailableReplicas")=>Symbol("unavailableReplicas"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiAppsV1beta1DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta1DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("unavailableReplicas")=>"Int32", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1DeploymentStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta1DeploymentStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1DeploymentStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1DeploymentStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta1DeploymentStatus) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl deleted file mode 100644 index 206e08c3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStrategy describes how to replace existing pods with new ones. - - IoK8sApiAppsV1beta1DeploymentStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1beta1RollingUpdateDeployment : Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. - - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1beta1DeploymentStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollingUpdateDeployment } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta1DeploymentStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1beta1DeploymentStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta1DeploymentStrategy - -const _property_map_IoK8sApiAppsV1beta1DeploymentStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta1DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta1RollingUpdateDeployment", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1DeploymentStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta1DeploymentStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1DeploymentStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1DeploymentStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta1DeploymentStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollbackConfig.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollbackConfig.jl deleted file mode 100644 index 6126f69a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollbackConfig.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED. - - IoK8sApiAppsV1beta1RollbackConfig(; - revision=nothing, - ) - - - revision::Int64 : The revision to rollback to. If set to 0, rollback to the last revision. -""" -mutable struct IoK8sApiAppsV1beta1RollbackConfig <: SwaggerModel - revision::Any # spec type: Union{ Nothing, Int64 } # spec name: revision - - function IoK8sApiAppsV1beta1RollbackConfig(;revision=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1RollbackConfig, Symbol("revision"), revision) - setfield!(o, Symbol("revision"), revision) - o - end -end # type IoK8sApiAppsV1beta1RollbackConfig - -const _property_map_IoK8sApiAppsV1beta1RollbackConfig = Dict{Symbol,Symbol}(Symbol("revision")=>Symbol("revision")) -const _property_types_IoK8sApiAppsV1beta1RollbackConfig = Dict{Symbol,String}(Symbol("revision")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1RollbackConfig }) = collect(keys(_property_map_IoK8sApiAppsV1beta1RollbackConfig)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1RollbackConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1RollbackConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1RollbackConfig }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1RollbackConfig[property_name] - -function check_required(o::IoK8sApiAppsV1beta1RollbackConfig) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1RollbackConfig }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl deleted file mode 100644 index f8c09564..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of rolling update. - - IoK8sApiAppsV1beta1RollingUpdateDeployment(; - maxSurge=nothing, - maxUnavailable=nothing, - ) - - - maxSurge::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. -""" -mutable struct IoK8sApiAppsV1beta1RollingUpdateDeployment <: SwaggerModel - maxSurge::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxSurge - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiAppsV1beta1RollingUpdateDeployment(;maxSurge=nothing, maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) - setfield!(o, Symbol("maxSurge"), maxSurge) - validate_property(IoK8sApiAppsV1beta1RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiAppsV1beta1RollingUpdateDeployment - -const _property_map_IoK8sApiAppsV1beta1RollingUpdateDeployment = Dict{Symbol,Symbol}(Symbol("maxSurge")=>Symbol("maxSurge"), Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiAppsV1beta1RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1RollingUpdateDeployment }) = collect(keys(_property_map_IoK8sApiAppsV1beta1RollingUpdateDeployment)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1RollingUpdateDeployment[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1RollingUpdateDeployment }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1RollingUpdateDeployment[property_name] - -function check_required(o::IoK8sApiAppsV1beta1RollingUpdateDeployment) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1RollingUpdateDeployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl deleted file mode 100644 index fd802b0a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. - - IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy(; - partition=nothing, - ) - - - partition::Int32 : Partition indicates the ordinal at which the StatefulSet should be partitioned. -""" -mutable struct IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy <: SwaggerModel - partition::Any # spec type: Union{ Nothing, Int32 } # spec name: partition - - function IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy(;partition=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy, Symbol("partition"), partition) - setfield!(o, Symbol("partition"), partition) - o - end -end # type IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy - -const _property_map_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy = Dict{Symbol,Symbol}(Symbol("partition")=>Symbol("partition")) -const _property_types_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy = Dict{Symbol,String}(Symbol("partition")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1Scale.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1Scale.jl deleted file mode 100644 index 76485d68..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1Scale.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Scale represents a scaling request for a resource. - - IoK8sApiAppsV1beta1Scale(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - spec::IoK8sApiAppsV1beta1ScaleSpec : defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiAppsV1beta1ScaleStatus : current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. -""" -mutable struct IoK8sApiAppsV1beta1Scale <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1ScaleSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1ScaleStatus } # spec name: status - - function IoK8sApiAppsV1beta1Scale(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1Scale, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1Scale, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1Scale, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta1Scale, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta1Scale, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta1Scale - -const _property_map_IoK8sApiAppsV1beta1Scale = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta1Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta1ScaleSpec", Symbol("status")=>"IoK8sApiAppsV1beta1ScaleStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1Scale }) = collect(keys(_property_map_IoK8sApiAppsV1beta1Scale)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1Scale[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1Scale }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1Scale[property_name] - -function check_required(o::IoK8sApiAppsV1beta1Scale) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1Scale }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ScaleSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ScaleSpec.jl deleted file mode 100644 index 36027538..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ScaleSpec.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleSpec describes the attributes of a scale subresource - - IoK8sApiAppsV1beta1ScaleSpec(; - replicas=nothing, - ) - - - replicas::Int32 : desired number of instances for the scaled object. -""" -mutable struct IoK8sApiAppsV1beta1ScaleSpec <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiAppsV1beta1ScaleSpec(;replicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1ScaleSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiAppsV1beta1ScaleSpec - -const _property_map_IoK8sApiAppsV1beta1ScaleSpec = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiAppsV1beta1ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1ScaleSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta1ScaleSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ScaleSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1ScaleSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1ScaleSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta1ScaleSpec) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1ScaleSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ScaleStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ScaleStatus.jl deleted file mode 100644 index 71024ee9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1ScaleStatus.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleStatus represents the current status of a scale subresource. - - IoK8sApiAppsV1beta1ScaleStatus(; - replicas=nothing, - selector=nothing, - targetSelector=nothing, - ) - - - replicas::Int32 : actual number of observed instances of the scaled object. - - selector::Dict{String, String} : label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - - targetSelector::String : label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -""" -mutable struct IoK8sApiAppsV1beta1ScaleStatus <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: selector - targetSelector::Any # spec type: Union{ Nothing, String } # spec name: targetSelector - - function IoK8sApiAppsV1beta1ScaleStatus(;replicas=nothing, selector=nothing, targetSelector=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1ScaleStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta1ScaleStatus, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta1ScaleStatus, Symbol("targetSelector"), targetSelector) - setfield!(o, Symbol("targetSelector"), targetSelector) - o - end -end # type IoK8sApiAppsV1beta1ScaleStatus - -const _property_map_IoK8sApiAppsV1beta1ScaleStatus = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("targetSelector")=>Symbol("targetSelector")) -const _property_types_IoK8sApiAppsV1beta1ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int32", Symbol("selector")=>"Dict{String, String}", Symbol("targetSelector")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1ScaleStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta1ScaleStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ScaleStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1ScaleStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1ScaleStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta1ScaleStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1ScaleStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSet.jl deleted file mode 100644 index 63932a10..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. - - IoK8sApiAppsV1beta1StatefulSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAppsV1beta1StatefulSetSpec : Spec defines the desired identities of pods in this set. - - status::IoK8sApiAppsV1beta1StatefulSetStatus : Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. -""" -mutable struct IoK8sApiAppsV1beta1StatefulSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1StatefulSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1StatefulSetStatus } # spec name: status - - function IoK8sApiAppsV1beta1StatefulSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta1StatefulSet - -const _property_map_IoK8sApiAppsV1beta1StatefulSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta1StatefulSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta1StatefulSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta1StatefulSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1StatefulSet }) = collect(keys(_property_map_IoK8sApiAppsV1beta1StatefulSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1StatefulSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1StatefulSet[property_name] - -function check_required(o::IoK8sApiAppsV1beta1StatefulSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl deleted file mode 100644 index 6345a0d5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetCondition describes the state of a statefulset at a certain point. - - IoK8sApiAppsV1beta1StatefulSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of statefulset condition. -""" -mutable struct IoK8sApiAppsV1beta1StatefulSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta1StatefulSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta1StatefulSetCondition - -const _property_map_IoK8sApiAppsV1beta1StatefulSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta1StatefulSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1StatefulSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1beta1StatefulSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1StatefulSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1StatefulSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1beta1StatefulSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetList.jl deleted file mode 100644 index c6493085..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetList is a collection of StatefulSets. - - IoK8sApiAppsV1beta1StatefulSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta1StatefulSet} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiAppsV1beta1StatefulSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1StatefulSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta1StatefulSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta1StatefulSetList - -const _property_map_IoK8sApiAppsV1beta1StatefulSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta1StatefulSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta1StatefulSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1StatefulSetList }) = collect(keys(_property_map_IoK8sApiAppsV1beta1StatefulSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1StatefulSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1StatefulSetList[property_name] - -function check_required(o::IoK8sApiAppsV1beta1StatefulSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl deleted file mode 100644 index bad0a25f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl +++ /dev/null @@ -1,72 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A StatefulSetSpec is the specification of a StatefulSet. - - IoK8sApiAppsV1beta1StatefulSetSpec(; - podManagementPolicy=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - serviceName=nothing, - template=nothing, - updateStrategy=nothing, - volumeClaimTemplates=nothing, - ) - - - podManagementPolicy::String : podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. - - replicas::Int32 : replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. - - revisionHistoryLimit::Int32 : revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - serviceName::String : serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. - - template::IoK8sApiCoreV1PodTemplateSpec : template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. - - updateStrategy::IoK8sApiAppsV1beta1StatefulSetUpdateStrategy : updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. - - volumeClaimTemplates::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. -""" -mutable struct IoK8sApiAppsV1beta1StatefulSetSpec <: SwaggerModel - podManagementPolicy::Any # spec type: Union{ Nothing, String } # spec name: podManagementPolicy - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - serviceName::Any # spec type: Union{ Nothing, String } # spec name: serviceName - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - updateStrategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1StatefulSetUpdateStrategy } # spec name: updateStrategy - volumeClaimTemplates::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } # spec name: volumeClaimTemplates - - function IoK8sApiAppsV1beta1StatefulSetSpec(;podManagementPolicy=nothing, replicas=nothing, revisionHistoryLimit=nothing, selector=nothing, serviceName=nothing, template=nothing, updateStrategy=nothing, volumeClaimTemplates=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("podManagementPolicy"), podManagementPolicy) - setfield!(o, Symbol("podManagementPolicy"), podManagementPolicy) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("serviceName"), serviceName) - setfield!(o, Symbol("serviceName"), serviceName) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("updateStrategy"), updateStrategy) - setfield!(o, Symbol("updateStrategy"), updateStrategy) - validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("volumeClaimTemplates"), volumeClaimTemplates) - setfield!(o, Symbol("volumeClaimTemplates"), volumeClaimTemplates) - o - end -end # type IoK8sApiAppsV1beta1StatefulSetSpec - -const _property_map_IoK8sApiAppsV1beta1StatefulSetSpec = Dict{Symbol,Symbol}(Symbol("podManagementPolicy")=>Symbol("podManagementPolicy"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("serviceName")=>Symbol("serviceName"), Symbol("template")=>Symbol("template"), Symbol("updateStrategy")=>Symbol("updateStrategy"), Symbol("volumeClaimTemplates")=>Symbol("volumeClaimTemplates")) -const _property_types_IoK8sApiAppsV1beta1StatefulSetSpec = Dict{Symbol,String}(Symbol("podManagementPolicy")=>"String", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("serviceName")=>"String", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1beta1StatefulSetUpdateStrategy", Symbol("volumeClaimTemplates")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1StatefulSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta1StatefulSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1StatefulSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1StatefulSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta1StatefulSetSpec) - (getproperty(o, Symbol("serviceName")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl deleted file mode 100644 index d53f5ac8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl +++ /dev/null @@ -1,76 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetStatus represents the current state of a StatefulSet. - - IoK8sApiAppsV1beta1StatefulSetStatus(; - collisionCount=nothing, - conditions=nothing, - currentReplicas=nothing, - currentRevision=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - updateRevision=nothing, - updatedReplicas=nothing, - ) - - - collisionCount::Int32 : collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. - - conditions::Vector{IoK8sApiAppsV1beta1StatefulSetCondition} : Represents the latest available observations of a statefulset's current state. - - currentReplicas::Int32 : currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. - - currentRevision::String : currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). - - observedGeneration::Int64 : observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. - - readyReplicas::Int32 : readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. - - replicas::Int32 : replicas is the number of Pods created by the StatefulSet controller. - - updateRevision::String : updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) - - updatedReplicas::Int32 : updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. -""" -mutable struct IoK8sApiAppsV1beta1StatefulSetStatus <: SwaggerModel - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1StatefulSetCondition} } # spec name: conditions - currentReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: currentReplicas - currentRevision::Any # spec type: Union{ Nothing, String } # spec name: currentRevision - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - updateRevision::Any # spec type: Union{ Nothing, String } # spec name: updateRevision - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiAppsV1beta1StatefulSetStatus(;collisionCount=nothing, conditions=nothing, currentReplicas=nothing, currentRevision=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, updateRevision=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("currentReplicas"), currentReplicas) - setfield!(o, Symbol("currentReplicas"), currentReplicas) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("currentRevision"), currentRevision) - setfield!(o, Symbol("currentRevision"), currentRevision) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("updateRevision"), updateRevision) - setfield!(o, Symbol("updateRevision"), updateRevision) - validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiAppsV1beta1StatefulSetStatus - -const _property_map_IoK8sApiAppsV1beta1StatefulSetStatus = Dict{Symbol,Symbol}(Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("currentReplicas")=>Symbol("currentReplicas"), Symbol("currentRevision")=>Symbol("currentRevision"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("updateRevision")=>Symbol("updateRevision"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiAppsV1beta1StatefulSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta1StatefulSetCondition}", Symbol("currentReplicas")=>"Int32", Symbol("currentRevision")=>"String", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("updateRevision")=>"String", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1StatefulSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta1StatefulSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1StatefulSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1StatefulSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta1StatefulSetStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl deleted file mode 100644 index b58d55ac..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. - - IoK8sApiAppsV1beta1StatefulSetUpdateStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy : RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. - - type::String : Type indicates the type of the StatefulSetUpdateStrategy. -""" -mutable struct IoK8sApiAppsV1beta1StatefulSetUpdateStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta1StatefulSetUpdateStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta1StatefulSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1beta1StatefulSetUpdateStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta1StatefulSetUpdateStrategy - -const _property_map_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta1StatefulSetUpdateStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta1StatefulSetUpdateStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta1StatefulSetUpdateStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetUpdateStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ControllerRevision.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ControllerRevision.jl deleted file mode 100644 index cb7b760f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ControllerRevision.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. - - IoK8sApiAppsV1beta2ControllerRevision(; - apiVersion=nothing, - data=nothing, - kind=nothing, - metadata=nothing, - revision=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - data::IoK8sApimachineryPkgRuntimeRawExtension : Data is the serialized representation of the state. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - revision::Int64 : Revision indicates the revision of the state represented by Data. -""" -mutable struct IoK8sApiAppsV1beta2ControllerRevision <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - data::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgRuntimeRawExtension } # spec name: data - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - revision::Any # spec type: Union{ Nothing, Int64 } # spec name: revision - - function IoK8sApiAppsV1beta2ControllerRevision(;apiVersion=nothing, data=nothing, kind=nothing, metadata=nothing, revision=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("data"), data) - setfield!(o, Symbol("data"), data) - validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("revision"), revision) - setfield!(o, Symbol("revision"), revision) - o - end -end # type IoK8sApiAppsV1beta2ControllerRevision - -const _property_map_IoK8sApiAppsV1beta2ControllerRevision = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("data")=>Symbol("data"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("revision")=>Symbol("revision")) -const _property_types_IoK8sApiAppsV1beta2ControllerRevision = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"IoK8sApimachineryPkgRuntimeRawExtension", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("revision")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ControllerRevision }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ControllerRevision)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ControllerRevision }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ControllerRevision[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ControllerRevision }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ControllerRevision[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ControllerRevision) - (getproperty(o, Symbol("revision")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ControllerRevision }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl deleted file mode 100644 index 91ddfe28..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ControllerRevisionList is a resource containing a list of ControllerRevision objects. - - IoK8sApiAppsV1beta2ControllerRevisionList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta2ControllerRevision} : Items is the list of ControllerRevisions - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiAppsV1beta2ControllerRevisionList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2ControllerRevision} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta2ControllerRevisionList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta2ControllerRevisionList - -const _property_map_IoK8sApiAppsV1beta2ControllerRevisionList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta2ControllerRevisionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2ControllerRevision}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ControllerRevisionList }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ControllerRevisionList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ControllerRevisionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ControllerRevisionList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ControllerRevisionList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ControllerRevisionList[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ControllerRevisionList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ControllerRevisionList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSet.jl deleted file mode 100644 index b2654f3d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. - - IoK8sApiAppsV1beta2DaemonSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAppsV1beta2DaemonSetSpec : The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiAppsV1beta2DaemonSetStatus : The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiAppsV1beta2DaemonSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DaemonSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DaemonSetStatus } # spec name: status - - function IoK8sApiAppsV1beta2DaemonSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta2DaemonSet - -const _property_map_IoK8sApiAppsV1beta2DaemonSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta2DaemonSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2DaemonSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta2DaemonSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DaemonSet }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DaemonSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DaemonSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DaemonSet[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DaemonSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl deleted file mode 100644 index 30ac2c72..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetCondition describes the state of a DaemonSet at a certain point. - - IoK8sApiAppsV1beta2DaemonSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of DaemonSet condition. -""" -mutable struct IoK8sApiAppsV1beta2DaemonSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2DaemonSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2DaemonSetCondition - -const _property_map_IoK8sApiAppsV1beta2DaemonSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2DaemonSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DaemonSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DaemonSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DaemonSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DaemonSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DaemonSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetList.jl deleted file mode 100644 index 0ca88fbc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetList is a collection of daemon sets. - - IoK8sApiAppsV1beta2DaemonSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta2DaemonSet} : A list of daemon sets. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiAppsV1beta2DaemonSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2DaemonSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta2DaemonSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta2DaemonSetList - -const _property_map_IoK8sApiAppsV1beta2DaemonSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta2DaemonSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2DaemonSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DaemonSetList }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DaemonSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DaemonSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DaemonSetList[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DaemonSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl deleted file mode 100644 index 166007c8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetSpec is the specification of a daemon set. - - IoK8sApiAppsV1beta2DaemonSetSpec(; - minReadySeconds=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - template=nothing, - updateStrategy=nothing, - ) - - - minReadySeconds::Int32 : The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). - - revisionHistoryLimit::Int32 : The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template - - updateStrategy::IoK8sApiAppsV1beta2DaemonSetUpdateStrategy : An update strategy to replace existing DaemonSet pods with new pods. -""" -mutable struct IoK8sApiAppsV1beta2DaemonSetSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - updateStrategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DaemonSetUpdateStrategy } # spec name: updateStrategy - - function IoK8sApiAppsV1beta2DaemonSetSpec(;minReadySeconds=nothing, revisionHistoryLimit=nothing, selector=nothing, template=nothing, updateStrategy=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("updateStrategy"), updateStrategy) - setfield!(o, Symbol("updateStrategy"), updateStrategy) - o - end -end # type IoK8sApiAppsV1beta2DaemonSetSpec - -const _property_map_IoK8sApiAppsV1beta2DaemonSetSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template"), Symbol("updateStrategy")=>Symbol("updateStrategy")) -const _property_types_IoK8sApiAppsV1beta2DaemonSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1beta2DaemonSetUpdateStrategy") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DaemonSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DaemonSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DaemonSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DaemonSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DaemonSetSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl deleted file mode 100644 index f9a77d9b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl +++ /dev/null @@ -1,84 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetStatus represents the current status of a daemon set. - - IoK8sApiAppsV1beta2DaemonSetStatus(; - collisionCount=nothing, - conditions=nothing, - currentNumberScheduled=nothing, - desiredNumberScheduled=nothing, - numberAvailable=nothing, - numberMisscheduled=nothing, - numberReady=nothing, - numberUnavailable=nothing, - observedGeneration=nothing, - updatedNumberScheduled=nothing, - ) - - - collisionCount::Int32 : Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. - - conditions::Vector{IoK8sApiAppsV1beta2DaemonSetCondition} : Represents the latest available observations of a DaemonSet's current state. - - currentNumberScheduled::Int32 : The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - desiredNumberScheduled::Int32 : The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - numberAvailable::Int32 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) - - numberMisscheduled::Int32 : The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - numberReady::Int32 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. - - numberUnavailable::Int32 : The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) - - observedGeneration::Int64 : The most recent generation observed by the daemon set controller. - - updatedNumberScheduled::Int32 : The total number of nodes that are running updated daemon pod -""" -mutable struct IoK8sApiAppsV1beta2DaemonSetStatus <: SwaggerModel - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2DaemonSetCondition} } # spec name: conditions - currentNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: currentNumberScheduled - desiredNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredNumberScheduled - numberAvailable::Any # spec type: Union{ Nothing, Int32 } # spec name: numberAvailable - numberMisscheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: numberMisscheduled - numberReady::Any # spec type: Union{ Nothing, Int32 } # spec name: numberReady - numberUnavailable::Any # spec type: Union{ Nothing, Int32 } # spec name: numberUnavailable - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - updatedNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedNumberScheduled - - function IoK8sApiAppsV1beta2DaemonSetStatus(;collisionCount=nothing, conditions=nothing, currentNumberScheduled=nothing, desiredNumberScheduled=nothing, numberAvailable=nothing, numberMisscheduled=nothing, numberReady=nothing, numberUnavailable=nothing, observedGeneration=nothing, updatedNumberScheduled=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("currentNumberScheduled"), currentNumberScheduled) - setfield!(o, Symbol("currentNumberScheduled"), currentNumberScheduled) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("desiredNumberScheduled"), desiredNumberScheduled) - setfield!(o, Symbol("desiredNumberScheduled"), desiredNumberScheduled) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberAvailable"), numberAvailable) - setfield!(o, Symbol("numberAvailable"), numberAvailable) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberMisscheduled"), numberMisscheduled) - setfield!(o, Symbol("numberMisscheduled"), numberMisscheduled) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberReady"), numberReady) - setfield!(o, Symbol("numberReady"), numberReady) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberUnavailable"), numberUnavailable) - setfield!(o, Symbol("numberUnavailable"), numberUnavailable) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("updatedNumberScheduled"), updatedNumberScheduled) - setfield!(o, Symbol("updatedNumberScheduled"), updatedNumberScheduled) - o - end -end # type IoK8sApiAppsV1beta2DaemonSetStatus - -const _property_map_IoK8sApiAppsV1beta2DaemonSetStatus = Dict{Symbol,Symbol}(Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("currentNumberScheduled")=>Symbol("currentNumberScheduled"), Symbol("desiredNumberScheduled")=>Symbol("desiredNumberScheduled"), Symbol("numberAvailable")=>Symbol("numberAvailable"), Symbol("numberMisscheduled")=>Symbol("numberMisscheduled"), Symbol("numberReady")=>Symbol("numberReady"), Symbol("numberUnavailable")=>Symbol("numberUnavailable"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("updatedNumberScheduled")=>Symbol("updatedNumberScheduled")) -const _property_types_IoK8sApiAppsV1beta2DaemonSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2DaemonSetCondition}", Symbol("currentNumberScheduled")=>"Int32", Symbol("desiredNumberScheduled")=>"Int32", Symbol("numberAvailable")=>"Int32", Symbol("numberMisscheduled")=>"Int32", Symbol("numberReady")=>"Int32", Symbol("numberUnavailable")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("updatedNumberScheduled")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DaemonSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DaemonSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DaemonSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DaemonSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DaemonSetStatus) - (getproperty(o, Symbol("currentNumberScheduled")) === nothing) && (return false) - (getproperty(o, Symbol("desiredNumberScheduled")) === nothing) && (return false) - (getproperty(o, Symbol("numberMisscheduled")) === nothing) && (return false) - (getproperty(o, Symbol("numberReady")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl deleted file mode 100644 index 56b55abb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. - - IoK8sApiAppsV1beta2DaemonSetUpdateStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1beta2RollingUpdateDaemonSet : Rolling update config params. Present only if type = \"RollingUpdate\". - - type::String : Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1beta2DaemonSetUpdateStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2RollingUpdateDaemonSet } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2DaemonSetUpdateStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DaemonSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1beta2DaemonSetUpdateStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2DaemonSetUpdateStrategy - -const _property_map_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta2RollingUpdateDaemonSet", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DaemonSetUpdateStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DaemonSetUpdateStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DaemonSetUpdateStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetUpdateStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2Deployment.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2Deployment.jl deleted file mode 100644 index 104e24e1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2Deployment.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. - - IoK8sApiAppsV1beta2Deployment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. - - spec::IoK8sApiAppsV1beta2DeploymentSpec : Specification of the desired behavior of the Deployment. - - status::IoK8sApiAppsV1beta2DeploymentStatus : Most recently observed status of the Deployment. -""" -mutable struct IoK8sApiAppsV1beta2Deployment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DeploymentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DeploymentStatus } # spec name: status - - function IoK8sApiAppsV1beta2Deployment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta2Deployment - -const _property_map_IoK8sApiAppsV1beta2Deployment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta2Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2DeploymentSpec", Symbol("status")=>"IoK8sApiAppsV1beta2DeploymentStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2Deployment }) = collect(keys(_property_map_IoK8sApiAppsV1beta2Deployment)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2Deployment[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2Deployment }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2Deployment[property_name] - -function check_required(o::IoK8sApiAppsV1beta2Deployment) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2Deployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentCondition.jl deleted file mode 100644 index ebf5bf50..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentCondition describes the state of a deployment at a certain point. - - IoK8sApiAppsV1beta2DeploymentCondition(; - lastTransitionTime=nothing, - lastUpdateTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - lastUpdateTime::IoK8sApimachineryPkgApisMetaV1Time : The last time this condition was updated. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of deployment condition. -""" -mutable struct IoK8sApiAppsV1beta2DeploymentCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - lastUpdateTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastUpdateTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2DeploymentCondition(;lastTransitionTime=nothing, lastUpdateTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) - setfield!(o, Symbol("lastUpdateTime"), lastUpdateTime) - validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2DeploymentCondition - -const _property_map_IoK8sApiAppsV1beta2DeploymentCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("lastUpdateTime")=>Symbol("lastUpdateTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastUpdateTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DeploymentCondition }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DeploymentCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DeploymentCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DeploymentCondition[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DeploymentCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentList.jl deleted file mode 100644 index 8f5246f3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentList is a list of Deployments. - - IoK8sApiAppsV1beta2DeploymentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta2Deployment} : Items is the list of Deployments. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. -""" -mutable struct IoK8sApiAppsV1beta2DeploymentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2Deployment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta2DeploymentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta2DeploymentList - -const _property_map_IoK8sApiAppsV1beta2DeploymentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta2DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DeploymentList }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DeploymentList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DeploymentList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DeploymentList[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DeploymentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentSpec.jl deleted file mode 100644 index 68817712..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentSpec.jl +++ /dev/null @@ -1,72 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentSpec is the specification of the desired behavior of the Deployment. - - IoK8sApiAppsV1beta2DeploymentSpec(; - minReadySeconds=nothing, - paused=nothing, - progressDeadlineSeconds=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - strategy=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - paused::Bool : Indicates that the deployment is paused. - - progressDeadlineSeconds::Int32 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. - - replicas::Int32 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. - - revisionHistoryLimit::Int32 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. - - strategy::IoK8sApiAppsV1beta2DeploymentStrategy : The deployment strategy to use to replace existing pods with new ones. - - template::IoK8sApiCoreV1PodTemplateSpec : Template describes the pods that will be created. -""" -mutable struct IoK8sApiAppsV1beta2DeploymentSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - paused::Any # spec type: Union{ Nothing, Bool } # spec name: paused - progressDeadlineSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: progressDeadlineSeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - strategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DeploymentStrategy } # spec name: strategy - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiAppsV1beta2DeploymentSpec(;minReadySeconds=nothing, paused=nothing, progressDeadlineSeconds=nothing, replicas=nothing, revisionHistoryLimit=nothing, selector=nothing, strategy=nothing, template=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("paused"), paused) - setfield!(o, Symbol("paused"), paused) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - setfield!(o, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("strategy"), strategy) - setfield!(o, Symbol("strategy"), strategy) - validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiAppsV1beta2DeploymentSpec - -const _property_map_IoK8sApiAppsV1beta2DeploymentSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("paused")=>Symbol("paused"), Symbol("progressDeadlineSeconds")=>Symbol("progressDeadlineSeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("strategy")=>Symbol("strategy"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiAppsV1beta2DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiAppsV1beta2DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DeploymentSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DeploymentSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DeploymentSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DeploymentSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DeploymentSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentStatus.jl deleted file mode 100644 index a026768d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentStatus.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStatus is the most recently observed status of the Deployment. - - IoK8sApiAppsV1beta2DeploymentStatus(; - availableReplicas=nothing, - collisionCount=nothing, - conditions=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - unavailableReplicas=nothing, - updatedReplicas=nothing, - ) - - - availableReplicas::Int32 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. - - collisionCount::Int32 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. - - conditions::Vector{IoK8sApiAppsV1beta2DeploymentCondition} : Represents the latest available observations of a deployment's current state. - - observedGeneration::Int64 : The generation observed by the deployment controller. - - readyReplicas::Int32 : Total number of ready pods targeted by this deployment. - - replicas::Int32 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). - - unavailableReplicas::Int32 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. - - updatedReplicas::Int32 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. -""" -mutable struct IoK8sApiAppsV1beta2DeploymentStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2DeploymentCondition} } # spec name: conditions - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - unavailableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: unavailableReplicas - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiAppsV1beta2DeploymentStatus(;availableReplicas=nothing, collisionCount=nothing, conditions=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, unavailableReplicas=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) - setfield!(o, Symbol("unavailableReplicas"), unavailableReplicas) - validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiAppsV1beta2DeploymentStatus - -const _property_map_IoK8sApiAppsV1beta2DeploymentStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("unavailableReplicas")=>Symbol("unavailableReplicas"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiAppsV1beta2DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("unavailableReplicas")=>"Int32", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DeploymentStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DeploymentStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DeploymentStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DeploymentStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DeploymentStatus) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl deleted file mode 100644 index 3198384d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStrategy describes how to replace existing pods with new ones. - - IoK8sApiAppsV1beta2DeploymentStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1beta2RollingUpdateDeployment : Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. - - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1beta2DeploymentStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2RollingUpdateDeployment } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2DeploymentStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1beta2DeploymentStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2DeploymentStrategy - -const _property_map_IoK8sApiAppsV1beta2DeploymentStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta2RollingUpdateDeployment", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2DeploymentStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta2DeploymentStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2DeploymentStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2DeploymentStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta2DeploymentStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSet.jl deleted file mode 100644 index ac5059e7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. - - IoK8sApiAppsV1beta2ReplicaSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAppsV1beta2ReplicaSetSpec : Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiAppsV1beta2ReplicaSetStatus : Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiAppsV1beta2ReplicaSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ReplicaSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ReplicaSetStatus } # spec name: status - - function IoK8sApiAppsV1beta2ReplicaSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta2ReplicaSet - -const _property_map_IoK8sApiAppsV1beta2ReplicaSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta2ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2ReplicaSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta2ReplicaSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ReplicaSet }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ReplicaSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ReplicaSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ReplicaSet[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ReplicaSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl deleted file mode 100644 index b171eec6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetCondition describes the state of a replica set at a certain point. - - IoK8sApiAppsV1beta2ReplicaSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : The last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of replica set condition. -""" -mutable struct IoK8sApiAppsV1beta2ReplicaSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2ReplicaSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2ReplicaSetCondition - -const _property_map_IoK8sApiAppsV1beta2ReplicaSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2ReplicaSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ReplicaSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ReplicaSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ReplicaSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ReplicaSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ReplicaSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetList.jl deleted file mode 100644 index d26d3ef3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetList is a collection of ReplicaSets. - - IoK8sApiAppsV1beta2ReplicaSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta2ReplicaSet} : List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiAppsV1beta2ReplicaSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2ReplicaSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta2ReplicaSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta2ReplicaSetList - -const _property_map_IoK8sApiAppsV1beta2ReplicaSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta2ReplicaSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2ReplicaSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ReplicaSetList }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ReplicaSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ReplicaSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ReplicaSetList[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ReplicaSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl deleted file mode 100644 index 95829738..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetSpec is the specification of a ReplicaSet. - - IoK8sApiAppsV1beta2ReplicaSetSpec(; - minReadySeconds=nothing, - replicas=nothing, - selector=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - replicas::Int32 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template -""" -mutable struct IoK8sApiAppsV1beta2ReplicaSetSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiAppsV1beta2ReplicaSetSpec(;minReadySeconds=nothing, replicas=nothing, selector=nothing, template=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiAppsV1beta2ReplicaSetSpec - -const _property_map_IoK8sApiAppsV1beta2ReplicaSetSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiAppsV1beta2ReplicaSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ReplicaSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ReplicaSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ReplicaSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ReplicaSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ReplicaSetSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl deleted file mode 100644 index 6db9ad0b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetStatus represents the current status of a ReplicaSet. - - IoK8sApiAppsV1beta2ReplicaSetStatus(; - availableReplicas=nothing, - conditions=nothing, - fullyLabeledReplicas=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - ) - - - availableReplicas::Int32 : The number of available replicas (ready for at least minReadySeconds) for this replica set. - - conditions::Vector{IoK8sApiAppsV1beta2ReplicaSetCondition} : Represents the latest available observations of a replica set's current state. - - fullyLabeledReplicas::Int32 : The number of pods that have labels matching the labels of the pod template of the replicaset. - - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed ReplicaSet. - - readyReplicas::Int32 : The number of ready replicas for this replica set. - - replicas::Int32 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller -""" -mutable struct IoK8sApiAppsV1beta2ReplicaSetStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2ReplicaSetCondition} } # spec name: conditions - fullyLabeledReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: fullyLabeledReplicas - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiAppsV1beta2ReplicaSetStatus(;availableReplicas=nothing, conditions=nothing, fullyLabeledReplicas=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - setfield!(o, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiAppsV1beta2ReplicaSetStatus - -const _property_map_IoK8sApiAppsV1beta2ReplicaSetStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("conditions")=>Symbol("conditions"), Symbol("fullyLabeledReplicas")=>Symbol("fullyLabeledReplicas"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiAppsV1beta2ReplicaSetStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2ReplicaSetCondition}", Symbol("fullyLabeledReplicas")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ReplicaSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ReplicaSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ReplicaSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ReplicaSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ReplicaSetStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl deleted file mode 100644 index 40bfaf93..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of daemon set rolling update. - - IoK8sApiAppsV1beta2RollingUpdateDaemonSet(; - maxUnavailable=nothing, - ) - - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. -""" -mutable struct IoK8sApiAppsV1beta2RollingUpdateDaemonSet <: SwaggerModel - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiAppsV1beta2RollingUpdateDaemonSet(;maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2RollingUpdateDaemonSet, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiAppsV1beta2RollingUpdateDaemonSet - -const _property_map_IoK8sApiAppsV1beta2RollingUpdateDaemonSet = Dict{Symbol,Symbol}(Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiAppsV1beta2RollingUpdateDaemonSet = Dict{Symbol,String}(Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2RollingUpdateDaemonSet }) = collect(keys(_property_map_IoK8sApiAppsV1beta2RollingUpdateDaemonSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2RollingUpdateDaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2RollingUpdateDaemonSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2RollingUpdateDaemonSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2RollingUpdateDaemonSet[property_name] - -function check_required(o::IoK8sApiAppsV1beta2RollingUpdateDaemonSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2RollingUpdateDaemonSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl deleted file mode 100644 index 6a2730b5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of rolling update. - - IoK8sApiAppsV1beta2RollingUpdateDeployment(; - maxSurge=nothing, - maxUnavailable=nothing, - ) - - - maxSurge::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. -""" -mutable struct IoK8sApiAppsV1beta2RollingUpdateDeployment <: SwaggerModel - maxSurge::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxSurge - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiAppsV1beta2RollingUpdateDeployment(;maxSurge=nothing, maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) - setfield!(o, Symbol("maxSurge"), maxSurge) - validate_property(IoK8sApiAppsV1beta2RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiAppsV1beta2RollingUpdateDeployment - -const _property_map_IoK8sApiAppsV1beta2RollingUpdateDeployment = Dict{Symbol,Symbol}(Symbol("maxSurge")=>Symbol("maxSurge"), Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiAppsV1beta2RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2RollingUpdateDeployment }) = collect(keys(_property_map_IoK8sApiAppsV1beta2RollingUpdateDeployment)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2RollingUpdateDeployment[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2RollingUpdateDeployment }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2RollingUpdateDeployment[property_name] - -function check_required(o::IoK8sApiAppsV1beta2RollingUpdateDeployment) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2RollingUpdateDeployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl deleted file mode 100644 index e9ac7190..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. - - IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy(; - partition=nothing, - ) - - - partition::Int32 : Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. -""" -mutable struct IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy <: SwaggerModel - partition::Any # spec type: Union{ Nothing, Int32 } # spec name: partition - - function IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy(;partition=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy, Symbol("partition"), partition) - setfield!(o, Symbol("partition"), partition) - o - end -end # type IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy - -const _property_map_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy = Dict{Symbol,Symbol}(Symbol("partition")=>Symbol("partition")) -const _property_types_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy = Dict{Symbol,String}(Symbol("partition")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2Scale.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2Scale.jl deleted file mode 100644 index 29e26c2d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2Scale.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Scale represents a scaling request for a resource. - - IoK8sApiAppsV1beta2Scale(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - spec::IoK8sApiAppsV1beta2ScaleSpec : defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiAppsV1beta2ScaleStatus : current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. -""" -mutable struct IoK8sApiAppsV1beta2Scale <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ScaleSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ScaleStatus } # spec name: status - - function IoK8sApiAppsV1beta2Scale(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2Scale, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2Scale, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2Scale, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta2Scale, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta2Scale, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta2Scale - -const _property_map_IoK8sApiAppsV1beta2Scale = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta2Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2ScaleSpec", Symbol("status")=>"IoK8sApiAppsV1beta2ScaleStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2Scale }) = collect(keys(_property_map_IoK8sApiAppsV1beta2Scale)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2Scale[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2Scale }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2Scale[property_name] - -function check_required(o::IoK8sApiAppsV1beta2Scale) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2Scale }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ScaleSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ScaleSpec.jl deleted file mode 100644 index 79c968e7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ScaleSpec.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleSpec describes the attributes of a scale subresource - - IoK8sApiAppsV1beta2ScaleSpec(; - replicas=nothing, - ) - - - replicas::Int32 : desired number of instances for the scaled object. -""" -mutable struct IoK8sApiAppsV1beta2ScaleSpec <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiAppsV1beta2ScaleSpec(;replicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ScaleSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiAppsV1beta2ScaleSpec - -const _property_map_IoK8sApiAppsV1beta2ScaleSpec = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiAppsV1beta2ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ScaleSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ScaleSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ScaleSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ScaleSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ScaleSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ScaleSpec) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ScaleSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ScaleStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ScaleStatus.jl deleted file mode 100644 index afac020d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2ScaleStatus.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleStatus represents the current status of a scale subresource. - - IoK8sApiAppsV1beta2ScaleStatus(; - replicas=nothing, - selector=nothing, - targetSelector=nothing, - ) - - - replicas::Int32 : actual number of observed instances of the scaled object. - - selector::Dict{String, String} : label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - - targetSelector::String : label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -""" -mutable struct IoK8sApiAppsV1beta2ScaleStatus <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: selector - targetSelector::Any # spec type: Union{ Nothing, String } # spec name: targetSelector - - function IoK8sApiAppsV1beta2ScaleStatus(;replicas=nothing, selector=nothing, targetSelector=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2ScaleStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta2ScaleStatus, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta2ScaleStatus, Symbol("targetSelector"), targetSelector) - setfield!(o, Symbol("targetSelector"), targetSelector) - o - end -end # type IoK8sApiAppsV1beta2ScaleStatus - -const _property_map_IoK8sApiAppsV1beta2ScaleStatus = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("targetSelector")=>Symbol("targetSelector")) -const _property_types_IoK8sApiAppsV1beta2ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int32", Symbol("selector")=>"Dict{String, String}", Symbol("targetSelector")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2ScaleStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta2ScaleStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ScaleStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2ScaleStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2ScaleStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta2ScaleStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2ScaleStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSet.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSet.jl deleted file mode 100644 index edd4403c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. - - IoK8sApiAppsV1beta2StatefulSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAppsV1beta2StatefulSetSpec : Spec defines the desired identities of pods in this set. - - status::IoK8sApiAppsV1beta2StatefulSetStatus : Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. -""" -mutable struct IoK8sApiAppsV1beta2StatefulSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2StatefulSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2StatefulSetStatus } # spec name: status - - function IoK8sApiAppsV1beta2StatefulSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAppsV1beta2StatefulSet - -const _property_map_IoK8sApiAppsV1beta2StatefulSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAppsV1beta2StatefulSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2StatefulSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta2StatefulSetStatus") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2StatefulSet }) = collect(keys(_property_map_IoK8sApiAppsV1beta2StatefulSet)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSet[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2StatefulSet }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2StatefulSet[property_name] - -function check_required(o::IoK8sApiAppsV1beta2StatefulSet) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl deleted file mode 100644 index 207f75b6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetCondition describes the state of a statefulset at a certain point. - - IoK8sApiAppsV1beta2StatefulSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of statefulset condition. -""" -mutable struct IoK8sApiAppsV1beta2StatefulSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2StatefulSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2StatefulSetCondition - -const _property_map_IoK8sApiAppsV1beta2StatefulSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2StatefulSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2StatefulSetCondition }) = collect(keys(_property_map_IoK8sApiAppsV1beta2StatefulSetCondition)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2StatefulSetCondition }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2StatefulSetCondition[property_name] - -function check_required(o::IoK8sApiAppsV1beta2StatefulSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetList.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetList.jl deleted file mode 100644 index a6916218..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetList is a collection of StatefulSets. - - IoK8sApiAppsV1beta2StatefulSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAppsV1beta2StatefulSet} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiAppsV1beta2StatefulSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2StatefulSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAppsV1beta2StatefulSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAppsV1beta2StatefulSetList - -const _property_map_IoK8sApiAppsV1beta2StatefulSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAppsV1beta2StatefulSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2StatefulSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2StatefulSetList }) = collect(keys(_property_map_IoK8sApiAppsV1beta2StatefulSetList)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2StatefulSetList }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2StatefulSetList[property_name] - -function check_required(o::IoK8sApiAppsV1beta2StatefulSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl deleted file mode 100644 index 3774007d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl +++ /dev/null @@ -1,73 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A StatefulSetSpec is the specification of a StatefulSet. - - IoK8sApiAppsV1beta2StatefulSetSpec(; - podManagementPolicy=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - serviceName=nothing, - template=nothing, - updateStrategy=nothing, - volumeClaimTemplates=nothing, - ) - - - podManagementPolicy::String : podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. - - replicas::Int32 : replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. - - revisionHistoryLimit::Int32 : revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - serviceName::String : serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. - - template::IoK8sApiCoreV1PodTemplateSpec : template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. - - updateStrategy::IoK8sApiAppsV1beta2StatefulSetUpdateStrategy : updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. - - volumeClaimTemplates::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. -""" -mutable struct IoK8sApiAppsV1beta2StatefulSetSpec <: SwaggerModel - podManagementPolicy::Any # spec type: Union{ Nothing, String } # spec name: podManagementPolicy - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - serviceName::Any # spec type: Union{ Nothing, String } # spec name: serviceName - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - updateStrategy::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2StatefulSetUpdateStrategy } # spec name: updateStrategy - volumeClaimTemplates::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } # spec name: volumeClaimTemplates - - function IoK8sApiAppsV1beta2StatefulSetSpec(;podManagementPolicy=nothing, replicas=nothing, revisionHistoryLimit=nothing, selector=nothing, serviceName=nothing, template=nothing, updateStrategy=nothing, volumeClaimTemplates=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("podManagementPolicy"), podManagementPolicy) - setfield!(o, Symbol("podManagementPolicy"), podManagementPolicy) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("serviceName"), serviceName) - setfield!(o, Symbol("serviceName"), serviceName) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("updateStrategy"), updateStrategy) - setfield!(o, Symbol("updateStrategy"), updateStrategy) - validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("volumeClaimTemplates"), volumeClaimTemplates) - setfield!(o, Symbol("volumeClaimTemplates"), volumeClaimTemplates) - o - end -end # type IoK8sApiAppsV1beta2StatefulSetSpec - -const _property_map_IoK8sApiAppsV1beta2StatefulSetSpec = Dict{Symbol,Symbol}(Symbol("podManagementPolicy")=>Symbol("podManagementPolicy"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("serviceName")=>Symbol("serviceName"), Symbol("template")=>Symbol("template"), Symbol("updateStrategy")=>Symbol("updateStrategy"), Symbol("volumeClaimTemplates")=>Symbol("volumeClaimTemplates")) -const _property_types_IoK8sApiAppsV1beta2StatefulSetSpec = Dict{Symbol,String}(Symbol("podManagementPolicy")=>"String", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("serviceName")=>"String", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1beta2StatefulSetUpdateStrategy", Symbol("volumeClaimTemplates")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2StatefulSetSpec }) = collect(keys(_property_map_IoK8sApiAppsV1beta2StatefulSetSpec)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2StatefulSetSpec }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2StatefulSetSpec[property_name] - -function check_required(o::IoK8sApiAppsV1beta2StatefulSetSpec) - (getproperty(o, Symbol("selector")) === nothing) && (return false) - (getproperty(o, Symbol("serviceName")) === nothing) && (return false) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl deleted file mode 100644 index a410dc95..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl +++ /dev/null @@ -1,76 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetStatus represents the current state of a StatefulSet. - - IoK8sApiAppsV1beta2StatefulSetStatus(; - collisionCount=nothing, - conditions=nothing, - currentReplicas=nothing, - currentRevision=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - updateRevision=nothing, - updatedReplicas=nothing, - ) - - - collisionCount::Int32 : collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. - - conditions::Vector{IoK8sApiAppsV1beta2StatefulSetCondition} : Represents the latest available observations of a statefulset's current state. - - currentReplicas::Int32 : currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. - - currentRevision::String : currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). - - observedGeneration::Int64 : observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. - - readyReplicas::Int32 : readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. - - replicas::Int32 : replicas is the number of Pods created by the StatefulSet controller. - - updateRevision::String : updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) - - updatedReplicas::Int32 : updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. -""" -mutable struct IoK8sApiAppsV1beta2StatefulSetStatus <: SwaggerModel - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2StatefulSetCondition} } # spec name: conditions - currentReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: currentReplicas - currentRevision::Any # spec type: Union{ Nothing, String } # spec name: currentRevision - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - updateRevision::Any # spec type: Union{ Nothing, String } # spec name: updateRevision - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiAppsV1beta2StatefulSetStatus(;collisionCount=nothing, conditions=nothing, currentReplicas=nothing, currentRevision=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, updateRevision=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("currentReplicas"), currentReplicas) - setfield!(o, Symbol("currentReplicas"), currentReplicas) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("currentRevision"), currentRevision) - setfield!(o, Symbol("currentRevision"), currentRevision) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("updateRevision"), updateRevision) - setfield!(o, Symbol("updateRevision"), updateRevision) - validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiAppsV1beta2StatefulSetStatus - -const _property_map_IoK8sApiAppsV1beta2StatefulSetStatus = Dict{Symbol,Symbol}(Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("currentReplicas")=>Symbol("currentReplicas"), Symbol("currentRevision")=>Symbol("currentRevision"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("updateRevision")=>Symbol("updateRevision"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiAppsV1beta2StatefulSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2StatefulSetCondition}", Symbol("currentReplicas")=>"Int32", Symbol("currentRevision")=>"String", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("updateRevision")=>"String", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2StatefulSetStatus }) = collect(keys(_property_map_IoK8sApiAppsV1beta2StatefulSetStatus)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2StatefulSetStatus }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2StatefulSetStatus[property_name] - -function check_required(o::IoK8sApiAppsV1beta2StatefulSetStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl b/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl deleted file mode 100644 index 05de2043..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. - - IoK8sApiAppsV1beta2StatefulSetUpdateStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy : RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. - - type::String : Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. -""" -mutable struct IoK8sApiAppsV1beta2StatefulSetUpdateStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAppsV1beta2StatefulSetUpdateStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAppsV1beta2StatefulSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiAppsV1beta2StatefulSetUpdateStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAppsV1beta2StatefulSetUpdateStrategy - -const _property_map_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAppsV1beta2StatefulSetUpdateStrategy }) = collect(keys(_property_map_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy)) -Swagger.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiAppsV1beta2StatefulSetUpdateStrategy }, property_name::Symbol) = _property_map_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy[property_name] - -function check_required(o::IoK8sApiAppsV1beta2StatefulSetUpdateStrategy) - true -end - -function validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetUpdateStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl deleted file mode 100644 index f6b9c9c1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AuditSink represents a cluster level audit sink - - IoK8sApiAuditregistrationV1alpha1AuditSink(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuditregistrationV1alpha1AuditSinkSpec : Spec defines the audit configuration spec -""" -mutable struct IoK8sApiAuditregistrationV1alpha1AuditSink <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1AuditSinkSpec } # spec name: spec - - function IoK8sApiAuditregistrationV1alpha1AuditSink(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiAuditregistrationV1alpha1AuditSink - -const _property_map_IoK8sApiAuditregistrationV1alpha1AuditSink = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiAuditregistrationV1alpha1AuditSink = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuditregistrationV1alpha1AuditSinkSpec") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSink }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1AuditSink)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1AuditSink[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSink }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1AuditSink[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1AuditSink) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSink }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl deleted file mode 100644 index c64a3990..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AuditSinkList is a list of AuditSink items. - - IoK8sApiAuditregistrationV1alpha1AuditSinkList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAuditregistrationV1alpha1AuditSink} : List of audit configurations. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiAuditregistrationV1alpha1AuditSinkList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAuditregistrationV1alpha1AuditSink} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAuditregistrationV1alpha1AuditSinkList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAuditregistrationV1alpha1AuditSinkList - -const _property_map_IoK8sApiAuditregistrationV1alpha1AuditSinkList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAuditregistrationV1alpha1AuditSink}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkList }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1AuditSinkList)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkList[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkList }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1AuditSinkList[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1AuditSinkList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl deleted file mode 100644 index f8a75801..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AuditSinkSpec holds the spec for the audit sink - - IoK8sApiAuditregistrationV1alpha1AuditSinkSpec(; - policy=nothing, - webhook=nothing, - ) - - - policy::IoK8sApiAuditregistrationV1alpha1Policy : Policy defines the policy for selecting which events should be sent to the webhook required - - webhook::IoK8sApiAuditregistrationV1alpha1Webhook : Webhook to send events required -""" -mutable struct IoK8sApiAuditregistrationV1alpha1AuditSinkSpec <: SwaggerModel - policy::Any # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1Policy } # spec name: policy - webhook::Any # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1Webhook } # spec name: webhook - - function IoK8sApiAuditregistrationV1alpha1AuditSinkSpec(;policy=nothing, webhook=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkSpec, Symbol("policy"), policy) - setfield!(o, Symbol("policy"), policy) - validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkSpec, Symbol("webhook"), webhook) - setfield!(o, Symbol("webhook"), webhook) - o - end -end # type IoK8sApiAuditregistrationV1alpha1AuditSinkSpec - -const _property_map_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec = Dict{Symbol,Symbol}(Symbol("policy")=>Symbol("policy"), Symbol("webhook")=>Symbol("webhook")) -const _property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec = Dict{Symbol,String}(Symbol("policy")=>"IoK8sApiAuditregistrationV1alpha1Policy", Symbol("webhook")=>"IoK8sApiAuditregistrationV1alpha1Webhook") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkSpec }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkSpec }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1AuditSinkSpec) - (getproperty(o, Symbol("policy")) === nothing) && (return false) - (getproperty(o, Symbol("webhook")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1Policy.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1Policy.jl deleted file mode 100644 index d22f2f19..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1Policy.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Policy defines the configuration of how audit events are logged - - IoK8sApiAuditregistrationV1alpha1Policy(; - level=nothing, - stages=nothing, - ) - - - level::String : The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required - - stages::Vector{String} : Stages is a list of stages for which events are created. -""" -mutable struct IoK8sApiAuditregistrationV1alpha1Policy <: SwaggerModel - level::Any # spec type: Union{ Nothing, String } # spec name: level - stages::Any # spec type: Union{ Nothing, Vector{String} } # spec name: stages - - function IoK8sApiAuditregistrationV1alpha1Policy(;level=nothing, stages=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1Policy, Symbol("level"), level) - setfield!(o, Symbol("level"), level) - validate_property(IoK8sApiAuditregistrationV1alpha1Policy, Symbol("stages"), stages) - setfield!(o, Symbol("stages"), stages) - o - end -end # type IoK8sApiAuditregistrationV1alpha1Policy - -const _property_map_IoK8sApiAuditregistrationV1alpha1Policy = Dict{Symbol,Symbol}(Symbol("level")=>Symbol("level"), Symbol("stages")=>Symbol("stages")) -const _property_types_IoK8sApiAuditregistrationV1alpha1Policy = Dict{Symbol,String}(Symbol("level")=>"String", Symbol("stages")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1Policy }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1Policy)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1Policy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1Policy[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1Policy }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1Policy[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1Policy) - (getproperty(o, Symbol("level")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1Policy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl deleted file mode 100644 index 2b60fa73..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sApiAuditregistrationV1alpha1ServiceReference(; - name=nothing, - namespace=nothing, - path=nothing, - port=nothing, - ) - - - name::String : `name` is the name of the service. Required - - namespace::String : `namespace` is the namespace of the service. Required - - path::String : `path` is an optional URL path which will be sent in any request to this service. - - port::Int32 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). -""" -mutable struct IoK8sApiAuditregistrationV1alpha1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - path::Any # spec type: Union{ Nothing, String } # spec name: path - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sApiAuditregistrationV1alpha1ServiceReference(;name=nothing, namespace=nothing, path=nothing, port=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sApiAuditregistrationV1alpha1ServiceReference - -const _property_map_IoK8sApiAuditregistrationV1alpha1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("path")=>Symbol("path"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sApiAuditregistrationV1alpha1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1ServiceReference }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1ServiceReference)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1ServiceReference }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1ServiceReference[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1ServiceReference) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl deleted file mode 100644 index 02f7f17b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Webhook holds the configuration of the webhook - - IoK8sApiAuditregistrationV1alpha1Webhook(; - clientConfig=nothing, - throttle=nothing, - ) - - - clientConfig::IoK8sApiAuditregistrationV1alpha1WebhookClientConfig : ClientConfig holds the connection parameters for the webhook required - - throttle::IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig : Throttle holds the options for throttling the webhook -""" -mutable struct IoK8sApiAuditregistrationV1alpha1Webhook <: SwaggerModel - clientConfig::Any # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1WebhookClientConfig } # spec name: clientConfig - throttle::Any # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig } # spec name: throttle - - function IoK8sApiAuditregistrationV1alpha1Webhook(;clientConfig=nothing, throttle=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1Webhook, Symbol("clientConfig"), clientConfig) - setfield!(o, Symbol("clientConfig"), clientConfig) - validate_property(IoK8sApiAuditregistrationV1alpha1Webhook, Symbol("throttle"), throttle) - setfield!(o, Symbol("throttle"), throttle) - o - end -end # type IoK8sApiAuditregistrationV1alpha1Webhook - -const _property_map_IoK8sApiAuditregistrationV1alpha1Webhook = Dict{Symbol,Symbol}(Symbol("clientConfig")=>Symbol("clientConfig"), Symbol("throttle")=>Symbol("throttle")) -const _property_types_IoK8sApiAuditregistrationV1alpha1Webhook = Dict{Symbol,String}(Symbol("clientConfig")=>"IoK8sApiAuditregistrationV1alpha1WebhookClientConfig", Symbol("throttle")=>"IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1Webhook }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1Webhook)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1Webhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1Webhook[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1Webhook }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1Webhook[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1Webhook) - (getproperty(o, Symbol("clientConfig")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1Webhook }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl deleted file mode 100644 index ced79456..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookClientConfig contains the information to make a connection with the webhook - - IoK8sApiAuditregistrationV1alpha1WebhookClientConfig(; - caBundle=nothing, - service=nothing, - url=nothing, - ) - - - caBundle::Vector{UInt8} : `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - - service::IoK8sApiAuditregistrationV1alpha1ServiceReference : `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. - - url::String : `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. -""" -mutable struct IoK8sApiAuditregistrationV1alpha1WebhookClientConfig <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - service::Any # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1ServiceReference } # spec name: service - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiAuditregistrationV1alpha1WebhookClientConfig(;caBundle=nothing, service=nothing, url=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1WebhookClientConfig, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sApiAuditregistrationV1alpha1WebhookClientConfig, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sApiAuditregistrationV1alpha1WebhookClientConfig, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiAuditregistrationV1alpha1WebhookClientConfig - -const _property_map_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("service")=>Symbol("service"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiAuditregistrationV1alpha1ServiceReference", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookClientConfig }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookClientConfig }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1WebhookClientConfig) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookClientConfig }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl b/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl deleted file mode 100644 index 18e5a856..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookThrottleConfig holds the configuration for throttling events - - IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig(; - burst=nothing, - qps=nothing, - ) - - - burst::Int64 : ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS - - qps::Int64 : ThrottleQPS maximum number of batches per second default 10 QPS -""" -mutable struct IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig <: SwaggerModel - burst::Any # spec type: Union{ Nothing, Int64 } # spec name: burst - qps::Any # spec type: Union{ Nothing, Int64 } # spec name: qps - - function IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig(;burst=nothing, qps=nothing) - o = new() - validate_property(IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig, Symbol("burst"), burst) - setfield!(o, Symbol("burst"), burst) - validate_property(IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig, Symbol("qps"), qps) - setfield!(o, Symbol("qps"), qps) - o - end -end # type IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig - -const _property_map_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig = Dict{Symbol,Symbol}(Symbol("burst")=>Symbol("burst"), Symbol("qps")=>Symbol("qps")) -const _property_types_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig = Dict{Symbol,String}(Symbol("burst")=>"Int64", Symbol("qps")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig }) = collect(keys(_property_map_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig)) -Swagger.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig }, property_name::Symbol) = _property_map_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig[property_name] - -function check_required(o::IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig) - true -end - -function validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1BoundObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1BoundObjectReference.jl deleted file mode 100644 index ad34751e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1BoundObjectReference.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""BoundObjectReference is a reference to an object that a token is bound to. - - IoK8sApiAuthenticationV1BoundObjectReference(; - apiVersion=nothing, - kind=nothing, - name=nothing, - uid=nothing, - ) - - - apiVersion::String : API version of the referent. - - kind::String : Kind of the referent. Valid kinds are 'Pod' and 'Secret'. - - name::String : Name of the referent. - - uid::String : UID of the referent. -""" -mutable struct IoK8sApiAuthenticationV1BoundObjectReference <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApiAuthenticationV1BoundObjectReference(;apiVersion=nothing, kind=nothing, name=nothing, uid=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApiAuthenticationV1BoundObjectReference - -const _property_map_IoK8sApiAuthenticationV1BoundObjectReference = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApiAuthenticationV1BoundObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1BoundObjectReference }) = collect(keys(_property_map_IoK8sApiAuthenticationV1BoundObjectReference)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1BoundObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1BoundObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1BoundObjectReference }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1BoundObjectReference[property_name] - -function check_required(o::IoK8sApiAuthenticationV1BoundObjectReference) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1BoundObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequest.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequest.jl deleted file mode 100644 index 889290f1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequest.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenRequest requests a token for a given service account. - - IoK8sApiAuthenticationV1TokenRequest(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthenticationV1TokenRequestSpec - - status::IoK8sApiAuthenticationV1TokenRequestStatus -""" -mutable struct IoK8sApiAuthenticationV1TokenRequest <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenRequestSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenRequestStatus } # spec name: status - - function IoK8sApiAuthenticationV1TokenRequest(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthenticationV1TokenRequest - -const _property_map_IoK8sApiAuthenticationV1TokenRequest = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthenticationV1TokenRequest = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthenticationV1TokenRequestSpec", Symbol("status")=>"IoK8sApiAuthenticationV1TokenRequestStatus") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1TokenRequest }) = collect(keys(_property_map_IoK8sApiAuthenticationV1TokenRequest)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1TokenRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenRequest[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1TokenRequest }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1TokenRequest[property_name] - -function check_required(o::IoK8sApiAuthenticationV1TokenRequest) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1TokenRequest }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl deleted file mode 100644 index 65df81c5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenRequestSpec contains client provided parameters of a token request. - - IoK8sApiAuthenticationV1TokenRequestSpec(; - audiences=nothing, - boundObjectRef=nothing, - expirationSeconds=nothing, - ) - - - audiences::Vector{String} : Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences. - - boundObjectRef::IoK8sApiAuthenticationV1BoundObjectReference : BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation. - - expirationSeconds::Int64 : ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. -""" -mutable struct IoK8sApiAuthenticationV1TokenRequestSpec <: SwaggerModel - audiences::Any # spec type: Union{ Nothing, Vector{String} } # spec name: audiences - boundObjectRef::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1BoundObjectReference } # spec name: boundObjectRef - expirationSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: expirationSeconds - - function IoK8sApiAuthenticationV1TokenRequestSpec(;audiences=nothing, boundObjectRef=nothing, expirationSeconds=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1TokenRequestSpec, Symbol("audiences"), audiences) - setfield!(o, Symbol("audiences"), audiences) - validate_property(IoK8sApiAuthenticationV1TokenRequestSpec, Symbol("boundObjectRef"), boundObjectRef) - setfield!(o, Symbol("boundObjectRef"), boundObjectRef) - validate_property(IoK8sApiAuthenticationV1TokenRequestSpec, Symbol("expirationSeconds"), expirationSeconds) - setfield!(o, Symbol("expirationSeconds"), expirationSeconds) - o - end -end # type IoK8sApiAuthenticationV1TokenRequestSpec - -const _property_map_IoK8sApiAuthenticationV1TokenRequestSpec = Dict{Symbol,Symbol}(Symbol("audiences")=>Symbol("audiences"), Symbol("boundObjectRef")=>Symbol("boundObjectRef"), Symbol("expirationSeconds")=>Symbol("expirationSeconds")) -const _property_types_IoK8sApiAuthenticationV1TokenRequestSpec = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("boundObjectRef")=>"IoK8sApiAuthenticationV1BoundObjectReference", Symbol("expirationSeconds")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1TokenRequestSpec }) = collect(keys(_property_map_IoK8sApiAuthenticationV1TokenRequestSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1TokenRequestSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenRequestSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1TokenRequestSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1TokenRequestSpec[property_name] - -function check_required(o::IoK8sApiAuthenticationV1TokenRequestSpec) - (getproperty(o, Symbol("audiences")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1TokenRequestSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl deleted file mode 100644 index 34f988ac..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenRequestStatus is the result of a token request. - - IoK8sApiAuthenticationV1TokenRequestStatus(; - expirationTimestamp=nothing, - token=nothing, - ) - - - expirationTimestamp::IoK8sApimachineryPkgApisMetaV1Time : ExpirationTimestamp is the time of expiration of the returned token. - - token::String : Token is the opaque bearer token. -""" -mutable struct IoK8sApiAuthenticationV1TokenRequestStatus <: SwaggerModel - expirationTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: expirationTimestamp - token::Any # spec type: Union{ Nothing, String } # spec name: token - - function IoK8sApiAuthenticationV1TokenRequestStatus(;expirationTimestamp=nothing, token=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1TokenRequestStatus, Symbol("expirationTimestamp"), expirationTimestamp) - setfield!(o, Symbol("expirationTimestamp"), expirationTimestamp) - validate_property(IoK8sApiAuthenticationV1TokenRequestStatus, Symbol("token"), token) - setfield!(o, Symbol("token"), token) - o - end -end # type IoK8sApiAuthenticationV1TokenRequestStatus - -const _property_map_IoK8sApiAuthenticationV1TokenRequestStatus = Dict{Symbol,Symbol}(Symbol("expirationTimestamp")=>Symbol("expirationTimestamp"), Symbol("token")=>Symbol("token")) -const _property_types_IoK8sApiAuthenticationV1TokenRequestStatus = Dict{Symbol,String}(Symbol("expirationTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("token")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1TokenRequestStatus }) = collect(keys(_property_map_IoK8sApiAuthenticationV1TokenRequestStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1TokenRequestStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenRequestStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1TokenRequestStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1TokenRequestStatus[property_name] - -function check_required(o::IoK8sApiAuthenticationV1TokenRequestStatus) - (getproperty(o, Symbol("expirationTimestamp")) === nothing) && (return false) - (getproperty(o, Symbol("token")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1TokenRequestStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReview.jl deleted file mode 100644 index bb08eec6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. - - IoK8sApiAuthenticationV1TokenReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthenticationV1TokenReviewSpec : Spec holds information about the request being evaluated - - status::IoK8sApiAuthenticationV1TokenReviewStatus : Status is filled in by the server and indicates whether the request can be authenticated. -""" -mutable struct IoK8sApiAuthenticationV1TokenReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenReviewStatus } # spec name: status - - function IoK8sApiAuthenticationV1TokenReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthenticationV1TokenReview - -const _property_map_IoK8sApiAuthenticationV1TokenReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthenticationV1TokenReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthenticationV1TokenReviewSpec", Symbol("status")=>"IoK8sApiAuthenticationV1TokenReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1TokenReview }) = collect(keys(_property_map_IoK8sApiAuthenticationV1TokenReview)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1TokenReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1TokenReview }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1TokenReview[property_name] - -function check_required(o::IoK8sApiAuthenticationV1TokenReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1TokenReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl deleted file mode 100644 index ad8cfc58..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenReviewSpec is a description of the token authentication request. - - IoK8sApiAuthenticationV1TokenReviewSpec(; - audiences=nothing, - token=nothing, - ) - - - audiences::Vector{String} : Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. - - token::String : Token is the opaque bearer token. -""" -mutable struct IoK8sApiAuthenticationV1TokenReviewSpec <: SwaggerModel - audiences::Any # spec type: Union{ Nothing, Vector{String} } # spec name: audiences - token::Any # spec type: Union{ Nothing, String } # spec name: token - - function IoK8sApiAuthenticationV1TokenReviewSpec(;audiences=nothing, token=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1TokenReviewSpec, Symbol("audiences"), audiences) - setfield!(o, Symbol("audiences"), audiences) - validate_property(IoK8sApiAuthenticationV1TokenReviewSpec, Symbol("token"), token) - setfield!(o, Symbol("token"), token) - o - end -end # type IoK8sApiAuthenticationV1TokenReviewSpec - -const _property_map_IoK8sApiAuthenticationV1TokenReviewSpec = Dict{Symbol,Symbol}(Symbol("audiences")=>Symbol("audiences"), Symbol("token")=>Symbol("token")) -const _property_types_IoK8sApiAuthenticationV1TokenReviewSpec = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("token")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1TokenReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthenticationV1TokenReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1TokenReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1TokenReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1TokenReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthenticationV1TokenReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1TokenReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl deleted file mode 100644 index b61202eb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenReviewStatus is the result of the token authentication request. - - IoK8sApiAuthenticationV1TokenReviewStatus(; - audiences=nothing, - authenticated=nothing, - error=nothing, - user=nothing, - ) - - - audiences::Vector{String} : Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. - - authenticated::Bool : Authenticated indicates that the token was associated with a known user. - - error::String : Error indicates that the token couldn't be checked - - user::IoK8sApiAuthenticationV1UserInfo : User is the UserInfo associated with the provided token. -""" -mutable struct IoK8sApiAuthenticationV1TokenReviewStatus <: SwaggerModel - audiences::Any # spec type: Union{ Nothing, Vector{String} } # spec name: audiences - authenticated::Any # spec type: Union{ Nothing, Bool } # spec name: authenticated - error::Any # spec type: Union{ Nothing, String } # spec name: error - user::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1UserInfo } # spec name: user - - function IoK8sApiAuthenticationV1TokenReviewStatus(;audiences=nothing, authenticated=nothing, error=nothing, user=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("audiences"), audiences) - setfield!(o, Symbol("audiences"), audiences) - validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("authenticated"), authenticated) - setfield!(o, Symbol("authenticated"), authenticated) - validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("error"), error) - setfield!(o, Symbol("error"), error) - validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiAuthenticationV1TokenReviewStatus - -const _property_map_IoK8sApiAuthenticationV1TokenReviewStatus = Dict{Symbol,Symbol}(Symbol("audiences")=>Symbol("audiences"), Symbol("authenticated")=>Symbol("authenticated"), Symbol("error")=>Symbol("error"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiAuthenticationV1TokenReviewStatus = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("authenticated")=>"Bool", Symbol("error")=>"String", Symbol("user")=>"IoK8sApiAuthenticationV1UserInfo") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1TokenReviewStatus }) = collect(keys(_property_map_IoK8sApiAuthenticationV1TokenReviewStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1TokenReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenReviewStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1TokenReviewStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1TokenReviewStatus[property_name] - -function check_required(o::IoK8sApiAuthenticationV1TokenReviewStatus) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1TokenReviewStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1UserInfo.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1UserInfo.jl deleted file mode 100644 index 22f96668..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1UserInfo.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""UserInfo holds the information about the user needed to implement the user.Info interface. - - IoK8sApiAuthenticationV1UserInfo(; - extra=nothing, - groups=nothing, - uid=nothing, - username=nothing, - ) - - - extra::Dict{String, Vector{String}} : Any additional information provided by the authenticator. - - groups::Vector{String} : The names of groups this user is a part of. - - uid::String : A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. - - username::String : The name that uniquely identifies this user among all active users. -""" -mutable struct IoK8sApiAuthenticationV1UserInfo <: SwaggerModel - extra::Any # spec type: Union{ Nothing, Dict{String, Vector{String}} } # spec name: extra - groups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: groups - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - username::Any # spec type: Union{ Nothing, String } # spec name: username - - function IoK8sApiAuthenticationV1UserInfo(;extra=nothing, groups=nothing, uid=nothing, username=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("extra"), extra) - setfield!(o, Symbol("extra"), extra) - validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("groups"), groups) - setfield!(o, Symbol("groups"), groups) - validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("username"), username) - setfield!(o, Symbol("username"), username) - o - end -end # type IoK8sApiAuthenticationV1UserInfo - -const _property_map_IoK8sApiAuthenticationV1UserInfo = Dict{Symbol,Symbol}(Symbol("extra")=>Symbol("extra"), Symbol("groups")=>Symbol("groups"), Symbol("uid")=>Symbol("uid"), Symbol("username")=>Symbol("username")) -const _property_types_IoK8sApiAuthenticationV1UserInfo = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("uid")=>"String", Symbol("username")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1UserInfo }) = collect(keys(_property_map_IoK8sApiAuthenticationV1UserInfo)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1UserInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1UserInfo[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1UserInfo }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1UserInfo[property_name] - -function check_required(o::IoK8sApiAuthenticationV1UserInfo) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1UserInfo }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReview.jl deleted file mode 100644 index 6113c7db..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. - - IoK8sApiAuthenticationV1beta1TokenReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthenticationV1beta1TokenReviewSpec : Spec holds information about the request being evaluated - - status::IoK8sApiAuthenticationV1beta1TokenReviewStatus : Status is filled in by the server and indicates whether the request can be authenticated. -""" -mutable struct IoK8sApiAuthenticationV1beta1TokenReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1beta1TokenReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1beta1TokenReviewStatus } # spec name: status - - function IoK8sApiAuthenticationV1beta1TokenReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthenticationV1beta1TokenReview - -const _property_map_IoK8sApiAuthenticationV1beta1TokenReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthenticationV1beta1TokenReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthenticationV1beta1TokenReviewSpec", Symbol("status")=>"IoK8sApiAuthenticationV1beta1TokenReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1beta1TokenReview }) = collect(keys(_property_map_IoK8sApiAuthenticationV1beta1TokenReview)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1beta1TokenReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1TokenReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1beta1TokenReview }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1beta1TokenReview[property_name] - -function check_required(o::IoK8sApiAuthenticationV1beta1TokenReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1beta1TokenReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl deleted file mode 100644 index 7d20625f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenReviewSpec is a description of the token authentication request. - - IoK8sApiAuthenticationV1beta1TokenReviewSpec(; - audiences=nothing, - token=nothing, - ) - - - audiences::Vector{String} : Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. - - token::String : Token is the opaque bearer token. -""" -mutable struct IoK8sApiAuthenticationV1beta1TokenReviewSpec <: SwaggerModel - audiences::Any # spec type: Union{ Nothing, Vector{String} } # spec name: audiences - token::Any # spec type: Union{ Nothing, String } # spec name: token - - function IoK8sApiAuthenticationV1beta1TokenReviewSpec(;audiences=nothing, token=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1beta1TokenReviewSpec, Symbol("audiences"), audiences) - setfield!(o, Symbol("audiences"), audiences) - validate_property(IoK8sApiAuthenticationV1beta1TokenReviewSpec, Symbol("token"), token) - setfield!(o, Symbol("token"), token) - o - end -end # type IoK8sApiAuthenticationV1beta1TokenReviewSpec - -const _property_map_IoK8sApiAuthenticationV1beta1TokenReviewSpec = Dict{Symbol,Symbol}(Symbol("audiences")=>Symbol("audiences"), Symbol("token")=>Symbol("token")) -const _property_types_IoK8sApiAuthenticationV1beta1TokenReviewSpec = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("token")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthenticationV1beta1TokenReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1TokenReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1beta1TokenReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthenticationV1beta1TokenReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl deleted file mode 100644 index 9b899e80..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TokenReviewStatus is the result of the token authentication request. - - IoK8sApiAuthenticationV1beta1TokenReviewStatus(; - audiences=nothing, - authenticated=nothing, - error=nothing, - user=nothing, - ) - - - audiences::Vector{String} : Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. - - authenticated::Bool : Authenticated indicates that the token was associated with a known user. - - error::String : Error indicates that the token couldn't be checked - - user::IoK8sApiAuthenticationV1beta1UserInfo : User is the UserInfo associated with the provided token. -""" -mutable struct IoK8sApiAuthenticationV1beta1TokenReviewStatus <: SwaggerModel - audiences::Any # spec type: Union{ Nothing, Vector{String} } # spec name: audiences - authenticated::Any # spec type: Union{ Nothing, Bool } # spec name: authenticated - error::Any # spec type: Union{ Nothing, String } # spec name: error - user::Any # spec type: Union{ Nothing, IoK8sApiAuthenticationV1beta1UserInfo } # spec name: user - - function IoK8sApiAuthenticationV1beta1TokenReviewStatus(;audiences=nothing, authenticated=nothing, error=nothing, user=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("audiences"), audiences) - setfield!(o, Symbol("audiences"), audiences) - validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("authenticated"), authenticated) - setfield!(o, Symbol("authenticated"), authenticated) - validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("error"), error) - setfield!(o, Symbol("error"), error) - validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiAuthenticationV1beta1TokenReviewStatus - -const _property_map_IoK8sApiAuthenticationV1beta1TokenReviewStatus = Dict{Symbol,Symbol}(Symbol("audiences")=>Symbol("audiences"), Symbol("authenticated")=>Symbol("authenticated"), Symbol("error")=>Symbol("error"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiAuthenticationV1beta1TokenReviewStatus = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("authenticated")=>"Bool", Symbol("error")=>"String", Symbol("user")=>"IoK8sApiAuthenticationV1beta1UserInfo") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewStatus }) = collect(keys(_property_map_IoK8sApiAuthenticationV1beta1TokenReviewStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1TokenReviewStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1beta1TokenReviewStatus[property_name] - -function check_required(o::IoK8sApiAuthenticationV1beta1TokenReviewStatus) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1UserInfo.jl b/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1UserInfo.jl deleted file mode 100644 index 4ab09630..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthenticationV1beta1UserInfo.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""UserInfo holds the information about the user needed to implement the user.Info interface. - - IoK8sApiAuthenticationV1beta1UserInfo(; - extra=nothing, - groups=nothing, - uid=nothing, - username=nothing, - ) - - - extra::Dict{String, Vector{String}} : Any additional information provided by the authenticator. - - groups::Vector{String} : The names of groups this user is a part of. - - uid::String : A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. - - username::String : The name that uniquely identifies this user among all active users. -""" -mutable struct IoK8sApiAuthenticationV1beta1UserInfo <: SwaggerModel - extra::Any # spec type: Union{ Nothing, Dict{String, Vector{String}} } # spec name: extra - groups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: groups - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - username::Any # spec type: Union{ Nothing, String } # spec name: username - - function IoK8sApiAuthenticationV1beta1UserInfo(;extra=nothing, groups=nothing, uid=nothing, username=nothing) - o = new() - validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("extra"), extra) - setfield!(o, Symbol("extra"), extra) - validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("groups"), groups) - setfield!(o, Symbol("groups"), groups) - validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("username"), username) - setfield!(o, Symbol("username"), username) - o - end -end # type IoK8sApiAuthenticationV1beta1UserInfo - -const _property_map_IoK8sApiAuthenticationV1beta1UserInfo = Dict{Symbol,Symbol}(Symbol("extra")=>Symbol("extra"), Symbol("groups")=>Symbol("groups"), Symbol("uid")=>Symbol("uid"), Symbol("username")=>Symbol("username")) -const _property_types_IoK8sApiAuthenticationV1beta1UserInfo = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("uid")=>"String", Symbol("username")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthenticationV1beta1UserInfo }) = collect(keys(_property_map_IoK8sApiAuthenticationV1beta1UserInfo)) -Swagger.property_type(::Type{ IoK8sApiAuthenticationV1beta1UserInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1UserInfo[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthenticationV1beta1UserInfo }, property_name::Symbol) = _property_map_IoK8sApiAuthenticationV1beta1UserInfo[property_name] - -function check_required(o::IoK8sApiAuthenticationV1beta1UserInfo) - true -end - -function validate_property(::Type{ IoK8sApiAuthenticationV1beta1UserInfo }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl deleted file mode 100644 index bd151cb9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. - - IoK8sApiAuthorizationV1LocalSubjectAccessReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1SubjectAccessReviewSpec : Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. - - status::IoK8sApiAuthorizationV1SubjectAccessReviewStatus : Status is filled in by the server and indicates whether the request is allowed or not -""" -mutable struct IoK8sApiAuthorizationV1LocalSubjectAccessReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1LocalSubjectAccessReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1LocalSubjectAccessReview - -const _property_map_IoK8sApiAuthorizationV1LocalSubjectAccessReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1LocalSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectAccessReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1LocalSubjectAccessReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1LocalSubjectAccessReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1LocalSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1LocalSubjectAccessReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1LocalSubjectAccessReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1LocalSubjectAccessReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1LocalSubjectAccessReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1LocalSubjectAccessReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl deleted file mode 100644 index 81e456dd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface - - IoK8sApiAuthorizationV1NonResourceAttributes(; - path=nothing, - verb=nothing, - ) - - - path::String : Path is the URL path of the request - - verb::String : Verb is the standard HTTP verb -""" -mutable struct IoK8sApiAuthorizationV1NonResourceAttributes <: SwaggerModel - path::Any # spec type: Union{ Nothing, String } # spec name: path - verb::Any # spec type: Union{ Nothing, String } # spec name: verb - - function IoK8sApiAuthorizationV1NonResourceAttributes(;path=nothing, verb=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1NonResourceAttributes, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiAuthorizationV1NonResourceAttributes, Symbol("verb"), verb) - setfield!(o, Symbol("verb"), verb) - o - end -end # type IoK8sApiAuthorizationV1NonResourceAttributes - -const _property_map_IoK8sApiAuthorizationV1NonResourceAttributes = Dict{Symbol,Symbol}(Symbol("path")=>Symbol("path"), Symbol("verb")=>Symbol("verb")) -const _property_types_IoK8sApiAuthorizationV1NonResourceAttributes = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("verb")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1NonResourceAttributes }) = collect(keys(_property_map_IoK8sApiAuthorizationV1NonResourceAttributes)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1NonResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1NonResourceAttributes[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1NonResourceAttributes }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1NonResourceAttributes[property_name] - -function check_required(o::IoK8sApiAuthorizationV1NonResourceAttributes) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1NonResourceAttributes }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1NonResourceRule.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1NonResourceRule.jl deleted file mode 100644 index 31aa7bb5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1NonResourceRule.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NonResourceRule holds information that describes a rule for the non-resource - - IoK8sApiAuthorizationV1NonResourceRule(; - nonResourceURLs=nothing, - verbs=nothing, - ) - - - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. - - verbs::Vector{String} : Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. -""" -mutable struct IoK8sApiAuthorizationV1NonResourceRule <: SwaggerModel - nonResourceURLs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nonResourceURLs - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiAuthorizationV1NonResourceRule(;nonResourceURLs=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1NonResourceRule, Symbol("nonResourceURLs"), nonResourceURLs) - setfield!(o, Symbol("nonResourceURLs"), nonResourceURLs) - validate_property(IoK8sApiAuthorizationV1NonResourceRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiAuthorizationV1NonResourceRule - -const _property_map_IoK8sApiAuthorizationV1NonResourceRule = Dict{Symbol,Symbol}(Symbol("nonResourceURLs")=>Symbol("nonResourceURLs"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiAuthorizationV1NonResourceRule = Dict{Symbol,String}(Symbol("nonResourceURLs")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1NonResourceRule }) = collect(keys(_property_map_IoK8sApiAuthorizationV1NonResourceRule)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1NonResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1NonResourceRule[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1NonResourceRule }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1NonResourceRule[property_name] - -function check_required(o::IoK8sApiAuthorizationV1NonResourceRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1NonResourceRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1ResourceAttributes.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1ResourceAttributes.jl deleted file mode 100644 index 10b954e2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1ResourceAttributes.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface - - IoK8sApiAuthorizationV1ResourceAttributes(; - group=nothing, - name=nothing, - namespace=nothing, - resource=nothing, - subresource=nothing, - verb=nothing, - version=nothing, - ) - - - group::String : Group is the API Group of the Resource. \"*\" means all. - - name::String : Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. - - namespace::String : Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview - - resource::String : Resource is one of the existing resource types. \"*\" means all. - - subresource::String : Subresource is one of the existing resource types. \"\" means none. - - verb::String : Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. - - version::String : Version is the API Version of the Resource. \"*\" means all. -""" -mutable struct IoK8sApiAuthorizationV1ResourceAttributes <: SwaggerModel - group::Any # spec type: Union{ Nothing, String } # spec name: group - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - resource::Any # spec type: Union{ Nothing, String } # spec name: resource - subresource::Any # spec type: Union{ Nothing, String } # spec name: subresource - verb::Any # spec type: Union{ Nothing, String } # spec name: verb - version::Any # spec type: Union{ Nothing, String } # spec name: version - - function IoK8sApiAuthorizationV1ResourceAttributes(;group=nothing, name=nothing, namespace=nothing, resource=nothing, subresource=nothing, verb=nothing, version=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("subresource"), subresource) - setfield!(o, Symbol("subresource"), subresource) - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("verb"), verb) - setfield!(o, Symbol("verb"), verb) - validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - o - end -end # type IoK8sApiAuthorizationV1ResourceAttributes - -const _property_map_IoK8sApiAuthorizationV1ResourceAttributes = Dict{Symbol,Symbol}(Symbol("group")=>Symbol("group"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("resource")=>Symbol("resource"), Symbol("subresource")=>Symbol("subresource"), Symbol("verb")=>Symbol("verb"), Symbol("version")=>Symbol("version")) -const _property_types_IoK8sApiAuthorizationV1ResourceAttributes = Dict{Symbol,String}(Symbol("group")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resource")=>"String", Symbol("subresource")=>"String", Symbol("verb")=>"String", Symbol("version")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1ResourceAttributes }) = collect(keys(_property_map_IoK8sApiAuthorizationV1ResourceAttributes)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1ResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1ResourceAttributes[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1ResourceAttributes }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1ResourceAttributes[property_name] - -function check_required(o::IoK8sApiAuthorizationV1ResourceAttributes) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1ResourceAttributes }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1ResourceRule.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1ResourceRule.jl deleted file mode 100644 index dce5eee0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1ResourceRule.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. - - IoK8sApiAuthorizationV1ResourceRule(; - apiGroups=nothing, - resourceNames=nothing, - resources=nothing, - verbs=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. - - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. - - resources::Vector{String} : Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. - - verbs::Vector{String} : Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. -""" -mutable struct IoK8sApiAuthorizationV1ResourceRule <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - resourceNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resourceNames - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiAuthorizationV1ResourceRule(;apiGroups=nothing, resourceNames=nothing, resources=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("resourceNames"), resourceNames) - setfield!(o, Symbol("resourceNames"), resourceNames) - validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiAuthorizationV1ResourceRule - -const _property_map_IoK8sApiAuthorizationV1ResourceRule = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("resourceNames")=>Symbol("resourceNames"), Symbol("resources")=>Symbol("resources"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiAuthorizationV1ResourceRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1ResourceRule }) = collect(keys(_property_map_IoK8sApiAuthorizationV1ResourceRule)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1ResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1ResourceRule[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1ResourceRule }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1ResourceRule[property_name] - -function check_required(o::IoK8sApiAuthorizationV1ResourceRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1ResourceRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl deleted file mode 100644 index 46371988..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action - - IoK8sApiAuthorizationV1SelfSubjectAccessReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec : Spec holds information about the request being evaluated. user and groups must be empty - - status::IoK8sApiAuthorizationV1SubjectAccessReviewStatus : Status is filled in by the server and indicates whether the request is allowed or not -""" -mutable struct IoK8sApiAuthorizationV1SelfSubjectAccessReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1SelfSubjectAccessReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1SelfSubjectAccessReview - -const _property_map_IoK8sApiAuthorizationV1SelfSubjectAccessReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectAccessReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SelfSubjectAccessReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SelfSubjectAccessReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SelfSubjectAccessReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl deleted file mode 100644 index b7fae214..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set - - IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec(; - nonResourceAttributes=nothing, - resourceAttributes=nothing, - ) - - - nonResourceAttributes::IoK8sApiAuthorizationV1NonResourceAttributes : NonResourceAttributes describes information for a non-resource access request - - resourceAttributes::IoK8sApiAuthorizationV1ResourceAttributes : ResourceAuthorizationAttributes describes information for a resource access request -""" -mutable struct IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec <: SwaggerModel - nonResourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1NonResourceAttributes } # spec name: nonResourceAttributes - resourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1ResourceAttributes } # spec name: resourceAttributes - - function IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec(;nonResourceAttributes=nothing, resourceAttributes=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) - setfield!(o, Symbol("nonResourceAttributes"), nonResourceAttributes) - validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) - setfield!(o, Symbol("resourceAttributes"), resourceAttributes) - o - end -end # type IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec - -const _property_map_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec = Dict{Symbol,Symbol}(Symbol("nonResourceAttributes")=>Symbol("nonResourceAttributes"), Symbol("resourceAttributes")=>Symbol("resourceAttributes")) -const _property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1ResourceAttributes") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl deleted file mode 100644 index be6bdf67..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. - - IoK8sApiAuthorizationV1SelfSubjectRulesReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec : Spec holds information about the request being evaluated. - - status::IoK8sApiAuthorizationV1SubjectRulesReviewStatus : Status is filled in by the server and indicates the set of actions a user can perform. -""" -mutable struct IoK8sApiAuthorizationV1SelfSubjectRulesReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectRulesReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1SelfSubjectRulesReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1SelfSubjectRulesReview - -const _property_map_IoK8sApiAuthorizationV1SelfSubjectRulesReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectRulesReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SelfSubjectRulesReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SelfSubjectRulesReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SelfSubjectRulesReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl deleted file mode 100644 index bb2fc9b5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw""" - IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec(; - namespace=nothing, - ) - - - namespace::String : Namespace to evaluate rules for. Required. -""" -mutable struct IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec <: SwaggerModel - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec(;namespace=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec - -const _property_map_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec = Dict{Symbol,Symbol}(Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec = Dict{Symbol,String}(Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl deleted file mode 100644 index ae903fb7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectAccessReview checks whether or not a user or group can perform an action. - - IoK8sApiAuthorizationV1SubjectAccessReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1SubjectAccessReviewSpec : Spec holds information about the request being evaluated - - status::IoK8sApiAuthorizationV1SubjectAccessReviewStatus : Status is filled in by the server and indicates whether the request is allowed or not -""" -mutable struct IoK8sApiAuthorizationV1SubjectAccessReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1SubjectAccessReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1SubjectAccessReview - -const _property_map_IoK8sApiAuthorizationV1SubjectAccessReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1SubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectAccessReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SubjectAccessReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SubjectAccessReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectAccessReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SubjectAccessReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SubjectAccessReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SubjectAccessReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SubjectAccessReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl deleted file mode 100644 index 6d8a7d21..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set - - IoK8sApiAuthorizationV1SubjectAccessReviewSpec(; - extra=nothing, - groups=nothing, - nonResourceAttributes=nothing, - resourceAttributes=nothing, - uid=nothing, - user=nothing, - ) - - - extra::Dict{String, Vector{String}} : Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. - - groups::Vector{String} : Groups is the groups you're testing for. - - nonResourceAttributes::IoK8sApiAuthorizationV1NonResourceAttributes : NonResourceAttributes describes information for a non-resource access request - - resourceAttributes::IoK8sApiAuthorizationV1ResourceAttributes : ResourceAuthorizationAttributes describes information for a resource access request - - uid::String : UID information about the requesting user. - - user::String : User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups -""" -mutable struct IoK8sApiAuthorizationV1SubjectAccessReviewSpec <: SwaggerModel - extra::Any # spec type: Union{ Nothing, Dict{String, Vector{String}} } # spec name: extra - groups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: groups - nonResourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1NonResourceAttributes } # spec name: nonResourceAttributes - resourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1ResourceAttributes } # spec name: resourceAttributes - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiAuthorizationV1SubjectAccessReviewSpec(;extra=nothing, groups=nothing, nonResourceAttributes=nothing, resourceAttributes=nothing, uid=nothing, user=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("extra"), extra) - setfield!(o, Symbol("extra"), extra) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("groups"), groups) - setfield!(o, Symbol("groups"), groups) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) - setfield!(o, Symbol("nonResourceAttributes"), nonResourceAttributes) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) - setfield!(o, Symbol("resourceAttributes"), resourceAttributes) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiAuthorizationV1SubjectAccessReviewSpec - -const _property_map_IoK8sApiAuthorizationV1SubjectAccessReviewSpec = Dict{Symbol,Symbol}(Symbol("extra")=>Symbol("extra"), Symbol("groups")=>Symbol("groups"), Symbol("nonResourceAttributes")=>Symbol("nonResourceAttributes"), Symbol("resourceAttributes")=>Symbol("resourceAttributes"), Symbol("uid")=>Symbol("uid"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiAuthorizationV1SubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1ResourceAttributes", Symbol("uid")=>"String", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SubjectAccessReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectAccessReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SubjectAccessReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SubjectAccessReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl deleted file mode 100644 index 7bc96eeb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectAccessReviewStatus - - IoK8sApiAuthorizationV1SubjectAccessReviewStatus(; - allowed=nothing, - denied=nothing, - evaluationError=nothing, - reason=nothing, - ) - - - allowed::Bool : Allowed is required. True if the action would be allowed, false otherwise. - - denied::Bool : Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. - - evaluationError::String : EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. - - reason::String : Reason is optional. It indicates why a request was allowed or denied. -""" -mutable struct IoK8sApiAuthorizationV1SubjectAccessReviewStatus <: SwaggerModel - allowed::Any # spec type: Union{ Nothing, Bool } # spec name: allowed - denied::Any # spec type: Union{ Nothing, Bool } # spec name: denied - evaluationError::Any # spec type: Union{ Nothing, String } # spec name: evaluationError - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - - function IoK8sApiAuthorizationV1SubjectAccessReviewStatus(;allowed=nothing, denied=nothing, evaluationError=nothing, reason=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("allowed"), allowed) - setfield!(o, Symbol("allowed"), allowed) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("denied"), denied) - setfield!(o, Symbol("denied"), denied) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("evaluationError"), evaluationError) - setfield!(o, Symbol("evaluationError"), evaluationError) - validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - o - end -end # type IoK8sApiAuthorizationV1SubjectAccessReviewStatus - -const _property_map_IoK8sApiAuthorizationV1SubjectAccessReviewStatus = Dict{Symbol,Symbol}(Symbol("allowed")=>Symbol("allowed"), Symbol("denied")=>Symbol("denied"), Symbol("evaluationError")=>Symbol("evaluationError"), Symbol("reason")=>Symbol("reason")) -const _property_types_IoK8sApiAuthorizationV1SubjectAccessReviewStatus = Dict{Symbol,String}(Symbol("allowed")=>"Bool", Symbol("denied")=>"Bool", Symbol("evaluationError")=>"String", Symbol("reason")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewStatus }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SubjectAccessReviewStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectAccessReviewStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SubjectAccessReviewStatus[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SubjectAccessReviewStatus) - (getproperty(o, Symbol("allowed")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl deleted file mode 100644 index 1642cf61..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl +++ /dev/null @@ -1,53 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. - - IoK8sApiAuthorizationV1SubjectRulesReviewStatus(; - evaluationError=nothing, - incomplete=nothing, - nonResourceRules=nothing, - resourceRules=nothing, - ) - - - evaluationError::String : EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. - - incomplete::Bool : Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. - - nonResourceRules::Vector{IoK8sApiAuthorizationV1NonResourceRule} : NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. - - resourceRules::Vector{IoK8sApiAuthorizationV1ResourceRule} : ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. -""" -mutable struct IoK8sApiAuthorizationV1SubjectRulesReviewStatus <: SwaggerModel - evaluationError::Any # spec type: Union{ Nothing, String } # spec name: evaluationError - incomplete::Any # spec type: Union{ Nothing, Bool } # spec name: incomplete - nonResourceRules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1NonResourceRule} } # spec name: nonResourceRules - resourceRules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1ResourceRule} } # spec name: resourceRules - - function IoK8sApiAuthorizationV1SubjectRulesReviewStatus(;evaluationError=nothing, incomplete=nothing, nonResourceRules=nothing, resourceRules=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("evaluationError"), evaluationError) - setfield!(o, Symbol("evaluationError"), evaluationError) - validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("incomplete"), incomplete) - setfield!(o, Symbol("incomplete"), incomplete) - validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("nonResourceRules"), nonResourceRules) - setfield!(o, Symbol("nonResourceRules"), nonResourceRules) - validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("resourceRules"), resourceRules) - setfield!(o, Symbol("resourceRules"), resourceRules) - o - end -end # type IoK8sApiAuthorizationV1SubjectRulesReviewStatus - -const _property_map_IoK8sApiAuthorizationV1SubjectRulesReviewStatus = Dict{Symbol,Symbol}(Symbol("evaluationError")=>Symbol("evaluationError"), Symbol("incomplete")=>Symbol("incomplete"), Symbol("nonResourceRules")=>Symbol("nonResourceRules"), Symbol("resourceRules")=>Symbol("resourceRules")) -const _property_types_IoK8sApiAuthorizationV1SubjectRulesReviewStatus = Dict{Symbol,String}(Symbol("evaluationError")=>"String", Symbol("incomplete")=>"Bool", Symbol("nonResourceRules")=>"Vector{IoK8sApiAuthorizationV1NonResourceRule}", Symbol("resourceRules")=>"Vector{IoK8sApiAuthorizationV1ResourceRule}") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1SubjectRulesReviewStatus }) = collect(keys(_property_map_IoK8sApiAuthorizationV1SubjectRulesReviewStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1SubjectRulesReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectRulesReviewStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1SubjectRulesReviewStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1SubjectRulesReviewStatus[property_name] - -function check_required(o::IoK8sApiAuthorizationV1SubjectRulesReviewStatus) - (getproperty(o, Symbol("incomplete")) === nothing) && (return false) - (getproperty(o, Symbol("nonResourceRules")) === nothing) && (return false) - (getproperty(o, Symbol("resourceRules")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1SubjectRulesReviewStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl deleted file mode 100644 index 48b69094..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. - - IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec : Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. - - status::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus : Status is filled in by the server and indicates whether the request is allowed or not -""" -mutable struct IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview - -const _property_map_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl deleted file mode 100644 index dddd02fc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface - - IoK8sApiAuthorizationV1beta1NonResourceAttributes(; - path=nothing, - verb=nothing, - ) - - - path::String : Path is the URL path of the request - - verb::String : Verb is the standard HTTP verb -""" -mutable struct IoK8sApiAuthorizationV1beta1NonResourceAttributes <: SwaggerModel - path::Any # spec type: Union{ Nothing, String } # spec name: path - verb::Any # spec type: Union{ Nothing, String } # spec name: verb - - function IoK8sApiAuthorizationV1beta1NonResourceAttributes(;path=nothing, verb=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1NonResourceAttributes, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiAuthorizationV1beta1NonResourceAttributes, Symbol("verb"), verb) - setfield!(o, Symbol("verb"), verb) - o - end -end # type IoK8sApiAuthorizationV1beta1NonResourceAttributes - -const _property_map_IoK8sApiAuthorizationV1beta1NonResourceAttributes = Dict{Symbol,Symbol}(Symbol("path")=>Symbol("path"), Symbol("verb")=>Symbol("verb")) -const _property_types_IoK8sApiAuthorizationV1beta1NonResourceAttributes = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("verb")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1NonResourceAttributes }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1NonResourceAttributes)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1NonResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1NonResourceAttributes[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1NonResourceAttributes }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1NonResourceAttributes[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1NonResourceAttributes) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1NonResourceAttributes }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl deleted file mode 100644 index 9fc7b0ce..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NonResourceRule holds information that describes a rule for the non-resource - - IoK8sApiAuthorizationV1beta1NonResourceRule(; - nonResourceURLs=nothing, - verbs=nothing, - ) - - - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. - - verbs::Vector{String} : Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. -""" -mutable struct IoK8sApiAuthorizationV1beta1NonResourceRule <: SwaggerModel - nonResourceURLs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nonResourceURLs - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiAuthorizationV1beta1NonResourceRule(;nonResourceURLs=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1NonResourceRule, Symbol("nonResourceURLs"), nonResourceURLs) - setfield!(o, Symbol("nonResourceURLs"), nonResourceURLs) - validate_property(IoK8sApiAuthorizationV1beta1NonResourceRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiAuthorizationV1beta1NonResourceRule - -const _property_map_IoK8sApiAuthorizationV1beta1NonResourceRule = Dict{Symbol,Symbol}(Symbol("nonResourceURLs")=>Symbol("nonResourceURLs"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiAuthorizationV1beta1NonResourceRule = Dict{Symbol,String}(Symbol("nonResourceURLs")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1NonResourceRule }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1NonResourceRule)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1NonResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1NonResourceRule[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1NonResourceRule }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1NonResourceRule[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1NonResourceRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1NonResourceRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl deleted file mode 100644 index 4d7d1f3d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface - - IoK8sApiAuthorizationV1beta1ResourceAttributes(; - group=nothing, - name=nothing, - namespace=nothing, - resource=nothing, - subresource=nothing, - verb=nothing, - version=nothing, - ) - - - group::String : Group is the API Group of the Resource. \"*\" means all. - - name::String : Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. - - namespace::String : Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview - - resource::String : Resource is one of the existing resource types. \"*\" means all. - - subresource::String : Subresource is one of the existing resource types. \"\" means none. - - verb::String : Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. - - version::String : Version is the API Version of the Resource. \"*\" means all. -""" -mutable struct IoK8sApiAuthorizationV1beta1ResourceAttributes <: SwaggerModel - group::Any # spec type: Union{ Nothing, String } # spec name: group - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - resource::Any # spec type: Union{ Nothing, String } # spec name: resource - subresource::Any # spec type: Union{ Nothing, String } # spec name: subresource - verb::Any # spec type: Union{ Nothing, String } # spec name: verb - version::Any # spec type: Union{ Nothing, String } # spec name: version - - function IoK8sApiAuthorizationV1beta1ResourceAttributes(;group=nothing, name=nothing, namespace=nothing, resource=nothing, subresource=nothing, verb=nothing, version=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("subresource"), subresource) - setfield!(o, Symbol("subresource"), subresource) - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("verb"), verb) - setfield!(o, Symbol("verb"), verb) - validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - o - end -end # type IoK8sApiAuthorizationV1beta1ResourceAttributes - -const _property_map_IoK8sApiAuthorizationV1beta1ResourceAttributes = Dict{Symbol,Symbol}(Symbol("group")=>Symbol("group"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("resource")=>Symbol("resource"), Symbol("subresource")=>Symbol("subresource"), Symbol("verb")=>Symbol("verb"), Symbol("version")=>Symbol("version")) -const _property_types_IoK8sApiAuthorizationV1beta1ResourceAttributes = Dict{Symbol,String}(Symbol("group")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resource")=>"String", Symbol("subresource")=>"String", Symbol("verb")=>"String", Symbol("version")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1ResourceAttributes }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1ResourceAttributes)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1ResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1ResourceAttributes[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1ResourceAttributes }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1ResourceAttributes[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1ResourceAttributes) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1ResourceAttributes }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl deleted file mode 100644 index c0d588fd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. - - IoK8sApiAuthorizationV1beta1ResourceRule(; - apiGroups=nothing, - resourceNames=nothing, - resources=nothing, - verbs=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. - - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. - - resources::Vector{String} : Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. - - verbs::Vector{String} : Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. -""" -mutable struct IoK8sApiAuthorizationV1beta1ResourceRule <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - resourceNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resourceNames - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiAuthorizationV1beta1ResourceRule(;apiGroups=nothing, resourceNames=nothing, resources=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("resourceNames"), resourceNames) - setfield!(o, Symbol("resourceNames"), resourceNames) - validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiAuthorizationV1beta1ResourceRule - -const _property_map_IoK8sApiAuthorizationV1beta1ResourceRule = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("resourceNames")=>Symbol("resourceNames"), Symbol("resources")=>Symbol("resources"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiAuthorizationV1beta1ResourceRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1ResourceRule }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1ResourceRule)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1ResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1ResourceRule[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1ResourceRule }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1ResourceRule[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1ResourceRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1ResourceRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl deleted file mode 100644 index e7bc6999..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action - - IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec : Spec holds information about the request being evaluated. user and groups must be empty - - status::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus : Status is filled in by the server and indicates whether the request is allowed or not -""" -mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview - -const _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl deleted file mode 100644 index 233eec92..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set - - IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec(; - nonResourceAttributes=nothing, - resourceAttributes=nothing, - ) - - - nonResourceAttributes::IoK8sApiAuthorizationV1beta1NonResourceAttributes : NonResourceAttributes describes information for a non-resource access request - - resourceAttributes::IoK8sApiAuthorizationV1beta1ResourceAttributes : ResourceAuthorizationAttributes describes information for a resource access request -""" -mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec <: SwaggerModel - nonResourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1NonResourceAttributes } # spec name: nonResourceAttributes - resourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1ResourceAttributes } # spec name: resourceAttributes - - function IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec(;nonResourceAttributes=nothing, resourceAttributes=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) - setfield!(o, Symbol("nonResourceAttributes"), nonResourceAttributes) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) - setfield!(o, Symbol("resourceAttributes"), resourceAttributes) - o - end -end # type IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec - -const _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec = Dict{Symbol,Symbol}(Symbol("nonResourceAttributes")=>Symbol("nonResourceAttributes"), Symbol("resourceAttributes")=>Symbol("resourceAttributes")) -const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1beta1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1beta1ResourceAttributes") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl deleted file mode 100644 index ee1b1dd8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. - - IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec : Spec holds information about the request being evaluated. - - status::IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus : Status is filled in by the server and indicates the set of actions a user can perform. -""" -mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview - -const _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl deleted file mode 100644 index cbc9dc88..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw""" - IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec(; - namespace=nothing, - ) - - - namespace::String : Namespace to evaluate rules for. Required. -""" -mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec <: SwaggerModel - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec(;namespace=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec - -const _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec = Dict{Symbol,Symbol}(Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec = Dict{Symbol,String}(Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl deleted file mode 100644 index 0993dd7d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectAccessReview checks whether or not a user or group can perform an action. - - IoK8sApiAuthorizationV1beta1SubjectAccessReview(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec : Spec holds information about the request being evaluated - - status::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus : Status is filled in by the server and indicates whether the request is allowed or not -""" -mutable struct IoK8sApiAuthorizationV1beta1SubjectAccessReview <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus } # spec name: status - - function IoK8sApiAuthorizationV1beta1SubjectAccessReview(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAuthorizationV1beta1SubjectAccessReview - -const _property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReview = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReview }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReview)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReview[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReview }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReview[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SubjectAccessReview) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReview }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl deleted file mode 100644 index 4796439d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set - - IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec(; - extra=nothing, - group=nothing, - nonResourceAttributes=nothing, - resourceAttributes=nothing, - uid=nothing, - user=nothing, - ) - - - extra::Dict{String, Vector{String}} : Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. - - group::Vector{String} : Groups is the groups you're testing for. - - nonResourceAttributes::IoK8sApiAuthorizationV1beta1NonResourceAttributes : NonResourceAttributes describes information for a non-resource access request - - resourceAttributes::IoK8sApiAuthorizationV1beta1ResourceAttributes : ResourceAuthorizationAttributes describes information for a resource access request - - uid::String : UID information about the requesting user. - - user::String : User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups -""" -mutable struct IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec <: SwaggerModel - extra::Any # spec type: Union{ Nothing, Dict{String, Vector{String}} } # spec name: extra - group::Any # spec type: Union{ Nothing, Vector{String} } # spec name: group - nonResourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1NonResourceAttributes } # spec name: nonResourceAttributes - resourceAttributes::Any # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1ResourceAttributes } # spec name: resourceAttributes - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec(;extra=nothing, group=nothing, nonResourceAttributes=nothing, resourceAttributes=nothing, uid=nothing, user=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("extra"), extra) - setfield!(o, Symbol("extra"), extra) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) - setfield!(o, Symbol("nonResourceAttributes"), nonResourceAttributes) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) - setfield!(o, Symbol("resourceAttributes"), resourceAttributes) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec - -const _property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec = Dict{Symbol,Symbol}(Symbol("extra")=>Symbol("extra"), Symbol("group")=>Symbol("group"), Symbol("nonResourceAttributes")=>Symbol("nonResourceAttributes"), Symbol("resourceAttributes")=>Symbol("resourceAttributes"), Symbol("uid")=>Symbol("uid"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("group")=>"Vector{String}", Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1beta1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1beta1ResourceAttributes", Symbol("uid")=>"String", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl deleted file mode 100644 index 00a60696..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectAccessReviewStatus - - IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus(; - allowed=nothing, - denied=nothing, - evaluationError=nothing, - reason=nothing, - ) - - - allowed::Bool : Allowed is required. True if the action would be allowed, false otherwise. - - denied::Bool : Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. - - evaluationError::String : EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. - - reason::String : Reason is optional. It indicates why a request was allowed or denied. -""" -mutable struct IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus <: SwaggerModel - allowed::Any # spec type: Union{ Nothing, Bool } # spec name: allowed - denied::Any # spec type: Union{ Nothing, Bool } # spec name: denied - evaluationError::Any # spec type: Union{ Nothing, String } # spec name: evaluationError - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - - function IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus(;allowed=nothing, denied=nothing, evaluationError=nothing, reason=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("allowed"), allowed) - setfield!(o, Symbol("allowed"), allowed) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("denied"), denied) - setfield!(o, Symbol("denied"), denied) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("evaluationError"), evaluationError) - setfield!(o, Symbol("evaluationError"), evaluationError) - validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - o - end -end # type IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus - -const _property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus = Dict{Symbol,Symbol}(Symbol("allowed")=>Symbol("allowed"), Symbol("denied")=>Symbol("denied"), Symbol("evaluationError")=>Symbol("evaluationError"), Symbol("reason")=>Symbol("reason")) -const _property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus = Dict{Symbol,String}(Symbol("allowed")=>"Bool", Symbol("denied")=>"Bool", Symbol("evaluationError")=>"String", Symbol("reason")=>"String") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus) - (getproperty(o, Symbol("allowed")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl b/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl deleted file mode 100644 index 75933d8d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl +++ /dev/null @@ -1,53 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. - - IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus(; - evaluationError=nothing, - incomplete=nothing, - nonResourceRules=nothing, - resourceRules=nothing, - ) - - - evaluationError::String : EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. - - incomplete::Bool : Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. - - nonResourceRules::Vector{IoK8sApiAuthorizationV1beta1NonResourceRule} : NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. - - resourceRules::Vector{IoK8sApiAuthorizationV1beta1ResourceRule} : ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. -""" -mutable struct IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus <: SwaggerModel - evaluationError::Any # spec type: Union{ Nothing, String } # spec name: evaluationError - incomplete::Any # spec type: Union{ Nothing, Bool } # spec name: incomplete - nonResourceRules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1beta1NonResourceRule} } # spec name: nonResourceRules - resourceRules::Any # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1beta1ResourceRule} } # spec name: resourceRules - - function IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus(;evaluationError=nothing, incomplete=nothing, nonResourceRules=nothing, resourceRules=nothing) - o = new() - validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("evaluationError"), evaluationError) - setfield!(o, Symbol("evaluationError"), evaluationError) - validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("incomplete"), incomplete) - setfield!(o, Symbol("incomplete"), incomplete) - validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("nonResourceRules"), nonResourceRules) - setfield!(o, Symbol("nonResourceRules"), nonResourceRules) - validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("resourceRules"), resourceRules) - setfield!(o, Symbol("resourceRules"), resourceRules) - o - end -end # type IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus - -const _property_map_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus = Dict{Symbol,Symbol}(Symbol("evaluationError")=>Symbol("evaluationError"), Symbol("incomplete")=>Symbol("incomplete"), Symbol("nonResourceRules")=>Symbol("nonResourceRules"), Symbol("resourceRules")=>Symbol("resourceRules")) -const _property_types_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus = Dict{Symbol,String}(Symbol("evaluationError")=>"String", Symbol("incomplete")=>"Bool", Symbol("nonResourceRules")=>"Vector{IoK8sApiAuthorizationV1beta1NonResourceRule}", Symbol("resourceRules")=>"Vector{IoK8sApiAuthorizationV1beta1ResourceRule}") -Base.propertynames(::Type{ IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus }) = collect(keys(_property_map_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus)) -Swagger.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus }, property_name::Symbol) = _property_map_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus[property_name] - -function check_required(o::IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus) - (getproperty(o, Symbol("incomplete")) === nothing) && (return false) - (getproperty(o, Symbol("nonResourceRules")) === nothing) && (return false) - (getproperty(o, Symbol("resourceRules")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl deleted file mode 100644 index 28b495da..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CrossVersionObjectReference contains enough information to let you identify the referred resource. - - IoK8sApiAutoscalingV1CrossVersionObjectReference(; - apiVersion=nothing, - kind=nothing, - name=nothing, - ) - - - apiVersion::String : API version of the referent - - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" - - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names -""" -mutable struct IoK8sApiAutoscalingV1CrossVersionObjectReference <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiAutoscalingV1CrossVersionObjectReference(;apiVersion=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1CrossVersionObjectReference, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV1CrossVersionObjectReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV1CrossVersionObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiAutoscalingV1CrossVersionObjectReference - -const _property_map_IoK8sApiAutoscalingV1CrossVersionObjectReference = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiAutoscalingV1CrossVersionObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1CrossVersionObjectReference }) = collect(keys(_property_map_IoK8sApiAutoscalingV1CrossVersionObjectReference)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1CrossVersionObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1CrossVersionObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1CrossVersionObjectReference }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1CrossVersionObjectReference[property_name] - -function check_required(o::IoK8sApiAutoscalingV1CrossVersionObjectReference) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1CrossVersionObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl deleted file mode 100644 index 0b37a15d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""configuration of a horizontal pod autoscaler. - - IoK8sApiAutoscalingV1HorizontalPodAutoscaler(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec : behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus : current information about the autoscaler. -""" -mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscaler <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus } # spec name: status - - function IoK8sApiAutoscalingV1HorizontalPodAutoscaler(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAutoscalingV1HorizontalPodAutoscaler - -const _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscaler = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscaler = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec", Symbol("status")=>"IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscaler }) = collect(keys(_property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscaler)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscaler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscaler[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscaler }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscaler[property_name] - -function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscaler) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscaler }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl deleted file mode 100644 index 802d3c21..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""list of horizontal pod autoscaler objects. - - IoK8sApiAutoscalingV1HorizontalPodAutoscalerList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAutoscalingV1HorizontalPodAutoscaler} : list of horizontal pod autoscaler objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. -""" -mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscalerList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV1HorizontalPodAutoscaler} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAutoscalingV1HorizontalPodAutoscalerList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAutoscalingV1HorizontalPodAutoscalerList - -const _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAutoscalingV1HorizontalPodAutoscaler}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerList }) = collect(keys(_property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerList }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList[property_name] - -function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscalerList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl deleted file mode 100644 index 5e8f747d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""specification of a horizontal pod autoscaler. - - IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec(; - maxReplicas=nothing, - minReplicas=nothing, - scaleTargetRef=nothing, - targetCPUUtilizationPercentage=nothing, - ) - - - maxReplicas::Int32 : upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. - - minReplicas::Int32 : minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. - - scaleTargetRef::IoK8sApiAutoscalingV1CrossVersionObjectReference : reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource. - - targetCPUUtilizationPercentage::Int32 : target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. -""" -mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec <: SwaggerModel - maxReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: maxReplicas - minReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: minReplicas - scaleTargetRef::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV1CrossVersionObjectReference } # spec name: scaleTargetRef - targetCPUUtilizationPercentage::Any # spec type: Union{ Nothing, Int32 } # spec name: targetCPUUtilizationPercentage - - function IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec(;maxReplicas=nothing, minReplicas=nothing, scaleTargetRef=nothing, targetCPUUtilizationPercentage=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("maxReplicas"), maxReplicas) - setfield!(o, Symbol("maxReplicas"), maxReplicas) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("minReplicas"), minReplicas) - setfield!(o, Symbol("minReplicas"), minReplicas) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("scaleTargetRef"), scaleTargetRef) - setfield!(o, Symbol("scaleTargetRef"), scaleTargetRef) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("targetCPUUtilizationPercentage"), targetCPUUtilizationPercentage) - setfield!(o, Symbol("targetCPUUtilizationPercentage"), targetCPUUtilizationPercentage) - o - end -end # type IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec - -const _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec = Dict{Symbol,Symbol}(Symbol("maxReplicas")=>Symbol("maxReplicas"), Symbol("minReplicas")=>Symbol("minReplicas"), Symbol("scaleTargetRef")=>Symbol("scaleTargetRef"), Symbol("targetCPUUtilizationPercentage")=>Symbol("targetCPUUtilizationPercentage")) -const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec = Dict{Symbol,String}(Symbol("maxReplicas")=>"Int32", Symbol("minReplicas")=>"Int32", Symbol("scaleTargetRef")=>"IoK8sApiAutoscalingV1CrossVersionObjectReference", Symbol("targetCPUUtilizationPercentage")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec }) = collect(keys(_property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec[property_name] - -function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec) - (getproperty(o, Symbol("maxReplicas")) === nothing) && (return false) - (getproperty(o, Symbol("scaleTargetRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl deleted file mode 100644 index f2bfb62c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""current status of a horizontal pod autoscaler - - IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus(; - currentCPUUtilizationPercentage=nothing, - currentReplicas=nothing, - desiredReplicas=nothing, - lastScaleTime=nothing, - observedGeneration=nothing, - ) - - - currentCPUUtilizationPercentage::Int32 : current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. - - currentReplicas::Int32 : current number of replicas of pods managed by this autoscaler. - - desiredReplicas::Int32 : desired number of replicas of pods managed by this autoscaler. - - lastScaleTime::IoK8sApimachineryPkgApisMetaV1Time : last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. - - observedGeneration::Int64 : most recent generation observed by this autoscaler. -""" -mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus <: SwaggerModel - currentCPUUtilizationPercentage::Any # spec type: Union{ Nothing, Int32 } # spec name: currentCPUUtilizationPercentage - currentReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: currentReplicas - desiredReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredReplicas - lastScaleTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastScaleTime - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - - function IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus(;currentCPUUtilizationPercentage=nothing, currentReplicas=nothing, desiredReplicas=nothing, lastScaleTime=nothing, observedGeneration=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("currentCPUUtilizationPercentage"), currentCPUUtilizationPercentage) - setfield!(o, Symbol("currentCPUUtilizationPercentage"), currentCPUUtilizationPercentage) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("currentReplicas"), currentReplicas) - setfield!(o, Symbol("currentReplicas"), currentReplicas) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("desiredReplicas"), desiredReplicas) - setfield!(o, Symbol("desiredReplicas"), desiredReplicas) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("lastScaleTime"), lastScaleTime) - setfield!(o, Symbol("lastScaleTime"), lastScaleTime) - validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - o - end -end # type IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus - -const _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus = Dict{Symbol,Symbol}(Symbol("currentCPUUtilizationPercentage")=>Symbol("currentCPUUtilizationPercentage"), Symbol("currentReplicas")=>Symbol("currentReplicas"), Symbol("desiredReplicas")=>Symbol("desiredReplicas"), Symbol("lastScaleTime")=>Symbol("lastScaleTime"), Symbol("observedGeneration")=>Symbol("observedGeneration")) -const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus = Dict{Symbol,String}(Symbol("currentCPUUtilizationPercentage")=>"Int32", Symbol("currentReplicas")=>"Int32", Symbol("desiredReplicas")=>"Int32", Symbol("lastScaleTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("observedGeneration")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus) - (getproperty(o, Symbol("currentReplicas")) === nothing) && (return false) - (getproperty(o, Symbol("desiredReplicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1Scale.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1Scale.jl deleted file mode 100644 index dd123ea7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1Scale.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Scale represents a scaling request for a resource. - - IoK8sApiAutoscalingV1Scale(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - spec::IoK8sApiAutoscalingV1ScaleSpec : defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiAutoscalingV1ScaleStatus : current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. -""" -mutable struct IoK8sApiAutoscalingV1Scale <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV1ScaleSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV1ScaleStatus } # spec name: status - - function IoK8sApiAutoscalingV1Scale(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1Scale, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV1Scale, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV1Scale, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAutoscalingV1Scale, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAutoscalingV1Scale, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAutoscalingV1Scale - -const _property_map_IoK8sApiAutoscalingV1Scale = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAutoscalingV1Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV1ScaleSpec", Symbol("status")=>"IoK8sApiAutoscalingV1ScaleStatus") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1Scale }) = collect(keys(_property_map_IoK8sApiAutoscalingV1Scale)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1Scale[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1Scale }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1Scale[property_name] - -function check_required(o::IoK8sApiAutoscalingV1Scale) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1Scale }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1ScaleSpec.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1ScaleSpec.jl deleted file mode 100644 index 4f1a822e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1ScaleSpec.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleSpec describes the attributes of a scale subresource. - - IoK8sApiAutoscalingV1ScaleSpec(; - replicas=nothing, - ) - - - replicas::Int32 : desired number of instances for the scaled object. -""" -mutable struct IoK8sApiAutoscalingV1ScaleSpec <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiAutoscalingV1ScaleSpec(;replicas=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1ScaleSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiAutoscalingV1ScaleSpec - -const _property_map_IoK8sApiAutoscalingV1ScaleSpec = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiAutoscalingV1ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1ScaleSpec }) = collect(keys(_property_map_IoK8sApiAutoscalingV1ScaleSpec)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1ScaleSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1ScaleSpec }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1ScaleSpec[property_name] - -function check_required(o::IoK8sApiAutoscalingV1ScaleSpec) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1ScaleSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1ScaleStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV1ScaleStatus.jl deleted file mode 100644 index 034e0375..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV1ScaleStatus.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleStatus represents the current status of a scale subresource. - - IoK8sApiAutoscalingV1ScaleStatus(; - replicas=nothing, - selector=nothing, - ) - - - replicas::Int32 : actual number of observed instances of the scaled object. - - selector::String : label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors -""" -mutable struct IoK8sApiAutoscalingV1ScaleStatus <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, String } # spec name: selector - - function IoK8sApiAutoscalingV1ScaleStatus(;replicas=nothing, selector=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV1ScaleStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiAutoscalingV1ScaleStatus, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - o - end -end # type IoK8sApiAutoscalingV1ScaleStatus - -const _property_map_IoK8sApiAutoscalingV1ScaleStatus = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector")) -const _property_types_IoK8sApiAutoscalingV1ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int32", Symbol("selector")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV1ScaleStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV1ScaleStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV1ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1ScaleStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV1ScaleStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV1ScaleStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV1ScaleStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV1ScaleStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl deleted file mode 100644 index 6c43c565..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CrossVersionObjectReference contains enough information to let you identify the referred resource. - - IoK8sApiAutoscalingV2beta1CrossVersionObjectReference(; - apiVersion=nothing, - kind=nothing, - name=nothing, - ) - - - apiVersion::String : API version of the referent - - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" - - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names -""" -mutable struct IoK8sApiAutoscalingV2beta1CrossVersionObjectReference <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiAutoscalingV2beta1CrossVersionObjectReference(;apiVersion=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1CrossVersionObjectReference, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV2beta1CrossVersionObjectReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV2beta1CrossVersionObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiAutoscalingV2beta1CrossVersionObjectReference - -const _property_map_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1CrossVersionObjectReference }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1CrossVersionObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1CrossVersionObjectReference }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1CrossVersionObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl deleted file mode 100644 index 4745272f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set. - - IoK8sApiAutoscalingV2beta1ExternalMetricSource(; - metricName=nothing, - metricSelector=nothing, - targetAverageValue=nothing, - targetValue=nothing, - ) - - - metricName::String : metricName is the name of the metric in question. - - metricSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : metricSelector is used to identify a specific time series within a given metric. - - targetAverageValue::IoK8sApimachineryPkgApiResourceQuantity : targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. - - targetValue::IoK8sApimachineryPkgApiResourceQuantity : targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. -""" -mutable struct IoK8sApiAutoscalingV2beta1ExternalMetricSource <: SwaggerModel - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - metricSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: metricSelector - targetAverageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: targetAverageValue - targetValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: targetValue - - function IoK8sApiAutoscalingV2beta1ExternalMetricSource(;metricName=nothing, metricSelector=nothing, targetAverageValue=nothing, targetValue=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("metricSelector"), metricSelector) - setfield!(o, Symbol("metricSelector"), metricSelector) - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("targetAverageValue"), targetAverageValue) - setfield!(o, Symbol("targetAverageValue"), targetAverageValue) - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("targetValue"), targetValue) - setfield!(o, Symbol("targetValue"), targetValue) - o - end -end # type IoK8sApiAutoscalingV2beta1ExternalMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta1ExternalMetricSource = Dict{Symbol,Symbol}(Symbol("metricName")=>Symbol("metricName"), Symbol("metricSelector")=>Symbol("metricSelector"), Symbol("targetAverageValue")=>Symbol("targetAverageValue"), Symbol("targetValue")=>Symbol("targetValue")) -const _property_types_IoK8sApiAutoscalingV2beta1ExternalMetricSource = Dict{Symbol,String}(Symbol("metricName")=>"String", Symbol("metricSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("targetAverageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("targetValue")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1ExternalMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ExternalMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1ExternalMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1ExternalMetricSource) - (getproperty(o, Symbol("metricName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl deleted file mode 100644 index c4726691..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. - - IoK8sApiAutoscalingV2beta1ExternalMetricStatus(; - currentAverageValue=nothing, - currentValue=nothing, - metricName=nothing, - metricSelector=nothing, - ) - - - currentAverageValue::IoK8sApimachineryPkgApiResourceQuantity : currentAverageValue is the current value of metric averaged over autoscaled pods. - - currentValue::IoK8sApimachineryPkgApiResourceQuantity : currentValue is the current value of the metric (as a quantity) - - metricName::String : metricName is the name of a metric used for autoscaling in metric system. - - metricSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : metricSelector is used to identify a specific time series within a given metric. -""" -mutable struct IoK8sApiAutoscalingV2beta1ExternalMetricStatus <: SwaggerModel - currentAverageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: currentAverageValue - currentValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: currentValue - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - metricSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: metricSelector - - function IoK8sApiAutoscalingV2beta1ExternalMetricStatus(;currentAverageValue=nothing, currentValue=nothing, metricName=nothing, metricSelector=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("currentAverageValue"), currentAverageValue) - setfield!(o, Symbol("currentAverageValue"), currentAverageValue) - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("currentValue"), currentValue) - setfield!(o, Symbol("currentValue"), currentValue) - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("metricSelector"), metricSelector) - setfield!(o, Symbol("metricSelector"), metricSelector) - o - end -end # type IoK8sApiAutoscalingV2beta1ExternalMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta1ExternalMetricStatus = Dict{Symbol,Symbol}(Symbol("currentAverageValue")=>Symbol("currentAverageValue"), Symbol("currentValue")=>Symbol("currentValue"), Symbol("metricName")=>Symbol("metricName"), Symbol("metricSelector")=>Symbol("metricSelector")) -const _property_types_IoK8sApiAutoscalingV2beta1ExternalMetricStatus = Dict{Symbol,String}(Symbol("currentAverageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("currentValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("metricName")=>"String", Symbol("metricSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1ExternalMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ExternalMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1ExternalMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1ExternalMetricStatus) - (getproperty(o, Symbol("currentValue")) === nothing) && (return false) - (getproperty(o, Symbol("metricName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl deleted file mode 100644 index a9e41456..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. - - IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec : spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus : status is the current information about the autoscaler. -""" -mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus } # spec name: status - - function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler - -const _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec", Symbol("status")=>"IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl deleted file mode 100644 index 92683728..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. - - IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : lastTransitionTime is the last time the condition transitioned from one status to another - - message::String : message is a human-readable explanation containing details about the transition - - reason::String : reason is the reason for the condition's last transition. - - status::String : status is the status of the condition (True, False, Unknown) - - type::String : type describes the current condition -""" -mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition - -const _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl deleted file mode 100644 index 6c5cc112..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects. - - IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler} : items is the list of horizontal pod autoscaler objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : metadata is the standard list metadata. -""" -mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList - -const _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl deleted file mode 100644 index d58be235..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. - - IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec(; - maxReplicas=nothing, - metrics=nothing, - minReplicas=nothing, - scaleTargetRef=nothing, - ) - - - maxReplicas::Int32 : maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. - - metrics::Vector{IoK8sApiAutoscalingV2beta1MetricSpec} : metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. - - minReplicas::Int32 : minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. - - scaleTargetRef::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference : scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. -""" -mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec <: SwaggerModel - maxReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: maxReplicas - metrics::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1MetricSpec} } # spec name: metrics - minReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: minReplicas - scaleTargetRef::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference } # spec name: scaleTargetRef - - function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec(;maxReplicas=nothing, metrics=nothing, minReplicas=nothing, scaleTargetRef=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("maxReplicas"), maxReplicas) - setfield!(o, Symbol("maxReplicas"), maxReplicas) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("metrics"), metrics) - setfield!(o, Symbol("metrics"), metrics) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("minReplicas"), minReplicas) - setfield!(o, Symbol("minReplicas"), minReplicas) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("scaleTargetRef"), scaleTargetRef) - setfield!(o, Symbol("scaleTargetRef"), scaleTargetRef) - o - end -end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec - -const _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec = Dict{Symbol,Symbol}(Symbol("maxReplicas")=>Symbol("maxReplicas"), Symbol("metrics")=>Symbol("metrics"), Symbol("minReplicas")=>Symbol("minReplicas"), Symbol("scaleTargetRef")=>Symbol("scaleTargetRef")) -const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec = Dict{Symbol,String}(Symbol("maxReplicas")=>"Int32", Symbol("metrics")=>"Vector{IoK8sApiAutoscalingV2beta1MetricSpec}", Symbol("minReplicas")=>"Int32", Symbol("scaleTargetRef")=>"IoK8sApiAutoscalingV2beta1CrossVersionObjectReference") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec) - (getproperty(o, Symbol("maxReplicas")) === nothing) && (return false) - (getproperty(o, Symbol("scaleTargetRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl deleted file mode 100644 index 41b5f424..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. - - IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus(; - conditions=nothing, - currentMetrics=nothing, - currentReplicas=nothing, - desiredReplicas=nothing, - lastScaleTime=nothing, - observedGeneration=nothing, - ) - - - conditions::Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition} : conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. - - currentMetrics::Vector{IoK8sApiAutoscalingV2beta1MetricStatus} : currentMetrics is the last read state of the metrics used by this autoscaler. - - currentReplicas::Int32 : currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. - - desiredReplicas::Int32 : desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. - - lastScaleTime::IoK8sApimachineryPkgApisMetaV1Time : lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. - - observedGeneration::Int64 : observedGeneration is the most recent generation observed by this autoscaler. -""" -mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition} } # spec name: conditions - currentMetrics::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1MetricStatus} } # spec name: currentMetrics - currentReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: currentReplicas - desiredReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredReplicas - lastScaleTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastScaleTime - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - - function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus(;conditions=nothing, currentMetrics=nothing, currentReplicas=nothing, desiredReplicas=nothing, lastScaleTime=nothing, observedGeneration=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("currentMetrics"), currentMetrics) - setfield!(o, Symbol("currentMetrics"), currentMetrics) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("currentReplicas"), currentReplicas) - setfield!(o, Symbol("currentReplicas"), currentReplicas) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("desiredReplicas"), desiredReplicas) - setfield!(o, Symbol("desiredReplicas"), desiredReplicas) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("lastScaleTime"), lastScaleTime) - setfield!(o, Symbol("lastScaleTime"), lastScaleTime) - validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - o - end -end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus - -const _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions"), Symbol("currentMetrics")=>Symbol("currentMetrics"), Symbol("currentReplicas")=>Symbol("currentReplicas"), Symbol("desiredReplicas")=>Symbol("desiredReplicas"), Symbol("lastScaleTime")=>Symbol("lastScaleTime"), Symbol("observedGeneration")=>Symbol("observedGeneration")) -const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition}", Symbol("currentMetrics")=>"Vector{IoK8sApiAutoscalingV2beta1MetricStatus}", Symbol("currentReplicas")=>"Int32", Symbol("desiredReplicas")=>"Int32", Symbol("lastScaleTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("observedGeneration")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus) - (getproperty(o, Symbol("conditions")) === nothing) && (return false) - (getproperty(o, Symbol("currentReplicas")) === nothing) && (return false) - (getproperty(o, Symbol("desiredReplicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl deleted file mode 100644 index 0f4b3589..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). - - IoK8sApiAutoscalingV2beta1MetricSpec(; - external=nothing, - object=nothing, - pods=nothing, - resource=nothing, - type=nothing, - ) - - - external::IoK8sApiAutoscalingV2beta1ExternalMetricSource : external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). - - object::IoK8sApiAutoscalingV2beta1ObjectMetricSource : object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). - - pods::IoK8sApiAutoscalingV2beta1PodsMetricSource : pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. - - resource::IoK8sApiAutoscalingV2beta1ResourceMetricSource : resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. - - type::String : type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. -""" -mutable struct IoK8sApiAutoscalingV2beta1MetricSpec <: SwaggerModel - external::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ExternalMetricSource } # spec name: external - object::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ObjectMetricSource } # spec name: object - pods::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1PodsMetricSource } # spec name: pods - resource::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ResourceMetricSource } # spec name: resource - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAutoscalingV2beta1MetricSpec(;external=nothing, object=nothing, pods=nothing, resource=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("external"), external) - setfield!(o, Symbol("external"), external) - validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("object"), object) - setfield!(o, Symbol("object"), object) - validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("pods"), pods) - setfield!(o, Symbol("pods"), pods) - validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAutoscalingV2beta1MetricSpec - -const _property_map_IoK8sApiAutoscalingV2beta1MetricSpec = Dict{Symbol,Symbol}(Symbol("external")=>Symbol("external"), Symbol("object")=>Symbol("object"), Symbol("pods")=>Symbol("pods"), Symbol("resource")=>Symbol("resource"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAutoscalingV2beta1MetricSpec = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta1ExternalMetricSource", Symbol("object")=>"IoK8sApiAutoscalingV2beta1ObjectMetricSource", Symbol("pods")=>"IoK8sApiAutoscalingV2beta1PodsMetricSource", Symbol("resource")=>"IoK8sApiAutoscalingV2beta1ResourceMetricSource", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1MetricSpec }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1MetricSpec)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1MetricSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1MetricSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1MetricSpec }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1MetricSpec[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1MetricSpec) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1MetricSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl deleted file mode 100644 index cbe1ad37..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricStatus describes the last-read state of a single metric. - - IoK8sApiAutoscalingV2beta1MetricStatus(; - external=nothing, - object=nothing, - pods=nothing, - resource=nothing, - type=nothing, - ) - - - external::IoK8sApiAutoscalingV2beta1ExternalMetricStatus : external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). - - object::IoK8sApiAutoscalingV2beta1ObjectMetricStatus : object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). - - pods::IoK8sApiAutoscalingV2beta1PodsMetricStatus : pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. - - resource::IoK8sApiAutoscalingV2beta1ResourceMetricStatus : resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. - - type::String : type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. -""" -mutable struct IoK8sApiAutoscalingV2beta1MetricStatus <: SwaggerModel - external::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ExternalMetricStatus } # spec name: external - object::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ObjectMetricStatus } # spec name: object - pods::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1PodsMetricStatus } # spec name: pods - resource::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ResourceMetricStatus } # spec name: resource - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAutoscalingV2beta1MetricStatus(;external=nothing, object=nothing, pods=nothing, resource=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("external"), external) - setfield!(o, Symbol("external"), external) - validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("object"), object) - setfield!(o, Symbol("object"), object) - validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("pods"), pods) - setfield!(o, Symbol("pods"), pods) - validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAutoscalingV2beta1MetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta1MetricStatus = Dict{Symbol,Symbol}(Symbol("external")=>Symbol("external"), Symbol("object")=>Symbol("object"), Symbol("pods")=>Symbol("pods"), Symbol("resource")=>Symbol("resource"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAutoscalingV2beta1MetricStatus = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta1ExternalMetricStatus", Symbol("object")=>"IoK8sApiAutoscalingV2beta1ObjectMetricStatus", Symbol("pods")=>"IoK8sApiAutoscalingV2beta1PodsMetricStatus", Symbol("resource")=>"IoK8sApiAutoscalingV2beta1ResourceMetricStatus", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1MetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1MetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1MetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1MetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1MetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1MetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1MetricStatus) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1MetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl deleted file mode 100644 index 3ddb2554..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl +++ /dev/null @@ -1,58 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). - - IoK8sApiAutoscalingV2beta1ObjectMetricSource(; - averageValue=nothing, - metricName=nothing, - selector=nothing, - target=nothing, - targetValue=nothing, - ) - - - averageValue::IoK8sApimachineryPkgApiResourceQuantity : averageValue is the target value of the average of the metric across all relevant pods (as a quantity) - - metricName::String : metricName is the name of the metric in question. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. - - target::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference : target is the described Kubernetes object. - - targetValue::IoK8sApimachineryPkgApiResourceQuantity : targetValue is the target value of the metric (as a quantity). -""" -mutable struct IoK8sApiAutoscalingV2beta1ObjectMetricSource <: SwaggerModel - averageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: averageValue - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - target::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference } # spec name: target - targetValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: targetValue - - function IoK8sApiAutoscalingV2beta1ObjectMetricSource(;averageValue=nothing, metricName=nothing, selector=nothing, target=nothing, targetValue=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("averageValue"), averageValue) - setfield!(o, Symbol("averageValue"), averageValue) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("targetValue"), targetValue) - setfield!(o, Symbol("targetValue"), targetValue) - o - end -end # type IoK8sApiAutoscalingV2beta1ObjectMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta1ObjectMetricSource = Dict{Symbol,Symbol}(Symbol("averageValue")=>Symbol("averageValue"), Symbol("metricName")=>Symbol("metricName"), Symbol("selector")=>Symbol("selector"), Symbol("target")=>Symbol("target"), Symbol("targetValue")=>Symbol("targetValue")) -const _property_types_IoK8sApiAutoscalingV2beta1ObjectMetricSource = Dict{Symbol,String}(Symbol("averageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("target")=>"IoK8sApiAutoscalingV2beta1CrossVersionObjectReference", Symbol("targetValue")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1ObjectMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ObjectMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1ObjectMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1ObjectMetricSource) - (getproperty(o, Symbol("metricName")) === nothing) && (return false) - (getproperty(o, Symbol("target")) === nothing) && (return false) - (getproperty(o, Symbol("targetValue")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl deleted file mode 100644 index b055b10a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl +++ /dev/null @@ -1,58 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). - - IoK8sApiAutoscalingV2beta1ObjectMetricStatus(; - averageValue=nothing, - currentValue=nothing, - metricName=nothing, - selector=nothing, - target=nothing, - ) - - - averageValue::IoK8sApimachineryPkgApiResourceQuantity : averageValue is the current value of the average of the metric across all relevant pods (as a quantity) - - currentValue::IoK8sApimachineryPkgApiResourceQuantity : currentValue is the current value of the metric (as a quantity). - - metricName::String : metricName is the name of the metric in question. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. - - target::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference : target is the described Kubernetes object. -""" -mutable struct IoK8sApiAutoscalingV2beta1ObjectMetricStatus <: SwaggerModel - averageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: averageValue - currentValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: currentValue - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - target::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference } # spec name: target - - function IoK8sApiAutoscalingV2beta1ObjectMetricStatus(;averageValue=nothing, currentValue=nothing, metricName=nothing, selector=nothing, target=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("averageValue"), averageValue) - setfield!(o, Symbol("averageValue"), averageValue) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("currentValue"), currentValue) - setfield!(o, Symbol("currentValue"), currentValue) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - o - end -end # type IoK8sApiAutoscalingV2beta1ObjectMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta1ObjectMetricStatus = Dict{Symbol,Symbol}(Symbol("averageValue")=>Symbol("averageValue"), Symbol("currentValue")=>Symbol("currentValue"), Symbol("metricName")=>Symbol("metricName"), Symbol("selector")=>Symbol("selector"), Symbol("target")=>Symbol("target")) -const _property_types_IoK8sApiAutoscalingV2beta1ObjectMetricStatus = Dict{Symbol,String}(Symbol("averageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("currentValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("target")=>"IoK8sApiAutoscalingV2beta1CrossVersionObjectReference") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1ObjectMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ObjectMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1ObjectMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1ObjectMetricStatus) - (getproperty(o, Symbol("currentValue")) === nothing) && (return false) - (getproperty(o, Symbol("metricName")) === nothing) && (return false) - (getproperty(o, Symbol("target")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl deleted file mode 100644 index 291c0ba2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. - - IoK8sApiAutoscalingV2beta1PodsMetricSource(; - metricName=nothing, - selector=nothing, - targetAverageValue=nothing, - ) - - - metricName::String : metricName is the name of the metric in question - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. - - targetAverageValue::IoK8sApimachineryPkgApiResourceQuantity : targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) -""" -mutable struct IoK8sApiAutoscalingV2beta1PodsMetricSource <: SwaggerModel - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - targetAverageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: targetAverageValue - - function IoK8sApiAutoscalingV2beta1PodsMetricSource(;metricName=nothing, selector=nothing, targetAverageValue=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1PodsMetricSource, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiAutoscalingV2beta1PodsMetricSource, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiAutoscalingV2beta1PodsMetricSource, Symbol("targetAverageValue"), targetAverageValue) - setfield!(o, Symbol("targetAverageValue"), targetAverageValue) - o - end -end # type IoK8sApiAutoscalingV2beta1PodsMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta1PodsMetricSource = Dict{Symbol,Symbol}(Symbol("metricName")=>Symbol("metricName"), Symbol("selector")=>Symbol("selector"), Symbol("targetAverageValue")=>Symbol("targetAverageValue")) -const _property_types_IoK8sApiAutoscalingV2beta1PodsMetricSource = Dict{Symbol,String}(Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("targetAverageValue")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1PodsMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1PodsMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1PodsMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1PodsMetricSource) - (getproperty(o, Symbol("metricName")) === nothing) && (return false) - (getproperty(o, Symbol("targetAverageValue")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl deleted file mode 100644 index 73ba6775..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). - - IoK8sApiAutoscalingV2beta1PodsMetricStatus(; - currentAverageValue=nothing, - metricName=nothing, - selector=nothing, - ) - - - currentAverageValue::IoK8sApimachineryPkgApiResourceQuantity : currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) - - metricName::String : metricName is the name of the metric in question - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -""" -mutable struct IoK8sApiAutoscalingV2beta1PodsMetricStatus <: SwaggerModel - currentAverageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: currentAverageValue - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - - function IoK8sApiAutoscalingV2beta1PodsMetricStatus(;currentAverageValue=nothing, metricName=nothing, selector=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1PodsMetricStatus, Symbol("currentAverageValue"), currentAverageValue) - setfield!(o, Symbol("currentAverageValue"), currentAverageValue) - validate_property(IoK8sApiAutoscalingV2beta1PodsMetricStatus, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiAutoscalingV2beta1PodsMetricStatus, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - o - end -end # type IoK8sApiAutoscalingV2beta1PodsMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta1PodsMetricStatus = Dict{Symbol,Symbol}(Symbol("currentAverageValue")=>Symbol("currentAverageValue"), Symbol("metricName")=>Symbol("metricName"), Symbol("selector")=>Symbol("selector")) -const _property_types_IoK8sApiAutoscalingV2beta1PodsMetricStatus = Dict{Symbol,String}(Symbol("currentAverageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1PodsMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1PodsMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1PodsMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1PodsMetricStatus) - (getproperty(o, Symbol("currentAverageValue")) === nothing) && (return false) - (getproperty(o, Symbol("metricName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl deleted file mode 100644 index 6993b096..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. - - IoK8sApiAutoscalingV2beta1ResourceMetricSource(; - name=nothing, - targetAverageUtilization=nothing, - targetAverageValue=nothing, - ) - - - name::String : name is the name of the resource in question. - - targetAverageUtilization::Int32 : targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. - - targetAverageValue::IoK8sApimachineryPkgApiResourceQuantity : targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. -""" -mutable struct IoK8sApiAutoscalingV2beta1ResourceMetricSource <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - targetAverageUtilization::Any # spec type: Union{ Nothing, Int32 } # spec name: targetAverageUtilization - targetAverageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: targetAverageValue - - function IoK8sApiAutoscalingV2beta1ResourceMetricSource(;name=nothing, targetAverageUtilization=nothing, targetAverageValue=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricSource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricSource, Symbol("targetAverageUtilization"), targetAverageUtilization) - setfield!(o, Symbol("targetAverageUtilization"), targetAverageUtilization) - validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricSource, Symbol("targetAverageValue"), targetAverageValue) - setfield!(o, Symbol("targetAverageValue"), targetAverageValue) - o - end -end # type IoK8sApiAutoscalingV2beta1ResourceMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta1ResourceMetricSource = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("targetAverageUtilization")=>Symbol("targetAverageUtilization"), Symbol("targetAverageValue")=>Symbol("targetAverageValue")) -const _property_types_IoK8sApiAutoscalingV2beta1ResourceMetricSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("targetAverageUtilization")=>"Int32", Symbol("targetAverageValue")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1ResourceMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ResourceMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1ResourceMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1ResourceMetricSource) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl deleted file mode 100644 index 16ad0cea..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. - - IoK8sApiAutoscalingV2beta1ResourceMetricStatus(; - currentAverageUtilization=nothing, - currentAverageValue=nothing, - name=nothing, - ) - - - currentAverageUtilization::Int32 : currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. - - currentAverageValue::IoK8sApimachineryPkgApiResourceQuantity : currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. - - name::String : name is the name of the resource in question. -""" -mutable struct IoK8sApiAutoscalingV2beta1ResourceMetricStatus <: SwaggerModel - currentAverageUtilization::Any # spec type: Union{ Nothing, Int32 } # spec name: currentAverageUtilization - currentAverageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: currentAverageValue - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiAutoscalingV2beta1ResourceMetricStatus(;currentAverageUtilization=nothing, currentAverageValue=nothing, name=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricStatus, Symbol("currentAverageUtilization"), currentAverageUtilization) - setfield!(o, Symbol("currentAverageUtilization"), currentAverageUtilization) - validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricStatus, Symbol("currentAverageValue"), currentAverageValue) - setfield!(o, Symbol("currentAverageValue"), currentAverageValue) - validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricStatus, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiAutoscalingV2beta1ResourceMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta1ResourceMetricStatus = Dict{Symbol,Symbol}(Symbol("currentAverageUtilization")=>Symbol("currentAverageUtilization"), Symbol("currentAverageValue")=>Symbol("currentAverageValue"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiAutoscalingV2beta1ResourceMetricStatus = Dict{Symbol,String}(Symbol("currentAverageUtilization")=>"Int32", Symbol("currentAverageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta1ResourceMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ResourceMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta1ResourceMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta1ResourceMetricStatus) - (getproperty(o, Symbol("currentAverageValue")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl deleted file mode 100644 index a689fe03..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CrossVersionObjectReference contains enough information to let you identify the referred resource. - - IoK8sApiAutoscalingV2beta2CrossVersionObjectReference(; - apiVersion=nothing, - kind=nothing, - name=nothing, - ) - - - apiVersion::String : API version of the referent - - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" - - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names -""" -mutable struct IoK8sApiAutoscalingV2beta2CrossVersionObjectReference <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiAutoscalingV2beta2CrossVersionObjectReference(;apiVersion=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2CrossVersionObjectReference, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV2beta2CrossVersionObjectReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV2beta2CrossVersionObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiAutoscalingV2beta2CrossVersionObjectReference - -const _property_map_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2CrossVersionObjectReference }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2CrossVersionObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2CrossVersionObjectReference }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2CrossVersionObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl deleted file mode 100644 index fdb9fc28..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). - - IoK8sApiAutoscalingV2beta2ExternalMetricSource(; - metric=nothing, - target=nothing, - ) - - - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier : metric identifies the target metric by name and selector - - target::IoK8sApiAutoscalingV2beta2MetricTarget : target specifies the target value for the given metric -""" -mutable struct IoK8sApiAutoscalingV2beta2ExternalMetricSource <: SwaggerModel - metric::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } # spec name: metric - target::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } # spec name: target - - function IoK8sApiAutoscalingV2beta2ExternalMetricSource(;metric=nothing, target=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricSource, Symbol("metric"), metric) - setfield!(o, Symbol("metric"), metric) - validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricSource, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - o - end -end # type IoK8sApiAutoscalingV2beta2ExternalMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta2ExternalMetricSource = Dict{Symbol,Symbol}(Symbol("metric")=>Symbol("metric"), Symbol("target")=>Symbol("target")) -const _property_types_IoK8sApiAutoscalingV2beta2ExternalMetricSource = Dict{Symbol,String}(Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2ExternalMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ExternalMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2ExternalMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2ExternalMetricSource) - (getproperty(o, Symbol("metric")) === nothing) && (return false) - (getproperty(o, Symbol("target")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl deleted file mode 100644 index 86262b0c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. - - IoK8sApiAutoscalingV2beta2ExternalMetricStatus(; - current=nothing, - metric=nothing, - ) - - - current::IoK8sApiAutoscalingV2beta2MetricValueStatus : current contains the current value for the given metric - - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier : metric identifies the target metric by name and selector -""" -mutable struct IoK8sApiAutoscalingV2beta2ExternalMetricStatus <: SwaggerModel - current::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } # spec name: current - metric::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } # spec name: metric - - function IoK8sApiAutoscalingV2beta2ExternalMetricStatus(;current=nothing, metric=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricStatus, Symbol("current"), current) - setfield!(o, Symbol("current"), current) - validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricStatus, Symbol("metric"), metric) - setfield!(o, Symbol("metric"), metric) - o - end -end # type IoK8sApiAutoscalingV2beta2ExternalMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta2ExternalMetricStatus = Dict{Symbol,Symbol}(Symbol("current")=>Symbol("current"), Symbol("metric")=>Symbol("metric")) -const _property_types_IoK8sApiAutoscalingV2beta2ExternalMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2ExternalMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ExternalMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2ExternalMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2ExternalMetricStatus) - (getproperty(o, Symbol("current")) === nothing) && (return false) - (getproperty(o, Symbol("metric")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl deleted file mode 100644 index d7e4fd7e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. - - IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec : spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus : status is the current information about the autoscaler. -""" -mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus } # spec name: status - - function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler - -const _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec", Symbol("status")=>"IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl deleted file mode 100644 index 4d2a7bae..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. - - IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : lastTransitionTime is the last time the condition transitioned from one status to another - - message::String : message is a human-readable explanation containing details about the transition - - reason::String : reason is the reason for the condition's last transition. - - status::String : status is the status of the condition (True, False, Unknown) - - type::String : type describes the current condition -""" -mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition - -const _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl deleted file mode 100644 index e2fa8e54..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. - - IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler} : items is the list of horizontal pod autoscaler objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : metadata is the standard list metadata. -""" -mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList - -const _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl deleted file mode 100644 index abe28c59..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. - - IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec(; - maxReplicas=nothing, - metrics=nothing, - minReplicas=nothing, - scaleTargetRef=nothing, - ) - - - maxReplicas::Int32 : maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. - - metrics::Vector{IoK8sApiAutoscalingV2beta2MetricSpec} : metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. - - minReplicas::Int32 : minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. - - scaleTargetRef::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference : scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. -""" -mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec <: SwaggerModel - maxReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: maxReplicas - metrics::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2MetricSpec} } # spec name: metrics - minReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: minReplicas - scaleTargetRef::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference } # spec name: scaleTargetRef - - function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec(;maxReplicas=nothing, metrics=nothing, minReplicas=nothing, scaleTargetRef=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("maxReplicas"), maxReplicas) - setfield!(o, Symbol("maxReplicas"), maxReplicas) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("metrics"), metrics) - setfield!(o, Symbol("metrics"), metrics) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("minReplicas"), minReplicas) - setfield!(o, Symbol("minReplicas"), minReplicas) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("scaleTargetRef"), scaleTargetRef) - setfield!(o, Symbol("scaleTargetRef"), scaleTargetRef) - o - end -end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec - -const _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec = Dict{Symbol,Symbol}(Symbol("maxReplicas")=>Symbol("maxReplicas"), Symbol("metrics")=>Symbol("metrics"), Symbol("minReplicas")=>Symbol("minReplicas"), Symbol("scaleTargetRef")=>Symbol("scaleTargetRef")) -const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec = Dict{Symbol,String}(Symbol("maxReplicas")=>"Int32", Symbol("metrics")=>"Vector{IoK8sApiAutoscalingV2beta2MetricSpec}", Symbol("minReplicas")=>"Int32", Symbol("scaleTargetRef")=>"IoK8sApiAutoscalingV2beta2CrossVersionObjectReference") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec) - (getproperty(o, Symbol("maxReplicas")) === nothing) && (return false) - (getproperty(o, Symbol("scaleTargetRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl deleted file mode 100644 index 6c560f0f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. - - IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus(; - conditions=nothing, - currentMetrics=nothing, - currentReplicas=nothing, - desiredReplicas=nothing, - lastScaleTime=nothing, - observedGeneration=nothing, - ) - - - conditions::Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition} : conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. - - currentMetrics::Vector{IoK8sApiAutoscalingV2beta2MetricStatus} : currentMetrics is the last read state of the metrics used by this autoscaler. - - currentReplicas::Int32 : currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. - - desiredReplicas::Int32 : desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. - - lastScaleTime::IoK8sApimachineryPkgApisMetaV1Time : lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. - - observedGeneration::Int64 : observedGeneration is the most recent generation observed by this autoscaler. -""" -mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition} } # spec name: conditions - currentMetrics::Any # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2MetricStatus} } # spec name: currentMetrics - currentReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: currentReplicas - desiredReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredReplicas - lastScaleTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastScaleTime - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - - function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus(;conditions=nothing, currentMetrics=nothing, currentReplicas=nothing, desiredReplicas=nothing, lastScaleTime=nothing, observedGeneration=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("currentMetrics"), currentMetrics) - setfield!(o, Symbol("currentMetrics"), currentMetrics) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("currentReplicas"), currentReplicas) - setfield!(o, Symbol("currentReplicas"), currentReplicas) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("desiredReplicas"), desiredReplicas) - setfield!(o, Symbol("desiredReplicas"), desiredReplicas) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("lastScaleTime"), lastScaleTime) - setfield!(o, Symbol("lastScaleTime"), lastScaleTime) - validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - o - end -end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus - -const _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions"), Symbol("currentMetrics")=>Symbol("currentMetrics"), Symbol("currentReplicas")=>Symbol("currentReplicas"), Symbol("desiredReplicas")=>Symbol("desiredReplicas"), Symbol("lastScaleTime")=>Symbol("lastScaleTime"), Symbol("observedGeneration")=>Symbol("observedGeneration")) -const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition}", Symbol("currentMetrics")=>"Vector{IoK8sApiAutoscalingV2beta2MetricStatus}", Symbol("currentReplicas")=>"Int32", Symbol("desiredReplicas")=>"Int32", Symbol("lastScaleTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("observedGeneration")=>"Int64") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus) - (getproperty(o, Symbol("conditions")) === nothing) && (return false) - (getproperty(o, Symbol("currentReplicas")) === nothing) && (return false) - (getproperty(o, Symbol("desiredReplicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl deleted file mode 100644 index 6b5145ef..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricIdentifier defines the name and optionally selector for a metric - - IoK8sApiAutoscalingV2beta2MetricIdentifier(; - name=nothing, - selector=nothing, - ) - - - name::String : name is the name of the given metric - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -""" -mutable struct IoK8sApiAutoscalingV2beta2MetricIdentifier <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - - function IoK8sApiAutoscalingV2beta2MetricIdentifier(;name=nothing, selector=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2MetricIdentifier, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAutoscalingV2beta2MetricIdentifier, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - o - end -end # type IoK8sApiAutoscalingV2beta2MetricIdentifier - -const _property_map_IoK8sApiAutoscalingV2beta2MetricIdentifier = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("selector")=>Symbol("selector")) -const _property_types_IoK8sApiAutoscalingV2beta2MetricIdentifier = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2MetricIdentifier }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2MetricIdentifier)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricIdentifier }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricIdentifier[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2MetricIdentifier }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2MetricIdentifier[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2MetricIdentifier) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricIdentifier }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl deleted file mode 100644 index a867a439..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). - - IoK8sApiAutoscalingV2beta2MetricSpec(; - external=nothing, - object=nothing, - pods=nothing, - resource=nothing, - type=nothing, - ) - - - external::IoK8sApiAutoscalingV2beta2ExternalMetricSource : external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). - - object::IoK8sApiAutoscalingV2beta2ObjectMetricSource : object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). - - pods::IoK8sApiAutoscalingV2beta2PodsMetricSource : pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. - - resource::IoK8sApiAutoscalingV2beta2ResourceMetricSource : resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. - - type::String : type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. -""" -mutable struct IoK8sApiAutoscalingV2beta2MetricSpec <: SwaggerModel - external::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ExternalMetricSource } # spec name: external - object::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ObjectMetricSource } # spec name: object - pods::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2PodsMetricSource } # spec name: pods - resource::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ResourceMetricSource } # spec name: resource - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAutoscalingV2beta2MetricSpec(;external=nothing, object=nothing, pods=nothing, resource=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("external"), external) - setfield!(o, Symbol("external"), external) - validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("object"), object) - setfield!(o, Symbol("object"), object) - validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("pods"), pods) - setfield!(o, Symbol("pods"), pods) - validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAutoscalingV2beta2MetricSpec - -const _property_map_IoK8sApiAutoscalingV2beta2MetricSpec = Dict{Symbol,Symbol}(Symbol("external")=>Symbol("external"), Symbol("object")=>Symbol("object"), Symbol("pods")=>Symbol("pods"), Symbol("resource")=>Symbol("resource"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAutoscalingV2beta2MetricSpec = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta2ExternalMetricSource", Symbol("object")=>"IoK8sApiAutoscalingV2beta2ObjectMetricSource", Symbol("pods")=>"IoK8sApiAutoscalingV2beta2PodsMetricSource", Symbol("resource")=>"IoK8sApiAutoscalingV2beta2ResourceMetricSource", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2MetricSpec }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2MetricSpec)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2MetricSpec }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2MetricSpec[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2MetricSpec) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl deleted file mode 100644 index aeb3e268..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricStatus describes the last-read state of a single metric. - - IoK8sApiAutoscalingV2beta2MetricStatus(; - external=nothing, - object=nothing, - pods=nothing, - resource=nothing, - type=nothing, - ) - - - external::IoK8sApiAutoscalingV2beta2ExternalMetricStatus : external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). - - object::IoK8sApiAutoscalingV2beta2ObjectMetricStatus : object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). - - pods::IoK8sApiAutoscalingV2beta2PodsMetricStatus : pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. - - resource::IoK8sApiAutoscalingV2beta2ResourceMetricStatus : resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. - - type::String : type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. -""" -mutable struct IoK8sApiAutoscalingV2beta2MetricStatus <: SwaggerModel - external::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ExternalMetricStatus } # spec name: external - object::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ObjectMetricStatus } # spec name: object - pods::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2PodsMetricStatus } # spec name: pods - resource::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ResourceMetricStatus } # spec name: resource - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiAutoscalingV2beta2MetricStatus(;external=nothing, object=nothing, pods=nothing, resource=nothing, type=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("external"), external) - setfield!(o, Symbol("external"), external) - validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("object"), object) - setfield!(o, Symbol("object"), object) - validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("pods"), pods) - setfield!(o, Symbol("pods"), pods) - validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiAutoscalingV2beta2MetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta2MetricStatus = Dict{Symbol,Symbol}(Symbol("external")=>Symbol("external"), Symbol("object")=>Symbol("object"), Symbol("pods")=>Symbol("pods"), Symbol("resource")=>Symbol("resource"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiAutoscalingV2beta2MetricStatus = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta2ExternalMetricStatus", Symbol("object")=>"IoK8sApiAutoscalingV2beta2ObjectMetricStatus", Symbol("pods")=>"IoK8sApiAutoscalingV2beta2PodsMetricStatus", Symbol("resource")=>"IoK8sApiAutoscalingV2beta2ResourceMetricStatus", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2MetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2MetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2MetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2MetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2MetricStatus) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl deleted file mode 100644 index 0621a6a6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricTarget defines the target value, average value, or average utilization of a specific metric - - IoK8sApiAutoscalingV2beta2MetricTarget(; - averageUtilization=nothing, - averageValue=nothing, - type=nothing, - value=nothing, - ) - - - averageUtilization::Int32 : averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type - - averageValue::IoK8sApimachineryPkgApiResourceQuantity : averageValue is the target value of the average of the metric across all relevant pods (as a quantity) - - type::String : type represents whether the metric type is Utilization, Value, or AverageValue - - value::IoK8sApimachineryPkgApiResourceQuantity : value is the target value of the metric (as a quantity). -""" -mutable struct IoK8sApiAutoscalingV2beta2MetricTarget <: SwaggerModel - averageUtilization::Any # spec type: Union{ Nothing, Int32 } # spec name: averageUtilization - averageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: averageValue - type::Any # spec type: Union{ Nothing, String } # spec name: type - value::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: value - - function IoK8sApiAutoscalingV2beta2MetricTarget(;averageUtilization=nothing, averageValue=nothing, type=nothing, value=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("averageUtilization"), averageUtilization) - setfield!(o, Symbol("averageUtilization"), averageUtilization) - validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("averageValue"), averageValue) - setfield!(o, Symbol("averageValue"), averageValue) - validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiAutoscalingV2beta2MetricTarget - -const _property_map_IoK8sApiAutoscalingV2beta2MetricTarget = Dict{Symbol,Symbol}(Symbol("averageUtilization")=>Symbol("averageUtilization"), Symbol("averageValue")=>Symbol("averageValue"), Symbol("type")=>Symbol("type"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiAutoscalingV2beta2MetricTarget = Dict{Symbol,String}(Symbol("averageUtilization")=>"Int32", Symbol("averageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("type")=>"String", Symbol("value")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2MetricTarget }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2MetricTarget)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricTarget }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricTarget[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2MetricTarget }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2MetricTarget[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2MetricTarget) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricTarget }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl deleted file mode 100644 index 720ca3d6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""MetricValueStatus holds the current value for a metric - - IoK8sApiAutoscalingV2beta2MetricValueStatus(; - averageUtilization=nothing, - averageValue=nothing, - value=nothing, - ) - - - averageUtilization::Int32 : currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. - - averageValue::IoK8sApimachineryPkgApiResourceQuantity : averageValue is the current value of the average of the metric across all relevant pods (as a quantity) - - value::IoK8sApimachineryPkgApiResourceQuantity : value is the current value of the metric (as a quantity). -""" -mutable struct IoK8sApiAutoscalingV2beta2MetricValueStatus <: SwaggerModel - averageUtilization::Any # spec type: Union{ Nothing, Int32 } # spec name: averageUtilization - averageValue::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: averageValue - value::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: value - - function IoK8sApiAutoscalingV2beta2MetricValueStatus(;averageUtilization=nothing, averageValue=nothing, value=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2MetricValueStatus, Symbol("averageUtilization"), averageUtilization) - setfield!(o, Symbol("averageUtilization"), averageUtilization) - validate_property(IoK8sApiAutoscalingV2beta2MetricValueStatus, Symbol("averageValue"), averageValue) - setfield!(o, Symbol("averageValue"), averageValue) - validate_property(IoK8sApiAutoscalingV2beta2MetricValueStatus, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiAutoscalingV2beta2MetricValueStatus - -const _property_map_IoK8sApiAutoscalingV2beta2MetricValueStatus = Dict{Symbol,Symbol}(Symbol("averageUtilization")=>Symbol("averageUtilization"), Symbol("averageValue")=>Symbol("averageValue"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiAutoscalingV2beta2MetricValueStatus = Dict{Symbol,String}(Symbol("averageUtilization")=>"Int32", Symbol("averageValue")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("value")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2MetricValueStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2MetricValueStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricValueStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricValueStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2MetricValueStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2MetricValueStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2MetricValueStatus) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricValueStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl deleted file mode 100644 index 37b01ccb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). - - IoK8sApiAutoscalingV2beta2ObjectMetricSource(; - describedObject=nothing, - metric=nothing, - target=nothing, - ) - - - describedObject::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference - - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier : metric identifies the target metric by name and selector - - target::IoK8sApiAutoscalingV2beta2MetricTarget : target specifies the target value for the given metric -""" -mutable struct IoK8sApiAutoscalingV2beta2ObjectMetricSource <: SwaggerModel - describedObject::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference } # spec name: describedObject - metric::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } # spec name: metric - target::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } # spec name: target - - function IoK8sApiAutoscalingV2beta2ObjectMetricSource(;describedObject=nothing, metric=nothing, target=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricSource, Symbol("describedObject"), describedObject) - setfield!(o, Symbol("describedObject"), describedObject) - validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricSource, Symbol("metric"), metric) - setfield!(o, Symbol("metric"), metric) - validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricSource, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - o - end -end # type IoK8sApiAutoscalingV2beta2ObjectMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta2ObjectMetricSource = Dict{Symbol,Symbol}(Symbol("describedObject")=>Symbol("describedObject"), Symbol("metric")=>Symbol("metric"), Symbol("target")=>Symbol("target")) -const _property_types_IoK8sApiAutoscalingV2beta2ObjectMetricSource = Dict{Symbol,String}(Symbol("describedObject")=>"IoK8sApiAutoscalingV2beta2CrossVersionObjectReference", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2ObjectMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ObjectMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2ObjectMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2ObjectMetricSource) - (getproperty(o, Symbol("describedObject")) === nothing) && (return false) - (getproperty(o, Symbol("metric")) === nothing) && (return false) - (getproperty(o, Symbol("target")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl deleted file mode 100644 index 1e7b1756..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). - - IoK8sApiAutoscalingV2beta2ObjectMetricStatus(; - current=nothing, - describedObject=nothing, - metric=nothing, - ) - - - current::IoK8sApiAutoscalingV2beta2MetricValueStatus : current contains the current value for the given metric - - describedObject::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference - - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier : metric identifies the target metric by name and selector -""" -mutable struct IoK8sApiAutoscalingV2beta2ObjectMetricStatus <: SwaggerModel - current::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } # spec name: current - describedObject::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference } # spec name: describedObject - metric::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } # spec name: metric - - function IoK8sApiAutoscalingV2beta2ObjectMetricStatus(;current=nothing, describedObject=nothing, metric=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricStatus, Symbol("current"), current) - setfield!(o, Symbol("current"), current) - validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricStatus, Symbol("describedObject"), describedObject) - setfield!(o, Symbol("describedObject"), describedObject) - validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricStatus, Symbol("metric"), metric) - setfield!(o, Symbol("metric"), metric) - o - end -end # type IoK8sApiAutoscalingV2beta2ObjectMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta2ObjectMetricStatus = Dict{Symbol,Symbol}(Symbol("current")=>Symbol("current"), Symbol("describedObject")=>Symbol("describedObject"), Symbol("metric")=>Symbol("metric")) -const _property_types_IoK8sApiAutoscalingV2beta2ObjectMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("describedObject")=>"IoK8sApiAutoscalingV2beta2CrossVersionObjectReference", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2ObjectMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ObjectMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2ObjectMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2ObjectMetricStatus) - (getproperty(o, Symbol("current")) === nothing) && (return false) - (getproperty(o, Symbol("describedObject")) === nothing) && (return false) - (getproperty(o, Symbol("metric")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl deleted file mode 100644 index 22bba73b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. - - IoK8sApiAutoscalingV2beta2PodsMetricSource(; - metric=nothing, - target=nothing, - ) - - - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier : metric identifies the target metric by name and selector - - target::IoK8sApiAutoscalingV2beta2MetricTarget : target specifies the target value for the given metric -""" -mutable struct IoK8sApiAutoscalingV2beta2PodsMetricSource <: SwaggerModel - metric::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } # spec name: metric - target::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } # spec name: target - - function IoK8sApiAutoscalingV2beta2PodsMetricSource(;metric=nothing, target=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2PodsMetricSource, Symbol("metric"), metric) - setfield!(o, Symbol("metric"), metric) - validate_property(IoK8sApiAutoscalingV2beta2PodsMetricSource, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - o - end -end # type IoK8sApiAutoscalingV2beta2PodsMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta2PodsMetricSource = Dict{Symbol,Symbol}(Symbol("metric")=>Symbol("metric"), Symbol("target")=>Symbol("target")) -const _property_types_IoK8sApiAutoscalingV2beta2PodsMetricSource = Dict{Symbol,String}(Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2PodsMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2PodsMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2PodsMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2PodsMetricSource) - (getproperty(o, Symbol("metric")) === nothing) && (return false) - (getproperty(o, Symbol("target")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl deleted file mode 100644 index 7a7473fc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). - - IoK8sApiAutoscalingV2beta2PodsMetricStatus(; - current=nothing, - metric=nothing, - ) - - - current::IoK8sApiAutoscalingV2beta2MetricValueStatus : current contains the current value for the given metric - - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier : metric identifies the target metric by name and selector -""" -mutable struct IoK8sApiAutoscalingV2beta2PodsMetricStatus <: SwaggerModel - current::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } # spec name: current - metric::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } # spec name: metric - - function IoK8sApiAutoscalingV2beta2PodsMetricStatus(;current=nothing, metric=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2PodsMetricStatus, Symbol("current"), current) - setfield!(o, Symbol("current"), current) - validate_property(IoK8sApiAutoscalingV2beta2PodsMetricStatus, Symbol("metric"), metric) - setfield!(o, Symbol("metric"), metric) - o - end -end # type IoK8sApiAutoscalingV2beta2PodsMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta2PodsMetricStatus = Dict{Symbol,Symbol}(Symbol("current")=>Symbol("current"), Symbol("metric")=>Symbol("metric")) -const _property_types_IoK8sApiAutoscalingV2beta2PodsMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2PodsMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2PodsMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2PodsMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2PodsMetricStatus) - (getproperty(o, Symbol("current")) === nothing) && (return false) - (getproperty(o, Symbol("metric")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl deleted file mode 100644 index 68e1994c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. - - IoK8sApiAutoscalingV2beta2ResourceMetricSource(; - name=nothing, - target=nothing, - ) - - - name::String : name is the name of the resource in question. - - target::IoK8sApiAutoscalingV2beta2MetricTarget : target specifies the target value for the given metric -""" -mutable struct IoK8sApiAutoscalingV2beta2ResourceMetricSource <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - target::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } # spec name: target - - function IoK8sApiAutoscalingV2beta2ResourceMetricSource(;name=nothing, target=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricSource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricSource, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - o - end -end # type IoK8sApiAutoscalingV2beta2ResourceMetricSource - -const _property_map_IoK8sApiAutoscalingV2beta2ResourceMetricSource = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("target")=>Symbol("target")) -const _property_types_IoK8sApiAutoscalingV2beta2ResourceMetricSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricSource }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2ResourceMetricSource)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ResourceMetricSource[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricSource }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2ResourceMetricSource[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2ResourceMetricSource) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("target")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl b/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl deleted file mode 100644 index 4434583e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. - - IoK8sApiAutoscalingV2beta2ResourceMetricStatus(; - current=nothing, - name=nothing, - ) - - - current::IoK8sApiAutoscalingV2beta2MetricValueStatus : current contains the current value for the given metric - - name::String : Name is the name of the resource in question. -""" -mutable struct IoK8sApiAutoscalingV2beta2ResourceMetricStatus <: SwaggerModel - current::Any # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } # spec name: current - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiAutoscalingV2beta2ResourceMetricStatus(;current=nothing, name=nothing) - o = new() - validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricStatus, Symbol("current"), current) - setfield!(o, Symbol("current"), current) - validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricStatus, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiAutoscalingV2beta2ResourceMetricStatus - -const _property_map_IoK8sApiAutoscalingV2beta2ResourceMetricStatus = Dict{Symbol,Symbol}(Symbol("current")=>Symbol("current"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiAutoscalingV2beta2ResourceMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricStatus }) = collect(keys(_property_map_IoK8sApiAutoscalingV2beta2ResourceMetricStatus)) -Swagger.property_type(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ResourceMetricStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricStatus }, property_name::Symbol) = _property_map_IoK8sApiAutoscalingV2beta2ResourceMetricStatus[property_name] - -function check_required(o::IoK8sApiAutoscalingV2beta2ResourceMetricStatus) - (getproperty(o, Symbol("current")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1Job.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1Job.jl deleted file mode 100644 index f1aa1c77..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1Job.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Job represents the configuration of a single job. - - IoK8sApiBatchV1Job(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiBatchV1JobSpec : Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiBatchV1JobStatus : Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiBatchV1Job <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiBatchV1JobStatus } # spec name: status - - function IoK8sApiBatchV1Job(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiBatchV1Job, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiBatchV1Job, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiBatchV1Job, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiBatchV1Job, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiBatchV1Job, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiBatchV1Job - -const _property_map_IoK8sApiBatchV1Job = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiBatchV1Job = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec", Symbol("status")=>"IoK8sApiBatchV1JobStatus") -Base.propertynames(::Type{ IoK8sApiBatchV1Job }) = collect(keys(_property_map_IoK8sApiBatchV1Job)) -Swagger.property_type(::Type{ IoK8sApiBatchV1Job }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1Job[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1Job }, property_name::Symbol) = _property_map_IoK8sApiBatchV1Job[property_name] - -function check_required(o::IoK8sApiBatchV1Job) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1Job }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1JobCondition.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1JobCondition.jl deleted file mode 100644 index a14eb8ac..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1JobCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JobCondition describes current state of a job. - - IoK8sApiBatchV1JobCondition(; - lastProbeTime=nothing, - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastProbeTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition was checked. - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transit from one status to another. - - message::String : Human readable message indicating details about last transition. - - reason::String : (brief) reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of job condition, Complete or Failed. -""" -mutable struct IoK8sApiBatchV1JobCondition <: SwaggerModel - lastProbeTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastProbeTime - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiBatchV1JobCondition(;lastProbeTime=nothing, lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiBatchV1JobCondition, Symbol("lastProbeTime"), lastProbeTime) - setfield!(o, Symbol("lastProbeTime"), lastProbeTime) - validate_property(IoK8sApiBatchV1JobCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiBatchV1JobCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiBatchV1JobCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiBatchV1JobCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiBatchV1JobCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiBatchV1JobCondition - -const _property_map_IoK8sApiBatchV1JobCondition = Dict{Symbol,Symbol}(Symbol("lastProbeTime")=>Symbol("lastProbeTime"), Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiBatchV1JobCondition = Dict{Symbol,String}(Symbol("lastProbeTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiBatchV1JobCondition }) = collect(keys(_property_map_IoK8sApiBatchV1JobCondition)) -Swagger.property_type(::Type{ IoK8sApiBatchV1JobCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1JobCondition }, property_name::Symbol) = _property_map_IoK8sApiBatchV1JobCondition[property_name] - -function check_required(o::IoK8sApiBatchV1JobCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1JobCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1JobList.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1JobList.jl deleted file mode 100644 index 20730303..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1JobList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JobList is a collection of jobs. - - IoK8sApiBatchV1JobList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiBatchV1Job} : items is the list of Jobs. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiBatchV1JobList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1Job} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiBatchV1JobList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiBatchV1JobList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiBatchV1JobList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiBatchV1JobList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiBatchV1JobList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiBatchV1JobList - -const _property_map_IoK8sApiBatchV1JobList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiBatchV1JobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV1Job}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiBatchV1JobList }) = collect(keys(_property_map_IoK8sApiBatchV1JobList)) -Swagger.property_type(::Type{ IoK8sApiBatchV1JobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobList[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1JobList }, property_name::Symbol) = _property_map_IoK8sApiBatchV1JobList[property_name] - -function check_required(o::IoK8sApiBatchV1JobList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1JobList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1JobSpec.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1JobSpec.jl deleted file mode 100644 index b6a4c432..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1JobSpec.jl +++ /dev/null @@ -1,71 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JobSpec describes how the job execution will look like. - - IoK8sApiBatchV1JobSpec(; - activeDeadlineSeconds=nothing, - backoffLimit=nothing, - completions=nothing, - manualSelector=nothing, - parallelism=nothing, - selector=nothing, - template=nothing, - ttlSecondsAfterFinished=nothing, - ) - - - activeDeadlineSeconds::Int64 : Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer - - backoffLimit::Int32 : Specifies the number of retries before marking this job failed. Defaults to 6 - - completions::Int32 : Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - - manualSelector::Bool : manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector - - parallelism::Int32 : Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - - ttlSecondsAfterFinished::Int32 : ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. -""" -mutable struct IoK8sApiBatchV1JobSpec <: SwaggerModel - activeDeadlineSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: activeDeadlineSeconds - backoffLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: backoffLimit - completions::Any # spec type: Union{ Nothing, Int32 } # spec name: completions - manualSelector::Any # spec type: Union{ Nothing, Bool } # spec name: manualSelector - parallelism::Any # spec type: Union{ Nothing, Int32 } # spec name: parallelism - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - ttlSecondsAfterFinished::Any # spec type: Union{ Nothing, Int32 } # spec name: ttlSecondsAfterFinished - - function IoK8sApiBatchV1JobSpec(;activeDeadlineSeconds=nothing, backoffLimit=nothing, completions=nothing, manualSelector=nothing, parallelism=nothing, selector=nothing, template=nothing, ttlSecondsAfterFinished=nothing) - o = new() - validate_property(IoK8sApiBatchV1JobSpec, Symbol("activeDeadlineSeconds"), activeDeadlineSeconds) - setfield!(o, Symbol("activeDeadlineSeconds"), activeDeadlineSeconds) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("backoffLimit"), backoffLimit) - setfield!(o, Symbol("backoffLimit"), backoffLimit) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("completions"), completions) - setfield!(o, Symbol("completions"), completions) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("manualSelector"), manualSelector) - setfield!(o, Symbol("manualSelector"), manualSelector) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("parallelism"), parallelism) - setfield!(o, Symbol("parallelism"), parallelism) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiBatchV1JobSpec, Symbol("ttlSecondsAfterFinished"), ttlSecondsAfterFinished) - setfield!(o, Symbol("ttlSecondsAfterFinished"), ttlSecondsAfterFinished) - o - end -end # type IoK8sApiBatchV1JobSpec - -const _property_map_IoK8sApiBatchV1JobSpec = Dict{Symbol,Symbol}(Symbol("activeDeadlineSeconds")=>Symbol("activeDeadlineSeconds"), Symbol("backoffLimit")=>Symbol("backoffLimit"), Symbol("completions")=>Symbol("completions"), Symbol("manualSelector")=>Symbol("manualSelector"), Symbol("parallelism")=>Symbol("parallelism"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template"), Symbol("ttlSecondsAfterFinished")=>Symbol("ttlSecondsAfterFinished")) -const _property_types_IoK8sApiBatchV1JobSpec = Dict{Symbol,String}(Symbol("activeDeadlineSeconds")=>"Int64", Symbol("backoffLimit")=>"Int32", Symbol("completions")=>"Int32", Symbol("manualSelector")=>"Bool", Symbol("parallelism")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("ttlSecondsAfterFinished")=>"Int32") -Base.propertynames(::Type{ IoK8sApiBatchV1JobSpec }) = collect(keys(_property_map_IoK8sApiBatchV1JobSpec)) -Swagger.property_type(::Type{ IoK8sApiBatchV1JobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1JobSpec }, property_name::Symbol) = _property_map_IoK8sApiBatchV1JobSpec[property_name] - -function check_required(o::IoK8sApiBatchV1JobSpec) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1JobSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1JobStatus.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1JobStatus.jl deleted file mode 100644 index 83da6415..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1JobStatus.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JobStatus represents the current state of a Job. - - IoK8sApiBatchV1JobStatus(; - active=nothing, - completionTime=nothing, - conditions=nothing, - failed=nothing, - startTime=nothing, - succeeded=nothing, - ) - - - active::Int32 : The number of actively running pods. - - completionTime::IoK8sApimachineryPkgApisMetaV1Time : Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. - - conditions::Vector{IoK8sApiBatchV1JobCondition} : The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - - failed::Int32 : The number of pods which reached phase Failed. - - startTime::IoK8sApimachineryPkgApisMetaV1Time : Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. - - succeeded::Int32 : The number of pods which reached phase Succeeded. -""" -mutable struct IoK8sApiBatchV1JobStatus <: SwaggerModel - active::Any # spec type: Union{ Nothing, Int32 } # spec name: active - completionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: completionTime - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1JobCondition} } # spec name: conditions - failed::Any # spec type: Union{ Nothing, Int32 } # spec name: failed - startTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: startTime - succeeded::Any # spec type: Union{ Nothing, Int32 } # spec name: succeeded - - function IoK8sApiBatchV1JobStatus(;active=nothing, completionTime=nothing, conditions=nothing, failed=nothing, startTime=nothing, succeeded=nothing) - o = new() - validate_property(IoK8sApiBatchV1JobStatus, Symbol("active"), active) - setfield!(o, Symbol("active"), active) - validate_property(IoK8sApiBatchV1JobStatus, Symbol("completionTime"), completionTime) - setfield!(o, Symbol("completionTime"), completionTime) - validate_property(IoK8sApiBatchV1JobStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiBatchV1JobStatus, Symbol("failed"), failed) - setfield!(o, Symbol("failed"), failed) - validate_property(IoK8sApiBatchV1JobStatus, Symbol("startTime"), startTime) - setfield!(o, Symbol("startTime"), startTime) - validate_property(IoK8sApiBatchV1JobStatus, Symbol("succeeded"), succeeded) - setfield!(o, Symbol("succeeded"), succeeded) - o - end -end # type IoK8sApiBatchV1JobStatus - -const _property_map_IoK8sApiBatchV1JobStatus = Dict{Symbol,Symbol}(Symbol("active")=>Symbol("active"), Symbol("completionTime")=>Symbol("completionTime"), Symbol("conditions")=>Symbol("conditions"), Symbol("failed")=>Symbol("failed"), Symbol("startTime")=>Symbol("startTime"), Symbol("succeeded")=>Symbol("succeeded")) -const _property_types_IoK8sApiBatchV1JobStatus = Dict{Symbol,String}(Symbol("active")=>"Int32", Symbol("completionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("conditions")=>"Vector{IoK8sApiBatchV1JobCondition}", Symbol("failed")=>"Int32", Symbol("startTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("succeeded")=>"Int32") -Base.propertynames(::Type{ IoK8sApiBatchV1JobStatus }) = collect(keys(_property_map_IoK8sApiBatchV1JobStatus)) -Swagger.property_type(::Type{ IoK8sApiBatchV1JobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1JobStatus }, property_name::Symbol) = _property_map_IoK8sApiBatchV1JobStatus[property_name] - -function check_required(o::IoK8sApiBatchV1JobStatus) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1JobStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJob.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJob.jl deleted file mode 100644 index 90d881a1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJob.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJob represents the configuration of a single cron job. - - IoK8sApiBatchV1beta1CronJob(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiBatchV1beta1CronJobSpec : Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiBatchV1beta1CronJobStatus : Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiBatchV1beta1CronJob <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiBatchV1beta1CronJobSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiBatchV1beta1CronJobStatus } # spec name: status - - function IoK8sApiBatchV1beta1CronJob(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiBatchV1beta1CronJob - -const _property_map_IoK8sApiBatchV1beta1CronJob = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiBatchV1beta1CronJob = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1beta1CronJobSpec", Symbol("status")=>"IoK8sApiBatchV1beta1CronJobStatus") -Base.propertynames(::Type{ IoK8sApiBatchV1beta1CronJob }) = collect(keys(_property_map_IoK8sApiBatchV1beta1CronJob)) -Swagger.property_type(::Type{ IoK8sApiBatchV1beta1CronJob }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJob[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1beta1CronJob }, property_name::Symbol) = _property_map_IoK8sApiBatchV1beta1CronJob[property_name] - -function check_required(o::IoK8sApiBatchV1beta1CronJob) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1beta1CronJob }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobList.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobList.jl deleted file mode 100644 index 8ca23b6d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJobList is a collection of cron jobs. - - IoK8sApiBatchV1beta1CronJobList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiBatchV1beta1CronJob} : items is the list of CronJobs. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiBatchV1beta1CronJobList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1beta1CronJob} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiBatchV1beta1CronJobList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiBatchV1beta1CronJobList - -const _property_map_IoK8sApiBatchV1beta1CronJobList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiBatchV1beta1CronJobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV1beta1CronJob}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiBatchV1beta1CronJobList }) = collect(keys(_property_map_IoK8sApiBatchV1beta1CronJobList)) -Swagger.property_type(::Type{ IoK8sApiBatchV1beta1CronJobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJobList[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1beta1CronJobList }, property_name::Symbol) = _property_map_IoK8sApiBatchV1beta1CronJobList[property_name] - -function check_required(o::IoK8sApiBatchV1beta1CronJobList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1beta1CronJobList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobSpec.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobSpec.jl deleted file mode 100644 index cdad3ebb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobSpec.jl +++ /dev/null @@ -1,67 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJobSpec describes how the job execution will look like and when it will actually run. - - IoK8sApiBatchV1beta1CronJobSpec(; - concurrencyPolicy=nothing, - failedJobsHistoryLimit=nothing, - jobTemplate=nothing, - schedule=nothing, - startingDeadlineSeconds=nothing, - successfulJobsHistoryLimit=nothing, - suspend=nothing, - ) - - - concurrencyPolicy::String : Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one - - failedJobsHistoryLimit::Int32 : The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. - - jobTemplate::IoK8sApiBatchV1beta1JobTemplateSpec : Specifies the job that will be created when executing a CronJob. - - schedule::String : The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. - - startingDeadlineSeconds::Int64 : Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. - - successfulJobsHistoryLimit::Int32 : The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. - - suspend::Bool : This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. -""" -mutable struct IoK8sApiBatchV1beta1CronJobSpec <: SwaggerModel - concurrencyPolicy::Any # spec type: Union{ Nothing, String } # spec name: concurrencyPolicy - failedJobsHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: failedJobsHistoryLimit - jobTemplate::Any # spec type: Union{ Nothing, IoK8sApiBatchV1beta1JobTemplateSpec } # spec name: jobTemplate - schedule::Any # spec type: Union{ Nothing, String } # spec name: schedule - startingDeadlineSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: startingDeadlineSeconds - successfulJobsHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: successfulJobsHistoryLimit - suspend::Any # spec type: Union{ Nothing, Bool } # spec name: suspend - - function IoK8sApiBatchV1beta1CronJobSpec(;concurrencyPolicy=nothing, failedJobsHistoryLimit=nothing, jobTemplate=nothing, schedule=nothing, startingDeadlineSeconds=nothing, successfulJobsHistoryLimit=nothing, suspend=nothing) - o = new() - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("concurrencyPolicy"), concurrencyPolicy) - setfield!(o, Symbol("concurrencyPolicy"), concurrencyPolicy) - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) - setfield!(o, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("jobTemplate"), jobTemplate) - setfield!(o, Symbol("jobTemplate"), jobTemplate) - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("schedule"), schedule) - setfield!(o, Symbol("schedule"), schedule) - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) - setfield!(o, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) - setfield!(o, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) - validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("suspend"), suspend) - setfield!(o, Symbol("suspend"), suspend) - o - end -end # type IoK8sApiBatchV1beta1CronJobSpec - -const _property_map_IoK8sApiBatchV1beta1CronJobSpec = Dict{Symbol,Symbol}(Symbol("concurrencyPolicy")=>Symbol("concurrencyPolicy"), Symbol("failedJobsHistoryLimit")=>Symbol("failedJobsHistoryLimit"), Symbol("jobTemplate")=>Symbol("jobTemplate"), Symbol("schedule")=>Symbol("schedule"), Symbol("startingDeadlineSeconds")=>Symbol("startingDeadlineSeconds"), Symbol("successfulJobsHistoryLimit")=>Symbol("successfulJobsHistoryLimit"), Symbol("suspend")=>Symbol("suspend")) -const _property_types_IoK8sApiBatchV1beta1CronJobSpec = Dict{Symbol,String}(Symbol("concurrencyPolicy")=>"String", Symbol("failedJobsHistoryLimit")=>"Int32", Symbol("jobTemplate")=>"IoK8sApiBatchV1beta1JobTemplateSpec", Symbol("schedule")=>"String", Symbol("startingDeadlineSeconds")=>"Int64", Symbol("successfulJobsHistoryLimit")=>"Int32", Symbol("suspend")=>"Bool") -Base.propertynames(::Type{ IoK8sApiBatchV1beta1CronJobSpec }) = collect(keys(_property_map_IoK8sApiBatchV1beta1CronJobSpec)) -Swagger.property_type(::Type{ IoK8sApiBatchV1beta1CronJobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJobSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1beta1CronJobSpec }, property_name::Symbol) = _property_map_IoK8sApiBatchV1beta1CronJobSpec[property_name] - -function check_required(o::IoK8sApiBatchV1beta1CronJobSpec) - (getproperty(o, Symbol("jobTemplate")) === nothing) && (return false) - (getproperty(o, Symbol("schedule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1beta1CronJobSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobStatus.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobStatus.jl deleted file mode 100644 index 5a381b54..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1CronJobStatus.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJobStatus represents the current state of a cron job. - - IoK8sApiBatchV1beta1CronJobStatus(; - active=nothing, - lastScheduleTime=nothing, - ) - - - active::Vector{IoK8sApiCoreV1ObjectReference} : A list of pointers to currently running jobs. - - lastScheduleTime::IoK8sApimachineryPkgApisMetaV1Time : Information when was the last time the job was successfully scheduled. -""" -mutable struct IoK8sApiBatchV1beta1CronJobStatus <: SwaggerModel - active::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } # spec name: active - lastScheduleTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastScheduleTime - - function IoK8sApiBatchV1beta1CronJobStatus(;active=nothing, lastScheduleTime=nothing) - o = new() - validate_property(IoK8sApiBatchV1beta1CronJobStatus, Symbol("active"), active) - setfield!(o, Symbol("active"), active) - validate_property(IoK8sApiBatchV1beta1CronJobStatus, Symbol("lastScheduleTime"), lastScheduleTime) - setfield!(o, Symbol("lastScheduleTime"), lastScheduleTime) - o - end -end # type IoK8sApiBatchV1beta1CronJobStatus - -const _property_map_IoK8sApiBatchV1beta1CronJobStatus = Dict{Symbol,Symbol}(Symbol("active")=>Symbol("active"), Symbol("lastScheduleTime")=>Symbol("lastScheduleTime")) -const _property_types_IoK8sApiBatchV1beta1CronJobStatus = Dict{Symbol,String}(Symbol("active")=>"Vector{IoK8sApiCoreV1ObjectReference}", Symbol("lastScheduleTime")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiBatchV1beta1CronJobStatus }) = collect(keys(_property_map_IoK8sApiBatchV1beta1CronJobStatus)) -Swagger.property_type(::Type{ IoK8sApiBatchV1beta1CronJobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJobStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1beta1CronJobStatus }, property_name::Symbol) = _property_map_IoK8sApiBatchV1beta1CronJobStatus[property_name] - -function check_required(o::IoK8sApiBatchV1beta1CronJobStatus) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1beta1CronJobStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl b/src/ApiImpl/api/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl deleted file mode 100644 index 12f9e84c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JobTemplateSpec describes the data a Job should have when created from a template - - IoK8sApiBatchV1beta1JobTemplateSpec(; - metadata=nothing, - spec=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiBatchV1JobSpec : Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiBatchV1beta1JobTemplateSpec <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } # spec name: spec - - function IoK8sApiBatchV1beta1JobTemplateSpec(;metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiBatchV1beta1JobTemplateSpec, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiBatchV1beta1JobTemplateSpec, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiBatchV1beta1JobTemplateSpec - -const _property_map_IoK8sApiBatchV1beta1JobTemplateSpec = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiBatchV1beta1JobTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec") -Base.propertynames(::Type{ IoK8sApiBatchV1beta1JobTemplateSpec }) = collect(keys(_property_map_IoK8sApiBatchV1beta1JobTemplateSpec)) -Swagger.property_type(::Type{ IoK8sApiBatchV1beta1JobTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1JobTemplateSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV1beta1JobTemplateSpec }, property_name::Symbol) = _property_map_IoK8sApiBatchV1beta1JobTemplateSpec[property_name] - -function check_required(o::IoK8sApiBatchV1beta1JobTemplateSpec) - true -end - -function validate_property(::Type{ IoK8sApiBatchV1beta1JobTemplateSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJob.jl b/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJob.jl deleted file mode 100644 index 7ba49fce..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJob.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJob represents the configuration of a single cron job. - - IoK8sApiBatchV2alpha1CronJob(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiBatchV2alpha1CronJobSpec : Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiBatchV2alpha1CronJobStatus : Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiBatchV2alpha1CronJob <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiBatchV2alpha1CronJobSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiBatchV2alpha1CronJobStatus } # spec name: status - - function IoK8sApiBatchV2alpha1CronJob(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiBatchV2alpha1CronJob - -const _property_map_IoK8sApiBatchV2alpha1CronJob = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiBatchV2alpha1CronJob = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV2alpha1CronJobSpec", Symbol("status")=>"IoK8sApiBatchV2alpha1CronJobStatus") -Base.propertynames(::Type{ IoK8sApiBatchV2alpha1CronJob }) = collect(keys(_property_map_IoK8sApiBatchV2alpha1CronJob)) -Swagger.property_type(::Type{ IoK8sApiBatchV2alpha1CronJob }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJob[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV2alpha1CronJob }, property_name::Symbol) = _property_map_IoK8sApiBatchV2alpha1CronJob[property_name] - -function check_required(o::IoK8sApiBatchV2alpha1CronJob) - true -end - -function validate_property(::Type{ IoK8sApiBatchV2alpha1CronJob }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobList.jl b/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobList.jl deleted file mode 100644 index 0a6f0616..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJobList is a collection of cron jobs. - - IoK8sApiBatchV2alpha1CronJobList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiBatchV2alpha1CronJob} : items is the list of CronJobs. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiBatchV2alpha1CronJobList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiBatchV2alpha1CronJob} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiBatchV2alpha1CronJobList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiBatchV2alpha1CronJobList - -const _property_map_IoK8sApiBatchV2alpha1CronJobList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiBatchV2alpha1CronJobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV2alpha1CronJob}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiBatchV2alpha1CronJobList }) = collect(keys(_property_map_IoK8sApiBatchV2alpha1CronJobList)) -Swagger.property_type(::Type{ IoK8sApiBatchV2alpha1CronJobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJobList[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV2alpha1CronJobList }, property_name::Symbol) = _property_map_IoK8sApiBatchV2alpha1CronJobList[property_name] - -function check_required(o::IoK8sApiBatchV2alpha1CronJobList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV2alpha1CronJobList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobSpec.jl b/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobSpec.jl deleted file mode 100644 index 0a66e0d1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobSpec.jl +++ /dev/null @@ -1,67 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJobSpec describes how the job execution will look like and when it will actually run. - - IoK8sApiBatchV2alpha1CronJobSpec(; - concurrencyPolicy=nothing, - failedJobsHistoryLimit=nothing, - jobTemplate=nothing, - schedule=nothing, - startingDeadlineSeconds=nothing, - successfulJobsHistoryLimit=nothing, - suspend=nothing, - ) - - - concurrencyPolicy::String : Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one - - failedJobsHistoryLimit::Int32 : The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. - - jobTemplate::IoK8sApiBatchV2alpha1JobTemplateSpec : Specifies the job that will be created when executing a CronJob. - - schedule::String : The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. - - startingDeadlineSeconds::Int64 : Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. - - successfulJobsHistoryLimit::Int32 : The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. - - suspend::Bool : This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. -""" -mutable struct IoK8sApiBatchV2alpha1CronJobSpec <: SwaggerModel - concurrencyPolicy::Any # spec type: Union{ Nothing, String } # spec name: concurrencyPolicy - failedJobsHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: failedJobsHistoryLimit - jobTemplate::Any # spec type: Union{ Nothing, IoK8sApiBatchV2alpha1JobTemplateSpec } # spec name: jobTemplate - schedule::Any # spec type: Union{ Nothing, String } # spec name: schedule - startingDeadlineSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: startingDeadlineSeconds - successfulJobsHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: successfulJobsHistoryLimit - suspend::Any # spec type: Union{ Nothing, Bool } # spec name: suspend - - function IoK8sApiBatchV2alpha1CronJobSpec(;concurrencyPolicy=nothing, failedJobsHistoryLimit=nothing, jobTemplate=nothing, schedule=nothing, startingDeadlineSeconds=nothing, successfulJobsHistoryLimit=nothing, suspend=nothing) - o = new() - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("concurrencyPolicy"), concurrencyPolicy) - setfield!(o, Symbol("concurrencyPolicy"), concurrencyPolicy) - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) - setfield!(o, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("jobTemplate"), jobTemplate) - setfield!(o, Symbol("jobTemplate"), jobTemplate) - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("schedule"), schedule) - setfield!(o, Symbol("schedule"), schedule) - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) - setfield!(o, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) - setfield!(o, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) - validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("suspend"), suspend) - setfield!(o, Symbol("suspend"), suspend) - o - end -end # type IoK8sApiBatchV2alpha1CronJobSpec - -const _property_map_IoK8sApiBatchV2alpha1CronJobSpec = Dict{Symbol,Symbol}(Symbol("concurrencyPolicy")=>Symbol("concurrencyPolicy"), Symbol("failedJobsHistoryLimit")=>Symbol("failedJobsHistoryLimit"), Symbol("jobTemplate")=>Symbol("jobTemplate"), Symbol("schedule")=>Symbol("schedule"), Symbol("startingDeadlineSeconds")=>Symbol("startingDeadlineSeconds"), Symbol("successfulJobsHistoryLimit")=>Symbol("successfulJobsHistoryLimit"), Symbol("suspend")=>Symbol("suspend")) -const _property_types_IoK8sApiBatchV2alpha1CronJobSpec = Dict{Symbol,String}(Symbol("concurrencyPolicy")=>"String", Symbol("failedJobsHistoryLimit")=>"Int32", Symbol("jobTemplate")=>"IoK8sApiBatchV2alpha1JobTemplateSpec", Symbol("schedule")=>"String", Symbol("startingDeadlineSeconds")=>"Int64", Symbol("successfulJobsHistoryLimit")=>"Int32", Symbol("suspend")=>"Bool") -Base.propertynames(::Type{ IoK8sApiBatchV2alpha1CronJobSpec }) = collect(keys(_property_map_IoK8sApiBatchV2alpha1CronJobSpec)) -Swagger.property_type(::Type{ IoK8sApiBatchV2alpha1CronJobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJobSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV2alpha1CronJobSpec }, property_name::Symbol) = _property_map_IoK8sApiBatchV2alpha1CronJobSpec[property_name] - -function check_required(o::IoK8sApiBatchV2alpha1CronJobSpec) - (getproperty(o, Symbol("jobTemplate")) === nothing) && (return false) - (getproperty(o, Symbol("schedule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiBatchV2alpha1CronJobSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobStatus.jl b/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobStatus.jl deleted file mode 100644 index c53c9415..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1CronJobStatus.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CronJobStatus represents the current state of a cron job. - - IoK8sApiBatchV2alpha1CronJobStatus(; - active=nothing, - lastScheduleTime=nothing, - ) - - - active::Vector{IoK8sApiCoreV1ObjectReference} : A list of pointers to currently running jobs. - - lastScheduleTime::IoK8sApimachineryPkgApisMetaV1Time : Information when was the last time the job was successfully scheduled. -""" -mutable struct IoK8sApiBatchV2alpha1CronJobStatus <: SwaggerModel - active::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } # spec name: active - lastScheduleTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastScheduleTime - - function IoK8sApiBatchV2alpha1CronJobStatus(;active=nothing, lastScheduleTime=nothing) - o = new() - validate_property(IoK8sApiBatchV2alpha1CronJobStatus, Symbol("active"), active) - setfield!(o, Symbol("active"), active) - validate_property(IoK8sApiBatchV2alpha1CronJobStatus, Symbol("lastScheduleTime"), lastScheduleTime) - setfield!(o, Symbol("lastScheduleTime"), lastScheduleTime) - o - end -end # type IoK8sApiBatchV2alpha1CronJobStatus - -const _property_map_IoK8sApiBatchV2alpha1CronJobStatus = Dict{Symbol,Symbol}(Symbol("active")=>Symbol("active"), Symbol("lastScheduleTime")=>Symbol("lastScheduleTime")) -const _property_types_IoK8sApiBatchV2alpha1CronJobStatus = Dict{Symbol,String}(Symbol("active")=>"Vector{IoK8sApiCoreV1ObjectReference}", Symbol("lastScheduleTime")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiBatchV2alpha1CronJobStatus }) = collect(keys(_property_map_IoK8sApiBatchV2alpha1CronJobStatus)) -Swagger.property_type(::Type{ IoK8sApiBatchV2alpha1CronJobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJobStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV2alpha1CronJobStatus }, property_name::Symbol) = _property_map_IoK8sApiBatchV2alpha1CronJobStatus[property_name] - -function check_required(o::IoK8sApiBatchV2alpha1CronJobStatus) - true -end - -function validate_property(::Type{ IoK8sApiBatchV2alpha1CronJobStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl b/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl deleted file mode 100644 index 08f4ba61..00000000 --- a/src/ApiImpl/api/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JobTemplateSpec describes the data a Job should have when created from a template - - IoK8sApiBatchV2alpha1JobTemplateSpec(; - metadata=nothing, - spec=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiBatchV1JobSpec : Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiBatchV2alpha1JobTemplateSpec <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } # spec name: spec - - function IoK8sApiBatchV2alpha1JobTemplateSpec(;metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiBatchV2alpha1JobTemplateSpec, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiBatchV2alpha1JobTemplateSpec, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiBatchV2alpha1JobTemplateSpec - -const _property_map_IoK8sApiBatchV2alpha1JobTemplateSpec = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiBatchV2alpha1JobTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec") -Base.propertynames(::Type{ IoK8sApiBatchV2alpha1JobTemplateSpec }) = collect(keys(_property_map_IoK8sApiBatchV2alpha1JobTemplateSpec)) -Swagger.property_type(::Type{ IoK8sApiBatchV2alpha1JobTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1JobTemplateSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiBatchV2alpha1JobTemplateSpec }, property_name::Symbol) = _property_map_IoK8sApiBatchV2alpha1JobTemplateSpec[property_name] - -function check_required(o::IoK8sApiBatchV2alpha1JobTemplateSpec) - true -end - -function validate_property(::Type{ IoK8sApiBatchV2alpha1JobTemplateSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl b/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl deleted file mode 100644 index 40c0d4a7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Describes a certificate signing request - - IoK8sApiCertificatesV1beta1CertificateSigningRequest(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec : The certificate request itself and any additional information. - - status::IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus : Derived information about the request. -""" -mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequest <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus } # spec name: status - - function IoK8sApiCertificatesV1beta1CertificateSigningRequest(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCertificatesV1beta1CertificateSigningRequest - -const _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequest = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequest = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec", Symbol("status")=>"IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus") -Base.propertynames(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequest }) = collect(keys(_property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequest)) -Swagger.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequest[name]))} -Swagger.field_name(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequest }, property_name::Symbol) = _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequest[property_name] - -function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequest) - true -end - -function validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequest }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl b/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl deleted file mode 100644 index f9d6c3c9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw""" - IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition(; - lastUpdateTime=nothing, - message=nothing, - reason=nothing, - type=nothing, - ) - - - lastUpdateTime::IoK8sApimachineryPkgApisMetaV1Time : timestamp for the last update to this condition - - message::String : human readable message with details about the request state - - reason::String : brief reason for the request state - - type::String : request approval state, currently Approved or Denied. -""" -mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition <: SwaggerModel - lastUpdateTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastUpdateTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition(;lastUpdateTime=nothing, message=nothing, reason=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("lastUpdateTime"), lastUpdateTime) - setfield!(o, Symbol("lastUpdateTime"), lastUpdateTime) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition - -const _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition = Dict{Symbol,Symbol}(Symbol("lastUpdateTime")=>Symbol("lastUpdateTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition = Dict{Symbol,String}(Symbol("lastUpdateTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition }) = collect(keys(_property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition)) -Swagger.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition }, property_name::Symbol) = _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition[property_name] - -function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl b/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl deleted file mode 100644 index e0da82e5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw""" - IoK8sApiCertificatesV1beta1CertificateSigningRequestList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequest} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequest} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCertificatesV1beta1CertificateSigningRequestList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestList - -const _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequest}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestList }) = collect(keys(_property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestList)) -Swagger.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestList[name]))} -Swagger.field_name(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestList }, property_name::Symbol) = _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestList[property_name] - -function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl b/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl deleted file mode 100644 index c08e972a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users. - - IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec(; - extra=nothing, - groups=nothing, - request=nothing, - uid=nothing, - usages=nothing, - username=nothing, - ) - - - extra::Dict{String, Vector{String}} : Extra information about the requesting user. See user.Info interface for details. - - groups::Vector{String} : Group information about the requesting user. See user.Info interface for details. - - request::Vector{UInt8} : Base64-encoded PKCS#10 CSR data - - uid::String : UID information about the requesting user. See user.Info interface for details. - - usages::Vector{String} : allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12 - - username::String : Information about the requesting user. See user.Info interface for details. -""" -mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec <: SwaggerModel - extra::Any # spec type: Union{ Nothing, Dict{String, Vector{String}} } # spec name: extra - groups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: groups - request::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: request - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - usages::Any # spec type: Union{ Nothing, Vector{String} } # spec name: usages - username::Any # spec type: Union{ Nothing, String } # spec name: username - - function IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec(;extra=nothing, groups=nothing, request=nothing, uid=nothing, usages=nothing, username=nothing) - o = new() - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("extra"), extra) - setfield!(o, Symbol("extra"), extra) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("groups"), groups) - setfield!(o, Symbol("groups"), groups) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("request"), request) - setfield!(o, Symbol("request"), request) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("usages"), usages) - setfield!(o, Symbol("usages"), usages) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("username"), username) - setfield!(o, Symbol("username"), username) - o - end -end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec - -const _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec = Dict{Symbol,Symbol}(Symbol("extra")=>Symbol("extra"), Symbol("groups")=>Symbol("groups"), Symbol("request")=>Symbol("request"), Symbol("uid")=>Symbol("uid"), Symbol("usages")=>Symbol("usages"), Symbol("username")=>Symbol("username")) -const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("request")=>"Vector{UInt8}", Symbol("uid")=>"String", Symbol("usages")=>"Vector{String}", Symbol("username")=>"String") -Base.propertynames(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec }) = collect(keys(_property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec)) -Swagger.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec }, property_name::Symbol) = _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec[property_name] - -function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec) - (getproperty(o, Symbol("request")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec }, name::Symbol, val) - if name === Symbol("request") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl b/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl deleted file mode 100644 index 974a733a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw""" - IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus(; - certificate=nothing, - conditions=nothing, - ) - - - certificate::Vector{UInt8} : If request was approved, the controller will place the issued certificate here. - - conditions::Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition} : Conditions applied to the request, such as approval or denial. -""" -mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus <: SwaggerModel - certificate::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: certificate - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition} } # spec name: conditions - - function IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus(;certificate=nothing, conditions=nothing) - o = new() - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus, Symbol("certificate"), certificate) - setfield!(o, Symbol("certificate"), certificate) - validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - o - end -end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus - -const _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus = Dict{Symbol,Symbol}(Symbol("certificate")=>Symbol("certificate"), Symbol("conditions")=>Symbol("conditions")) -const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus = Dict{Symbol,String}(Symbol("certificate")=>"Vector{UInt8}", Symbol("conditions")=>"Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition}") -Base.propertynames(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus }) = collect(keys(_property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus)) -Swagger.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus }, property_name::Symbol) = _property_map_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus[property_name] - -function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus) - true -end - -function validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus }, name::Symbol, val) - if name === Symbol("certificate") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoordinationV1Lease.jl b/src/ApiImpl/api/model_IoK8sApiCoordinationV1Lease.jl deleted file mode 100644 index 203e20e3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoordinationV1Lease.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Lease defines a lease concept. - - IoK8sApiCoordinationV1Lease(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoordinationV1LeaseSpec : Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoordinationV1Lease <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoordinationV1LeaseSpec } # spec name: spec - - function IoK8sApiCoordinationV1Lease(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiCoordinationV1Lease, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoordinationV1Lease, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoordinationV1Lease, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoordinationV1Lease, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiCoordinationV1Lease - -const _property_map_IoK8sApiCoordinationV1Lease = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiCoordinationV1Lease = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoordinationV1LeaseSpec") -Base.propertynames(::Type{ IoK8sApiCoordinationV1Lease }) = collect(keys(_property_map_IoK8sApiCoordinationV1Lease)) -Swagger.property_type(::Type{ IoK8sApiCoordinationV1Lease }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1Lease[name]))} -Swagger.field_name(::Type{ IoK8sApiCoordinationV1Lease }, property_name::Symbol) = _property_map_IoK8sApiCoordinationV1Lease[property_name] - -function check_required(o::IoK8sApiCoordinationV1Lease) - true -end - -function validate_property(::Type{ IoK8sApiCoordinationV1Lease }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoordinationV1LeaseList.jl b/src/ApiImpl/api/model_IoK8sApiCoordinationV1LeaseList.jl deleted file mode 100644 index e3c98e9c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoordinationV1LeaseList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LeaseList is a list of Lease objects. - - IoK8sApiCoordinationV1LeaseList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoordinationV1Lease} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiCoordinationV1LeaseList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoordinationV1Lease} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoordinationV1LeaseList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoordinationV1LeaseList - -const _property_map_IoK8sApiCoordinationV1LeaseList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoordinationV1LeaseList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoordinationV1Lease}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoordinationV1LeaseList }) = collect(keys(_property_map_IoK8sApiCoordinationV1LeaseList)) -Swagger.property_type(::Type{ IoK8sApiCoordinationV1LeaseList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1LeaseList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoordinationV1LeaseList }, property_name::Symbol) = _property_map_IoK8sApiCoordinationV1LeaseList[property_name] - -function check_required(o::IoK8sApiCoordinationV1LeaseList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoordinationV1LeaseList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoordinationV1LeaseSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoordinationV1LeaseSpec.jl deleted file mode 100644 index 83969ba6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoordinationV1LeaseSpec.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LeaseSpec is a specification of a Lease. - - IoK8sApiCoordinationV1LeaseSpec(; - acquireTime=nothing, - holderIdentity=nothing, - leaseDurationSeconds=nothing, - leaseTransitions=nothing, - renewTime=nothing, - ) - - - acquireTime::IoK8sApimachineryPkgApisMetaV1MicroTime : acquireTime is a time when the current lease was acquired. - - holderIdentity::String : holderIdentity contains the identity of the holder of a current lease. - - leaseDurationSeconds::Int32 : leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. - - leaseTransitions::Int32 : leaseTransitions is the number of transitions of a lease between holders. - - renewTime::IoK8sApimachineryPkgApisMetaV1MicroTime : renewTime is a time when the current holder of a lease has last updated the lease. -""" -mutable struct IoK8sApiCoordinationV1LeaseSpec <: SwaggerModel - acquireTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: acquireTime - holderIdentity::Any # spec type: Union{ Nothing, String } # spec name: holderIdentity - leaseDurationSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: leaseDurationSeconds - leaseTransitions::Any # spec type: Union{ Nothing, Int32 } # spec name: leaseTransitions - renewTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: renewTime - - function IoK8sApiCoordinationV1LeaseSpec(;acquireTime=nothing, holderIdentity=nothing, leaseDurationSeconds=nothing, leaseTransitions=nothing, renewTime=nothing) - o = new() - validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("acquireTime"), acquireTime) - setfield!(o, Symbol("acquireTime"), acquireTime) - validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("holderIdentity"), holderIdentity) - setfield!(o, Symbol("holderIdentity"), holderIdentity) - validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("leaseDurationSeconds"), leaseDurationSeconds) - setfield!(o, Symbol("leaseDurationSeconds"), leaseDurationSeconds) - validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("leaseTransitions"), leaseTransitions) - setfield!(o, Symbol("leaseTransitions"), leaseTransitions) - validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("renewTime"), renewTime) - setfield!(o, Symbol("renewTime"), renewTime) - o - end -end # type IoK8sApiCoordinationV1LeaseSpec - -const _property_map_IoK8sApiCoordinationV1LeaseSpec = Dict{Symbol,Symbol}(Symbol("acquireTime")=>Symbol("acquireTime"), Symbol("holderIdentity")=>Symbol("holderIdentity"), Symbol("leaseDurationSeconds")=>Symbol("leaseDurationSeconds"), Symbol("leaseTransitions")=>Symbol("leaseTransitions"), Symbol("renewTime")=>Symbol("renewTime")) -const _property_types_IoK8sApiCoordinationV1LeaseSpec = Dict{Symbol,String}(Symbol("acquireTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime", Symbol("holderIdentity")=>"String", Symbol("leaseDurationSeconds")=>"Int32", Symbol("leaseTransitions")=>"Int32", Symbol("renewTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime") -Base.propertynames(::Type{ IoK8sApiCoordinationV1LeaseSpec }) = collect(keys(_property_map_IoK8sApiCoordinationV1LeaseSpec)) -Swagger.property_type(::Type{ IoK8sApiCoordinationV1LeaseSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1LeaseSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoordinationV1LeaseSpec }, property_name::Symbol) = _property_map_IoK8sApiCoordinationV1LeaseSpec[property_name] - -function check_required(o::IoK8sApiCoordinationV1LeaseSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoordinationV1LeaseSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1Lease.jl b/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1Lease.jl deleted file mode 100644 index 30de7912..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1Lease.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Lease defines a lease concept. - - IoK8sApiCoordinationV1beta1Lease(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoordinationV1beta1LeaseSpec : Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoordinationV1beta1Lease <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoordinationV1beta1LeaseSpec } # spec name: spec - - function IoK8sApiCoordinationV1beta1Lease(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiCoordinationV1beta1Lease - -const _property_map_IoK8sApiCoordinationV1beta1Lease = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiCoordinationV1beta1Lease = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoordinationV1beta1LeaseSpec") -Base.propertynames(::Type{ IoK8sApiCoordinationV1beta1Lease }) = collect(keys(_property_map_IoK8sApiCoordinationV1beta1Lease)) -Swagger.property_type(::Type{ IoK8sApiCoordinationV1beta1Lease }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1beta1Lease[name]))} -Swagger.field_name(::Type{ IoK8sApiCoordinationV1beta1Lease }, property_name::Symbol) = _property_map_IoK8sApiCoordinationV1beta1Lease[property_name] - -function check_required(o::IoK8sApiCoordinationV1beta1Lease) - true -end - -function validate_property(::Type{ IoK8sApiCoordinationV1beta1Lease }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1LeaseList.jl b/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1LeaseList.jl deleted file mode 100644 index 0276414a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1LeaseList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LeaseList is a list of Lease objects. - - IoK8sApiCoordinationV1beta1LeaseList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoordinationV1beta1Lease} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiCoordinationV1beta1LeaseList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoordinationV1beta1Lease} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoordinationV1beta1LeaseList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoordinationV1beta1LeaseList - -const _property_map_IoK8sApiCoordinationV1beta1LeaseList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoordinationV1beta1LeaseList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoordinationV1beta1Lease}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoordinationV1beta1LeaseList }) = collect(keys(_property_map_IoK8sApiCoordinationV1beta1LeaseList)) -Swagger.property_type(::Type{ IoK8sApiCoordinationV1beta1LeaseList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1beta1LeaseList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoordinationV1beta1LeaseList }, property_name::Symbol) = _property_map_IoK8sApiCoordinationV1beta1LeaseList[property_name] - -function check_required(o::IoK8sApiCoordinationV1beta1LeaseList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoordinationV1beta1LeaseList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl deleted file mode 100644 index 8ed02f28..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LeaseSpec is a specification of a Lease. - - IoK8sApiCoordinationV1beta1LeaseSpec(; - acquireTime=nothing, - holderIdentity=nothing, - leaseDurationSeconds=nothing, - leaseTransitions=nothing, - renewTime=nothing, - ) - - - acquireTime::IoK8sApimachineryPkgApisMetaV1MicroTime : acquireTime is a time when the current lease was acquired. - - holderIdentity::String : holderIdentity contains the identity of the holder of a current lease. - - leaseDurationSeconds::Int32 : leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. - - leaseTransitions::Int32 : leaseTransitions is the number of transitions of a lease between holders. - - renewTime::IoK8sApimachineryPkgApisMetaV1MicroTime : renewTime is a time when the current holder of a lease has last updated the lease. -""" -mutable struct IoK8sApiCoordinationV1beta1LeaseSpec <: SwaggerModel - acquireTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: acquireTime - holderIdentity::Any # spec type: Union{ Nothing, String } # spec name: holderIdentity - leaseDurationSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: leaseDurationSeconds - leaseTransitions::Any # spec type: Union{ Nothing, Int32 } # spec name: leaseTransitions - renewTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: renewTime - - function IoK8sApiCoordinationV1beta1LeaseSpec(;acquireTime=nothing, holderIdentity=nothing, leaseDurationSeconds=nothing, leaseTransitions=nothing, renewTime=nothing) - o = new() - validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("acquireTime"), acquireTime) - setfield!(o, Symbol("acquireTime"), acquireTime) - validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("holderIdentity"), holderIdentity) - setfield!(o, Symbol("holderIdentity"), holderIdentity) - validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("leaseDurationSeconds"), leaseDurationSeconds) - setfield!(o, Symbol("leaseDurationSeconds"), leaseDurationSeconds) - validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("leaseTransitions"), leaseTransitions) - setfield!(o, Symbol("leaseTransitions"), leaseTransitions) - validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("renewTime"), renewTime) - setfield!(o, Symbol("renewTime"), renewTime) - o - end -end # type IoK8sApiCoordinationV1beta1LeaseSpec - -const _property_map_IoK8sApiCoordinationV1beta1LeaseSpec = Dict{Symbol,Symbol}(Symbol("acquireTime")=>Symbol("acquireTime"), Symbol("holderIdentity")=>Symbol("holderIdentity"), Symbol("leaseDurationSeconds")=>Symbol("leaseDurationSeconds"), Symbol("leaseTransitions")=>Symbol("leaseTransitions"), Symbol("renewTime")=>Symbol("renewTime")) -const _property_types_IoK8sApiCoordinationV1beta1LeaseSpec = Dict{Symbol,String}(Symbol("acquireTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime", Symbol("holderIdentity")=>"String", Symbol("leaseDurationSeconds")=>"Int32", Symbol("leaseTransitions")=>"Int32", Symbol("renewTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime") -Base.propertynames(::Type{ IoK8sApiCoordinationV1beta1LeaseSpec }) = collect(keys(_property_map_IoK8sApiCoordinationV1beta1LeaseSpec)) -Swagger.property_type(::Type{ IoK8sApiCoordinationV1beta1LeaseSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1beta1LeaseSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoordinationV1beta1LeaseSpec }, property_name::Symbol) = _property_map_IoK8sApiCoordinationV1beta1LeaseSpec[property_name] - -function check_required(o::IoK8sApiCoordinationV1beta1LeaseSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoordinationV1beta1LeaseSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl deleted file mode 100644 index 9e10c072..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource(; - fsType=nothing, - partition=nothing, - readOnly=nothing, - volumeID=nothing, - ) - - - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - - partition::Int32 : The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). - - readOnly::Bool : Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - - volumeID::String : Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -""" -mutable struct IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - partition::Any # spec type: Union{ Nothing, Int32 } # spec name: partition - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - volumeID::Any # spec type: Union{ Nothing, String } # spec name: volumeID - - function IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource(;fsType=nothing, partition=nothing, readOnly=nothing, volumeID=nothing) - o = new() - validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("partition"), partition) - setfield!(o, Symbol("partition"), partition) - validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("volumeID"), volumeID) - setfield!(o, Symbol("volumeID"), volumeID) - o - end -end # type IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource - -const _property_map_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("partition")=>Symbol("partition"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("volumeID")=>Symbol("volumeID")) -const _property_types_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("partition")=>"Int32", Symbol("readOnly")=>"Bool", Symbol("volumeID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource) - (getproperty(o, Symbol("volumeID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Affinity.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Affinity.jl deleted file mode 100644 index e778c246..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Affinity.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Affinity is a group of affinity scheduling rules. - - IoK8sApiCoreV1Affinity(; - nodeAffinity=nothing, - podAffinity=nothing, - podAntiAffinity=nothing, - ) - - - nodeAffinity::IoK8sApiCoreV1NodeAffinity : Describes node affinity scheduling rules for the pod. - - podAffinity::IoK8sApiCoreV1PodAffinity : Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). - - podAntiAffinity::IoK8sApiCoreV1PodAntiAffinity : Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -""" -mutable struct IoK8sApiCoreV1Affinity <: SwaggerModel - nodeAffinity::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeAffinity } # spec name: nodeAffinity - podAffinity::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodAffinity } # spec name: podAffinity - podAntiAffinity::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodAntiAffinity } # spec name: podAntiAffinity - - function IoK8sApiCoreV1Affinity(;nodeAffinity=nothing, podAffinity=nothing, podAntiAffinity=nothing) - o = new() - validate_property(IoK8sApiCoreV1Affinity, Symbol("nodeAffinity"), nodeAffinity) - setfield!(o, Symbol("nodeAffinity"), nodeAffinity) - validate_property(IoK8sApiCoreV1Affinity, Symbol("podAffinity"), podAffinity) - setfield!(o, Symbol("podAffinity"), podAffinity) - validate_property(IoK8sApiCoreV1Affinity, Symbol("podAntiAffinity"), podAntiAffinity) - setfield!(o, Symbol("podAntiAffinity"), podAntiAffinity) - o - end -end # type IoK8sApiCoreV1Affinity - -const _property_map_IoK8sApiCoreV1Affinity = Dict{Symbol,Symbol}(Symbol("nodeAffinity")=>Symbol("nodeAffinity"), Symbol("podAffinity")=>Symbol("podAffinity"), Symbol("podAntiAffinity")=>Symbol("podAntiAffinity")) -const _property_types_IoK8sApiCoreV1Affinity = Dict{Symbol,String}(Symbol("nodeAffinity")=>"IoK8sApiCoreV1NodeAffinity", Symbol("podAffinity")=>"IoK8sApiCoreV1PodAffinity", Symbol("podAntiAffinity")=>"IoK8sApiCoreV1PodAntiAffinity") -Base.propertynames(::Type{ IoK8sApiCoreV1Affinity }) = collect(keys(_property_map_IoK8sApiCoreV1Affinity)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Affinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Affinity[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Affinity }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Affinity[property_name] - -function check_required(o::IoK8sApiCoreV1Affinity) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Affinity }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1AttachedVolume.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1AttachedVolume.jl deleted file mode 100644 index a45021fe..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1AttachedVolume.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AttachedVolume describes a volume attached to a node - - IoK8sApiCoreV1AttachedVolume(; - devicePath=nothing, - name=nothing, - ) - - - devicePath::String : DevicePath represents the device path where the volume should be available - - name::String : Name of the attached volume -""" -mutable struct IoK8sApiCoreV1AttachedVolume <: SwaggerModel - devicePath::Any # spec type: Union{ Nothing, String } # spec name: devicePath - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiCoreV1AttachedVolume(;devicePath=nothing, name=nothing) - o = new() - validate_property(IoK8sApiCoreV1AttachedVolume, Symbol("devicePath"), devicePath) - setfield!(o, Symbol("devicePath"), devicePath) - validate_property(IoK8sApiCoreV1AttachedVolume, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiCoreV1AttachedVolume - -const _property_map_IoK8sApiCoreV1AttachedVolume = Dict{Symbol,Symbol}(Symbol("devicePath")=>Symbol("devicePath"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiCoreV1AttachedVolume = Dict{Symbol,String}(Symbol("devicePath")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1AttachedVolume }) = collect(keys(_property_map_IoK8sApiCoreV1AttachedVolume)) -Swagger.property_type(::Type{ IoK8sApiCoreV1AttachedVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AttachedVolume[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1AttachedVolume }, property_name::Symbol) = _property_map_IoK8sApiCoreV1AttachedVolume[property_name] - -function check_required(o::IoK8sApiCoreV1AttachedVolume) - (getproperty(o, Symbol("devicePath")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1AttachedVolume }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl deleted file mode 100644 index 584e599c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. - - IoK8sApiCoreV1AzureDiskVolumeSource(; - cachingMode=nothing, - diskName=nothing, - diskURI=nothing, - fsType=nothing, - kind=nothing, - readOnly=nothing, - ) - - - cachingMode::String : Host Caching mode: None, Read Only, Read Write. - - diskName::String : The Name of the data disk in the blob storage - - diskURI::String : The URI the data disk in the blob storage - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. - - kind::String : Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. -""" -mutable struct IoK8sApiCoreV1AzureDiskVolumeSource <: SwaggerModel - cachingMode::Any # spec type: Union{ Nothing, String } # spec name: cachingMode - diskName::Any # spec type: Union{ Nothing, String } # spec name: diskName - diskURI::Any # spec type: Union{ Nothing, String } # spec name: diskURI - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiCoreV1AzureDiskVolumeSource(;cachingMode=nothing, diskName=nothing, diskURI=nothing, fsType=nothing, kind=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("cachingMode"), cachingMode) - setfield!(o, Symbol("cachingMode"), cachingMode) - validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("diskName"), diskName) - setfield!(o, Symbol("diskName"), diskName) - validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("diskURI"), diskURI) - setfield!(o, Symbol("diskURI"), diskURI) - validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiCoreV1AzureDiskVolumeSource - -const _property_map_IoK8sApiCoreV1AzureDiskVolumeSource = Dict{Symbol,Symbol}(Symbol("cachingMode")=>Symbol("cachingMode"), Symbol("diskName")=>Symbol("diskName"), Symbol("diskURI")=>Symbol("diskURI"), Symbol("fsType")=>Symbol("fsType"), Symbol("kind")=>Symbol("kind"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiCoreV1AzureDiskVolumeSource = Dict{Symbol,String}(Symbol("cachingMode")=>"String", Symbol("diskName")=>"String", Symbol("diskURI")=>"String", Symbol("fsType")=>"String", Symbol("kind")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1AzureDiskVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1AzureDiskVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1AzureDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AzureDiskVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1AzureDiskVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1AzureDiskVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1AzureDiskVolumeSource) - (getproperty(o, Symbol("diskName")) === nothing) && (return false) - (getproperty(o, Symbol("diskURI")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1AzureDiskVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl deleted file mode 100644 index 83251254..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AzureFile represents an Azure File Service mount on the host and bind mount to the pod. - - IoK8sApiCoreV1AzureFilePersistentVolumeSource(; - readOnly=nothing, - secretName=nothing, - secretNamespace=nothing, - shareName=nothing, - ) - - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretName::String : the name of secret that contains Azure Storage Account Name and Key - - secretNamespace::String : the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod - - shareName::String : Share Name -""" -mutable struct IoK8sApiCoreV1AzureFilePersistentVolumeSource <: SwaggerModel - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretName::Any # spec type: Union{ Nothing, String } # spec name: secretName - secretNamespace::Any # spec type: Union{ Nothing, String } # spec name: secretNamespace - shareName::Any # spec type: Union{ Nothing, String } # spec name: shareName - - function IoK8sApiCoreV1AzureFilePersistentVolumeSource(;readOnly=nothing, secretName=nothing, secretNamespace=nothing, shareName=nothing) - o = new() - validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("secretName"), secretName) - setfield!(o, Symbol("secretName"), secretName) - validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("secretNamespace"), secretNamespace) - setfield!(o, Symbol("secretNamespace"), secretNamespace) - validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("shareName"), shareName) - setfield!(o, Symbol("shareName"), shareName) - o - end -end # type IoK8sApiCoreV1AzureFilePersistentVolumeSource - -const _property_map_IoK8sApiCoreV1AzureFilePersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretName")=>Symbol("secretName"), Symbol("secretNamespace")=>Symbol("secretNamespace"), Symbol("shareName")=>Symbol("shareName")) -const _property_types_IoK8sApiCoreV1AzureFilePersistentVolumeSource = Dict{Symbol,String}(Symbol("readOnly")=>"Bool", Symbol("secretName")=>"String", Symbol("secretNamespace")=>"String", Symbol("shareName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1AzureFilePersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1AzureFilePersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1AzureFilePersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AzureFilePersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1AzureFilePersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1AzureFilePersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1AzureFilePersistentVolumeSource) - (getproperty(o, Symbol("secretName")) === nothing) && (return false) - (getproperty(o, Symbol("shareName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1AzureFilePersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1AzureFileVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1AzureFileVolumeSource.jl deleted file mode 100644 index b974da7a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1AzureFileVolumeSource.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AzureFile represents an Azure File Service mount on the host and bind mount to the pod. - - IoK8sApiCoreV1AzureFileVolumeSource(; - readOnly=nothing, - secretName=nothing, - shareName=nothing, - ) - - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretName::String : the name of secret that contains Azure Storage Account Name and Key - - shareName::String : Share Name -""" -mutable struct IoK8sApiCoreV1AzureFileVolumeSource <: SwaggerModel - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretName::Any # spec type: Union{ Nothing, String } # spec name: secretName - shareName::Any # spec type: Union{ Nothing, String } # spec name: shareName - - function IoK8sApiCoreV1AzureFileVolumeSource(;readOnly=nothing, secretName=nothing, shareName=nothing) - o = new() - validate_property(IoK8sApiCoreV1AzureFileVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1AzureFileVolumeSource, Symbol("secretName"), secretName) - setfield!(o, Symbol("secretName"), secretName) - validate_property(IoK8sApiCoreV1AzureFileVolumeSource, Symbol("shareName"), shareName) - setfield!(o, Symbol("shareName"), shareName) - o - end -end # type IoK8sApiCoreV1AzureFileVolumeSource - -const _property_map_IoK8sApiCoreV1AzureFileVolumeSource = Dict{Symbol,Symbol}(Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretName")=>Symbol("secretName"), Symbol("shareName")=>Symbol("shareName")) -const _property_types_IoK8sApiCoreV1AzureFileVolumeSource = Dict{Symbol,String}(Symbol("readOnly")=>"Bool", Symbol("secretName")=>"String", Symbol("shareName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1AzureFileVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1AzureFileVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1AzureFileVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AzureFileVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1AzureFileVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1AzureFileVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1AzureFileVolumeSource) - (getproperty(o, Symbol("secretName")) === nothing) && (return false) - (getproperty(o, Symbol("shareName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1AzureFileVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Binding.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Binding.jl deleted file mode 100644 index da1482dc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Binding.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead. - - IoK8sApiCoreV1Binding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - target=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - target::IoK8sApiCoreV1ObjectReference : The target object that you want to bind to the standard object. -""" -mutable struct IoK8sApiCoreV1Binding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - target::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: target - - function IoK8sApiCoreV1Binding(;apiVersion=nothing, kind=nothing, metadata=nothing, target=nothing) - o = new() - validate_property(IoK8sApiCoreV1Binding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Binding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Binding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Binding, Symbol("target"), target) - setfield!(o, Symbol("target"), target) - o - end -end # type IoK8sApiCoreV1Binding - -const _property_map_IoK8sApiCoreV1Binding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("target")=>Symbol("target")) -const _property_types_IoK8sApiCoreV1Binding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("target")=>"IoK8sApiCoreV1ObjectReference") -Base.propertynames(::Type{ IoK8sApiCoreV1Binding }) = collect(keys(_property_map_IoK8sApiCoreV1Binding)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Binding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Binding[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Binding }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Binding[property_name] - -function check_required(o::IoK8sApiCoreV1Binding) - (getproperty(o, Symbol("target")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Binding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl deleted file mode 100644 index af0ba630..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl +++ /dev/null @@ -1,77 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents storage that is managed by an external CSI volume driver (Beta feature) - - IoK8sApiCoreV1CSIPersistentVolumeSource(; - controllerExpandSecretRef=nothing, - controllerPublishSecretRef=nothing, - driver=nothing, - fsType=nothing, - nodePublishSecretRef=nothing, - nodeStageSecretRef=nothing, - readOnly=nothing, - volumeAttributes=nothing, - volumeHandle=nothing, - ) - - - controllerExpandSecretRef::IoK8sApiCoreV1SecretReference : ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. - - controllerPublishSecretRef::IoK8sApiCoreV1SecretReference : ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. - - driver::String : Driver is the name of the driver to use for this volume. Required. - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". - - nodePublishSecretRef::IoK8sApiCoreV1SecretReference : NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. - - nodeStageSecretRef::IoK8sApiCoreV1SecretReference : NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. - - readOnly::Bool : Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). - - volumeAttributes::Dict{String, String} : Attributes of the volume to publish. - - volumeHandle::String : VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. -""" -mutable struct IoK8sApiCoreV1CSIPersistentVolumeSource <: SwaggerModel - controllerExpandSecretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: controllerExpandSecretRef - controllerPublishSecretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: controllerPublishSecretRef - driver::Any # spec type: Union{ Nothing, String } # spec name: driver - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - nodePublishSecretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: nodePublishSecretRef - nodeStageSecretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: nodeStageSecretRef - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - volumeAttributes::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: volumeAttributes - volumeHandle::Any # spec type: Union{ Nothing, String } # spec name: volumeHandle - - function IoK8sApiCoreV1CSIPersistentVolumeSource(;controllerExpandSecretRef=nothing, controllerPublishSecretRef=nothing, driver=nothing, fsType=nothing, nodePublishSecretRef=nothing, nodeStageSecretRef=nothing, readOnly=nothing, volumeAttributes=nothing, volumeHandle=nothing) - o = new() - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("controllerExpandSecretRef"), controllerExpandSecretRef) - setfield!(o, Symbol("controllerExpandSecretRef"), controllerExpandSecretRef) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("controllerPublishSecretRef"), controllerPublishSecretRef) - setfield!(o, Symbol("controllerPublishSecretRef"), controllerPublishSecretRef) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("driver"), driver) - setfield!(o, Symbol("driver"), driver) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("nodePublishSecretRef"), nodePublishSecretRef) - setfield!(o, Symbol("nodePublishSecretRef"), nodePublishSecretRef) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("nodeStageSecretRef"), nodeStageSecretRef) - setfield!(o, Symbol("nodeStageSecretRef"), nodeStageSecretRef) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("volumeAttributes"), volumeAttributes) - setfield!(o, Symbol("volumeAttributes"), volumeAttributes) - validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("volumeHandle"), volumeHandle) - setfield!(o, Symbol("volumeHandle"), volumeHandle) - o - end -end # type IoK8sApiCoreV1CSIPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1CSIPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("controllerExpandSecretRef")=>Symbol("controllerExpandSecretRef"), Symbol("controllerPublishSecretRef")=>Symbol("controllerPublishSecretRef"), Symbol("driver")=>Symbol("driver"), Symbol("fsType")=>Symbol("fsType"), Symbol("nodePublishSecretRef")=>Symbol("nodePublishSecretRef"), Symbol("nodeStageSecretRef")=>Symbol("nodeStageSecretRef"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("volumeAttributes")=>Symbol("volumeAttributes"), Symbol("volumeHandle")=>Symbol("volumeHandle")) -const _property_types_IoK8sApiCoreV1CSIPersistentVolumeSource = Dict{Symbol,String}(Symbol("controllerExpandSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("controllerPublishSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("nodePublishSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("nodeStageSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("readOnly")=>"Bool", Symbol("volumeAttributes")=>"Dict{String, String}", Symbol("volumeHandle")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1CSIPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1CSIPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1CSIPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CSIPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1CSIPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1CSIPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1CSIPersistentVolumeSource) - (getproperty(o, Symbol("driver")) === nothing) && (return false) - (getproperty(o, Symbol("volumeHandle")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1CSIPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1CSIVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1CSIVolumeSource.jl deleted file mode 100644 index 6afe0145..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1CSIVolumeSource.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a source location of a volume to mount, managed by an external CSI driver - - IoK8sApiCoreV1CSIVolumeSource(; - driver=nothing, - fsType=nothing, - nodePublishSecretRef=nothing, - readOnly=nothing, - volumeAttributes=nothing, - ) - - - driver::String : Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. - - fsType::String : Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. - - nodePublishSecretRef::IoK8sApiCoreV1LocalObjectReference : NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. - - readOnly::Bool : Specifies a read-only configuration for the volume. Defaults to false (read/write). - - volumeAttributes::Dict{String, String} : VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. -""" -mutable struct IoK8sApiCoreV1CSIVolumeSource <: SwaggerModel - driver::Any # spec type: Union{ Nothing, String } # spec name: driver - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - nodePublishSecretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: nodePublishSecretRef - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - volumeAttributes::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: volumeAttributes - - function IoK8sApiCoreV1CSIVolumeSource(;driver=nothing, fsType=nothing, nodePublishSecretRef=nothing, readOnly=nothing, volumeAttributes=nothing) - o = new() - validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("driver"), driver) - setfield!(o, Symbol("driver"), driver) - validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("nodePublishSecretRef"), nodePublishSecretRef) - setfield!(o, Symbol("nodePublishSecretRef"), nodePublishSecretRef) - validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("volumeAttributes"), volumeAttributes) - setfield!(o, Symbol("volumeAttributes"), volumeAttributes) - o - end -end # type IoK8sApiCoreV1CSIVolumeSource - -const _property_map_IoK8sApiCoreV1CSIVolumeSource = Dict{Symbol,Symbol}(Symbol("driver")=>Symbol("driver"), Symbol("fsType")=>Symbol("fsType"), Symbol("nodePublishSecretRef")=>Symbol("nodePublishSecretRef"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("volumeAttributes")=>Symbol("volumeAttributes")) -const _property_types_IoK8sApiCoreV1CSIVolumeSource = Dict{Symbol,String}(Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("nodePublishSecretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("readOnly")=>"Bool", Symbol("volumeAttributes")=>"Dict{String, String}") -Base.propertynames(::Type{ IoK8sApiCoreV1CSIVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1CSIVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1CSIVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CSIVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1CSIVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1CSIVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1CSIVolumeSource) - (getproperty(o, Symbol("driver")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1CSIVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Capabilities.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Capabilities.jl deleted file mode 100644 index 82508c1d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Capabilities.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Adds and removes POSIX capabilities from running containers. - - IoK8sApiCoreV1Capabilities(; - add=nothing, - drop=nothing, - ) - - - add::Vector{String} : Added capabilities - - drop::Vector{String} : Removed capabilities -""" -mutable struct IoK8sApiCoreV1Capabilities <: SwaggerModel - add::Any # spec type: Union{ Nothing, Vector{String} } # spec name: add - drop::Any # spec type: Union{ Nothing, Vector{String} } # spec name: drop - - function IoK8sApiCoreV1Capabilities(;add=nothing, drop=nothing) - o = new() - validate_property(IoK8sApiCoreV1Capabilities, Symbol("add"), add) - setfield!(o, Symbol("add"), add) - validate_property(IoK8sApiCoreV1Capabilities, Symbol("drop"), drop) - setfield!(o, Symbol("drop"), drop) - o - end -end # type IoK8sApiCoreV1Capabilities - -const _property_map_IoK8sApiCoreV1Capabilities = Dict{Symbol,Symbol}(Symbol("add")=>Symbol("add"), Symbol("drop")=>Symbol("drop")) -const _property_types_IoK8sApiCoreV1Capabilities = Dict{Symbol,String}(Symbol("add")=>"Vector{String}", Symbol("drop")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1Capabilities }) = collect(keys(_property_map_IoK8sApiCoreV1Capabilities)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Capabilities }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Capabilities[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Capabilities }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Capabilities[property_name] - -function check_required(o::IoK8sApiCoreV1Capabilities) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Capabilities }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl deleted file mode 100644 index 3cd5427a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1CephFSPersistentVolumeSource(; - monitors=nothing, - path=nothing, - readOnly=nothing, - secretFile=nothing, - secretRef=nothing, - user=nothing, - ) - - - monitors::Vector{String} : Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - path::String : Optional: Used as the mounted root, rather than the full Ceph tree, default is / - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - secretFile::String : Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - secretRef::IoK8sApiCoreV1SecretReference : Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - user::String : Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -""" -mutable struct IoK8sApiCoreV1CephFSPersistentVolumeSource <: SwaggerModel - monitors::Any # spec type: Union{ Nothing, Vector{String} } # spec name: monitors - path::Any # spec type: Union{ Nothing, String } # spec name: path - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretFile::Any # spec type: Union{ Nothing, String } # spec name: secretFile - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: secretRef - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiCoreV1CephFSPersistentVolumeSource(;monitors=nothing, path=nothing, readOnly=nothing, secretFile=nothing, secretRef=nothing, user=nothing) - o = new() - validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("monitors"), monitors) - setfield!(o, Symbol("monitors"), monitors) - validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("secretFile"), secretFile) - setfield!(o, Symbol("secretFile"), secretFile) - validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiCoreV1CephFSPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1CephFSPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("monitors")=>Symbol("monitors"), Symbol("path")=>Symbol("path"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretFile")=>Symbol("secretFile"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiCoreV1CephFSPersistentVolumeSource = Dict{Symbol,String}(Symbol("monitors")=>"Vector{String}", Symbol("path")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretFile")=>"String", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1CephFSPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1CephFSPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1CephFSPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CephFSPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1CephFSPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1CephFSPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1CephFSPersistentVolumeSource) - (getproperty(o, Symbol("monitors")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1CephFSPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1CephFSVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1CephFSVolumeSource.jl deleted file mode 100644 index 5e1e13e7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1CephFSVolumeSource.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1CephFSVolumeSource(; - monitors=nothing, - path=nothing, - readOnly=nothing, - secretFile=nothing, - secretRef=nothing, - user=nothing, - ) - - - monitors::Vector{String} : Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - path::String : Optional: Used as the mounted root, rather than the full Ceph tree, default is / - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - secretFile::String : Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - secretRef::IoK8sApiCoreV1LocalObjectReference : Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - - user::String : Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -""" -mutable struct IoK8sApiCoreV1CephFSVolumeSource <: SwaggerModel - monitors::Any # spec type: Union{ Nothing, Vector{String} } # spec name: monitors - path::Any # spec type: Union{ Nothing, String } # spec name: path - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretFile::Any # spec type: Union{ Nothing, String } # spec name: secretFile - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiCoreV1CephFSVolumeSource(;monitors=nothing, path=nothing, readOnly=nothing, secretFile=nothing, secretRef=nothing, user=nothing) - o = new() - validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("monitors"), monitors) - setfield!(o, Symbol("monitors"), monitors) - validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("secretFile"), secretFile) - setfield!(o, Symbol("secretFile"), secretFile) - validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiCoreV1CephFSVolumeSource - -const _property_map_IoK8sApiCoreV1CephFSVolumeSource = Dict{Symbol,Symbol}(Symbol("monitors")=>Symbol("monitors"), Symbol("path")=>Symbol("path"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretFile")=>Symbol("secretFile"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiCoreV1CephFSVolumeSource = Dict{Symbol,String}(Symbol("monitors")=>"Vector{String}", Symbol("path")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretFile")=>"String", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1CephFSVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1CephFSVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1CephFSVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CephFSVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1CephFSVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1CephFSVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1CephFSVolumeSource) - (getproperty(o, Symbol("monitors")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1CephFSVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl deleted file mode 100644 index ae82cee6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1CinderPersistentVolumeSource(; - fsType=nothing, - readOnly=nothing, - secretRef=nothing, - volumeID=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md - - secretRef::IoK8sApiCoreV1SecretReference : Optional: points to a secret object containing parameters used to connect to OpenStack. - - volumeID::String : volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -""" -mutable struct IoK8sApiCoreV1CinderPersistentVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: secretRef - volumeID::Any # spec type: Union{ Nothing, String } # spec name: volumeID - - function IoK8sApiCoreV1CinderPersistentVolumeSource(;fsType=nothing, readOnly=nothing, secretRef=nothing, volumeID=nothing) - o = new() - validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("volumeID"), volumeID) - setfield!(o, Symbol("volumeID"), volumeID) - o - end -end # type IoK8sApiCoreV1CinderPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1CinderPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("volumeID")=>Symbol("volumeID")) -const _property_types_IoK8sApiCoreV1CinderPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("volumeID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1CinderPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1CinderPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1CinderPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CinderPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1CinderPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1CinderPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1CinderPersistentVolumeSource) - (getproperty(o, Symbol("volumeID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1CinderPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1CinderVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1CinderVolumeSource.jl deleted file mode 100644 index 6f8647fc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1CinderVolumeSource.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1CinderVolumeSource(; - fsType=nothing, - readOnly=nothing, - secretRef=nothing, - volumeID=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md - - secretRef::IoK8sApiCoreV1LocalObjectReference : Optional: points to a secret object containing parameters used to connect to OpenStack. - - volumeID::String : volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -""" -mutable struct IoK8sApiCoreV1CinderVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - volumeID::Any # spec type: Union{ Nothing, String } # spec name: volumeID - - function IoK8sApiCoreV1CinderVolumeSource(;fsType=nothing, readOnly=nothing, secretRef=nothing, volumeID=nothing) - o = new() - validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("volumeID"), volumeID) - setfield!(o, Symbol("volumeID"), volumeID) - o - end -end # type IoK8sApiCoreV1CinderVolumeSource - -const _property_map_IoK8sApiCoreV1CinderVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("volumeID")=>Symbol("volumeID")) -const _property_types_IoK8sApiCoreV1CinderVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("volumeID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1CinderVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1CinderVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1CinderVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CinderVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1CinderVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1CinderVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1CinderVolumeSource) - (getproperty(o, Symbol("volumeID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1CinderVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ClientIPConfig.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ClientIPConfig.jl deleted file mode 100644 index 2790a88b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ClientIPConfig.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClientIPConfig represents the configurations of Client IP based session affinity. - - IoK8sApiCoreV1ClientIPConfig(; - timeoutSeconds=nothing, - ) - - - timeoutSeconds::Int32 : timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). -""" -mutable struct IoK8sApiCoreV1ClientIPConfig <: SwaggerModel - timeoutSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: timeoutSeconds - - function IoK8sApiCoreV1ClientIPConfig(;timeoutSeconds=nothing) - o = new() - validate_property(IoK8sApiCoreV1ClientIPConfig, Symbol("timeoutSeconds"), timeoutSeconds) - setfield!(o, Symbol("timeoutSeconds"), timeoutSeconds) - o - end -end # type IoK8sApiCoreV1ClientIPConfig - -const _property_map_IoK8sApiCoreV1ClientIPConfig = Dict{Symbol,Symbol}(Symbol("timeoutSeconds")=>Symbol("timeoutSeconds")) -const _property_types_IoK8sApiCoreV1ClientIPConfig = Dict{Symbol,String}(Symbol("timeoutSeconds")=>"Int32") -Base.propertynames(::Type{ IoK8sApiCoreV1ClientIPConfig }) = collect(keys(_property_map_IoK8sApiCoreV1ClientIPConfig)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ClientIPConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ClientIPConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ClientIPConfig }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ClientIPConfig[property_name] - -function check_required(o::IoK8sApiCoreV1ClientIPConfig) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ClientIPConfig }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentCondition.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentCondition.jl deleted file mode 100644 index 2a2972f5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentCondition.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Information about the condition of a component. - - IoK8sApiCoreV1ComponentCondition(; - error=nothing, - message=nothing, - status=nothing, - type=nothing, - ) - - - error::String : Condition error code for a component. For example, a health check error code. - - message::String : Message about the condition for a component. For example, information about a health check. - - status::String : Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". - - type::String : Type of condition for a component. Valid value: \"Healthy\" -""" -mutable struct IoK8sApiCoreV1ComponentCondition <: SwaggerModel - error::Any # spec type: Union{ Nothing, String } # spec name: error - message::Any # spec type: Union{ Nothing, String } # spec name: message - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1ComponentCondition(;error=nothing, message=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("error"), error) - setfield!(o, Symbol("error"), error) - validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1ComponentCondition - -const _property_map_IoK8sApiCoreV1ComponentCondition = Dict{Symbol,Symbol}(Symbol("error")=>Symbol("error"), Symbol("message")=>Symbol("message"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1ComponentCondition = Dict{Symbol,String}(Symbol("error")=>"String", Symbol("message")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ComponentCondition }) = collect(keys(_property_map_IoK8sApiCoreV1ComponentCondition)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ComponentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ComponentCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ComponentCondition }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ComponentCondition[property_name] - -function check_required(o::IoK8sApiCoreV1ComponentCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ComponentCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentStatus.jl deleted file mode 100644 index 287e345b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentStatus.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ComponentStatus (and ComponentStatusList) holds the cluster validation info. - - IoK8sApiCoreV1ComponentStatus(; - apiVersion=nothing, - conditions=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - conditions::Vector{IoK8sApiCoreV1ComponentCondition} : List of component conditions observed - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiCoreV1ComponentStatus <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ComponentCondition} } # spec name: conditions - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - - function IoK8sApiCoreV1ComponentStatus(;apiVersion=nothing, conditions=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ComponentStatus - -const _property_map_IoK8sApiCoreV1ComponentStatus = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("conditions")=>Symbol("conditions"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ComponentStatus = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("conditions")=>"Vector{IoK8sApiCoreV1ComponentCondition}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ComponentStatus }) = collect(keys(_property_map_IoK8sApiCoreV1ComponentStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ComponentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ComponentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ComponentStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ComponentStatus[property_name] - -function check_required(o::IoK8sApiCoreV1ComponentStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ComponentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentStatusList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentStatusList.jl deleted file mode 100644 index 19d17b33..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ComponentStatusList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Status of all the conditions for the component as a list of ComponentStatus objects. - - IoK8sApiCoreV1ComponentStatusList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1ComponentStatus} : List of ComponentStatus objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1ComponentStatusList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ComponentStatus} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1ComponentStatusList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ComponentStatusList - -const _property_map_IoK8sApiCoreV1ComponentStatusList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ComponentStatusList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ComponentStatus}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ComponentStatusList }) = collect(keys(_property_map_IoK8sApiCoreV1ComponentStatusList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ComponentStatusList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ComponentStatusList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ComponentStatusList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ComponentStatusList[property_name] - -function check_required(o::IoK8sApiCoreV1ComponentStatusList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ComponentStatusList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMap.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMap.jl deleted file mode 100644 index 1c18dca8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMap.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ConfigMap holds configuration data for pods to consume. - - IoK8sApiCoreV1ConfigMap(; - apiVersion=nothing, - binaryData=nothing, - data=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - binaryData::Dict{String, Vector{UInt8}} : BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. - - data::Dict{String, String} : Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiCoreV1ConfigMap <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - binaryData::Any # spec type: Union{ Nothing, Dict{String, Vector{UInt8}} } # spec name: binaryData - data::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: data - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - - function IoK8sApiCoreV1ConfigMap(;apiVersion=nothing, binaryData=nothing, data=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMap, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ConfigMap, Symbol("binaryData"), binaryData) - setfield!(o, Symbol("binaryData"), binaryData) - validate_property(IoK8sApiCoreV1ConfigMap, Symbol("data"), data) - setfield!(o, Symbol("data"), data) - validate_property(IoK8sApiCoreV1ConfigMap, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ConfigMap, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ConfigMap - -const _property_map_IoK8sApiCoreV1ConfigMap = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("binaryData")=>Symbol("binaryData"), Symbol("data")=>Symbol("data"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ConfigMap = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("binaryData")=>"Dict{String, Vector{UInt8}}", Symbol("data")=>"Dict{String, String}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMap }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMap)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMap[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMap }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMap[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMap) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMap }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapEnvSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapEnvSource.jl deleted file mode 100644 index 5efa383f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapEnvSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. - - IoK8sApiCoreV1ConfigMapEnvSource(; - name=nothing, - optional=nothing, - ) - - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the ConfigMap must be defined -""" -mutable struct IoK8sApiCoreV1ConfigMapEnvSource <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1ConfigMapEnvSource(;name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMapEnvSource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ConfigMapEnvSource, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1ConfigMapEnvSource - -const _property_map_IoK8sApiCoreV1ConfigMapEnvSource = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1ConfigMapEnvSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMapEnvSource }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMapEnvSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMapEnvSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapEnvSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMapEnvSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMapEnvSource[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMapEnvSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMapEnvSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapKeySelector.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapKeySelector.jl deleted file mode 100644 index d6ac939a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapKeySelector.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Selects a key from a ConfigMap. - - IoK8sApiCoreV1ConfigMapKeySelector(; - key=nothing, - name=nothing, - optional=nothing, - ) - - - key::String : The key to select. - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the ConfigMap or its key must be defined -""" -mutable struct IoK8sApiCoreV1ConfigMapKeySelector <: SwaggerModel - key::Any # spec type: Union{ Nothing, String } # spec name: key - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1ConfigMapKeySelector(;key=nothing, name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMapKeySelector, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1ConfigMapKeySelector, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ConfigMapKeySelector, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1ConfigMapKeySelector - -const _property_map_IoK8sApiCoreV1ConfigMapKeySelector = Dict{Symbol,Symbol}(Symbol("key")=>Symbol("key"), Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1ConfigMapKeySelector = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMapKeySelector }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMapKeySelector)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMapKeySelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapKeySelector[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMapKeySelector }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMapKeySelector[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMapKeySelector) - (getproperty(o, Symbol("key")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMapKeySelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapList.jl deleted file mode 100644 index 9ec7801e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ConfigMapList is a resource containing a list of ConfigMap objects. - - IoK8sApiCoreV1ConfigMapList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1ConfigMap} : Items is the list of ConfigMaps. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiCoreV1ConfigMapList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ConfigMap} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1ConfigMapList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ConfigMapList - -const _property_map_IoK8sApiCoreV1ConfigMapList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ConfigMapList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ConfigMap}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMapList }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMapList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMapList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMapList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMapList[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMapList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMapList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl deleted file mode 100644 index 283b140f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl +++ /dev/null @@ -1,58 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. - - IoK8sApiCoreV1ConfigMapNodeConfigSource(; - kubeletConfigKey=nothing, - name=nothing, - namespace=nothing, - resourceVersion=nothing, - uid=nothing, - ) - - - kubeletConfigKey::String : KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. - - name::String : Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. - - namespace::String : Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. - - resourceVersion::String : ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. - - uid::String : UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. -""" -mutable struct IoK8sApiCoreV1ConfigMapNodeConfigSource <: SwaggerModel - kubeletConfigKey::Any # spec type: Union{ Nothing, String } # spec name: kubeletConfigKey - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - resourceVersion::Any # spec type: Union{ Nothing, String } # spec name: resourceVersion - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApiCoreV1ConfigMapNodeConfigSource(;kubeletConfigKey=nothing, name=nothing, namespace=nothing, resourceVersion=nothing, uid=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("kubeletConfigKey"), kubeletConfigKey) - setfield!(o, Symbol("kubeletConfigKey"), kubeletConfigKey) - validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("resourceVersion"), resourceVersion) - setfield!(o, Symbol("resourceVersion"), resourceVersion) - validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApiCoreV1ConfigMapNodeConfigSource - -const _property_map_IoK8sApiCoreV1ConfigMapNodeConfigSource = Dict{Symbol,Symbol}(Symbol("kubeletConfigKey")=>Symbol("kubeletConfigKey"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("resourceVersion")=>Symbol("resourceVersion"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApiCoreV1ConfigMapNodeConfigSource = Dict{Symbol,String}(Symbol("kubeletConfigKey")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resourceVersion")=>"String", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMapNodeConfigSource }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMapNodeConfigSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMapNodeConfigSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapNodeConfigSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMapNodeConfigSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMapNodeConfigSource[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMapNodeConfigSource) - (getproperty(o, Symbol("kubeletConfigKey")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMapNodeConfigSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapProjection.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapProjection.jl deleted file mode 100644 index 44e2a41f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapProjection.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. - - IoK8sApiCoreV1ConfigMapProjection(; - items=nothing, - name=nothing, - optional=nothing, - ) - - - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the ConfigMap or its keys must be defined -""" -mutable struct IoK8sApiCoreV1ConfigMapProjection <: SwaggerModel - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } # spec name: items - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1ConfigMapProjection(;items=nothing, name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMapProjection, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ConfigMapProjection, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ConfigMapProjection, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1ConfigMapProjection - -const _property_map_IoK8sApiCoreV1ConfigMapProjection = Dict{Symbol,Symbol}(Symbol("items")=>Symbol("items"), Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1ConfigMapProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMapProjection }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMapProjection)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMapProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapProjection[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMapProjection }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMapProjection[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMapProjection) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMapProjection }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl deleted file mode 100644 index dd128493..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1ConfigMapVolumeSource(; - defaultMode=nothing, - items=nothing, - name=nothing, - optional=nothing, - ) - - - defaultMode::Int32 : Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. - - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the ConfigMap or its keys must be defined -""" -mutable struct IoK8sApiCoreV1ConfigMapVolumeSource <: SwaggerModel - defaultMode::Any # spec type: Union{ Nothing, Int32 } # spec name: defaultMode - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } # spec name: items - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1ConfigMapVolumeSource(;defaultMode=nothing, items=nothing, name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("defaultMode"), defaultMode) - setfield!(o, Symbol("defaultMode"), defaultMode) - validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1ConfigMapVolumeSource - -const _property_map_IoK8sApiCoreV1ConfigMapVolumeSource = Dict{Symbol,Symbol}(Symbol("defaultMode")=>Symbol("defaultMode"), Symbol("items")=>Symbol("items"), Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1ConfigMapVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int32", Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1ConfigMapVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1ConfigMapVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ConfigMapVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ConfigMapVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ConfigMapVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1ConfigMapVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ConfigMapVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Container.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Container.jl deleted file mode 100644 index bd3a6fc4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Container.jl +++ /dev/null @@ -1,141 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A single application container that you want to run within a pod. - - IoK8sApiCoreV1Container(; - args=nothing, - command=nothing, - env=nothing, - envFrom=nothing, - image=nothing, - imagePullPolicy=nothing, - lifecycle=nothing, - livenessProbe=nothing, - name=nothing, - ports=nothing, - readinessProbe=nothing, - resources=nothing, - securityContext=nothing, - startupProbe=nothing, - stdin=nothing, - stdinOnce=nothing, - terminationMessagePath=nothing, - terminationMessagePolicy=nothing, - tty=nothing, - volumeDevices=nothing, - volumeMounts=nothing, - workingDir=nothing, - ) - - - args::Vector{String} : Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - - command::Vector{String} : Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - - env::Vector{IoK8sApiCoreV1EnvVar} : List of environment variables to set in the container. Cannot be updated. - - envFrom::Vector{IoK8sApiCoreV1EnvFromSource} : List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. - - image::String : Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. - - imagePullPolicy::String : Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images - - lifecycle::IoK8sApiCoreV1Lifecycle : Actions that the management system should take in response to container lifecycle events. Cannot be updated. - - livenessProbe::IoK8sApiCoreV1Probe : Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes - - name::String : Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. - - ports::Vector{IoK8sApiCoreV1ContainerPort} : List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. - - readinessProbe::IoK8sApiCoreV1Probe : Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes - - resources::IoK8sApiCoreV1ResourceRequirements : Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - - securityContext::IoK8sApiCoreV1SecurityContext : Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ - - startupProbe::IoK8sApiCoreV1Probe : StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is an alpha feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes - - stdin::Bool : Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. - - stdinOnce::Bool : Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false - - terminationMessagePath::String : Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. - - terminationMessagePolicy::String : Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. - - tty::Bool : Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. - - volumeDevices::Vector{IoK8sApiCoreV1VolumeDevice} : volumeDevices is the list of block devices to be used by the container. This is a beta feature. - - volumeMounts::Vector{IoK8sApiCoreV1VolumeMount} : Pod volumes to mount into the container's filesystem. Cannot be updated. - - workingDir::String : Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. -""" -mutable struct IoK8sApiCoreV1Container <: SwaggerModel - args::Any # spec type: Union{ Nothing, Vector{String} } # spec name: args - command::Any # spec type: Union{ Nothing, Vector{String} } # spec name: command - env::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvVar} } # spec name: env - envFrom::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvFromSource} } # spec name: envFrom - image::Any # spec type: Union{ Nothing, String } # spec name: image - imagePullPolicy::Any # spec type: Union{ Nothing, String } # spec name: imagePullPolicy - lifecycle::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Lifecycle } # spec name: lifecycle - livenessProbe::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } # spec name: livenessProbe - name::Any # spec type: Union{ Nothing, String } # spec name: name - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerPort} } # spec name: ports - readinessProbe::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } # spec name: readinessProbe - resources::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceRequirements } # spec name: resources - securityContext::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecurityContext } # spec name: securityContext - startupProbe::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } # spec name: startupProbe - stdin::Any # spec type: Union{ Nothing, Bool } # spec name: stdin - stdinOnce::Any # spec type: Union{ Nothing, Bool } # spec name: stdinOnce - terminationMessagePath::Any # spec type: Union{ Nothing, String } # spec name: terminationMessagePath - terminationMessagePolicy::Any # spec type: Union{ Nothing, String } # spec name: terminationMessagePolicy - tty::Any # spec type: Union{ Nothing, Bool } # spec name: tty - volumeDevices::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeDevice} } # spec name: volumeDevices - volumeMounts::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeMount} } # spec name: volumeMounts - workingDir::Any # spec type: Union{ Nothing, String } # spec name: workingDir - - function IoK8sApiCoreV1Container(;args=nothing, command=nothing, env=nothing, envFrom=nothing, image=nothing, imagePullPolicy=nothing, lifecycle=nothing, livenessProbe=nothing, name=nothing, ports=nothing, readinessProbe=nothing, resources=nothing, securityContext=nothing, startupProbe=nothing, stdin=nothing, stdinOnce=nothing, terminationMessagePath=nothing, terminationMessagePolicy=nothing, tty=nothing, volumeDevices=nothing, volumeMounts=nothing, workingDir=nothing) - o = new() - validate_property(IoK8sApiCoreV1Container, Symbol("args"), args) - setfield!(o, Symbol("args"), args) - validate_property(IoK8sApiCoreV1Container, Symbol("command"), command) - setfield!(o, Symbol("command"), command) - validate_property(IoK8sApiCoreV1Container, Symbol("env"), env) - setfield!(o, Symbol("env"), env) - validate_property(IoK8sApiCoreV1Container, Symbol("envFrom"), envFrom) - setfield!(o, Symbol("envFrom"), envFrom) - validate_property(IoK8sApiCoreV1Container, Symbol("image"), image) - setfield!(o, Symbol("image"), image) - validate_property(IoK8sApiCoreV1Container, Symbol("imagePullPolicy"), imagePullPolicy) - setfield!(o, Symbol("imagePullPolicy"), imagePullPolicy) - validate_property(IoK8sApiCoreV1Container, Symbol("lifecycle"), lifecycle) - setfield!(o, Symbol("lifecycle"), lifecycle) - validate_property(IoK8sApiCoreV1Container, Symbol("livenessProbe"), livenessProbe) - setfield!(o, Symbol("livenessProbe"), livenessProbe) - validate_property(IoK8sApiCoreV1Container, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1Container, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - validate_property(IoK8sApiCoreV1Container, Symbol("readinessProbe"), readinessProbe) - setfield!(o, Symbol("readinessProbe"), readinessProbe) - validate_property(IoK8sApiCoreV1Container, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiCoreV1Container, Symbol("securityContext"), securityContext) - setfield!(o, Symbol("securityContext"), securityContext) - validate_property(IoK8sApiCoreV1Container, Symbol("startupProbe"), startupProbe) - setfield!(o, Symbol("startupProbe"), startupProbe) - validate_property(IoK8sApiCoreV1Container, Symbol("stdin"), stdin) - setfield!(o, Symbol("stdin"), stdin) - validate_property(IoK8sApiCoreV1Container, Symbol("stdinOnce"), stdinOnce) - setfield!(o, Symbol("stdinOnce"), stdinOnce) - validate_property(IoK8sApiCoreV1Container, Symbol("terminationMessagePath"), terminationMessagePath) - setfield!(o, Symbol("terminationMessagePath"), terminationMessagePath) - validate_property(IoK8sApiCoreV1Container, Symbol("terminationMessagePolicy"), terminationMessagePolicy) - setfield!(o, Symbol("terminationMessagePolicy"), terminationMessagePolicy) - validate_property(IoK8sApiCoreV1Container, Symbol("tty"), tty) - setfield!(o, Symbol("tty"), tty) - validate_property(IoK8sApiCoreV1Container, Symbol("volumeDevices"), volumeDevices) - setfield!(o, Symbol("volumeDevices"), volumeDevices) - validate_property(IoK8sApiCoreV1Container, Symbol("volumeMounts"), volumeMounts) - setfield!(o, Symbol("volumeMounts"), volumeMounts) - validate_property(IoK8sApiCoreV1Container, Symbol("workingDir"), workingDir) - setfield!(o, Symbol("workingDir"), workingDir) - o - end -end # type IoK8sApiCoreV1Container - -const _property_map_IoK8sApiCoreV1Container = Dict{Symbol,Symbol}(Symbol("args")=>Symbol("args"), Symbol("command")=>Symbol("command"), Symbol("env")=>Symbol("env"), Symbol("envFrom")=>Symbol("envFrom"), Symbol("image")=>Symbol("image"), Symbol("imagePullPolicy")=>Symbol("imagePullPolicy"), Symbol("lifecycle")=>Symbol("lifecycle"), Symbol("livenessProbe")=>Symbol("livenessProbe"), Symbol("name")=>Symbol("name"), Symbol("ports")=>Symbol("ports"), Symbol("readinessProbe")=>Symbol("readinessProbe"), Symbol("resources")=>Symbol("resources"), Symbol("securityContext")=>Symbol("securityContext"), Symbol("startupProbe")=>Symbol("startupProbe"), Symbol("stdin")=>Symbol("stdin"), Symbol("stdinOnce")=>Symbol("stdinOnce"), Symbol("terminationMessagePath")=>Symbol("terminationMessagePath"), Symbol("terminationMessagePolicy")=>Symbol("terminationMessagePolicy"), Symbol("tty")=>Symbol("tty"), Symbol("volumeDevices")=>Symbol("volumeDevices"), Symbol("volumeMounts")=>Symbol("volumeMounts"), Symbol("workingDir")=>Symbol("workingDir")) -const _property_types_IoK8sApiCoreV1Container = Dict{Symbol,String}(Symbol("args")=>"Vector{String}", Symbol("command")=>"Vector{String}", Symbol("env")=>"Vector{IoK8sApiCoreV1EnvVar}", Symbol("envFrom")=>"Vector{IoK8sApiCoreV1EnvFromSource}", Symbol("image")=>"String", Symbol("imagePullPolicy")=>"String", Symbol("lifecycle")=>"IoK8sApiCoreV1Lifecycle", Symbol("livenessProbe")=>"IoK8sApiCoreV1Probe", Symbol("name")=>"String", Symbol("ports")=>"Vector{IoK8sApiCoreV1ContainerPort}", Symbol("readinessProbe")=>"IoK8sApiCoreV1Probe", Symbol("resources")=>"IoK8sApiCoreV1ResourceRequirements", Symbol("securityContext")=>"IoK8sApiCoreV1SecurityContext", Symbol("startupProbe")=>"IoK8sApiCoreV1Probe", Symbol("stdin")=>"Bool", Symbol("stdinOnce")=>"Bool", Symbol("terminationMessagePath")=>"String", Symbol("terminationMessagePolicy")=>"String", Symbol("tty")=>"Bool", Symbol("volumeDevices")=>"Vector{IoK8sApiCoreV1VolumeDevice}", Symbol("volumeMounts")=>"Vector{IoK8sApiCoreV1VolumeMount}", Symbol("workingDir")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1Container }) = collect(keys(_property_map_IoK8sApiCoreV1Container)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Container }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Container[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Container }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Container[property_name] - -function check_required(o::IoK8sApiCoreV1Container) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Container }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerImage.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerImage.jl deleted file mode 100644 index 826c7960..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerImage.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Describe a container image - - IoK8sApiCoreV1ContainerImage(; - names=nothing, - sizeBytes=nothing, - ) - - - names::Vector{String} : Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] - - sizeBytes::Int64 : The size of the image in bytes. -""" -mutable struct IoK8sApiCoreV1ContainerImage <: SwaggerModel - names::Any # spec type: Union{ Nothing, Vector{String} } # spec name: names - sizeBytes::Any # spec type: Union{ Nothing, Int64 } # spec name: sizeBytes - - function IoK8sApiCoreV1ContainerImage(;names=nothing, sizeBytes=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerImage, Symbol("names"), names) - setfield!(o, Symbol("names"), names) - validate_property(IoK8sApiCoreV1ContainerImage, Symbol("sizeBytes"), sizeBytes) - setfield!(o, Symbol("sizeBytes"), sizeBytes) - o - end -end # type IoK8sApiCoreV1ContainerImage - -const _property_map_IoK8sApiCoreV1ContainerImage = Dict{Symbol,Symbol}(Symbol("names")=>Symbol("names"), Symbol("sizeBytes")=>Symbol("sizeBytes")) -const _property_types_IoK8sApiCoreV1ContainerImage = Dict{Symbol,String}(Symbol("names")=>"Vector{String}", Symbol("sizeBytes")=>"Int64") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerImage }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerImage)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerImage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerImage[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerImage }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerImage[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerImage) - (getproperty(o, Symbol("names")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerImage }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerPort.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerPort.jl deleted file mode 100644 index 2875d03e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerPort.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerPort represents a network port in a single container. - - IoK8sApiCoreV1ContainerPort(; - containerPort=nothing, - hostIP=nothing, - hostPort=nothing, - name=nothing, - protocol=nothing, - ) - - - containerPort::Int32 : Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. - - hostIP::String : What host IP to bind the external port to. - - hostPort::Int32 : Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. - - name::String : If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. - - protocol::String : Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". -""" -mutable struct IoK8sApiCoreV1ContainerPort <: SwaggerModel - containerPort::Any # spec type: Union{ Nothing, Int32 } # spec name: containerPort - hostIP::Any # spec type: Union{ Nothing, String } # spec name: hostIP - hostPort::Any # spec type: Union{ Nothing, Int32 } # spec name: hostPort - name::Any # spec type: Union{ Nothing, String } # spec name: name - protocol::Any # spec type: Union{ Nothing, String } # spec name: protocol - - function IoK8sApiCoreV1ContainerPort(;containerPort=nothing, hostIP=nothing, hostPort=nothing, name=nothing, protocol=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerPort, Symbol("containerPort"), containerPort) - setfield!(o, Symbol("containerPort"), containerPort) - validate_property(IoK8sApiCoreV1ContainerPort, Symbol("hostIP"), hostIP) - setfield!(o, Symbol("hostIP"), hostIP) - validate_property(IoK8sApiCoreV1ContainerPort, Symbol("hostPort"), hostPort) - setfield!(o, Symbol("hostPort"), hostPort) - validate_property(IoK8sApiCoreV1ContainerPort, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ContainerPort, Symbol("protocol"), protocol) - setfield!(o, Symbol("protocol"), protocol) - o - end -end # type IoK8sApiCoreV1ContainerPort - -const _property_map_IoK8sApiCoreV1ContainerPort = Dict{Symbol,Symbol}(Symbol("containerPort")=>Symbol("containerPort"), Symbol("hostIP")=>Symbol("hostIP"), Symbol("hostPort")=>Symbol("hostPort"), Symbol("name")=>Symbol("name"), Symbol("protocol")=>Symbol("protocol")) -const _property_types_IoK8sApiCoreV1ContainerPort = Dict{Symbol,String}(Symbol("containerPort")=>"Int32", Symbol("hostIP")=>"String", Symbol("hostPort")=>"Int32", Symbol("name")=>"String", Symbol("protocol")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerPort }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerPort)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerPort[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerPort }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerPort[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerPort) - (getproperty(o, Symbol("containerPort")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerPort }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerState.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerState.jl deleted file mode 100644 index 2a3a8899..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerState.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. - - IoK8sApiCoreV1ContainerState(; - running=nothing, - terminated=nothing, - waiting=nothing, - ) - - - running::IoK8sApiCoreV1ContainerStateRunning : Details about a running container - - terminated::IoK8sApiCoreV1ContainerStateTerminated : Details about a terminated container - - waiting::IoK8sApiCoreV1ContainerStateWaiting : Details about a waiting container -""" -mutable struct IoK8sApiCoreV1ContainerState <: SwaggerModel - running::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerStateRunning } # spec name: running - terminated::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerStateTerminated } # spec name: terminated - waiting::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerStateWaiting } # spec name: waiting - - function IoK8sApiCoreV1ContainerState(;running=nothing, terminated=nothing, waiting=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerState, Symbol("running"), running) - setfield!(o, Symbol("running"), running) - validate_property(IoK8sApiCoreV1ContainerState, Symbol("terminated"), terminated) - setfield!(o, Symbol("terminated"), terminated) - validate_property(IoK8sApiCoreV1ContainerState, Symbol("waiting"), waiting) - setfield!(o, Symbol("waiting"), waiting) - o - end -end # type IoK8sApiCoreV1ContainerState - -const _property_map_IoK8sApiCoreV1ContainerState = Dict{Symbol,Symbol}(Symbol("running")=>Symbol("running"), Symbol("terminated")=>Symbol("terminated"), Symbol("waiting")=>Symbol("waiting")) -const _property_types_IoK8sApiCoreV1ContainerState = Dict{Symbol,String}(Symbol("running")=>"IoK8sApiCoreV1ContainerStateRunning", Symbol("terminated")=>"IoK8sApiCoreV1ContainerStateTerminated", Symbol("waiting")=>"IoK8sApiCoreV1ContainerStateWaiting") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerState }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerState)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerState[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerState }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerState[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerState) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerState }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateRunning.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateRunning.jl deleted file mode 100644 index 79bf6216..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateRunning.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerStateRunning is a running state of a container. - - IoK8sApiCoreV1ContainerStateRunning(; - startedAt=nothing, - ) - - - startedAt::IoK8sApimachineryPkgApisMetaV1Time : Time at which the container was last (re-)started -""" -mutable struct IoK8sApiCoreV1ContainerStateRunning <: SwaggerModel - startedAt::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: startedAt - - function IoK8sApiCoreV1ContainerStateRunning(;startedAt=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerStateRunning, Symbol("startedAt"), startedAt) - setfield!(o, Symbol("startedAt"), startedAt) - o - end -end # type IoK8sApiCoreV1ContainerStateRunning - -const _property_map_IoK8sApiCoreV1ContainerStateRunning = Dict{Symbol,Symbol}(Symbol("startedAt")=>Symbol("startedAt")) -const _property_types_IoK8sApiCoreV1ContainerStateRunning = Dict{Symbol,String}(Symbol("startedAt")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerStateRunning }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerStateRunning)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerStateRunning }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStateRunning[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerStateRunning }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerStateRunning[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerStateRunning) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerStateRunning }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateTerminated.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateTerminated.jl deleted file mode 100644 index d1985aad..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateTerminated.jl +++ /dev/null @@ -1,66 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerStateTerminated is a terminated state of a container. - - IoK8sApiCoreV1ContainerStateTerminated(; - containerID=nothing, - exitCode=nothing, - finishedAt=nothing, - message=nothing, - reason=nothing, - signal=nothing, - startedAt=nothing, - ) - - - containerID::String : Container's ID in the format 'docker://<container_id>' - - exitCode::Int32 : Exit status from the last termination of the container - - finishedAt::IoK8sApimachineryPkgApisMetaV1Time : Time at which the container last terminated - - message::String : Message regarding the last termination of the container - - reason::String : (brief) reason from the last termination of the container - - signal::Int32 : Signal from the last termination of the container - - startedAt::IoK8sApimachineryPkgApisMetaV1Time : Time at which previous execution of the container started -""" -mutable struct IoK8sApiCoreV1ContainerStateTerminated <: SwaggerModel - containerID::Any # spec type: Union{ Nothing, String } # spec name: containerID - exitCode::Any # spec type: Union{ Nothing, Int32 } # spec name: exitCode - finishedAt::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: finishedAt - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - signal::Any # spec type: Union{ Nothing, Int32 } # spec name: signal - startedAt::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: startedAt - - function IoK8sApiCoreV1ContainerStateTerminated(;containerID=nothing, exitCode=nothing, finishedAt=nothing, message=nothing, reason=nothing, signal=nothing, startedAt=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("containerID"), containerID) - setfield!(o, Symbol("containerID"), containerID) - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("exitCode"), exitCode) - setfield!(o, Symbol("exitCode"), exitCode) - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("finishedAt"), finishedAt) - setfield!(o, Symbol("finishedAt"), finishedAt) - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("signal"), signal) - setfield!(o, Symbol("signal"), signal) - validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("startedAt"), startedAt) - setfield!(o, Symbol("startedAt"), startedAt) - o - end -end # type IoK8sApiCoreV1ContainerStateTerminated - -const _property_map_IoK8sApiCoreV1ContainerStateTerminated = Dict{Symbol,Symbol}(Symbol("containerID")=>Symbol("containerID"), Symbol("exitCode")=>Symbol("exitCode"), Symbol("finishedAt")=>Symbol("finishedAt"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("signal")=>Symbol("signal"), Symbol("startedAt")=>Symbol("startedAt")) -const _property_types_IoK8sApiCoreV1ContainerStateTerminated = Dict{Symbol,String}(Symbol("containerID")=>"String", Symbol("exitCode")=>"Int32", Symbol("finishedAt")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("signal")=>"Int32", Symbol("startedAt")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerStateTerminated }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerStateTerminated)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerStateTerminated }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStateTerminated[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerStateTerminated }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerStateTerminated[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerStateTerminated) - (getproperty(o, Symbol("exitCode")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerStateTerminated }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateWaiting.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateWaiting.jl deleted file mode 100644 index 66b18972..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStateWaiting.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerStateWaiting is a waiting state of a container. - - IoK8sApiCoreV1ContainerStateWaiting(; - message=nothing, - reason=nothing, - ) - - - message::String : Message regarding why the container is not yet running. - - reason::String : (brief) reason the container is not yet running. -""" -mutable struct IoK8sApiCoreV1ContainerStateWaiting <: SwaggerModel - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - - function IoK8sApiCoreV1ContainerStateWaiting(;message=nothing, reason=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerStateWaiting, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1ContainerStateWaiting, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - o - end -end # type IoK8sApiCoreV1ContainerStateWaiting - -const _property_map_IoK8sApiCoreV1ContainerStateWaiting = Dict{Symbol,Symbol}(Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason")) -const _property_types_IoK8sApiCoreV1ContainerStateWaiting = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("reason")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerStateWaiting }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerStateWaiting)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerStateWaiting }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStateWaiting[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerStateWaiting }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerStateWaiting[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerStateWaiting) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerStateWaiting }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStatus.jl deleted file mode 100644 index e268b9cd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ContainerStatus.jl +++ /dev/null @@ -1,80 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerStatus contains details for the current status of this container. - - IoK8sApiCoreV1ContainerStatus(; - containerID=nothing, - image=nothing, - imageID=nothing, - lastState=nothing, - name=nothing, - ready=nothing, - restartCount=nothing, - started=nothing, - state=nothing, - ) - - - containerID::String : Container's ID in the format 'docker://<container_id>'. - - image::String : The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images - - imageID::String : ImageID of the container's image. - - lastState::IoK8sApiCoreV1ContainerState : Details about the container's last termination condition. - - name::String : This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. - - ready::Bool : Specifies whether the container has passed its readiness probe. - - restartCount::Int32 : The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC. - - started::Bool : Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined. - - state::IoK8sApiCoreV1ContainerState : Details about the container's current condition. -""" -mutable struct IoK8sApiCoreV1ContainerStatus <: SwaggerModel - containerID::Any # spec type: Union{ Nothing, String } # spec name: containerID - image::Any # spec type: Union{ Nothing, String } # spec name: image - imageID::Any # spec type: Union{ Nothing, String } # spec name: imageID - lastState::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerState } # spec name: lastState - name::Any # spec type: Union{ Nothing, String } # spec name: name - ready::Any # spec type: Union{ Nothing, Bool } # spec name: ready - restartCount::Any # spec type: Union{ Nothing, Int32 } # spec name: restartCount - started::Any # spec type: Union{ Nothing, Bool } # spec name: started - state::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerState } # spec name: state - - function IoK8sApiCoreV1ContainerStatus(;containerID=nothing, image=nothing, imageID=nothing, lastState=nothing, name=nothing, ready=nothing, restartCount=nothing, started=nothing, state=nothing) - o = new() - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("containerID"), containerID) - setfield!(o, Symbol("containerID"), containerID) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("image"), image) - setfield!(o, Symbol("image"), image) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("imageID"), imageID) - setfield!(o, Symbol("imageID"), imageID) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("lastState"), lastState) - setfield!(o, Symbol("lastState"), lastState) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("ready"), ready) - setfield!(o, Symbol("ready"), ready) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("restartCount"), restartCount) - setfield!(o, Symbol("restartCount"), restartCount) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("started"), started) - setfield!(o, Symbol("started"), started) - validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("state"), state) - setfield!(o, Symbol("state"), state) - o - end -end # type IoK8sApiCoreV1ContainerStatus - -const _property_map_IoK8sApiCoreV1ContainerStatus = Dict{Symbol,Symbol}(Symbol("containerID")=>Symbol("containerID"), Symbol("image")=>Symbol("image"), Symbol("imageID")=>Symbol("imageID"), Symbol("lastState")=>Symbol("lastState"), Symbol("name")=>Symbol("name"), Symbol("ready")=>Symbol("ready"), Symbol("restartCount")=>Symbol("restartCount"), Symbol("started")=>Symbol("started"), Symbol("state")=>Symbol("state")) -const _property_types_IoK8sApiCoreV1ContainerStatus = Dict{Symbol,String}(Symbol("containerID")=>"String", Symbol("image")=>"String", Symbol("imageID")=>"String", Symbol("lastState")=>"IoK8sApiCoreV1ContainerState", Symbol("name")=>"String", Symbol("ready")=>"Bool", Symbol("restartCount")=>"Int32", Symbol("started")=>"Bool", Symbol("state")=>"IoK8sApiCoreV1ContainerState") -Base.propertynames(::Type{ IoK8sApiCoreV1ContainerStatus }) = collect(keys(_property_map_IoK8sApiCoreV1ContainerStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ContainerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ContainerStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ContainerStatus[property_name] - -function check_required(o::IoK8sApiCoreV1ContainerStatus) - (getproperty(o, Symbol("image")) === nothing) && (return false) - (getproperty(o, Symbol("imageID")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("ready")) === nothing) && (return false) - (getproperty(o, Symbol("restartCount")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ContainerStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1DaemonEndpoint.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1DaemonEndpoint.jl deleted file mode 100644 index 7b10953c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1DaemonEndpoint.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonEndpoint contains information about a single Daemon endpoint. - - IoK8sApiCoreV1DaemonEndpoint(; - Port=nothing, - ) - - - Port::Int32 : Port number of the given endpoint. -""" -mutable struct IoK8sApiCoreV1DaemonEndpoint <: SwaggerModel - Port::Any # spec type: Union{ Nothing, Int32 } # spec name: Port - - function IoK8sApiCoreV1DaemonEndpoint(;Port=nothing) - o = new() - validate_property(IoK8sApiCoreV1DaemonEndpoint, Symbol("Port"), Port) - setfield!(o, Symbol("Port"), Port) - o - end -end # type IoK8sApiCoreV1DaemonEndpoint - -const _property_map_IoK8sApiCoreV1DaemonEndpoint = Dict{Symbol,Symbol}(Symbol("Port")=>Symbol("Port")) -const _property_types_IoK8sApiCoreV1DaemonEndpoint = Dict{Symbol,String}(Symbol("Port")=>"Int32") -Base.propertynames(::Type{ IoK8sApiCoreV1DaemonEndpoint }) = collect(keys(_property_map_IoK8sApiCoreV1DaemonEndpoint)) -Swagger.property_type(::Type{ IoK8sApiCoreV1DaemonEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DaemonEndpoint[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1DaemonEndpoint }, property_name::Symbol) = _property_map_IoK8sApiCoreV1DaemonEndpoint[property_name] - -function check_required(o::IoK8sApiCoreV1DaemonEndpoint) - (getproperty(o, Symbol("Port")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1DaemonEndpoint }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIProjection.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIProjection.jl deleted file mode 100644 index feb6c118..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIProjection.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. - - IoK8sApiCoreV1DownwardAPIProjection(; - items=nothing, - ) - - - items::Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} : Items is a list of DownwardAPIVolume file -""" -mutable struct IoK8sApiCoreV1DownwardAPIProjection <: SwaggerModel - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} } # spec name: items - - function IoK8sApiCoreV1DownwardAPIProjection(;items=nothing) - o = new() - validate_property(IoK8sApiCoreV1DownwardAPIProjection, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - o - end -end # type IoK8sApiCoreV1DownwardAPIProjection - -const _property_map_IoK8sApiCoreV1DownwardAPIProjection = Dict{Symbol,Symbol}(Symbol("items")=>Symbol("items")) -const _property_types_IoK8sApiCoreV1DownwardAPIProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1DownwardAPIVolumeFile}") -Base.propertynames(::Type{ IoK8sApiCoreV1DownwardAPIProjection }) = collect(keys(_property_map_IoK8sApiCoreV1DownwardAPIProjection)) -Swagger.property_type(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIProjection[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, property_name::Symbol) = _property_map_IoK8sApiCoreV1DownwardAPIProjection[property_name] - -function check_required(o::IoK8sApiCoreV1DownwardAPIProjection) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl deleted file mode 100644 index c31f3893..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DownwardAPIVolumeFile represents information to create the file containing the pod field - - IoK8sApiCoreV1DownwardAPIVolumeFile(; - fieldRef=nothing, - mode=nothing, - path=nothing, - resourceFieldRef=nothing, - ) - - - fieldRef::IoK8sApiCoreV1ObjectFieldSelector : Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. - - mode::Int32 : Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. - - path::String : Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' - - resourceFieldRef::IoK8sApiCoreV1ResourceFieldSelector : Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -""" -mutable struct IoK8sApiCoreV1DownwardAPIVolumeFile <: SwaggerModel - fieldRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectFieldSelector } # spec name: fieldRef - mode::Any # spec type: Union{ Nothing, Int32 } # spec name: mode - path::Any # spec type: Union{ Nothing, String } # spec name: path - resourceFieldRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceFieldSelector } # spec name: resourceFieldRef - - function IoK8sApiCoreV1DownwardAPIVolumeFile(;fieldRef=nothing, mode=nothing, path=nothing, resourceFieldRef=nothing) - o = new() - validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("fieldRef"), fieldRef) - setfield!(o, Symbol("fieldRef"), fieldRef) - validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("mode"), mode) - setfield!(o, Symbol("mode"), mode) - validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("resourceFieldRef"), resourceFieldRef) - setfield!(o, Symbol("resourceFieldRef"), resourceFieldRef) - o - end -end # type IoK8sApiCoreV1DownwardAPIVolumeFile - -const _property_map_IoK8sApiCoreV1DownwardAPIVolumeFile = Dict{Symbol,Symbol}(Symbol("fieldRef")=>Symbol("fieldRef"), Symbol("mode")=>Symbol("mode"), Symbol("path")=>Symbol("path"), Symbol("resourceFieldRef")=>Symbol("resourceFieldRef")) -const _property_types_IoK8sApiCoreV1DownwardAPIVolumeFile = Dict{Symbol,String}(Symbol("fieldRef")=>"IoK8sApiCoreV1ObjectFieldSelector", Symbol("mode")=>"Int32", Symbol("path")=>"String", Symbol("resourceFieldRef")=>"IoK8sApiCoreV1ResourceFieldSelector") -Base.propertynames(::Type{ IoK8sApiCoreV1DownwardAPIVolumeFile }) = collect(keys(_property_map_IoK8sApiCoreV1DownwardAPIVolumeFile)) -Swagger.property_type(::Type{ IoK8sApiCoreV1DownwardAPIVolumeFile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIVolumeFile[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1DownwardAPIVolumeFile }, property_name::Symbol) = _property_map_IoK8sApiCoreV1DownwardAPIVolumeFile[property_name] - -function check_required(o::IoK8sApiCoreV1DownwardAPIVolumeFile) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1DownwardAPIVolumeFile }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl deleted file mode 100644 index 5c02859c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1DownwardAPIVolumeSource(; - defaultMode=nothing, - items=nothing, - ) - - - defaultMode::Int32 : Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. - - items::Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} : Items is a list of downward API volume file -""" -mutable struct IoK8sApiCoreV1DownwardAPIVolumeSource <: SwaggerModel - defaultMode::Any # spec type: Union{ Nothing, Int32 } # spec name: defaultMode - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} } # spec name: items - - function IoK8sApiCoreV1DownwardAPIVolumeSource(;defaultMode=nothing, items=nothing) - o = new() - validate_property(IoK8sApiCoreV1DownwardAPIVolumeSource, Symbol("defaultMode"), defaultMode) - setfield!(o, Symbol("defaultMode"), defaultMode) - validate_property(IoK8sApiCoreV1DownwardAPIVolumeSource, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - o - end -end # type IoK8sApiCoreV1DownwardAPIVolumeSource - -const _property_map_IoK8sApiCoreV1DownwardAPIVolumeSource = Dict{Symbol,Symbol}(Symbol("defaultMode")=>Symbol("defaultMode"), Symbol("items")=>Symbol("items")) -const _property_types_IoK8sApiCoreV1DownwardAPIVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int32", Symbol("items")=>"Vector{IoK8sApiCoreV1DownwardAPIVolumeFile}") -Base.propertynames(::Type{ IoK8sApiCoreV1DownwardAPIVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1DownwardAPIVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1DownwardAPIVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1DownwardAPIVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1DownwardAPIVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1DownwardAPIVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1DownwardAPIVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl deleted file mode 100644 index 46344f5d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1EmptyDirVolumeSource(; - medium=nothing, - sizeLimit=nothing, - ) - - - medium::String : What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir - - sizeLimit::IoK8sApimachineryPkgApiResourceQuantity : Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir -""" -mutable struct IoK8sApiCoreV1EmptyDirVolumeSource <: SwaggerModel - medium::Any # spec type: Union{ Nothing, String } # spec name: medium - sizeLimit::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: sizeLimit - - function IoK8sApiCoreV1EmptyDirVolumeSource(;medium=nothing, sizeLimit=nothing) - o = new() - validate_property(IoK8sApiCoreV1EmptyDirVolumeSource, Symbol("medium"), medium) - setfield!(o, Symbol("medium"), medium) - validate_property(IoK8sApiCoreV1EmptyDirVolumeSource, Symbol("sizeLimit"), sizeLimit) - setfield!(o, Symbol("sizeLimit"), sizeLimit) - o - end -end # type IoK8sApiCoreV1EmptyDirVolumeSource - -const _property_map_IoK8sApiCoreV1EmptyDirVolumeSource = Dict{Symbol,Symbol}(Symbol("medium")=>Symbol("medium"), Symbol("sizeLimit")=>Symbol("sizeLimit")) -const _property_types_IoK8sApiCoreV1EmptyDirVolumeSource = Dict{Symbol,String}(Symbol("medium")=>"String", Symbol("sizeLimit")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiCoreV1EmptyDirVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1EmptyDirVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EmptyDirVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EmptyDirVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EmptyDirVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EmptyDirVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1EmptyDirVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EmptyDirVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointAddress.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointAddress.jl deleted file mode 100644 index fb4b1377..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointAddress.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointAddress is a tuple that describes single IP address. - - IoK8sApiCoreV1EndpointAddress(; - hostname=nothing, - ip=nothing, - nodeName=nothing, - targetRef=nothing, - ) - - - hostname::String : The Hostname of this endpoint - - ip::String : The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. - - nodeName::String : Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. - - targetRef::IoK8sApiCoreV1ObjectReference : Reference to object providing the endpoint. -""" -mutable struct IoK8sApiCoreV1EndpointAddress <: SwaggerModel - hostname::Any # spec type: Union{ Nothing, String } # spec name: hostname - ip::Any # spec type: Union{ Nothing, String } # spec name: ip - nodeName::Any # spec type: Union{ Nothing, String } # spec name: nodeName - targetRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: targetRef - - function IoK8sApiCoreV1EndpointAddress(;hostname=nothing, ip=nothing, nodeName=nothing, targetRef=nothing) - o = new() - validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("hostname"), hostname) - setfield!(o, Symbol("hostname"), hostname) - validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("ip"), ip) - setfield!(o, Symbol("ip"), ip) - validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("nodeName"), nodeName) - setfield!(o, Symbol("nodeName"), nodeName) - validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("targetRef"), targetRef) - setfield!(o, Symbol("targetRef"), targetRef) - o - end -end # type IoK8sApiCoreV1EndpointAddress - -const _property_map_IoK8sApiCoreV1EndpointAddress = Dict{Symbol,Symbol}(Symbol("hostname")=>Symbol("hostname"), Symbol("ip")=>Symbol("ip"), Symbol("nodeName")=>Symbol("nodeName"), Symbol("targetRef")=>Symbol("targetRef")) -const _property_types_IoK8sApiCoreV1EndpointAddress = Dict{Symbol,String}(Symbol("hostname")=>"String", Symbol("ip")=>"String", Symbol("nodeName")=>"String", Symbol("targetRef")=>"IoK8sApiCoreV1ObjectReference") -Base.propertynames(::Type{ IoK8sApiCoreV1EndpointAddress }) = collect(keys(_property_map_IoK8sApiCoreV1EndpointAddress)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EndpointAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointAddress[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EndpointAddress }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EndpointAddress[property_name] - -function check_required(o::IoK8sApiCoreV1EndpointAddress) - (getproperty(o, Symbol("ip")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EndpointAddress }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointPort.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointPort.jl deleted file mode 100644 index 5c28c855..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointPort.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointPort is a tuple that describes a single port. - - IoK8sApiCoreV1EndpointPort(; - name=nothing, - port=nothing, - protocol=nothing, - ) - - - name::String : The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. - - port::Int32 : The port number of the endpoint. - - protocol::String : The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. -""" -mutable struct IoK8sApiCoreV1EndpointPort <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - protocol::Any # spec type: Union{ Nothing, String } # spec name: protocol - - function IoK8sApiCoreV1EndpointPort(;name=nothing, port=nothing, protocol=nothing) - o = new() - validate_property(IoK8sApiCoreV1EndpointPort, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1EndpointPort, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - validate_property(IoK8sApiCoreV1EndpointPort, Symbol("protocol"), protocol) - setfield!(o, Symbol("protocol"), protocol) - o - end -end # type IoK8sApiCoreV1EndpointPort - -const _property_map_IoK8sApiCoreV1EndpointPort = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("port")=>Symbol("port"), Symbol("protocol")=>Symbol("protocol")) -const _property_types_IoK8sApiCoreV1EndpointPort = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("port")=>"Int32", Symbol("protocol")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1EndpointPort }) = collect(keys(_property_map_IoK8sApiCoreV1EndpointPort)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EndpointPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointPort[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EndpointPort }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EndpointPort[property_name] - -function check_required(o::IoK8sApiCoreV1EndpointPort) - (getproperty(o, Symbol("port")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EndpointPort }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointSubset.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointSubset.jl deleted file mode 100644 index 5259514c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointSubset.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ] - - IoK8sApiCoreV1EndpointSubset(; - addresses=nothing, - notReadyAddresses=nothing, - ports=nothing, - ) - - - addresses::Vector{IoK8sApiCoreV1EndpointAddress} : IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. - - notReadyAddresses::Vector{IoK8sApiCoreV1EndpointAddress} : IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. - - ports::Vector{IoK8sApiCoreV1EndpointPort} : Port numbers available on the related IP addresses. -""" -mutable struct IoK8sApiCoreV1EndpointSubset <: SwaggerModel - addresses::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointAddress} } # spec name: addresses - notReadyAddresses::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointAddress} } # spec name: notReadyAddresses - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointPort} } # spec name: ports - - function IoK8sApiCoreV1EndpointSubset(;addresses=nothing, notReadyAddresses=nothing, ports=nothing) - o = new() - validate_property(IoK8sApiCoreV1EndpointSubset, Symbol("addresses"), addresses) - setfield!(o, Symbol("addresses"), addresses) - validate_property(IoK8sApiCoreV1EndpointSubset, Symbol("notReadyAddresses"), notReadyAddresses) - setfield!(o, Symbol("notReadyAddresses"), notReadyAddresses) - validate_property(IoK8sApiCoreV1EndpointSubset, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - o - end -end # type IoK8sApiCoreV1EndpointSubset - -const _property_map_IoK8sApiCoreV1EndpointSubset = Dict{Symbol,Symbol}(Symbol("addresses")=>Symbol("addresses"), Symbol("notReadyAddresses")=>Symbol("notReadyAddresses"), Symbol("ports")=>Symbol("ports")) -const _property_types_IoK8sApiCoreV1EndpointSubset = Dict{Symbol,String}(Symbol("addresses")=>"Vector{IoK8sApiCoreV1EndpointAddress}", Symbol("notReadyAddresses")=>"Vector{IoK8sApiCoreV1EndpointAddress}", Symbol("ports")=>"Vector{IoK8sApiCoreV1EndpointPort}") -Base.propertynames(::Type{ IoK8sApiCoreV1EndpointSubset }) = collect(keys(_property_map_IoK8sApiCoreV1EndpointSubset)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EndpointSubset }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointSubset[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EndpointSubset }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EndpointSubset[property_name] - -function check_required(o::IoK8sApiCoreV1EndpointSubset) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EndpointSubset }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Endpoints.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Endpoints.jl deleted file mode 100644 index 6215fbf7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Endpoints.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ] - - IoK8sApiCoreV1Endpoints(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - subsets=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - subsets::Vector{IoK8sApiCoreV1EndpointSubset} : The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. -""" -mutable struct IoK8sApiCoreV1Endpoints <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - subsets::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointSubset} } # spec name: subsets - - function IoK8sApiCoreV1Endpoints(;apiVersion=nothing, kind=nothing, metadata=nothing, subsets=nothing) - o = new() - validate_property(IoK8sApiCoreV1Endpoints, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Endpoints, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Endpoints, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Endpoints, Symbol("subsets"), subsets) - setfield!(o, Symbol("subsets"), subsets) - o - end -end # type IoK8sApiCoreV1Endpoints - -const _property_map_IoK8sApiCoreV1Endpoints = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("subsets")=>Symbol("subsets")) -const _property_types_IoK8sApiCoreV1Endpoints = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("subsets")=>"Vector{IoK8sApiCoreV1EndpointSubset}") -Base.propertynames(::Type{ IoK8sApiCoreV1Endpoints }) = collect(keys(_property_map_IoK8sApiCoreV1Endpoints)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Endpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Endpoints[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Endpoints }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Endpoints[property_name] - -function check_required(o::IoK8sApiCoreV1Endpoints) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Endpoints }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointsList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointsList.jl deleted file mode 100644 index 22cbc429..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EndpointsList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointsList is a list of endpoints. - - IoK8sApiCoreV1EndpointsList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Endpoints} : List of endpoints. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1EndpointsList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Endpoints} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1EndpointsList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1EndpointsList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1EndpointsList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1EndpointsList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1EndpointsList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1EndpointsList - -const _property_map_IoK8sApiCoreV1EndpointsList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1EndpointsList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Endpoints}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1EndpointsList }) = collect(keys(_property_map_IoK8sApiCoreV1EndpointsList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EndpointsList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointsList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EndpointsList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EndpointsList[property_name] - -function check_required(o::IoK8sApiCoreV1EndpointsList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EndpointsList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EnvFromSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EnvFromSource.jl deleted file mode 100644 index dd4cb142..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EnvFromSource.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EnvFromSource represents the source of a set of ConfigMaps - - IoK8sApiCoreV1EnvFromSource(; - configMapRef=nothing, - prefix=nothing, - secretRef=nothing, - ) - - - configMapRef::IoK8sApiCoreV1ConfigMapEnvSource : The ConfigMap to select from - - prefix::String : An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. - - secretRef::IoK8sApiCoreV1SecretEnvSource : The Secret to select from -""" -mutable struct IoK8sApiCoreV1EnvFromSource <: SwaggerModel - configMapRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapEnvSource } # spec name: configMapRef - prefix::Any # spec type: Union{ Nothing, String } # spec name: prefix - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretEnvSource } # spec name: secretRef - - function IoK8sApiCoreV1EnvFromSource(;configMapRef=nothing, prefix=nothing, secretRef=nothing) - o = new() - validate_property(IoK8sApiCoreV1EnvFromSource, Symbol("configMapRef"), configMapRef) - setfield!(o, Symbol("configMapRef"), configMapRef) - validate_property(IoK8sApiCoreV1EnvFromSource, Symbol("prefix"), prefix) - setfield!(o, Symbol("prefix"), prefix) - validate_property(IoK8sApiCoreV1EnvFromSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - o - end -end # type IoK8sApiCoreV1EnvFromSource - -const _property_map_IoK8sApiCoreV1EnvFromSource = Dict{Symbol,Symbol}(Symbol("configMapRef")=>Symbol("configMapRef"), Symbol("prefix")=>Symbol("prefix"), Symbol("secretRef")=>Symbol("secretRef")) -const _property_types_IoK8sApiCoreV1EnvFromSource = Dict{Symbol,String}(Symbol("configMapRef")=>"IoK8sApiCoreV1ConfigMapEnvSource", Symbol("prefix")=>"String", Symbol("secretRef")=>"IoK8sApiCoreV1SecretEnvSource") -Base.propertynames(::Type{ IoK8sApiCoreV1EnvFromSource }) = collect(keys(_property_map_IoK8sApiCoreV1EnvFromSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EnvFromSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EnvFromSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EnvFromSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EnvFromSource[property_name] - -function check_required(o::IoK8sApiCoreV1EnvFromSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EnvFromSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EnvVar.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EnvVar.jl deleted file mode 100644 index 1946a368..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EnvVar.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EnvVar represents an environment variable present in a Container. - - IoK8sApiCoreV1EnvVar(; - name=nothing, - value=nothing, - valueFrom=nothing, - ) - - - name::String : Name of the environment variable. Must be a C_IDENTIFIER. - - value::String : Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". - - valueFrom::IoK8sApiCoreV1EnvVarSource : Source for the environment variable's value. Cannot be used if value is not empty. -""" -mutable struct IoK8sApiCoreV1EnvVar <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - value::Any # spec type: Union{ Nothing, String } # spec name: value - valueFrom::Any # spec type: Union{ Nothing, IoK8sApiCoreV1EnvVarSource } # spec name: valueFrom - - function IoK8sApiCoreV1EnvVar(;name=nothing, value=nothing, valueFrom=nothing) - o = new() - validate_property(IoK8sApiCoreV1EnvVar, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1EnvVar, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - validate_property(IoK8sApiCoreV1EnvVar, Symbol("valueFrom"), valueFrom) - setfield!(o, Symbol("valueFrom"), valueFrom) - o - end -end # type IoK8sApiCoreV1EnvVar - -const _property_map_IoK8sApiCoreV1EnvVar = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("value")=>Symbol("value"), Symbol("valueFrom")=>Symbol("valueFrom")) -const _property_types_IoK8sApiCoreV1EnvVar = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", Symbol("valueFrom")=>"IoK8sApiCoreV1EnvVarSource") -Base.propertynames(::Type{ IoK8sApiCoreV1EnvVar }) = collect(keys(_property_map_IoK8sApiCoreV1EnvVar)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EnvVar }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EnvVar[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EnvVar }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EnvVar[property_name] - -function check_required(o::IoK8sApiCoreV1EnvVar) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EnvVar }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EnvVarSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EnvVarSource.jl deleted file mode 100644 index ef9dff54..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EnvVarSource.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EnvVarSource represents a source for the value of an EnvVar. - - IoK8sApiCoreV1EnvVarSource(; - configMapKeyRef=nothing, - fieldRef=nothing, - resourceFieldRef=nothing, - secretKeyRef=nothing, - ) - - - configMapKeyRef::IoK8sApiCoreV1ConfigMapKeySelector : Selects a key of a ConfigMap. - - fieldRef::IoK8sApiCoreV1ObjectFieldSelector : Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. - - resourceFieldRef::IoK8sApiCoreV1ResourceFieldSelector : Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. - - secretKeyRef::IoK8sApiCoreV1SecretKeySelector : Selects a key of a secret in the pod's namespace -""" -mutable struct IoK8sApiCoreV1EnvVarSource <: SwaggerModel - configMapKeyRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapKeySelector } # spec name: configMapKeyRef - fieldRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectFieldSelector } # spec name: fieldRef - resourceFieldRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceFieldSelector } # spec name: resourceFieldRef - secretKeyRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretKeySelector } # spec name: secretKeyRef - - function IoK8sApiCoreV1EnvVarSource(;configMapKeyRef=nothing, fieldRef=nothing, resourceFieldRef=nothing, secretKeyRef=nothing) - o = new() - validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("configMapKeyRef"), configMapKeyRef) - setfield!(o, Symbol("configMapKeyRef"), configMapKeyRef) - validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("fieldRef"), fieldRef) - setfield!(o, Symbol("fieldRef"), fieldRef) - validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("resourceFieldRef"), resourceFieldRef) - setfield!(o, Symbol("resourceFieldRef"), resourceFieldRef) - validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("secretKeyRef"), secretKeyRef) - setfield!(o, Symbol("secretKeyRef"), secretKeyRef) - o - end -end # type IoK8sApiCoreV1EnvVarSource - -const _property_map_IoK8sApiCoreV1EnvVarSource = Dict{Symbol,Symbol}(Symbol("configMapKeyRef")=>Symbol("configMapKeyRef"), Symbol("fieldRef")=>Symbol("fieldRef"), Symbol("resourceFieldRef")=>Symbol("resourceFieldRef"), Symbol("secretKeyRef")=>Symbol("secretKeyRef")) -const _property_types_IoK8sApiCoreV1EnvVarSource = Dict{Symbol,String}(Symbol("configMapKeyRef")=>"IoK8sApiCoreV1ConfigMapKeySelector", Symbol("fieldRef")=>"IoK8sApiCoreV1ObjectFieldSelector", Symbol("resourceFieldRef")=>"IoK8sApiCoreV1ResourceFieldSelector", Symbol("secretKeyRef")=>"IoK8sApiCoreV1SecretKeySelector") -Base.propertynames(::Type{ IoK8sApiCoreV1EnvVarSource }) = collect(keys(_property_map_IoK8sApiCoreV1EnvVarSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EnvVarSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EnvVarSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EnvVarSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EnvVarSource[property_name] - -function check_required(o::IoK8sApiCoreV1EnvVarSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EnvVarSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EphemeralContainer.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EphemeralContainer.jl deleted file mode 100644 index 9176540e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EphemeralContainer.jl +++ /dev/null @@ -1,146 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag. - - IoK8sApiCoreV1EphemeralContainer(; - args=nothing, - command=nothing, - env=nothing, - envFrom=nothing, - image=nothing, - imagePullPolicy=nothing, - lifecycle=nothing, - livenessProbe=nothing, - name=nothing, - ports=nothing, - readinessProbe=nothing, - resources=nothing, - securityContext=nothing, - startupProbe=nothing, - stdin=nothing, - stdinOnce=nothing, - targetContainerName=nothing, - terminationMessagePath=nothing, - terminationMessagePolicy=nothing, - tty=nothing, - volumeDevices=nothing, - volumeMounts=nothing, - workingDir=nothing, - ) - - - args::Vector{String} : Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - - command::Vector{String} : Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - - env::Vector{IoK8sApiCoreV1EnvVar} : List of environment variables to set in the container. Cannot be updated. - - envFrom::Vector{IoK8sApiCoreV1EnvFromSource} : List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. - - image::String : Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images - - imagePullPolicy::String : Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images - - lifecycle::IoK8sApiCoreV1Lifecycle : Lifecycle is not allowed for ephemeral containers. - - livenessProbe::IoK8sApiCoreV1Probe : Probes are not allowed for ephemeral containers. - - name::String : Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers. - - ports::Vector{IoK8sApiCoreV1ContainerPort} : Ports are not allowed for ephemeral containers. - - readinessProbe::IoK8sApiCoreV1Probe : Probes are not allowed for ephemeral containers. - - resources::IoK8sApiCoreV1ResourceRequirements : Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. - - securityContext::IoK8sApiCoreV1SecurityContext : SecurityContext is not allowed for ephemeral containers. - - startupProbe::IoK8sApiCoreV1Probe : Probes are not allowed for ephemeral containers. - - stdin::Bool : Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. - - stdinOnce::Bool : Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false - - targetContainerName::String : If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature. - - terminationMessagePath::String : Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. - - terminationMessagePolicy::String : Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. - - tty::Bool : Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. - - volumeDevices::Vector{IoK8sApiCoreV1VolumeDevice} : volumeDevices is the list of block devices to be used by the container. This is a beta feature. - - volumeMounts::Vector{IoK8sApiCoreV1VolumeMount} : Pod volumes to mount into the container's filesystem. Cannot be updated. - - workingDir::String : Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. -""" -mutable struct IoK8sApiCoreV1EphemeralContainer <: SwaggerModel - args::Any # spec type: Union{ Nothing, Vector{String} } # spec name: args - command::Any # spec type: Union{ Nothing, Vector{String} } # spec name: command - env::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvVar} } # spec name: env - envFrom::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvFromSource} } # spec name: envFrom - image::Any # spec type: Union{ Nothing, String } # spec name: image - imagePullPolicy::Any # spec type: Union{ Nothing, String } # spec name: imagePullPolicy - lifecycle::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Lifecycle } # spec name: lifecycle - livenessProbe::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } # spec name: livenessProbe - name::Any # spec type: Union{ Nothing, String } # spec name: name - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerPort} } # spec name: ports - readinessProbe::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } # spec name: readinessProbe - resources::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceRequirements } # spec name: resources - securityContext::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecurityContext } # spec name: securityContext - startupProbe::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } # spec name: startupProbe - stdin::Any # spec type: Union{ Nothing, Bool } # spec name: stdin - stdinOnce::Any # spec type: Union{ Nothing, Bool } # spec name: stdinOnce - targetContainerName::Any # spec type: Union{ Nothing, String } # spec name: targetContainerName - terminationMessagePath::Any # spec type: Union{ Nothing, String } # spec name: terminationMessagePath - terminationMessagePolicy::Any # spec type: Union{ Nothing, String } # spec name: terminationMessagePolicy - tty::Any # spec type: Union{ Nothing, Bool } # spec name: tty - volumeDevices::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeDevice} } # spec name: volumeDevices - volumeMounts::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeMount} } # spec name: volumeMounts - workingDir::Any # spec type: Union{ Nothing, String } # spec name: workingDir - - function IoK8sApiCoreV1EphemeralContainer(;args=nothing, command=nothing, env=nothing, envFrom=nothing, image=nothing, imagePullPolicy=nothing, lifecycle=nothing, livenessProbe=nothing, name=nothing, ports=nothing, readinessProbe=nothing, resources=nothing, securityContext=nothing, startupProbe=nothing, stdin=nothing, stdinOnce=nothing, targetContainerName=nothing, terminationMessagePath=nothing, terminationMessagePolicy=nothing, tty=nothing, volumeDevices=nothing, volumeMounts=nothing, workingDir=nothing) - o = new() - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("args"), args) - setfield!(o, Symbol("args"), args) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("command"), command) - setfield!(o, Symbol("command"), command) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("env"), env) - setfield!(o, Symbol("env"), env) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("envFrom"), envFrom) - setfield!(o, Symbol("envFrom"), envFrom) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("image"), image) - setfield!(o, Symbol("image"), image) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("imagePullPolicy"), imagePullPolicy) - setfield!(o, Symbol("imagePullPolicy"), imagePullPolicy) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("lifecycle"), lifecycle) - setfield!(o, Symbol("lifecycle"), lifecycle) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("livenessProbe"), livenessProbe) - setfield!(o, Symbol("livenessProbe"), livenessProbe) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("readinessProbe"), readinessProbe) - setfield!(o, Symbol("readinessProbe"), readinessProbe) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("securityContext"), securityContext) - setfield!(o, Symbol("securityContext"), securityContext) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("startupProbe"), startupProbe) - setfield!(o, Symbol("startupProbe"), startupProbe) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("stdin"), stdin) - setfield!(o, Symbol("stdin"), stdin) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("stdinOnce"), stdinOnce) - setfield!(o, Symbol("stdinOnce"), stdinOnce) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("targetContainerName"), targetContainerName) - setfield!(o, Symbol("targetContainerName"), targetContainerName) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("terminationMessagePath"), terminationMessagePath) - setfield!(o, Symbol("terminationMessagePath"), terminationMessagePath) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("terminationMessagePolicy"), terminationMessagePolicy) - setfield!(o, Symbol("terminationMessagePolicy"), terminationMessagePolicy) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("tty"), tty) - setfield!(o, Symbol("tty"), tty) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("volumeDevices"), volumeDevices) - setfield!(o, Symbol("volumeDevices"), volumeDevices) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("volumeMounts"), volumeMounts) - setfield!(o, Symbol("volumeMounts"), volumeMounts) - validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("workingDir"), workingDir) - setfield!(o, Symbol("workingDir"), workingDir) - o - end -end # type IoK8sApiCoreV1EphemeralContainer - -const _property_map_IoK8sApiCoreV1EphemeralContainer = Dict{Symbol,Symbol}(Symbol("args")=>Symbol("args"), Symbol("command")=>Symbol("command"), Symbol("env")=>Symbol("env"), Symbol("envFrom")=>Symbol("envFrom"), Symbol("image")=>Symbol("image"), Symbol("imagePullPolicy")=>Symbol("imagePullPolicy"), Symbol("lifecycle")=>Symbol("lifecycle"), Symbol("livenessProbe")=>Symbol("livenessProbe"), Symbol("name")=>Symbol("name"), Symbol("ports")=>Symbol("ports"), Symbol("readinessProbe")=>Symbol("readinessProbe"), Symbol("resources")=>Symbol("resources"), Symbol("securityContext")=>Symbol("securityContext"), Symbol("startupProbe")=>Symbol("startupProbe"), Symbol("stdin")=>Symbol("stdin"), Symbol("stdinOnce")=>Symbol("stdinOnce"), Symbol("targetContainerName")=>Symbol("targetContainerName"), Symbol("terminationMessagePath")=>Symbol("terminationMessagePath"), Symbol("terminationMessagePolicy")=>Symbol("terminationMessagePolicy"), Symbol("tty")=>Symbol("tty"), Symbol("volumeDevices")=>Symbol("volumeDevices"), Symbol("volumeMounts")=>Symbol("volumeMounts"), Symbol("workingDir")=>Symbol("workingDir")) -const _property_types_IoK8sApiCoreV1EphemeralContainer = Dict{Symbol,String}(Symbol("args")=>"Vector{String}", Symbol("command")=>"Vector{String}", Symbol("env")=>"Vector{IoK8sApiCoreV1EnvVar}", Symbol("envFrom")=>"Vector{IoK8sApiCoreV1EnvFromSource}", Symbol("image")=>"String", Symbol("imagePullPolicy")=>"String", Symbol("lifecycle")=>"IoK8sApiCoreV1Lifecycle", Symbol("livenessProbe")=>"IoK8sApiCoreV1Probe", Symbol("name")=>"String", Symbol("ports")=>"Vector{IoK8sApiCoreV1ContainerPort}", Symbol("readinessProbe")=>"IoK8sApiCoreV1Probe", Symbol("resources")=>"IoK8sApiCoreV1ResourceRequirements", Symbol("securityContext")=>"IoK8sApiCoreV1SecurityContext", Symbol("startupProbe")=>"IoK8sApiCoreV1Probe", Symbol("stdin")=>"Bool", Symbol("stdinOnce")=>"Bool", Symbol("targetContainerName")=>"String", Symbol("terminationMessagePath")=>"String", Symbol("terminationMessagePolicy")=>"String", Symbol("tty")=>"Bool", Symbol("volumeDevices")=>"Vector{IoK8sApiCoreV1VolumeDevice}", Symbol("volumeMounts")=>"Vector{IoK8sApiCoreV1VolumeMount}", Symbol("workingDir")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1EphemeralContainer }) = collect(keys(_property_map_IoK8sApiCoreV1EphemeralContainer)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EphemeralContainer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EphemeralContainer[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EphemeralContainer }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EphemeralContainer[property_name] - -function check_required(o::IoK8sApiCoreV1EphemeralContainer) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EphemeralContainer }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Event.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Event.jl deleted file mode 100644 index dfeba31d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Event.jl +++ /dev/null @@ -1,117 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Event is a report of an event somewhere in the cluster. - - IoK8sApiCoreV1Event(; - action=nothing, - apiVersion=nothing, - count=nothing, - eventTime=nothing, - firstTimestamp=nothing, - involvedObject=nothing, - kind=nothing, - lastTimestamp=nothing, - message=nothing, - metadata=nothing, - reason=nothing, - related=nothing, - reportingComponent=nothing, - reportingInstance=nothing, - series=nothing, - source=nothing, - type=nothing, - ) - - - action::String : What action was taken/failed regarding to the Regarding object. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - count::Int32 : The number of times this event has occurred. - - eventTime::IoK8sApimachineryPkgApisMetaV1MicroTime : Time when this Event was first observed. - - firstTimestamp::IoK8sApimachineryPkgApisMetaV1Time : The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) - - involvedObject::IoK8sApiCoreV1ObjectReference : The object that this event is about. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - lastTimestamp::IoK8sApimachineryPkgApisMetaV1Time : The time at which the most recent occurrence of this event was recorded. - - message::String : A human-readable description of the status of this operation. - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - reason::String : This should be a short, machine understandable string that gives the reason for the transition into the object's current status. - - related::IoK8sApiCoreV1ObjectReference : Optional secondary object for more complex actions. - - reportingComponent::String : Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. - - reportingInstance::String : ID of the controller instance, e.g. `kubelet-xyzf`. - - series::IoK8sApiCoreV1EventSeries : Data about the Event series this event represents or nil if it's a singleton Event. - - source::IoK8sApiCoreV1EventSource : The component reporting this event. Should be a short machine understandable string. - - type::String : Type of this event (Normal, Warning), new types could be added in the future -""" -mutable struct IoK8sApiCoreV1Event <: SwaggerModel - action::Any # spec type: Union{ Nothing, String } # spec name: action - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - count::Any # spec type: Union{ Nothing, Int32 } # spec name: count - eventTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: eventTime - firstTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: firstTimestamp - involvedObject::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: involvedObject - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - lastTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTimestamp - message::Any # spec type: Union{ Nothing, String } # spec name: message - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - related::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: related - reportingComponent::Any # spec type: Union{ Nothing, String } # spec name: reportingComponent - reportingInstance::Any # spec type: Union{ Nothing, String } # spec name: reportingInstance - series::Any # spec type: Union{ Nothing, IoK8sApiCoreV1EventSeries } # spec name: series - source::Any # spec type: Union{ Nothing, IoK8sApiCoreV1EventSource } # spec name: source - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1Event(;action=nothing, apiVersion=nothing, count=nothing, eventTime=nothing, firstTimestamp=nothing, involvedObject=nothing, kind=nothing, lastTimestamp=nothing, message=nothing, metadata=nothing, reason=nothing, related=nothing, reportingComponent=nothing, reportingInstance=nothing, series=nothing, source=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1Event, Symbol("action"), action) - setfield!(o, Symbol("action"), action) - validate_property(IoK8sApiCoreV1Event, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Event, Symbol("count"), count) - setfield!(o, Symbol("count"), count) - validate_property(IoK8sApiCoreV1Event, Symbol("eventTime"), eventTime) - setfield!(o, Symbol("eventTime"), eventTime) - validate_property(IoK8sApiCoreV1Event, Symbol("firstTimestamp"), firstTimestamp) - setfield!(o, Symbol("firstTimestamp"), firstTimestamp) - validate_property(IoK8sApiCoreV1Event, Symbol("involvedObject"), involvedObject) - setfield!(o, Symbol("involvedObject"), involvedObject) - validate_property(IoK8sApiCoreV1Event, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Event, Symbol("lastTimestamp"), lastTimestamp) - setfield!(o, Symbol("lastTimestamp"), lastTimestamp) - validate_property(IoK8sApiCoreV1Event, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1Event, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Event, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1Event, Symbol("related"), related) - setfield!(o, Symbol("related"), related) - validate_property(IoK8sApiCoreV1Event, Symbol("reportingComponent"), reportingComponent) - setfield!(o, Symbol("reportingComponent"), reportingComponent) - validate_property(IoK8sApiCoreV1Event, Symbol("reportingInstance"), reportingInstance) - setfield!(o, Symbol("reportingInstance"), reportingInstance) - validate_property(IoK8sApiCoreV1Event, Symbol("series"), series) - setfield!(o, Symbol("series"), series) - validate_property(IoK8sApiCoreV1Event, Symbol("source"), source) - setfield!(o, Symbol("source"), source) - validate_property(IoK8sApiCoreV1Event, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1Event - -const _property_map_IoK8sApiCoreV1Event = Dict{Symbol,Symbol}(Symbol("action")=>Symbol("action"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("count")=>Symbol("count"), Symbol("eventTime")=>Symbol("eventTime"), Symbol("firstTimestamp")=>Symbol("firstTimestamp"), Symbol("involvedObject")=>Symbol("involvedObject"), Symbol("kind")=>Symbol("kind"), Symbol("lastTimestamp")=>Symbol("lastTimestamp"), Symbol("message")=>Symbol("message"), Symbol("metadata")=>Symbol("metadata"), Symbol("reason")=>Symbol("reason"), Symbol("related")=>Symbol("related"), Symbol("reportingComponent")=>Symbol("reportingComponent"), Symbol("reportingInstance")=>Symbol("reportingInstance"), Symbol("series")=>Symbol("series"), Symbol("source")=>Symbol("source"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1Event = Dict{Symbol,String}(Symbol("action")=>"String", Symbol("apiVersion")=>"String", Symbol("count")=>"Int32", Symbol("eventTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime", Symbol("firstTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("involvedObject")=>"IoK8sApiCoreV1ObjectReference", Symbol("kind")=>"String", Symbol("lastTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("reason")=>"String", Symbol("related")=>"IoK8sApiCoreV1ObjectReference", Symbol("reportingComponent")=>"String", Symbol("reportingInstance")=>"String", Symbol("series")=>"IoK8sApiCoreV1EventSeries", Symbol("source")=>"IoK8sApiCoreV1EventSource", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1Event }) = collect(keys(_property_map_IoK8sApiCoreV1Event)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Event }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Event[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Event }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Event[property_name] - -function check_required(o::IoK8sApiCoreV1Event) - (getproperty(o, Symbol("involvedObject")) === nothing) && (return false) - (getproperty(o, Symbol("metadata")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Event }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EventList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EventList.jl deleted file mode 100644 index 47db97f7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EventList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EventList is a list of events. - - IoK8sApiCoreV1EventList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Event} : List of events - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1EventList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Event} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1EventList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1EventList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1EventList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1EventList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1EventList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1EventList - -const _property_map_IoK8sApiCoreV1EventList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1EventList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Event}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1EventList }) = collect(keys(_property_map_IoK8sApiCoreV1EventList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EventList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EventList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EventList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EventList[property_name] - -function check_required(o::IoK8sApiCoreV1EventList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EventList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EventSeries.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EventSeries.jl deleted file mode 100644 index d175ec7b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EventSeries.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. - - IoK8sApiCoreV1EventSeries(; - count=nothing, - lastObservedTime=nothing, - state=nothing, - ) - - - count::Int32 : Number of occurrences in this series up to the last heartbeat time - - lastObservedTime::IoK8sApimachineryPkgApisMetaV1MicroTime : Time of the last occurrence observed - - state::String : State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18 -""" -mutable struct IoK8sApiCoreV1EventSeries <: SwaggerModel - count::Any # spec type: Union{ Nothing, Int32 } # spec name: count - lastObservedTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: lastObservedTime - state::Any # spec type: Union{ Nothing, String } # spec name: state - - function IoK8sApiCoreV1EventSeries(;count=nothing, lastObservedTime=nothing, state=nothing) - o = new() - validate_property(IoK8sApiCoreV1EventSeries, Symbol("count"), count) - setfield!(o, Symbol("count"), count) - validate_property(IoK8sApiCoreV1EventSeries, Symbol("lastObservedTime"), lastObservedTime) - setfield!(o, Symbol("lastObservedTime"), lastObservedTime) - validate_property(IoK8sApiCoreV1EventSeries, Symbol("state"), state) - setfield!(o, Symbol("state"), state) - o - end -end # type IoK8sApiCoreV1EventSeries - -const _property_map_IoK8sApiCoreV1EventSeries = Dict{Symbol,Symbol}(Symbol("count")=>Symbol("count"), Symbol("lastObservedTime")=>Symbol("lastObservedTime"), Symbol("state")=>Symbol("state")) -const _property_types_IoK8sApiCoreV1EventSeries = Dict{Symbol,String}(Symbol("count")=>"Int32", Symbol("lastObservedTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime", Symbol("state")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1EventSeries }) = collect(keys(_property_map_IoK8sApiCoreV1EventSeries)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EventSeries }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EventSeries[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EventSeries }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EventSeries[property_name] - -function check_required(o::IoK8sApiCoreV1EventSeries) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EventSeries }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1EventSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1EventSource.jl deleted file mode 100644 index 99c90583..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1EventSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EventSource contains information for an event. - - IoK8sApiCoreV1EventSource(; - component=nothing, - host=nothing, - ) - - - component::String : Component from which the event is generated. - - host::String : Node name on which the event is generated. -""" -mutable struct IoK8sApiCoreV1EventSource <: SwaggerModel - component::Any # spec type: Union{ Nothing, String } # spec name: component - host::Any # spec type: Union{ Nothing, String } # spec name: host - - function IoK8sApiCoreV1EventSource(;component=nothing, host=nothing) - o = new() - validate_property(IoK8sApiCoreV1EventSource, Symbol("component"), component) - setfield!(o, Symbol("component"), component) - validate_property(IoK8sApiCoreV1EventSource, Symbol("host"), host) - setfield!(o, Symbol("host"), host) - o - end -end # type IoK8sApiCoreV1EventSource - -const _property_map_IoK8sApiCoreV1EventSource = Dict{Symbol,Symbol}(Symbol("component")=>Symbol("component"), Symbol("host")=>Symbol("host")) -const _property_types_IoK8sApiCoreV1EventSource = Dict{Symbol,String}(Symbol("component")=>"String", Symbol("host")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1EventSource }) = collect(keys(_property_map_IoK8sApiCoreV1EventSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1EventSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EventSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1EventSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1EventSource[property_name] - -function check_required(o::IoK8sApiCoreV1EventSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1EventSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ExecAction.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ExecAction.jl deleted file mode 100644 index ec9f5843..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ExecAction.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExecAction describes a \"run in container\" action. - - IoK8sApiCoreV1ExecAction(; - command=nothing, - ) - - - command::Vector{String} : Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. -""" -mutable struct IoK8sApiCoreV1ExecAction <: SwaggerModel - command::Any # spec type: Union{ Nothing, Vector{String} } # spec name: command - - function IoK8sApiCoreV1ExecAction(;command=nothing) - o = new() - validate_property(IoK8sApiCoreV1ExecAction, Symbol("command"), command) - setfield!(o, Symbol("command"), command) - o - end -end # type IoK8sApiCoreV1ExecAction - -const _property_map_IoK8sApiCoreV1ExecAction = Dict{Symbol,Symbol}(Symbol("command")=>Symbol("command")) -const _property_types_IoK8sApiCoreV1ExecAction = Dict{Symbol,String}(Symbol("command")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1ExecAction }) = collect(keys(_property_map_IoK8sApiCoreV1ExecAction)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ExecAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ExecAction[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ExecAction }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ExecAction[property_name] - -function check_required(o::IoK8sApiCoreV1ExecAction) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ExecAction }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1FCVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1FCVolumeSource.jl deleted file mode 100644 index 8c37fe4a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1FCVolumeSource.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1FCVolumeSource(; - fsType=nothing, - lun=nothing, - readOnly=nothing, - targetWWNs=nothing, - wwids=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. - - lun::Int32 : Optional: FC target lun number - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - targetWWNs::Vector{String} : Optional: FC target worldwide names (WWNs) - - wwids::Vector{String} : Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. -""" -mutable struct IoK8sApiCoreV1FCVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - lun::Any # spec type: Union{ Nothing, Int32 } # spec name: lun - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - targetWWNs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: targetWWNs - wwids::Any # spec type: Union{ Nothing, Vector{String} } # spec name: wwids - - function IoK8sApiCoreV1FCVolumeSource(;fsType=nothing, lun=nothing, readOnly=nothing, targetWWNs=nothing, wwids=nothing) - o = new() - validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("lun"), lun) - setfield!(o, Symbol("lun"), lun) - validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("targetWWNs"), targetWWNs) - setfield!(o, Symbol("targetWWNs"), targetWWNs) - validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("wwids"), wwids) - setfield!(o, Symbol("wwids"), wwids) - o - end -end # type IoK8sApiCoreV1FCVolumeSource - -const _property_map_IoK8sApiCoreV1FCVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("lun")=>Symbol("lun"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("targetWWNs")=>Symbol("targetWWNs"), Symbol("wwids")=>Symbol("wwids")) -const _property_types_IoK8sApiCoreV1FCVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("lun")=>"Int32", Symbol("readOnly")=>"Bool", Symbol("targetWWNs")=>"Vector{String}", Symbol("wwids")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1FCVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1FCVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1FCVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FCVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1FCVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1FCVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1FCVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1FCVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl deleted file mode 100644 index 93e36907..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. - - IoK8sApiCoreV1FlexPersistentVolumeSource(; - driver=nothing, - fsType=nothing, - options=nothing, - readOnly=nothing, - secretRef=nothing, - ) - - - driver::String : Driver is the name of the driver to use for this volume. - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. - - options::Dict{String, String} : Optional: Extra command options if any. - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretRef::IoK8sApiCoreV1SecretReference : Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -""" -mutable struct IoK8sApiCoreV1FlexPersistentVolumeSource <: SwaggerModel - driver::Any # spec type: Union{ Nothing, String } # spec name: driver - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - options::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: options - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: secretRef - - function IoK8sApiCoreV1FlexPersistentVolumeSource(;driver=nothing, fsType=nothing, options=nothing, readOnly=nothing, secretRef=nothing) - o = new() - validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("driver"), driver) - setfield!(o, Symbol("driver"), driver) - validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("options"), options) - setfield!(o, Symbol("options"), options) - validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - o - end -end # type IoK8sApiCoreV1FlexPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1FlexPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("driver")=>Symbol("driver"), Symbol("fsType")=>Symbol("fsType"), Symbol("options")=>Symbol("options"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef")) -const _property_types_IoK8sApiCoreV1FlexPersistentVolumeSource = Dict{Symbol,String}(Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("options")=>"Dict{String, String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference") -Base.propertynames(::Type{ IoK8sApiCoreV1FlexPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1FlexPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1FlexPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FlexPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1FlexPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1FlexPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1FlexPersistentVolumeSource) - (getproperty(o, Symbol("driver")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1FlexPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1FlexVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1FlexVolumeSource.jl deleted file mode 100644 index 6922ce02..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1FlexVolumeSource.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. - - IoK8sApiCoreV1FlexVolumeSource(; - driver=nothing, - fsType=nothing, - options=nothing, - readOnly=nothing, - secretRef=nothing, - ) - - - driver::String : Driver is the name of the driver to use for this volume. - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. - - options::Dict{String, String} : Optional: Extra command options if any. - - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretRef::IoK8sApiCoreV1LocalObjectReference : Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -""" -mutable struct IoK8sApiCoreV1FlexVolumeSource <: SwaggerModel - driver::Any # spec type: Union{ Nothing, String } # spec name: driver - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - options::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: options - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - - function IoK8sApiCoreV1FlexVolumeSource(;driver=nothing, fsType=nothing, options=nothing, readOnly=nothing, secretRef=nothing) - o = new() - validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("driver"), driver) - setfield!(o, Symbol("driver"), driver) - validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("options"), options) - setfield!(o, Symbol("options"), options) - validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - o - end -end # type IoK8sApiCoreV1FlexVolumeSource - -const _property_map_IoK8sApiCoreV1FlexVolumeSource = Dict{Symbol,Symbol}(Symbol("driver")=>Symbol("driver"), Symbol("fsType")=>Symbol("fsType"), Symbol("options")=>Symbol("options"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef")) -const _property_types_IoK8sApiCoreV1FlexVolumeSource = Dict{Symbol,String}(Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("options")=>"Dict{String, String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference") -Base.propertynames(::Type{ IoK8sApiCoreV1FlexVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1FlexVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1FlexVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FlexVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1FlexVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1FlexVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1FlexVolumeSource) - (getproperty(o, Symbol("driver")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1FlexVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1FlockerVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1FlockerVolumeSource.jl deleted file mode 100644 index 3512f6cc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1FlockerVolumeSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1FlockerVolumeSource(; - datasetName=nothing, - datasetUUID=nothing, - ) - - - datasetName::String : Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated - - datasetUUID::String : UUID of the dataset. This is unique identifier of a Flocker dataset -""" -mutable struct IoK8sApiCoreV1FlockerVolumeSource <: SwaggerModel - datasetName::Any # spec type: Union{ Nothing, String } # spec name: datasetName - datasetUUID::Any # spec type: Union{ Nothing, String } # spec name: datasetUUID - - function IoK8sApiCoreV1FlockerVolumeSource(;datasetName=nothing, datasetUUID=nothing) - o = new() - validate_property(IoK8sApiCoreV1FlockerVolumeSource, Symbol("datasetName"), datasetName) - setfield!(o, Symbol("datasetName"), datasetName) - validate_property(IoK8sApiCoreV1FlockerVolumeSource, Symbol("datasetUUID"), datasetUUID) - setfield!(o, Symbol("datasetUUID"), datasetUUID) - o - end -end # type IoK8sApiCoreV1FlockerVolumeSource - -const _property_map_IoK8sApiCoreV1FlockerVolumeSource = Dict{Symbol,Symbol}(Symbol("datasetName")=>Symbol("datasetName"), Symbol("datasetUUID")=>Symbol("datasetUUID")) -const _property_types_IoK8sApiCoreV1FlockerVolumeSource = Dict{Symbol,String}(Symbol("datasetName")=>"String", Symbol("datasetUUID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1FlockerVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1FlockerVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1FlockerVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FlockerVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1FlockerVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1FlockerVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1FlockerVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1FlockerVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl deleted file mode 100644 index 69425239..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. - - IoK8sApiCoreV1GCEPersistentDiskVolumeSource(; - fsType=nothing, - partition=nothing, - pdName=nothing, - readOnly=nothing, - ) - - - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - - partition::Int32 : The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - - pdName::String : Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -""" -mutable struct IoK8sApiCoreV1GCEPersistentDiskVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - partition::Any # spec type: Union{ Nothing, Int32 } # spec name: partition - pdName::Any # spec type: Union{ Nothing, String } # spec name: pdName - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiCoreV1GCEPersistentDiskVolumeSource(;fsType=nothing, partition=nothing, pdName=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("partition"), partition) - setfield!(o, Symbol("partition"), partition) - validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("pdName"), pdName) - setfield!(o, Symbol("pdName"), pdName) - validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiCoreV1GCEPersistentDiskVolumeSource - -const _property_map_IoK8sApiCoreV1GCEPersistentDiskVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("partition")=>Symbol("partition"), Symbol("pdName")=>Symbol("pdName"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiCoreV1GCEPersistentDiskVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("partition")=>"Int32", Symbol("pdName")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1GCEPersistentDiskVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1GCEPersistentDiskVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1GCEPersistentDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GCEPersistentDiskVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1GCEPersistentDiskVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1GCEPersistentDiskVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1GCEPersistentDiskVolumeSource) - (getproperty(o, Symbol("pdName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1GCEPersistentDiskVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1GitRepoVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1GitRepoVolumeSource.jl deleted file mode 100644 index 253d88c9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1GitRepoVolumeSource.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. - - IoK8sApiCoreV1GitRepoVolumeSource(; - directory=nothing, - repository=nothing, - revision=nothing, - ) - - - directory::String : Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. - - repository::String : Repository URL - - revision::String : Commit hash for the specified revision. -""" -mutable struct IoK8sApiCoreV1GitRepoVolumeSource <: SwaggerModel - directory::Any # spec type: Union{ Nothing, String } # spec name: directory - repository::Any # spec type: Union{ Nothing, String } # spec name: repository - revision::Any # spec type: Union{ Nothing, String } # spec name: revision - - function IoK8sApiCoreV1GitRepoVolumeSource(;directory=nothing, repository=nothing, revision=nothing) - o = new() - validate_property(IoK8sApiCoreV1GitRepoVolumeSource, Symbol("directory"), directory) - setfield!(o, Symbol("directory"), directory) - validate_property(IoK8sApiCoreV1GitRepoVolumeSource, Symbol("repository"), repository) - setfield!(o, Symbol("repository"), repository) - validate_property(IoK8sApiCoreV1GitRepoVolumeSource, Symbol("revision"), revision) - setfield!(o, Symbol("revision"), revision) - o - end -end # type IoK8sApiCoreV1GitRepoVolumeSource - -const _property_map_IoK8sApiCoreV1GitRepoVolumeSource = Dict{Symbol,Symbol}(Symbol("directory")=>Symbol("directory"), Symbol("repository")=>Symbol("repository"), Symbol("revision")=>Symbol("revision")) -const _property_types_IoK8sApiCoreV1GitRepoVolumeSource = Dict{Symbol,String}(Symbol("directory")=>"String", Symbol("repository")=>"String", Symbol("revision")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1GitRepoVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1GitRepoVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1GitRepoVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GitRepoVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1GitRepoVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1GitRepoVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1GitRepoVolumeSource) - (getproperty(o, Symbol("repository")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1GitRepoVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl deleted file mode 100644 index 5337a08a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1GlusterfsPersistentVolumeSource(; - endpoints=nothing, - endpointsNamespace=nothing, - path=nothing, - readOnly=nothing, - ) - - - endpoints::String : EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - - endpointsNamespace::String : EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - - path::String : Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - - readOnly::Bool : ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod -""" -mutable struct IoK8sApiCoreV1GlusterfsPersistentVolumeSource <: SwaggerModel - endpoints::Any # spec type: Union{ Nothing, String } # spec name: endpoints - endpointsNamespace::Any # spec type: Union{ Nothing, String } # spec name: endpointsNamespace - path::Any # spec type: Union{ Nothing, String } # spec name: path - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiCoreV1GlusterfsPersistentVolumeSource(;endpoints=nothing, endpointsNamespace=nothing, path=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("endpoints"), endpoints) - setfield!(o, Symbol("endpoints"), endpoints) - validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("endpointsNamespace"), endpointsNamespace) - setfield!(o, Symbol("endpointsNamespace"), endpointsNamespace) - validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiCoreV1GlusterfsPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1GlusterfsPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("endpoints")=>Symbol("endpoints"), Symbol("endpointsNamespace")=>Symbol("endpointsNamespace"), Symbol("path")=>Symbol("path"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiCoreV1GlusterfsPersistentVolumeSource = Dict{Symbol,String}(Symbol("endpoints")=>"String", Symbol("endpointsNamespace")=>"String", Symbol("path")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1GlusterfsPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1GlusterfsPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1GlusterfsPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GlusterfsPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1GlusterfsPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1GlusterfsPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1GlusterfsPersistentVolumeSource) - (getproperty(o, Symbol("endpoints")) === nothing) && (return false) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1GlusterfsPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl deleted file mode 100644 index 8a5d6c8a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1GlusterfsVolumeSource(; - endpoints=nothing, - path=nothing, - readOnly=nothing, - ) - - - endpoints::String : EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - - path::String : Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - - readOnly::Bool : ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod -""" -mutable struct IoK8sApiCoreV1GlusterfsVolumeSource <: SwaggerModel - endpoints::Any # spec type: Union{ Nothing, String } # spec name: endpoints - path::Any # spec type: Union{ Nothing, String } # spec name: path - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiCoreV1GlusterfsVolumeSource(;endpoints=nothing, path=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiCoreV1GlusterfsVolumeSource, Symbol("endpoints"), endpoints) - setfield!(o, Symbol("endpoints"), endpoints) - validate_property(IoK8sApiCoreV1GlusterfsVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1GlusterfsVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiCoreV1GlusterfsVolumeSource - -const _property_map_IoK8sApiCoreV1GlusterfsVolumeSource = Dict{Symbol,Symbol}(Symbol("endpoints")=>Symbol("endpoints"), Symbol("path")=>Symbol("path"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiCoreV1GlusterfsVolumeSource = Dict{Symbol,String}(Symbol("endpoints")=>"String", Symbol("path")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1GlusterfsVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1GlusterfsVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1GlusterfsVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GlusterfsVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1GlusterfsVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1GlusterfsVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1GlusterfsVolumeSource) - (getproperty(o, Symbol("endpoints")) === nothing) && (return false) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1GlusterfsVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1HTTPGetAction.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1HTTPGetAction.jl deleted file mode 100644 index 22893708..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1HTTPGetAction.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HTTPGetAction describes an action based on HTTP Get requests. - - IoK8sApiCoreV1HTTPGetAction(; - host=nothing, - httpHeaders=nothing, - path=nothing, - port=nothing, - scheme=nothing, - ) - - - host::String : Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. - - httpHeaders::Vector{IoK8sApiCoreV1HTTPHeader} : Custom headers to set in the request. HTTP allows repeated headers. - - path::String : Path to access on the HTTP server. - - port::IoK8sApimachineryPkgUtilIntstrIntOrString : Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. - - scheme::String : Scheme to use for connecting to the host. Defaults to HTTP. -""" -mutable struct IoK8sApiCoreV1HTTPGetAction <: SwaggerModel - host::Any # spec type: Union{ Nothing, String } # spec name: host - httpHeaders::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1HTTPHeader} } # spec name: httpHeaders - path::Any # spec type: Union{ Nothing, String } # spec name: path - port::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: port - scheme::Any # spec type: Union{ Nothing, String } # spec name: scheme - - function IoK8sApiCoreV1HTTPGetAction(;host=nothing, httpHeaders=nothing, path=nothing, port=nothing, scheme=nothing) - o = new() - validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("host"), host) - setfield!(o, Symbol("host"), host) - validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("httpHeaders"), httpHeaders) - setfield!(o, Symbol("httpHeaders"), httpHeaders) - validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("scheme"), scheme) - setfield!(o, Symbol("scheme"), scheme) - o - end -end # type IoK8sApiCoreV1HTTPGetAction - -const _property_map_IoK8sApiCoreV1HTTPGetAction = Dict{Symbol,Symbol}(Symbol("host")=>Symbol("host"), Symbol("httpHeaders")=>Symbol("httpHeaders"), Symbol("path")=>Symbol("path"), Symbol("port")=>Symbol("port"), Symbol("scheme")=>Symbol("scheme")) -const _property_types_IoK8sApiCoreV1HTTPGetAction = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("httpHeaders")=>"Vector{IoK8sApiCoreV1HTTPHeader}", Symbol("path")=>"String", Symbol("port")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("scheme")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1HTTPGetAction }) = collect(keys(_property_map_IoK8sApiCoreV1HTTPGetAction)) -Swagger.property_type(::Type{ IoK8sApiCoreV1HTTPGetAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HTTPGetAction[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1HTTPGetAction }, property_name::Symbol) = _property_map_IoK8sApiCoreV1HTTPGetAction[property_name] - -function check_required(o::IoK8sApiCoreV1HTTPGetAction) - (getproperty(o, Symbol("port")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1HTTPGetAction }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1HTTPHeader.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1HTTPHeader.jl deleted file mode 100644 index 7923f84c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1HTTPHeader.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HTTPHeader describes a custom header to be used in HTTP probes - - IoK8sApiCoreV1HTTPHeader(; - name=nothing, - value=nothing, - ) - - - name::String : The header field name - - value::String : The header field value -""" -mutable struct IoK8sApiCoreV1HTTPHeader <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - value::Any # spec type: Union{ Nothing, String } # spec name: value - - function IoK8sApiCoreV1HTTPHeader(;name=nothing, value=nothing) - o = new() - validate_property(IoK8sApiCoreV1HTTPHeader, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1HTTPHeader, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiCoreV1HTTPHeader - -const _property_map_IoK8sApiCoreV1HTTPHeader = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiCoreV1HTTPHeader = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1HTTPHeader }) = collect(keys(_property_map_IoK8sApiCoreV1HTTPHeader)) -Swagger.property_type(::Type{ IoK8sApiCoreV1HTTPHeader }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HTTPHeader[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1HTTPHeader }, property_name::Symbol) = _property_map_IoK8sApiCoreV1HTTPHeader[property_name] - -function check_required(o::IoK8sApiCoreV1HTTPHeader) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("value")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1HTTPHeader }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Handler.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Handler.jl deleted file mode 100644 index 338e16ab..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Handler.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Handler defines a specific action that should be taken - - IoK8sApiCoreV1Handler(; - exec=nothing, - httpGet=nothing, - tcpSocket=nothing, - ) - - - exec::IoK8sApiCoreV1ExecAction : One and only one of the following should be specified. Exec specifies the action to take. - - httpGet::IoK8sApiCoreV1HTTPGetAction : HTTPGet specifies the http request to perform. - - tcpSocket::IoK8sApiCoreV1TCPSocketAction : TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported -""" -mutable struct IoK8sApiCoreV1Handler <: SwaggerModel - exec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ExecAction } # spec name: exec - httpGet::Any # spec type: Union{ Nothing, IoK8sApiCoreV1HTTPGetAction } # spec name: httpGet - tcpSocket::Any # spec type: Union{ Nothing, IoK8sApiCoreV1TCPSocketAction } # spec name: tcpSocket - - function IoK8sApiCoreV1Handler(;exec=nothing, httpGet=nothing, tcpSocket=nothing) - o = new() - validate_property(IoK8sApiCoreV1Handler, Symbol("exec"), exec) - setfield!(o, Symbol("exec"), exec) - validate_property(IoK8sApiCoreV1Handler, Symbol("httpGet"), httpGet) - setfield!(o, Symbol("httpGet"), httpGet) - validate_property(IoK8sApiCoreV1Handler, Symbol("tcpSocket"), tcpSocket) - setfield!(o, Symbol("tcpSocket"), tcpSocket) - o - end -end # type IoK8sApiCoreV1Handler - -const _property_map_IoK8sApiCoreV1Handler = Dict{Symbol,Symbol}(Symbol("exec")=>Symbol("exec"), Symbol("httpGet")=>Symbol("httpGet"), Symbol("tcpSocket")=>Symbol("tcpSocket")) -const _property_types_IoK8sApiCoreV1Handler = Dict{Symbol,String}(Symbol("exec")=>"IoK8sApiCoreV1ExecAction", Symbol("httpGet")=>"IoK8sApiCoreV1HTTPGetAction", Symbol("tcpSocket")=>"IoK8sApiCoreV1TCPSocketAction") -Base.propertynames(::Type{ IoK8sApiCoreV1Handler }) = collect(keys(_property_map_IoK8sApiCoreV1Handler)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Handler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Handler[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Handler }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Handler[property_name] - -function check_required(o::IoK8sApiCoreV1Handler) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Handler }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1HostAlias.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1HostAlias.jl deleted file mode 100644 index f936a96c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1HostAlias.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. - - IoK8sApiCoreV1HostAlias(; - hostnames=nothing, - ip=nothing, - ) - - - hostnames::Vector{String} : Hostnames for the above IP address. - - ip::String : IP address of the host file entry. -""" -mutable struct IoK8sApiCoreV1HostAlias <: SwaggerModel - hostnames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: hostnames - ip::Any # spec type: Union{ Nothing, String } # spec name: ip - - function IoK8sApiCoreV1HostAlias(;hostnames=nothing, ip=nothing) - o = new() - validate_property(IoK8sApiCoreV1HostAlias, Symbol("hostnames"), hostnames) - setfield!(o, Symbol("hostnames"), hostnames) - validate_property(IoK8sApiCoreV1HostAlias, Symbol("ip"), ip) - setfield!(o, Symbol("ip"), ip) - o - end -end # type IoK8sApiCoreV1HostAlias - -const _property_map_IoK8sApiCoreV1HostAlias = Dict{Symbol,Symbol}(Symbol("hostnames")=>Symbol("hostnames"), Symbol("ip")=>Symbol("ip")) -const _property_types_IoK8sApiCoreV1HostAlias = Dict{Symbol,String}(Symbol("hostnames")=>"Vector{String}", Symbol("ip")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1HostAlias }) = collect(keys(_property_map_IoK8sApiCoreV1HostAlias)) -Swagger.property_type(::Type{ IoK8sApiCoreV1HostAlias }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HostAlias[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1HostAlias }, property_name::Symbol) = _property_map_IoK8sApiCoreV1HostAlias[property_name] - -function check_required(o::IoK8sApiCoreV1HostAlias) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1HostAlias }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1HostPathVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1HostPathVolumeSource.jl deleted file mode 100644 index 279f2561..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1HostPathVolumeSource.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1HostPathVolumeSource(; - path=nothing, - type=nothing, - ) - - - path::String : Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath - - type::String : Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath -""" -mutable struct IoK8sApiCoreV1HostPathVolumeSource <: SwaggerModel - path::Any # spec type: Union{ Nothing, String } # spec name: path - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1HostPathVolumeSource(;path=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1HostPathVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1HostPathVolumeSource, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1HostPathVolumeSource - -const _property_map_IoK8sApiCoreV1HostPathVolumeSource = Dict{Symbol,Symbol}(Symbol("path")=>Symbol("path"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1HostPathVolumeSource = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1HostPathVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1HostPathVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1HostPathVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HostPathVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1HostPathVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1HostPathVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1HostPathVolumeSource) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1HostPathVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl deleted file mode 100644 index f7d7a425..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl +++ /dev/null @@ -1,88 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1ISCSIPersistentVolumeSource(; - chapAuthDiscovery=nothing, - chapAuthSession=nothing, - fsType=nothing, - initiatorName=nothing, - iqn=nothing, - iscsiInterface=nothing, - lun=nothing, - portals=nothing, - readOnly=nothing, - secretRef=nothing, - targetPortal=nothing, - ) - - - chapAuthDiscovery::Bool : whether support iSCSI Discovery CHAP authentication - - chapAuthSession::Bool : whether support iSCSI Session CHAP authentication - - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi - - initiatorName::String : Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. - - iqn::String : Target iSCSI Qualified Name. - - iscsiInterface::String : iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). - - lun::Int32 : iSCSI Target Lun number. - - portals::Vector{String} : iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). - - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. - - secretRef::IoK8sApiCoreV1SecretReference : CHAP Secret for iSCSI target and initiator authentication - - targetPortal::String : iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). -""" -mutable struct IoK8sApiCoreV1ISCSIPersistentVolumeSource <: SwaggerModel - chapAuthDiscovery::Any # spec type: Union{ Nothing, Bool } # spec name: chapAuthDiscovery - chapAuthSession::Any # spec type: Union{ Nothing, Bool } # spec name: chapAuthSession - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - initiatorName::Any # spec type: Union{ Nothing, String } # spec name: initiatorName - iqn::Any # spec type: Union{ Nothing, String } # spec name: iqn - iscsiInterface::Any # spec type: Union{ Nothing, String } # spec name: iscsiInterface - lun::Any # spec type: Union{ Nothing, Int32 } # spec name: lun - portals::Any # spec type: Union{ Nothing, Vector{String} } # spec name: portals - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: secretRef - targetPortal::Any # spec type: Union{ Nothing, String } # spec name: targetPortal - - function IoK8sApiCoreV1ISCSIPersistentVolumeSource(;chapAuthDiscovery=nothing, chapAuthSession=nothing, fsType=nothing, initiatorName=nothing, iqn=nothing, iscsiInterface=nothing, lun=nothing, portals=nothing, readOnly=nothing, secretRef=nothing, targetPortal=nothing) - o = new() - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("chapAuthDiscovery"), chapAuthDiscovery) - setfield!(o, Symbol("chapAuthDiscovery"), chapAuthDiscovery) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("chapAuthSession"), chapAuthSession) - setfield!(o, Symbol("chapAuthSession"), chapAuthSession) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("initiatorName"), initiatorName) - setfield!(o, Symbol("initiatorName"), initiatorName) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("iqn"), iqn) - setfield!(o, Symbol("iqn"), iqn) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("iscsiInterface"), iscsiInterface) - setfield!(o, Symbol("iscsiInterface"), iscsiInterface) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("lun"), lun) - setfield!(o, Symbol("lun"), lun) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("portals"), portals) - setfield!(o, Symbol("portals"), portals) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("targetPortal"), targetPortal) - setfield!(o, Symbol("targetPortal"), targetPortal) - o - end -end # type IoK8sApiCoreV1ISCSIPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1ISCSIPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("chapAuthDiscovery")=>Symbol("chapAuthDiscovery"), Symbol("chapAuthSession")=>Symbol("chapAuthSession"), Symbol("fsType")=>Symbol("fsType"), Symbol("initiatorName")=>Symbol("initiatorName"), Symbol("iqn")=>Symbol("iqn"), Symbol("iscsiInterface")=>Symbol("iscsiInterface"), Symbol("lun")=>Symbol("lun"), Symbol("portals")=>Symbol("portals"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("targetPortal")=>Symbol("targetPortal")) -const _property_types_IoK8sApiCoreV1ISCSIPersistentVolumeSource = Dict{Symbol,String}(Symbol("chapAuthDiscovery")=>"Bool", Symbol("chapAuthSession")=>"Bool", Symbol("fsType")=>"String", Symbol("initiatorName")=>"String", Symbol("iqn")=>"String", Symbol("iscsiInterface")=>"String", Symbol("lun")=>"Int32", Symbol("portals")=>"Vector{String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("targetPortal")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ISCSIPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1ISCSIPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ISCSIPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ISCSIPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ISCSIPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ISCSIPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1ISCSIPersistentVolumeSource) - (getproperty(o, Symbol("iqn")) === nothing) && (return false) - (getproperty(o, Symbol("lun")) === nothing) && (return false) - (getproperty(o, Symbol("targetPortal")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ISCSIPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ISCSIVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ISCSIVolumeSource.jl deleted file mode 100644 index 6f71c23b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ISCSIVolumeSource.jl +++ /dev/null @@ -1,88 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1ISCSIVolumeSource(; - chapAuthDiscovery=nothing, - chapAuthSession=nothing, - fsType=nothing, - initiatorName=nothing, - iqn=nothing, - iscsiInterface=nothing, - lun=nothing, - portals=nothing, - readOnly=nothing, - secretRef=nothing, - targetPortal=nothing, - ) - - - chapAuthDiscovery::Bool : whether support iSCSI Discovery CHAP authentication - - chapAuthSession::Bool : whether support iSCSI Session CHAP authentication - - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi - - initiatorName::String : Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. - - iqn::String : Target iSCSI Qualified Name. - - iscsiInterface::String : iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). - - lun::Int32 : iSCSI Target Lun number. - - portals::Vector{String} : iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). - - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. - - secretRef::IoK8sApiCoreV1LocalObjectReference : CHAP Secret for iSCSI target and initiator authentication - - targetPortal::String : iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). -""" -mutable struct IoK8sApiCoreV1ISCSIVolumeSource <: SwaggerModel - chapAuthDiscovery::Any # spec type: Union{ Nothing, Bool } # spec name: chapAuthDiscovery - chapAuthSession::Any # spec type: Union{ Nothing, Bool } # spec name: chapAuthSession - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - initiatorName::Any # spec type: Union{ Nothing, String } # spec name: initiatorName - iqn::Any # spec type: Union{ Nothing, String } # spec name: iqn - iscsiInterface::Any # spec type: Union{ Nothing, String } # spec name: iscsiInterface - lun::Any # spec type: Union{ Nothing, Int32 } # spec name: lun - portals::Any # spec type: Union{ Nothing, Vector{String} } # spec name: portals - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - targetPortal::Any # spec type: Union{ Nothing, String } # spec name: targetPortal - - function IoK8sApiCoreV1ISCSIVolumeSource(;chapAuthDiscovery=nothing, chapAuthSession=nothing, fsType=nothing, initiatorName=nothing, iqn=nothing, iscsiInterface=nothing, lun=nothing, portals=nothing, readOnly=nothing, secretRef=nothing, targetPortal=nothing) - o = new() - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("chapAuthDiscovery"), chapAuthDiscovery) - setfield!(o, Symbol("chapAuthDiscovery"), chapAuthDiscovery) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("chapAuthSession"), chapAuthSession) - setfield!(o, Symbol("chapAuthSession"), chapAuthSession) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("initiatorName"), initiatorName) - setfield!(o, Symbol("initiatorName"), initiatorName) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("iqn"), iqn) - setfield!(o, Symbol("iqn"), iqn) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("iscsiInterface"), iscsiInterface) - setfield!(o, Symbol("iscsiInterface"), iscsiInterface) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("lun"), lun) - setfield!(o, Symbol("lun"), lun) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("portals"), portals) - setfield!(o, Symbol("portals"), portals) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("targetPortal"), targetPortal) - setfield!(o, Symbol("targetPortal"), targetPortal) - o - end -end # type IoK8sApiCoreV1ISCSIVolumeSource - -const _property_map_IoK8sApiCoreV1ISCSIVolumeSource = Dict{Symbol,Symbol}(Symbol("chapAuthDiscovery")=>Symbol("chapAuthDiscovery"), Symbol("chapAuthSession")=>Symbol("chapAuthSession"), Symbol("fsType")=>Symbol("fsType"), Symbol("initiatorName")=>Symbol("initiatorName"), Symbol("iqn")=>Symbol("iqn"), Symbol("iscsiInterface")=>Symbol("iscsiInterface"), Symbol("lun")=>Symbol("lun"), Symbol("portals")=>Symbol("portals"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("targetPortal")=>Symbol("targetPortal")) -const _property_types_IoK8sApiCoreV1ISCSIVolumeSource = Dict{Symbol,String}(Symbol("chapAuthDiscovery")=>"Bool", Symbol("chapAuthSession")=>"Bool", Symbol("fsType")=>"String", Symbol("initiatorName")=>"String", Symbol("iqn")=>"String", Symbol("iscsiInterface")=>"String", Symbol("lun")=>"Int32", Symbol("portals")=>"Vector{String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("targetPortal")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ISCSIVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1ISCSIVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ISCSIVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ISCSIVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ISCSIVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ISCSIVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1ISCSIVolumeSource) - (getproperty(o, Symbol("iqn")) === nothing) && (return false) - (getproperty(o, Symbol("lun")) === nothing) && (return false) - (getproperty(o, Symbol("targetPortal")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ISCSIVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1KeyToPath.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1KeyToPath.jl deleted file mode 100644 index 2e291a3b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1KeyToPath.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Maps a string key to a path within a volume. - - IoK8sApiCoreV1KeyToPath(; - key=nothing, - mode=nothing, - path=nothing, - ) - - - key::String : The key to project. - - mode::Int32 : Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. - - path::String : The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. -""" -mutable struct IoK8sApiCoreV1KeyToPath <: SwaggerModel - key::Any # spec type: Union{ Nothing, String } # spec name: key - mode::Any # spec type: Union{ Nothing, Int32 } # spec name: mode - path::Any # spec type: Union{ Nothing, String } # spec name: path - - function IoK8sApiCoreV1KeyToPath(;key=nothing, mode=nothing, path=nothing) - o = new() - validate_property(IoK8sApiCoreV1KeyToPath, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1KeyToPath, Symbol("mode"), mode) - setfield!(o, Symbol("mode"), mode) - validate_property(IoK8sApiCoreV1KeyToPath, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - o - end -end # type IoK8sApiCoreV1KeyToPath - -const _property_map_IoK8sApiCoreV1KeyToPath = Dict{Symbol,Symbol}(Symbol("key")=>Symbol("key"), Symbol("mode")=>Symbol("mode"), Symbol("path")=>Symbol("path")) -const _property_types_IoK8sApiCoreV1KeyToPath = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("mode")=>"Int32", Symbol("path")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1KeyToPath }) = collect(keys(_property_map_IoK8sApiCoreV1KeyToPath)) -Swagger.property_type(::Type{ IoK8sApiCoreV1KeyToPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1KeyToPath[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1KeyToPath }, property_name::Symbol) = _property_map_IoK8sApiCoreV1KeyToPath[property_name] - -function check_required(o::IoK8sApiCoreV1KeyToPath) - (getproperty(o, Symbol("key")) === nothing) && (return false) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1KeyToPath }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Lifecycle.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Lifecycle.jl deleted file mode 100644 index e5515f22..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Lifecycle.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. - - IoK8sApiCoreV1Lifecycle(; - postStart=nothing, - preStop=nothing, - ) - - - postStart::IoK8sApiCoreV1Handler : PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks - - preStop::IoK8sApiCoreV1Handler : PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -""" -mutable struct IoK8sApiCoreV1Lifecycle <: SwaggerModel - postStart::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Handler } # spec name: postStart - preStop::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Handler } # spec name: preStop - - function IoK8sApiCoreV1Lifecycle(;postStart=nothing, preStop=nothing) - o = new() - validate_property(IoK8sApiCoreV1Lifecycle, Symbol("postStart"), postStart) - setfield!(o, Symbol("postStart"), postStart) - validate_property(IoK8sApiCoreV1Lifecycle, Symbol("preStop"), preStop) - setfield!(o, Symbol("preStop"), preStop) - o - end -end # type IoK8sApiCoreV1Lifecycle - -const _property_map_IoK8sApiCoreV1Lifecycle = Dict{Symbol,Symbol}(Symbol("postStart")=>Symbol("postStart"), Symbol("preStop")=>Symbol("preStop")) -const _property_types_IoK8sApiCoreV1Lifecycle = Dict{Symbol,String}(Symbol("postStart")=>"IoK8sApiCoreV1Handler", Symbol("preStop")=>"IoK8sApiCoreV1Handler") -Base.propertynames(::Type{ IoK8sApiCoreV1Lifecycle }) = collect(keys(_property_map_IoK8sApiCoreV1Lifecycle)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Lifecycle }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Lifecycle[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Lifecycle }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Lifecycle[property_name] - -function check_required(o::IoK8sApiCoreV1Lifecycle) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Lifecycle }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRange.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRange.jl deleted file mode 100644 index 7bbb4ee9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRange.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LimitRange sets resource usage limits for each kind of resource in a Namespace. - - IoK8sApiCoreV1LimitRange(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1LimitRangeSpec : Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1LimitRange <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LimitRangeSpec } # spec name: spec - - function IoK8sApiCoreV1LimitRange(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiCoreV1LimitRange, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1LimitRange, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1LimitRange, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1LimitRange, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiCoreV1LimitRange - -const _property_map_IoK8sApiCoreV1LimitRange = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiCoreV1LimitRange = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1LimitRangeSpec") -Base.propertynames(::Type{ IoK8sApiCoreV1LimitRange }) = collect(keys(_property_map_IoK8sApiCoreV1LimitRange)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LimitRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRange[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LimitRange }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LimitRange[property_name] - -function check_required(o::IoK8sApiCoreV1LimitRange) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LimitRange }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeItem.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeItem.jl deleted file mode 100644 index 8453dcf1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeItem.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LimitRangeItem defines a min/max usage limit for any resource that matches on kind. - - IoK8sApiCoreV1LimitRangeItem(; - default=nothing, - defaultRequest=nothing, - max=nothing, - maxLimitRequestRatio=nothing, - min=nothing, - type=nothing, - ) - - - default::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Default resource requirement limit value by resource name if resource limit is omitted. - - defaultRequest::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. - - max::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Max usage constraints on this kind by resource name. - - maxLimitRequestRatio::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. - - min::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Min usage constraints on this kind by resource name. - - type::String : Type of resource that this limit applies to. -""" -mutable struct IoK8sApiCoreV1LimitRangeItem <: SwaggerModel - default::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: default - defaultRequest::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: defaultRequest - max::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: max - maxLimitRequestRatio::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: maxLimitRequestRatio - min::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: min - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1LimitRangeItem(;default=nothing, defaultRequest=nothing, max=nothing, maxLimitRequestRatio=nothing, min=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("default"), default) - setfield!(o, Symbol("default"), default) - validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("defaultRequest"), defaultRequest) - setfield!(o, Symbol("defaultRequest"), defaultRequest) - validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("max"), max) - setfield!(o, Symbol("max"), max) - validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("maxLimitRequestRatio"), maxLimitRequestRatio) - setfield!(o, Symbol("maxLimitRequestRatio"), maxLimitRequestRatio) - validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("min"), min) - setfield!(o, Symbol("min"), min) - validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1LimitRangeItem - -const _property_map_IoK8sApiCoreV1LimitRangeItem = Dict{Symbol,Symbol}(Symbol("default")=>Symbol("default"), Symbol("defaultRequest")=>Symbol("defaultRequest"), Symbol("max")=>Symbol("max"), Symbol("maxLimitRequestRatio")=>Symbol("maxLimitRequestRatio"), Symbol("min")=>Symbol("min"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1LimitRangeItem = Dict{Symbol,String}(Symbol("default")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("defaultRequest")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("max")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("maxLimitRequestRatio")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("min")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1LimitRangeItem }) = collect(keys(_property_map_IoK8sApiCoreV1LimitRangeItem)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LimitRangeItem }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRangeItem[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LimitRangeItem }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LimitRangeItem[property_name] - -function check_required(o::IoK8sApiCoreV1LimitRangeItem) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LimitRangeItem }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeList.jl deleted file mode 100644 index 30bd8af5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LimitRangeList is a list of LimitRange items. - - IoK8sApiCoreV1LimitRangeList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1LimitRange} : Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1LimitRangeList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LimitRange} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1LimitRangeList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1LimitRangeList - -const _property_map_IoK8sApiCoreV1LimitRangeList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1LimitRangeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1LimitRange}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1LimitRangeList }) = collect(keys(_property_map_IoK8sApiCoreV1LimitRangeList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LimitRangeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRangeList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LimitRangeList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LimitRangeList[property_name] - -function check_required(o::IoK8sApiCoreV1LimitRangeList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LimitRangeList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeSpec.jl deleted file mode 100644 index f2211170..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LimitRangeSpec.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LimitRangeSpec defines a min/max usage limit for resources that match on kind. - - IoK8sApiCoreV1LimitRangeSpec(; - limits=nothing, - ) - - - limits::Vector{IoK8sApiCoreV1LimitRangeItem} : Limits is the list of LimitRangeItem objects that are enforced. -""" -mutable struct IoK8sApiCoreV1LimitRangeSpec <: SwaggerModel - limits::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LimitRangeItem} } # spec name: limits - - function IoK8sApiCoreV1LimitRangeSpec(;limits=nothing) - o = new() - validate_property(IoK8sApiCoreV1LimitRangeSpec, Symbol("limits"), limits) - setfield!(o, Symbol("limits"), limits) - o - end -end # type IoK8sApiCoreV1LimitRangeSpec - -const _property_map_IoK8sApiCoreV1LimitRangeSpec = Dict{Symbol,Symbol}(Symbol("limits")=>Symbol("limits")) -const _property_types_IoK8sApiCoreV1LimitRangeSpec = Dict{Symbol,String}(Symbol("limits")=>"Vector{IoK8sApiCoreV1LimitRangeItem}") -Base.propertynames(::Type{ IoK8sApiCoreV1LimitRangeSpec }) = collect(keys(_property_map_IoK8sApiCoreV1LimitRangeSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LimitRangeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRangeSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LimitRangeSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LimitRangeSpec[property_name] - -function check_required(o::IoK8sApiCoreV1LimitRangeSpec) - (getproperty(o, Symbol("limits")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LimitRangeSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LoadBalancerIngress.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LoadBalancerIngress.jl deleted file mode 100644 index d4c71f4a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LoadBalancerIngress.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. - - IoK8sApiCoreV1LoadBalancerIngress(; - hostname=nothing, - ip=nothing, - ) - - - hostname::String : Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) - - ip::String : IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) -""" -mutable struct IoK8sApiCoreV1LoadBalancerIngress <: SwaggerModel - hostname::Any # spec type: Union{ Nothing, String } # spec name: hostname - ip::Any # spec type: Union{ Nothing, String } # spec name: ip - - function IoK8sApiCoreV1LoadBalancerIngress(;hostname=nothing, ip=nothing) - o = new() - validate_property(IoK8sApiCoreV1LoadBalancerIngress, Symbol("hostname"), hostname) - setfield!(o, Symbol("hostname"), hostname) - validate_property(IoK8sApiCoreV1LoadBalancerIngress, Symbol("ip"), ip) - setfield!(o, Symbol("ip"), ip) - o - end -end # type IoK8sApiCoreV1LoadBalancerIngress - -const _property_map_IoK8sApiCoreV1LoadBalancerIngress = Dict{Symbol,Symbol}(Symbol("hostname")=>Symbol("hostname"), Symbol("ip")=>Symbol("ip")) -const _property_types_IoK8sApiCoreV1LoadBalancerIngress = Dict{Symbol,String}(Symbol("hostname")=>"String", Symbol("ip")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1LoadBalancerIngress }) = collect(keys(_property_map_IoK8sApiCoreV1LoadBalancerIngress)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LoadBalancerIngress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LoadBalancerIngress[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LoadBalancerIngress }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LoadBalancerIngress[property_name] - -function check_required(o::IoK8sApiCoreV1LoadBalancerIngress) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LoadBalancerIngress }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LoadBalancerStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LoadBalancerStatus.jl deleted file mode 100644 index 4ff05c5c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LoadBalancerStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LoadBalancerStatus represents the status of a load-balancer. - - IoK8sApiCoreV1LoadBalancerStatus(; - ingress=nothing, - ) - - - ingress::Vector{IoK8sApiCoreV1LoadBalancerIngress} : Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. -""" -mutable struct IoK8sApiCoreV1LoadBalancerStatus <: SwaggerModel - ingress::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LoadBalancerIngress} } # spec name: ingress - - function IoK8sApiCoreV1LoadBalancerStatus(;ingress=nothing) - o = new() - validate_property(IoK8sApiCoreV1LoadBalancerStatus, Symbol("ingress"), ingress) - setfield!(o, Symbol("ingress"), ingress) - o - end -end # type IoK8sApiCoreV1LoadBalancerStatus - -const _property_map_IoK8sApiCoreV1LoadBalancerStatus = Dict{Symbol,Symbol}(Symbol("ingress")=>Symbol("ingress")) -const _property_types_IoK8sApiCoreV1LoadBalancerStatus = Dict{Symbol,String}(Symbol("ingress")=>"Vector{IoK8sApiCoreV1LoadBalancerIngress}") -Base.propertynames(::Type{ IoK8sApiCoreV1LoadBalancerStatus }) = collect(keys(_property_map_IoK8sApiCoreV1LoadBalancerStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LoadBalancerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LoadBalancerStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LoadBalancerStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LoadBalancerStatus[property_name] - -function check_required(o::IoK8sApiCoreV1LoadBalancerStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LoadBalancerStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LocalObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LocalObjectReference.jl deleted file mode 100644 index 1c053b31..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LocalObjectReference.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. - - IoK8sApiCoreV1LocalObjectReference(; - name=nothing, - ) - - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -""" -mutable struct IoK8sApiCoreV1LocalObjectReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiCoreV1LocalObjectReference(;name=nothing) - o = new() - validate_property(IoK8sApiCoreV1LocalObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiCoreV1LocalObjectReference - -const _property_map_IoK8sApiCoreV1LocalObjectReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiCoreV1LocalObjectReference = Dict{Symbol,String}(Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1LocalObjectReference }) = collect(keys(_property_map_IoK8sApiCoreV1LocalObjectReference)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LocalObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LocalObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LocalObjectReference }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LocalObjectReference[property_name] - -function check_required(o::IoK8sApiCoreV1LocalObjectReference) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LocalObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1LocalVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1LocalVolumeSource.jl deleted file mode 100644 index 0c2e5ebf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1LocalVolumeSource.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Local represents directly-attached storage with node affinity (Beta feature) - - IoK8sApiCoreV1LocalVolumeSource(; - fsType=nothing, - path=nothing, - ) - - - fsType::String : Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified. - - path::String : The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). -""" -mutable struct IoK8sApiCoreV1LocalVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - path::Any # spec type: Union{ Nothing, String } # spec name: path - - function IoK8sApiCoreV1LocalVolumeSource(;fsType=nothing, path=nothing) - o = new() - validate_property(IoK8sApiCoreV1LocalVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1LocalVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - o - end -end # type IoK8sApiCoreV1LocalVolumeSource - -const _property_map_IoK8sApiCoreV1LocalVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("path")=>Symbol("path")) -const _property_types_IoK8sApiCoreV1LocalVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("path")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1LocalVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1LocalVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1LocalVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LocalVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1LocalVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1LocalVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1LocalVolumeSource) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1LocalVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NFSVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NFSVolumeSource.jl deleted file mode 100644 index b7126e89..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NFSVolumeSource.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1NFSVolumeSource(; - path=nothing, - readOnly=nothing, - server=nothing, - ) - - - path::String : Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - - readOnly::Bool : ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - - server::String : Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -""" -mutable struct IoK8sApiCoreV1NFSVolumeSource <: SwaggerModel - path::Any # spec type: Union{ Nothing, String } # spec name: path - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - server::Any # spec type: Union{ Nothing, String } # spec name: server - - function IoK8sApiCoreV1NFSVolumeSource(;path=nothing, readOnly=nothing, server=nothing) - o = new() - validate_property(IoK8sApiCoreV1NFSVolumeSource, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiCoreV1NFSVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1NFSVolumeSource, Symbol("server"), server) - setfield!(o, Symbol("server"), server) - o - end -end # type IoK8sApiCoreV1NFSVolumeSource - -const _property_map_IoK8sApiCoreV1NFSVolumeSource = Dict{Symbol,Symbol}(Symbol("path")=>Symbol("path"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("server")=>Symbol("server")) -const _property_types_IoK8sApiCoreV1NFSVolumeSource = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("readOnly")=>"Bool", Symbol("server")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1NFSVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1NFSVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NFSVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NFSVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NFSVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NFSVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1NFSVolumeSource) - (getproperty(o, Symbol("path")) === nothing) && (return false) - (getproperty(o, Symbol("server")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NFSVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Namespace.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Namespace.jl deleted file mode 100644 index 34ce2991..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Namespace.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Namespace provides a scope for Names. Use of multiple namespaces is optional. - - IoK8sApiCoreV1Namespace(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1NamespaceSpec : Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiCoreV1NamespaceStatus : Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1Namespace <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NamespaceSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NamespaceStatus } # spec name: status - - function IoK8sApiCoreV1Namespace(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1Namespace, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Namespace, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Namespace, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Namespace, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1Namespace, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1Namespace - -const _property_map_IoK8sApiCoreV1Namespace = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1Namespace = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1NamespaceSpec", Symbol("status")=>"IoK8sApiCoreV1NamespaceStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1Namespace }) = collect(keys(_property_map_IoK8sApiCoreV1Namespace)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Namespace }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Namespace[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Namespace }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Namespace[property_name] - -function check_required(o::IoK8sApiCoreV1Namespace) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Namespace }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceCondition.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceCondition.jl deleted file mode 100644 index 65435e1f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NamespaceCondition contains details about state of namespace. - - IoK8sApiCoreV1NamespaceCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time - - message::String - - reason::String - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of namespace controller condition. -""" -mutable struct IoK8sApiCoreV1NamespaceCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1NamespaceCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1NamespaceCondition - -const _property_map_IoK8sApiCoreV1NamespaceCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1NamespaceCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1NamespaceCondition }) = collect(keys(_property_map_IoK8sApiCoreV1NamespaceCondition)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NamespaceCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NamespaceCondition }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NamespaceCondition[property_name] - -function check_required(o::IoK8sApiCoreV1NamespaceCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NamespaceCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceList.jl deleted file mode 100644 index cb9a9ad7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NamespaceList is a list of Namespaces. - - IoK8sApiCoreV1NamespaceList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Namespace} : Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1NamespaceList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Namespace} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1NamespaceList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1NamespaceList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1NamespaceList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1NamespaceList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1NamespaceList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1NamespaceList - -const _property_map_IoK8sApiCoreV1NamespaceList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1NamespaceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Namespace}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1NamespaceList }) = collect(keys(_property_map_IoK8sApiCoreV1NamespaceList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NamespaceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NamespaceList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NamespaceList[property_name] - -function check_required(o::IoK8sApiCoreV1NamespaceList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NamespaceList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceSpec.jl deleted file mode 100644 index f394d281..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceSpec.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NamespaceSpec describes the attributes on a Namespace. - - IoK8sApiCoreV1NamespaceSpec(; - finalizers=nothing, - ) - - - finalizers::Vector{String} : Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ -""" -mutable struct IoK8sApiCoreV1NamespaceSpec <: SwaggerModel - finalizers::Any # spec type: Union{ Nothing, Vector{String} } # spec name: finalizers - - function IoK8sApiCoreV1NamespaceSpec(;finalizers=nothing) - o = new() - validate_property(IoK8sApiCoreV1NamespaceSpec, Symbol("finalizers"), finalizers) - setfield!(o, Symbol("finalizers"), finalizers) - o - end -end # type IoK8sApiCoreV1NamespaceSpec - -const _property_map_IoK8sApiCoreV1NamespaceSpec = Dict{Symbol,Symbol}(Symbol("finalizers")=>Symbol("finalizers")) -const _property_types_IoK8sApiCoreV1NamespaceSpec = Dict{Symbol,String}(Symbol("finalizers")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1NamespaceSpec }) = collect(keys(_property_map_IoK8sApiCoreV1NamespaceSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NamespaceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NamespaceSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NamespaceSpec[property_name] - -function check_required(o::IoK8sApiCoreV1NamespaceSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NamespaceSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceStatus.jl deleted file mode 100644 index 1c22d8da..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NamespaceStatus.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NamespaceStatus is information about the current status of a Namespace. - - IoK8sApiCoreV1NamespaceStatus(; - conditions=nothing, - phase=nothing, - ) - - - conditions::Vector{IoK8sApiCoreV1NamespaceCondition} : Represents the latest available observations of a namespace's current state. - - phase::String : Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ -""" -mutable struct IoK8sApiCoreV1NamespaceStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NamespaceCondition} } # spec name: conditions - phase::Any # spec type: Union{ Nothing, String } # spec name: phase - - function IoK8sApiCoreV1NamespaceStatus(;conditions=nothing, phase=nothing) - o = new() - validate_property(IoK8sApiCoreV1NamespaceStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiCoreV1NamespaceStatus, Symbol("phase"), phase) - setfield!(o, Symbol("phase"), phase) - o - end -end # type IoK8sApiCoreV1NamespaceStatus - -const _property_map_IoK8sApiCoreV1NamespaceStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions"), Symbol("phase")=>Symbol("phase")) -const _property_types_IoK8sApiCoreV1NamespaceStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiCoreV1NamespaceCondition}", Symbol("phase")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1NamespaceStatus }) = collect(keys(_property_map_IoK8sApiCoreV1NamespaceStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NamespaceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NamespaceStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NamespaceStatus[property_name] - -function check_required(o::IoK8sApiCoreV1NamespaceStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NamespaceStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Node.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Node.jl deleted file mode 100644 index 7ee47a3d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Node.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). - - IoK8sApiCoreV1Node(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1NodeSpec : Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiCoreV1NodeStatus : Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1Node <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeStatus } # spec name: status - - function IoK8sApiCoreV1Node(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1Node, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Node, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Node, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Node, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1Node, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1Node - -const _property_map_IoK8sApiCoreV1Node = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1Node = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1NodeSpec", Symbol("status")=>"IoK8sApiCoreV1NodeStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1Node }) = collect(keys(_property_map_IoK8sApiCoreV1Node)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Node }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Node[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Node }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Node[property_name] - -function check_required(o::IoK8sApiCoreV1Node) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Node }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeAddress.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeAddress.jl deleted file mode 100644 index d683cc16..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeAddress.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeAddress contains information for the node's address. - - IoK8sApiCoreV1NodeAddress(; - address=nothing, - type=nothing, - ) - - - address::String : The node address. - - type::String : Node address type, one of Hostname, ExternalIP or InternalIP. -""" -mutable struct IoK8sApiCoreV1NodeAddress <: SwaggerModel - address::Any # spec type: Union{ Nothing, String } # spec name: address - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1NodeAddress(;address=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeAddress, Symbol("address"), address) - setfield!(o, Symbol("address"), address) - validate_property(IoK8sApiCoreV1NodeAddress, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1NodeAddress - -const _property_map_IoK8sApiCoreV1NodeAddress = Dict{Symbol,Symbol}(Symbol("address")=>Symbol("address"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1NodeAddress = Dict{Symbol,String}(Symbol("address")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeAddress }) = collect(keys(_property_map_IoK8sApiCoreV1NodeAddress)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeAddress[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeAddress }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeAddress[property_name] - -function check_required(o::IoK8sApiCoreV1NodeAddress) - (getproperty(o, Symbol("address")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeAddress }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeAffinity.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeAffinity.jl deleted file mode 100644 index 7ba18d8c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeAffinity.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Node affinity is a group of node affinity scheduling rules. - - IoK8sApiCoreV1NodeAffinity(; - preferredDuringSchedulingIgnoredDuringExecution=nothing, - requiredDuringSchedulingIgnoredDuringExecution=nothing, - ) - - - preferredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1PreferredSchedulingTerm} : The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. - - requiredDuringSchedulingIgnoredDuringExecution::IoK8sApiCoreV1NodeSelector : If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -""" -mutable struct IoK8sApiCoreV1NodeAffinity <: SwaggerModel - preferredDuringSchedulingIgnoredDuringExecution::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PreferredSchedulingTerm} } # spec name: preferredDuringSchedulingIgnoredDuringExecution - requiredDuringSchedulingIgnoredDuringExecution::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSelector } # spec name: requiredDuringSchedulingIgnoredDuringExecution - - function IoK8sApiCoreV1NodeAffinity(;preferredDuringSchedulingIgnoredDuringExecution=nothing, requiredDuringSchedulingIgnoredDuringExecution=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeAffinity, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) - setfield!(o, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) - validate_property(IoK8sApiCoreV1NodeAffinity, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) - setfield!(o, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) - o - end -end # type IoK8sApiCoreV1NodeAffinity - -const _property_map_IoK8sApiCoreV1NodeAffinity = Dict{Symbol,Symbol}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>Symbol("preferredDuringSchedulingIgnoredDuringExecution"), Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>Symbol("requiredDuringSchedulingIgnoredDuringExecution")) -const _property_types_IoK8sApiCoreV1NodeAffinity = Dict{Symbol,String}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1PreferredSchedulingTerm}", Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>"IoK8sApiCoreV1NodeSelector") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeAffinity }) = collect(keys(_property_map_IoK8sApiCoreV1NodeAffinity)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeAffinity[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeAffinity }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeAffinity[property_name] - -function check_required(o::IoK8sApiCoreV1NodeAffinity) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeAffinity }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeCondition.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeCondition.jl deleted file mode 100644 index 8588cb2d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeCondition contains condition information for a node. - - IoK8sApiCoreV1NodeCondition(; - lastHeartbeatTime=nothing, - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastHeartbeatTime::IoK8sApimachineryPkgApisMetaV1Time : Last time we got an update on a given condition. - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transit from one status to another. - - message::String : Human readable message indicating details about last transition. - - reason::String : (brief) reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of node condition. -""" -mutable struct IoK8sApiCoreV1NodeCondition <: SwaggerModel - lastHeartbeatTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastHeartbeatTime - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1NodeCondition(;lastHeartbeatTime=nothing, lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeCondition, Symbol("lastHeartbeatTime"), lastHeartbeatTime) - setfield!(o, Symbol("lastHeartbeatTime"), lastHeartbeatTime) - validate_property(IoK8sApiCoreV1NodeCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiCoreV1NodeCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1NodeCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1NodeCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiCoreV1NodeCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1NodeCondition - -const _property_map_IoK8sApiCoreV1NodeCondition = Dict{Symbol,Symbol}(Symbol("lastHeartbeatTime")=>Symbol("lastHeartbeatTime"), Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1NodeCondition = Dict{Symbol,String}(Symbol("lastHeartbeatTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeCondition }) = collect(keys(_property_map_IoK8sApiCoreV1NodeCondition)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeCondition }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeCondition[property_name] - -function check_required(o::IoK8sApiCoreV1NodeCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeConfigSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeConfigSource.jl deleted file mode 100644 index 576f3121..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeConfigSource.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. - - IoK8sApiCoreV1NodeConfigSource(; - configMap=nothing, - ) - - - configMap::IoK8sApiCoreV1ConfigMapNodeConfigSource : ConfigMap is a reference to a Node's ConfigMap -""" -mutable struct IoK8sApiCoreV1NodeConfigSource <: SwaggerModel - configMap::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapNodeConfigSource } # spec name: configMap - - function IoK8sApiCoreV1NodeConfigSource(;configMap=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeConfigSource, Symbol("configMap"), configMap) - setfield!(o, Symbol("configMap"), configMap) - o - end -end # type IoK8sApiCoreV1NodeConfigSource - -const _property_map_IoK8sApiCoreV1NodeConfigSource = Dict{Symbol,Symbol}(Symbol("configMap")=>Symbol("configMap")) -const _property_types_IoK8sApiCoreV1NodeConfigSource = Dict{Symbol,String}(Symbol("configMap")=>"IoK8sApiCoreV1ConfigMapNodeConfigSource") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeConfigSource }) = collect(keys(_property_map_IoK8sApiCoreV1NodeConfigSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeConfigSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeConfigSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeConfigSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeConfigSource[property_name] - -function check_required(o::IoK8sApiCoreV1NodeConfigSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeConfigSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeConfigStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeConfigStatus.jl deleted file mode 100644 index 5690c8e7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeConfigStatus.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. - - IoK8sApiCoreV1NodeConfigStatus(; - active=nothing, - assigned=nothing, - error=nothing, - lastKnownGood=nothing, - ) - - - active::IoK8sApiCoreV1NodeConfigSource : Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. - - assigned::IoK8sApiCoreV1NodeConfigSource : Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. - - error::String : Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. - - lastKnownGood::IoK8sApiCoreV1NodeConfigSource : LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. -""" -mutable struct IoK8sApiCoreV1NodeConfigStatus <: SwaggerModel - active::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } # spec name: active - assigned::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } # spec name: assigned - error::Any # spec type: Union{ Nothing, String } # spec name: error - lastKnownGood::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } # spec name: lastKnownGood - - function IoK8sApiCoreV1NodeConfigStatus(;active=nothing, assigned=nothing, error=nothing, lastKnownGood=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("active"), active) - setfield!(o, Symbol("active"), active) - validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("assigned"), assigned) - setfield!(o, Symbol("assigned"), assigned) - validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("error"), error) - setfield!(o, Symbol("error"), error) - validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("lastKnownGood"), lastKnownGood) - setfield!(o, Symbol("lastKnownGood"), lastKnownGood) - o - end -end # type IoK8sApiCoreV1NodeConfigStatus - -const _property_map_IoK8sApiCoreV1NodeConfigStatus = Dict{Symbol,Symbol}(Symbol("active")=>Symbol("active"), Symbol("assigned")=>Symbol("assigned"), Symbol("error")=>Symbol("error"), Symbol("lastKnownGood")=>Symbol("lastKnownGood")) -const _property_types_IoK8sApiCoreV1NodeConfigStatus = Dict{Symbol,String}(Symbol("active")=>"IoK8sApiCoreV1NodeConfigSource", Symbol("assigned")=>"IoK8sApiCoreV1NodeConfigSource", Symbol("error")=>"String", Symbol("lastKnownGood")=>"IoK8sApiCoreV1NodeConfigSource") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeConfigStatus }) = collect(keys(_property_map_IoK8sApiCoreV1NodeConfigStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeConfigStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeConfigStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeConfigStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeConfigStatus[property_name] - -function check_required(o::IoK8sApiCoreV1NodeConfigStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeConfigStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl deleted file mode 100644 index d557cfb8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeDaemonEndpoints lists ports opened by daemons running on the Node. - - IoK8sApiCoreV1NodeDaemonEndpoints(; - kubeletEndpoint=nothing, - ) - - - kubeletEndpoint::IoK8sApiCoreV1DaemonEndpoint : Endpoint on which Kubelet is listening. -""" -mutable struct IoK8sApiCoreV1NodeDaemonEndpoints <: SwaggerModel - kubeletEndpoint::Any # spec type: Union{ Nothing, IoK8sApiCoreV1DaemonEndpoint } # spec name: kubeletEndpoint - - function IoK8sApiCoreV1NodeDaemonEndpoints(;kubeletEndpoint=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeDaemonEndpoints, Symbol("kubeletEndpoint"), kubeletEndpoint) - setfield!(o, Symbol("kubeletEndpoint"), kubeletEndpoint) - o - end -end # type IoK8sApiCoreV1NodeDaemonEndpoints - -const _property_map_IoK8sApiCoreV1NodeDaemonEndpoints = Dict{Symbol,Symbol}(Symbol("kubeletEndpoint")=>Symbol("kubeletEndpoint")) -const _property_types_IoK8sApiCoreV1NodeDaemonEndpoints = Dict{Symbol,String}(Symbol("kubeletEndpoint")=>"IoK8sApiCoreV1DaemonEndpoint") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeDaemonEndpoints }) = collect(keys(_property_map_IoK8sApiCoreV1NodeDaemonEndpoints)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeDaemonEndpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeDaemonEndpoints[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeDaemonEndpoints }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeDaemonEndpoints[property_name] - -function check_required(o::IoK8sApiCoreV1NodeDaemonEndpoints) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeDaemonEndpoints }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeList.jl deleted file mode 100644 index 16626e93..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeList is the whole list of all Nodes which have been registered with master. - - IoK8sApiCoreV1NodeList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Node} : List of nodes - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1NodeList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Node} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1NodeList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1NodeList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1NodeList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1NodeList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1NodeList - -const _property_map_IoK8sApiCoreV1NodeList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1NodeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Node}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeList }) = collect(keys(_property_map_IoK8sApiCoreV1NodeList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeList[property_name] - -function check_required(o::IoK8sApiCoreV1NodeList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelector.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelector.jl deleted file mode 100644 index f0f7a901..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelector.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. - - IoK8sApiCoreV1NodeSelector(; - nodeSelectorTerms=nothing, - ) - - - nodeSelectorTerms::Vector{IoK8sApiCoreV1NodeSelectorTerm} : Required. A list of node selector terms. The terms are ORed. -""" -mutable struct IoK8sApiCoreV1NodeSelector <: SwaggerModel - nodeSelectorTerms::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeSelectorTerm} } # spec name: nodeSelectorTerms - - function IoK8sApiCoreV1NodeSelector(;nodeSelectorTerms=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeSelector, Symbol("nodeSelectorTerms"), nodeSelectorTerms) - setfield!(o, Symbol("nodeSelectorTerms"), nodeSelectorTerms) - o - end -end # type IoK8sApiCoreV1NodeSelector - -const _property_map_IoK8sApiCoreV1NodeSelector = Dict{Symbol,Symbol}(Symbol("nodeSelectorTerms")=>Symbol("nodeSelectorTerms")) -const _property_types_IoK8sApiCoreV1NodeSelector = Dict{Symbol,String}(Symbol("nodeSelectorTerms")=>"Vector{IoK8sApiCoreV1NodeSelectorTerm}") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeSelector }) = collect(keys(_property_map_IoK8sApiCoreV1NodeSelector)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSelector[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeSelector }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeSelector[property_name] - -function check_required(o::IoK8sApiCoreV1NodeSelector) - (getproperty(o, Symbol("nodeSelectorTerms")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeSelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelectorRequirement.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelectorRequirement.jl deleted file mode 100644 index 63284b51..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelectorRequirement.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - IoK8sApiCoreV1NodeSelectorRequirement(; - key=nothing, - operator=nothing, - values=nothing, - ) - - - key::String : The label key that the selector applies to. - - operator::String : Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. - - values::Vector{String} : An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. -""" -mutable struct IoK8sApiCoreV1NodeSelectorRequirement <: SwaggerModel - key::Any # spec type: Union{ Nothing, String } # spec name: key - operator::Any # spec type: Union{ Nothing, String } # spec name: operator - values::Any # spec type: Union{ Nothing, Vector{String} } # spec name: values - - function IoK8sApiCoreV1NodeSelectorRequirement(;key=nothing, operator=nothing, values=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeSelectorRequirement, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1NodeSelectorRequirement, Symbol("operator"), operator) - setfield!(o, Symbol("operator"), operator) - validate_property(IoK8sApiCoreV1NodeSelectorRequirement, Symbol("values"), values) - setfield!(o, Symbol("values"), values) - o - end -end # type IoK8sApiCoreV1NodeSelectorRequirement - -const _property_map_IoK8sApiCoreV1NodeSelectorRequirement = Dict{Symbol,Symbol}(Symbol("key")=>Symbol("key"), Symbol("operator")=>Symbol("operator"), Symbol("values")=>Symbol("values")) -const _property_types_IoK8sApiCoreV1NodeSelectorRequirement = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("values")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeSelectorRequirement }) = collect(keys(_property_map_IoK8sApiCoreV1NodeSelectorRequirement)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeSelectorRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSelectorRequirement[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeSelectorRequirement }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeSelectorRequirement[property_name] - -function check_required(o::IoK8sApiCoreV1NodeSelectorRequirement) - (getproperty(o, Symbol("key")) === nothing) && (return false) - (getproperty(o, Symbol("operator")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeSelectorRequirement }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelectorTerm.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelectorTerm.jl deleted file mode 100644 index b81cee86..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSelectorTerm.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. - - IoK8sApiCoreV1NodeSelectorTerm(; - matchExpressions=nothing, - matchFields=nothing, - ) - - - matchExpressions::Vector{IoK8sApiCoreV1NodeSelectorRequirement} : A list of node selector requirements by node's labels. - - matchFields::Vector{IoK8sApiCoreV1NodeSelectorRequirement} : A list of node selector requirements by node's fields. -""" -mutable struct IoK8sApiCoreV1NodeSelectorTerm <: SwaggerModel - matchExpressions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeSelectorRequirement} } # spec name: matchExpressions - matchFields::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeSelectorRequirement} } # spec name: matchFields - - function IoK8sApiCoreV1NodeSelectorTerm(;matchExpressions=nothing, matchFields=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeSelectorTerm, Symbol("matchExpressions"), matchExpressions) - setfield!(o, Symbol("matchExpressions"), matchExpressions) - validate_property(IoK8sApiCoreV1NodeSelectorTerm, Symbol("matchFields"), matchFields) - setfield!(o, Symbol("matchFields"), matchFields) - o - end -end # type IoK8sApiCoreV1NodeSelectorTerm - -const _property_map_IoK8sApiCoreV1NodeSelectorTerm = Dict{Symbol,Symbol}(Symbol("matchExpressions")=>Symbol("matchExpressions"), Symbol("matchFields")=>Symbol("matchFields")) -const _property_types_IoK8sApiCoreV1NodeSelectorTerm = Dict{Symbol,String}(Symbol("matchExpressions")=>"Vector{IoK8sApiCoreV1NodeSelectorRequirement}", Symbol("matchFields")=>"Vector{IoK8sApiCoreV1NodeSelectorRequirement}") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeSelectorTerm }) = collect(keys(_property_map_IoK8sApiCoreV1NodeSelectorTerm)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeSelectorTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSelectorTerm[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeSelectorTerm }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeSelectorTerm[property_name] - -function check_required(o::IoK8sApiCoreV1NodeSelectorTerm) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeSelectorTerm }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSpec.jl deleted file mode 100644 index 55729b20..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSpec.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeSpec describes the attributes that a node is created with. - - IoK8sApiCoreV1NodeSpec(; - configSource=nothing, - externalID=nothing, - podCIDR=nothing, - podCIDRs=nothing, - providerID=nothing, - taints=nothing, - unschedulable=nothing, - ) - - - configSource::IoK8sApiCoreV1NodeConfigSource : If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field - - externalID::String : Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 - - podCIDR::String : PodCIDR represents the pod IP range assigned to the node. - - podCIDRs::Vector{String} : podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. - - providerID::String : ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> - - taints::Vector{IoK8sApiCoreV1Taint} : If specified, the node's taints. - - unschedulable::Bool : Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration -""" -mutable struct IoK8sApiCoreV1NodeSpec <: SwaggerModel - configSource::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } # spec name: configSource - externalID::Any # spec type: Union{ Nothing, String } # spec name: externalID - podCIDR::Any # spec type: Union{ Nothing, String } # spec name: podCIDR - podCIDRs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: podCIDRs - providerID::Any # spec type: Union{ Nothing, String } # spec name: providerID - taints::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Taint} } # spec name: taints - unschedulable::Any # spec type: Union{ Nothing, Bool } # spec name: unschedulable - - function IoK8sApiCoreV1NodeSpec(;configSource=nothing, externalID=nothing, podCIDR=nothing, podCIDRs=nothing, providerID=nothing, taints=nothing, unschedulable=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("configSource"), configSource) - setfield!(o, Symbol("configSource"), configSource) - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("externalID"), externalID) - setfield!(o, Symbol("externalID"), externalID) - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("podCIDR"), podCIDR) - setfield!(o, Symbol("podCIDR"), podCIDR) - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("podCIDRs"), podCIDRs) - setfield!(o, Symbol("podCIDRs"), podCIDRs) - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("providerID"), providerID) - setfield!(o, Symbol("providerID"), providerID) - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("taints"), taints) - setfield!(o, Symbol("taints"), taints) - validate_property(IoK8sApiCoreV1NodeSpec, Symbol("unschedulable"), unschedulable) - setfield!(o, Symbol("unschedulable"), unschedulable) - o - end -end # type IoK8sApiCoreV1NodeSpec - -const _property_map_IoK8sApiCoreV1NodeSpec = Dict{Symbol,Symbol}(Symbol("configSource")=>Symbol("configSource"), Symbol("externalID")=>Symbol("externalID"), Symbol("podCIDR")=>Symbol("podCIDR"), Symbol("podCIDRs")=>Symbol("podCIDRs"), Symbol("providerID")=>Symbol("providerID"), Symbol("taints")=>Symbol("taints"), Symbol("unschedulable")=>Symbol("unschedulable")) -const _property_types_IoK8sApiCoreV1NodeSpec = Dict{Symbol,String}(Symbol("configSource")=>"IoK8sApiCoreV1NodeConfigSource", Symbol("externalID")=>"String", Symbol("podCIDR")=>"String", Symbol("podCIDRs")=>"Vector{String}", Symbol("providerID")=>"String", Symbol("taints")=>"Vector{IoK8sApiCoreV1Taint}", Symbol("unschedulable")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeSpec }) = collect(keys(_property_map_IoK8sApiCoreV1NodeSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeSpec[property_name] - -function check_required(o::IoK8sApiCoreV1NodeSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeStatus.jl deleted file mode 100644 index 2ca51060..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeStatus.jl +++ /dev/null @@ -1,85 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeStatus is information about the current status of a node. - - IoK8sApiCoreV1NodeStatus(; - addresses=nothing, - allocatable=nothing, - capacity=nothing, - conditions=nothing, - config=nothing, - daemonEndpoints=nothing, - images=nothing, - nodeInfo=nothing, - phase=nothing, - volumesAttached=nothing, - volumesInUse=nothing, - ) - - - addresses::Vector{IoK8sApiCoreV1NodeAddress} : List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example. - - allocatable::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. - - capacity::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity - - conditions::Vector{IoK8sApiCoreV1NodeCondition} : Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition - - config::IoK8sApiCoreV1NodeConfigStatus : Status of the config assigned to the node via the dynamic Kubelet config feature. - - daemonEndpoints::IoK8sApiCoreV1NodeDaemonEndpoints : Endpoints of daemons running on the Node. - - images::Vector{IoK8sApiCoreV1ContainerImage} : List of container images on this node - - nodeInfo::IoK8sApiCoreV1NodeSystemInfo : Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info - - phase::String : NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. - - volumesAttached::Vector{IoK8sApiCoreV1AttachedVolume} : List of volumes that are attached to the node. - - volumesInUse::Vector{String} : List of attachable volumes in use (mounted) by the node. -""" -mutable struct IoK8sApiCoreV1NodeStatus <: SwaggerModel - addresses::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeAddress} } # spec name: addresses - allocatable::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: allocatable - capacity::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: capacity - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeCondition} } # spec name: conditions - config::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigStatus } # spec name: config - daemonEndpoints::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeDaemonEndpoints } # spec name: daemonEndpoints - images::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerImage} } # spec name: images - nodeInfo::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSystemInfo } # spec name: nodeInfo - phase::Any # spec type: Union{ Nothing, String } # spec name: phase - volumesAttached::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1AttachedVolume} } # spec name: volumesAttached - volumesInUse::Any # spec type: Union{ Nothing, Vector{String} } # spec name: volumesInUse - - function IoK8sApiCoreV1NodeStatus(;addresses=nothing, allocatable=nothing, capacity=nothing, conditions=nothing, config=nothing, daemonEndpoints=nothing, images=nothing, nodeInfo=nothing, phase=nothing, volumesAttached=nothing, volumesInUse=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("addresses"), addresses) - setfield!(o, Symbol("addresses"), addresses) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("allocatable"), allocatable) - setfield!(o, Symbol("allocatable"), allocatable) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("capacity"), capacity) - setfield!(o, Symbol("capacity"), capacity) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("config"), config) - setfield!(o, Symbol("config"), config) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("daemonEndpoints"), daemonEndpoints) - setfield!(o, Symbol("daemonEndpoints"), daemonEndpoints) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("images"), images) - setfield!(o, Symbol("images"), images) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("nodeInfo"), nodeInfo) - setfield!(o, Symbol("nodeInfo"), nodeInfo) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("phase"), phase) - setfield!(o, Symbol("phase"), phase) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("volumesAttached"), volumesAttached) - setfield!(o, Symbol("volumesAttached"), volumesAttached) - validate_property(IoK8sApiCoreV1NodeStatus, Symbol("volumesInUse"), volumesInUse) - setfield!(o, Symbol("volumesInUse"), volumesInUse) - o - end -end # type IoK8sApiCoreV1NodeStatus - -const _property_map_IoK8sApiCoreV1NodeStatus = Dict{Symbol,Symbol}(Symbol("addresses")=>Symbol("addresses"), Symbol("allocatable")=>Symbol("allocatable"), Symbol("capacity")=>Symbol("capacity"), Symbol("conditions")=>Symbol("conditions"), Symbol("config")=>Symbol("config"), Symbol("daemonEndpoints")=>Symbol("daemonEndpoints"), Symbol("images")=>Symbol("images"), Symbol("nodeInfo")=>Symbol("nodeInfo"), Symbol("phase")=>Symbol("phase"), Symbol("volumesAttached")=>Symbol("volumesAttached"), Symbol("volumesInUse")=>Symbol("volumesInUse")) -const _property_types_IoK8sApiCoreV1NodeStatus = Dict{Symbol,String}(Symbol("addresses")=>"Vector{IoK8sApiCoreV1NodeAddress}", Symbol("allocatable")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("capacity")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("conditions")=>"Vector{IoK8sApiCoreV1NodeCondition}", Symbol("config")=>"IoK8sApiCoreV1NodeConfigStatus", Symbol("daemonEndpoints")=>"IoK8sApiCoreV1NodeDaemonEndpoints", Symbol("images")=>"Vector{IoK8sApiCoreV1ContainerImage}", Symbol("nodeInfo")=>"IoK8sApiCoreV1NodeSystemInfo", Symbol("phase")=>"String", Symbol("volumesAttached")=>"Vector{IoK8sApiCoreV1AttachedVolume}", Symbol("volumesInUse")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeStatus }) = collect(keys(_property_map_IoK8sApiCoreV1NodeStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeStatus[property_name] - -function check_required(o::IoK8sApiCoreV1NodeStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSystemInfo.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSystemInfo.jl deleted file mode 100644 index 7f05e46f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1NodeSystemInfo.jl +++ /dev/null @@ -1,90 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeSystemInfo is a set of ids/uuids to uniquely identify the node. - - IoK8sApiCoreV1NodeSystemInfo(; - architecture=nothing, - bootID=nothing, - containerRuntimeVersion=nothing, - kernelVersion=nothing, - kubeProxyVersion=nothing, - kubeletVersion=nothing, - machineID=nothing, - operatingSystem=nothing, - osImage=nothing, - systemUUID=nothing, - ) - - - architecture::String : The Architecture reported by the node - - bootID::String : Boot ID reported by the node. - - containerRuntimeVersion::String : ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0). - - kernelVersion::String : Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). - - kubeProxyVersion::String : KubeProxy Version reported by the node. - - kubeletVersion::String : Kubelet Version reported by the node. - - machineID::String : MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html - - operatingSystem::String : The Operating System reported by the node - - osImage::String : OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). - - systemUUID::String : SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html -""" -mutable struct IoK8sApiCoreV1NodeSystemInfo <: SwaggerModel - architecture::Any # spec type: Union{ Nothing, String } # spec name: architecture - bootID::Any # spec type: Union{ Nothing, String } # spec name: bootID - containerRuntimeVersion::Any # spec type: Union{ Nothing, String } # spec name: containerRuntimeVersion - kernelVersion::Any # spec type: Union{ Nothing, String } # spec name: kernelVersion - kubeProxyVersion::Any # spec type: Union{ Nothing, String } # spec name: kubeProxyVersion - kubeletVersion::Any # spec type: Union{ Nothing, String } # spec name: kubeletVersion - machineID::Any # spec type: Union{ Nothing, String } # spec name: machineID - operatingSystem::Any # spec type: Union{ Nothing, String } # spec name: operatingSystem - osImage::Any # spec type: Union{ Nothing, String } # spec name: osImage - systemUUID::Any # spec type: Union{ Nothing, String } # spec name: systemUUID - - function IoK8sApiCoreV1NodeSystemInfo(;architecture=nothing, bootID=nothing, containerRuntimeVersion=nothing, kernelVersion=nothing, kubeProxyVersion=nothing, kubeletVersion=nothing, machineID=nothing, operatingSystem=nothing, osImage=nothing, systemUUID=nothing) - o = new() - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("architecture"), architecture) - setfield!(o, Symbol("architecture"), architecture) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("bootID"), bootID) - setfield!(o, Symbol("bootID"), bootID) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("containerRuntimeVersion"), containerRuntimeVersion) - setfield!(o, Symbol("containerRuntimeVersion"), containerRuntimeVersion) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("kernelVersion"), kernelVersion) - setfield!(o, Symbol("kernelVersion"), kernelVersion) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("kubeProxyVersion"), kubeProxyVersion) - setfield!(o, Symbol("kubeProxyVersion"), kubeProxyVersion) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("kubeletVersion"), kubeletVersion) - setfield!(o, Symbol("kubeletVersion"), kubeletVersion) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("machineID"), machineID) - setfield!(o, Symbol("machineID"), machineID) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("operatingSystem"), operatingSystem) - setfield!(o, Symbol("operatingSystem"), operatingSystem) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("osImage"), osImage) - setfield!(o, Symbol("osImage"), osImage) - validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("systemUUID"), systemUUID) - setfield!(o, Symbol("systemUUID"), systemUUID) - o - end -end # type IoK8sApiCoreV1NodeSystemInfo - -const _property_map_IoK8sApiCoreV1NodeSystemInfo = Dict{Symbol,Symbol}(Symbol("architecture")=>Symbol("architecture"), Symbol("bootID")=>Symbol("bootID"), Symbol("containerRuntimeVersion")=>Symbol("containerRuntimeVersion"), Symbol("kernelVersion")=>Symbol("kernelVersion"), Symbol("kubeProxyVersion")=>Symbol("kubeProxyVersion"), Symbol("kubeletVersion")=>Symbol("kubeletVersion"), Symbol("machineID")=>Symbol("machineID"), Symbol("operatingSystem")=>Symbol("operatingSystem"), Symbol("osImage")=>Symbol("osImage"), Symbol("systemUUID")=>Symbol("systemUUID")) -const _property_types_IoK8sApiCoreV1NodeSystemInfo = Dict{Symbol,String}(Symbol("architecture")=>"String", Symbol("bootID")=>"String", Symbol("containerRuntimeVersion")=>"String", Symbol("kernelVersion")=>"String", Symbol("kubeProxyVersion")=>"String", Symbol("kubeletVersion")=>"String", Symbol("machineID")=>"String", Symbol("operatingSystem")=>"String", Symbol("osImage")=>"String", Symbol("systemUUID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1NodeSystemInfo }) = collect(keys(_property_map_IoK8sApiCoreV1NodeSystemInfo)) -Swagger.property_type(::Type{ IoK8sApiCoreV1NodeSystemInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSystemInfo[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1NodeSystemInfo }, property_name::Symbol) = _property_map_IoK8sApiCoreV1NodeSystemInfo[property_name] - -function check_required(o::IoK8sApiCoreV1NodeSystemInfo) - (getproperty(o, Symbol("architecture")) === nothing) && (return false) - (getproperty(o, Symbol("bootID")) === nothing) && (return false) - (getproperty(o, Symbol("containerRuntimeVersion")) === nothing) && (return false) - (getproperty(o, Symbol("kernelVersion")) === nothing) && (return false) - (getproperty(o, Symbol("kubeProxyVersion")) === nothing) && (return false) - (getproperty(o, Symbol("kubeletVersion")) === nothing) && (return false) - (getproperty(o, Symbol("machineID")) === nothing) && (return false) - (getproperty(o, Symbol("operatingSystem")) === nothing) && (return false) - (getproperty(o, Symbol("osImage")) === nothing) && (return false) - (getproperty(o, Symbol("systemUUID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1NodeSystemInfo }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ObjectFieldSelector.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ObjectFieldSelector.jl deleted file mode 100644 index 18a22b4b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ObjectFieldSelector.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectFieldSelector selects an APIVersioned field of an object. - - IoK8sApiCoreV1ObjectFieldSelector(; - apiVersion=nothing, - fieldPath=nothing, - ) - - - apiVersion::String : Version of the schema the FieldPath is written in terms of, defaults to \"v1\". - - fieldPath::String : Path of the field to select in the specified API version. -""" -mutable struct IoK8sApiCoreV1ObjectFieldSelector <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - fieldPath::Any # spec type: Union{ Nothing, String } # spec name: fieldPath - - function IoK8sApiCoreV1ObjectFieldSelector(;apiVersion=nothing, fieldPath=nothing) - o = new() - validate_property(IoK8sApiCoreV1ObjectFieldSelector, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ObjectFieldSelector, Symbol("fieldPath"), fieldPath) - setfield!(o, Symbol("fieldPath"), fieldPath) - o - end -end # type IoK8sApiCoreV1ObjectFieldSelector - -const _property_map_IoK8sApiCoreV1ObjectFieldSelector = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("fieldPath")=>Symbol("fieldPath")) -const _property_types_IoK8sApiCoreV1ObjectFieldSelector = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("fieldPath")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ObjectFieldSelector }) = collect(keys(_property_map_IoK8sApiCoreV1ObjectFieldSelector)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ObjectFieldSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ObjectFieldSelector[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ObjectFieldSelector }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ObjectFieldSelector[property_name] - -function check_required(o::IoK8sApiCoreV1ObjectFieldSelector) - (getproperty(o, Symbol("fieldPath")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ObjectFieldSelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ObjectReference.jl deleted file mode 100644 index 8703fc93..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ObjectReference.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectReference contains enough information to let you inspect or modify the referred object. - - IoK8sApiCoreV1ObjectReference(; - apiVersion=nothing, - fieldPath=nothing, - kind=nothing, - name=nothing, - namespace=nothing, - resourceVersion=nothing, - uid=nothing, - ) - - - apiVersion::String : API version of the referent. - - fieldPath::String : If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. - - kind::String : Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - namespace::String : Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ - - resourceVersion::String : Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency - - uid::String : UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids -""" -mutable struct IoK8sApiCoreV1ObjectReference <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - fieldPath::Any # spec type: Union{ Nothing, String } # spec name: fieldPath - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - resourceVersion::Any # spec type: Union{ Nothing, String } # spec name: resourceVersion - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApiCoreV1ObjectReference(;apiVersion=nothing, fieldPath=nothing, kind=nothing, name=nothing, namespace=nothing, resourceVersion=nothing, uid=nothing) - o = new() - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("fieldPath"), fieldPath) - setfield!(o, Symbol("fieldPath"), fieldPath) - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("resourceVersion"), resourceVersion) - setfield!(o, Symbol("resourceVersion"), resourceVersion) - validate_property(IoK8sApiCoreV1ObjectReference, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApiCoreV1ObjectReference - -const _property_map_IoK8sApiCoreV1ObjectReference = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("fieldPath")=>Symbol("fieldPath"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("resourceVersion")=>Symbol("resourceVersion"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApiCoreV1ObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("fieldPath")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resourceVersion")=>"String", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ObjectReference }) = collect(keys(_property_map_IoK8sApiCoreV1ObjectReference)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ObjectReference }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ObjectReference[property_name] - -function check_required(o::IoK8sApiCoreV1ObjectReference) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolume.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolume.jl deleted file mode 100644 index 277adc65..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolume.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes - - IoK8sApiCoreV1PersistentVolume(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1PersistentVolumeSpec : Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes - - status::IoK8sApiCoreV1PersistentVolumeStatus : Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes -""" -mutable struct IoK8sApiCoreV1PersistentVolume <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeStatus } # spec name: status - - function IoK8sApiCoreV1PersistentVolume(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1PersistentVolume - -const _property_map_IoK8sApiCoreV1PersistentVolume = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1PersistentVolume = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("status")=>"IoK8sApiCoreV1PersistentVolumeStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolume }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolume)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolume[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolume }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolume[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolume) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolume }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaim.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaim.jl deleted file mode 100644 index 28d9c968..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaim.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeClaim is a user's request for and claim to a persistent volume - - IoK8sApiCoreV1PersistentVolumeClaim(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1PersistentVolumeClaimSpec : Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims - - status::IoK8sApiCoreV1PersistentVolumeClaimStatus : Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -""" -mutable struct IoK8sApiCoreV1PersistentVolumeClaim <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeClaimSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeClaimStatus } # spec name: status - - function IoK8sApiCoreV1PersistentVolumeClaim(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1PersistentVolumeClaim - -const _property_map_IoK8sApiCoreV1PersistentVolumeClaim = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1PersistentVolumeClaim = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PersistentVolumeClaimSpec", Symbol("status")=>"IoK8sApiCoreV1PersistentVolumeClaimStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeClaim }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeClaim)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaim }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaim[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeClaim }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeClaim[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeClaim) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaim }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl deleted file mode 100644 index d9db687e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeClaimCondition contails details about state of pvc - - IoK8sApiCoreV1PersistentVolumeClaimCondition(; - lastProbeTime=nothing, - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastProbeTime::IoK8sApimachineryPkgApisMetaV1Time : Last time we probed the condition. - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : Human-readable message indicating details about last transition. - - reason::String : Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized. - - status::String - - type::String -""" -mutable struct IoK8sApiCoreV1PersistentVolumeClaimCondition <: SwaggerModel - lastProbeTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastProbeTime - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1PersistentVolumeClaimCondition(;lastProbeTime=nothing, lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("lastProbeTime"), lastProbeTime) - setfield!(o, Symbol("lastProbeTime"), lastProbeTime) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1PersistentVolumeClaimCondition - -const _property_map_IoK8sApiCoreV1PersistentVolumeClaimCondition = Dict{Symbol,Symbol}(Symbol("lastProbeTime")=>Symbol("lastProbeTime"), Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1PersistentVolumeClaimCondition = Dict{Symbol,String}(Symbol("lastProbeTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeClaimCondition }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeClaimCondition)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeClaimCondition }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeClaimCondition[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl deleted file mode 100644 index 79e52c9e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeClaimList is a list of PersistentVolumeClaim items. - - IoK8sApiCoreV1PersistentVolumeClaimList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1PersistentVolumeClaimList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1PersistentVolumeClaimList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1PersistentVolumeClaimList - -const _property_map_IoK8sApiCoreV1PersistentVolumeClaimList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1PersistentVolumeClaimList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeClaimList }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeClaimList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeClaimList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeClaimList[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl deleted file mode 100644 index 109d9851..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes - - IoK8sApiCoreV1PersistentVolumeClaimSpec(; - accessModes=nothing, - dataSource=nothing, - resources=nothing, - selector=nothing, - storageClassName=nothing, - volumeMode=nothing, - volumeName=nothing, - ) - - - accessModes::Vector{String} : AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 - - dataSource::IoK8sApiCoreV1TypedLocalObjectReference : This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. - - resources::IoK8sApiCoreV1ResourceRequirements : Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : A label query over volumes to consider for binding. - - storageClassName::String : Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 - - volumeMode::String : volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. - - volumeName::String : VolumeName is the binding reference to the PersistentVolume backing this claim. -""" -mutable struct IoK8sApiCoreV1PersistentVolumeClaimSpec <: SwaggerModel - accessModes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: accessModes - dataSource::Any # spec type: Union{ Nothing, IoK8sApiCoreV1TypedLocalObjectReference } # spec name: dataSource - resources::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceRequirements } # spec name: resources - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - storageClassName::Any # spec type: Union{ Nothing, String } # spec name: storageClassName - volumeMode::Any # spec type: Union{ Nothing, String } # spec name: volumeMode - volumeName::Any # spec type: Union{ Nothing, String } # spec name: volumeName - - function IoK8sApiCoreV1PersistentVolumeClaimSpec(;accessModes=nothing, dataSource=nothing, resources=nothing, selector=nothing, storageClassName=nothing, volumeMode=nothing, volumeName=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("accessModes"), accessModes) - setfield!(o, Symbol("accessModes"), accessModes) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("dataSource"), dataSource) - setfield!(o, Symbol("dataSource"), dataSource) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("storageClassName"), storageClassName) - setfield!(o, Symbol("storageClassName"), storageClassName) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("volumeMode"), volumeMode) - setfield!(o, Symbol("volumeMode"), volumeMode) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("volumeName"), volumeName) - setfield!(o, Symbol("volumeName"), volumeName) - o - end -end # type IoK8sApiCoreV1PersistentVolumeClaimSpec - -const _property_map_IoK8sApiCoreV1PersistentVolumeClaimSpec = Dict{Symbol,Symbol}(Symbol("accessModes")=>Symbol("accessModes"), Symbol("dataSource")=>Symbol("dataSource"), Symbol("resources")=>Symbol("resources"), Symbol("selector")=>Symbol("selector"), Symbol("storageClassName")=>Symbol("storageClassName"), Symbol("volumeMode")=>Symbol("volumeMode"), Symbol("volumeName")=>Symbol("volumeName")) -const _property_types_IoK8sApiCoreV1PersistentVolumeClaimSpec = Dict{Symbol,String}(Symbol("accessModes")=>"Vector{String}", Symbol("dataSource")=>"IoK8sApiCoreV1TypedLocalObjectReference", Symbol("resources")=>"IoK8sApiCoreV1ResourceRequirements", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("storageClassName")=>"String", Symbol("volumeMode")=>"String", Symbol("volumeName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeClaimSpec }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeClaimSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeClaimSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeClaimSpec[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl deleted file mode 100644 index d65180ff..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeClaimStatus is the current status of a persistent volume claim. - - IoK8sApiCoreV1PersistentVolumeClaimStatus(; - accessModes=nothing, - capacity=nothing, - conditions=nothing, - phase=nothing, - ) - - - accessModes::Vector{String} : AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 - - capacity::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Represents the actual resources of the underlying volume. - - conditions::Vector{IoK8sApiCoreV1PersistentVolumeClaimCondition} : Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. - - phase::String : Phase represents the current phase of PersistentVolumeClaim. -""" -mutable struct IoK8sApiCoreV1PersistentVolumeClaimStatus <: SwaggerModel - accessModes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: accessModes - capacity::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: capacity - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaimCondition} } # spec name: conditions - phase::Any # spec type: Union{ Nothing, String } # spec name: phase - - function IoK8sApiCoreV1PersistentVolumeClaimStatus(;accessModes=nothing, capacity=nothing, conditions=nothing, phase=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("accessModes"), accessModes) - setfield!(o, Symbol("accessModes"), accessModes) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("capacity"), capacity) - setfield!(o, Symbol("capacity"), capacity) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("phase"), phase) - setfield!(o, Symbol("phase"), phase) - o - end -end # type IoK8sApiCoreV1PersistentVolumeClaimStatus - -const _property_map_IoK8sApiCoreV1PersistentVolumeClaimStatus = Dict{Symbol,Symbol}(Symbol("accessModes")=>Symbol("accessModes"), Symbol("capacity")=>Symbol("capacity"), Symbol("conditions")=>Symbol("conditions"), Symbol("phase")=>Symbol("phase")) -const _property_types_IoK8sApiCoreV1PersistentVolumeClaimStatus = Dict{Symbol,String}(Symbol("accessModes")=>"Vector{String}", Symbol("capacity")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("conditions")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaimCondition}", Symbol("phase")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeClaimStatus }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeClaimStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeClaimStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeClaimStatus[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl deleted file mode 100644 index e9177213..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). - - IoK8sApiCoreV1PersistentVolumeClaimVolumeSource(; - claimName=nothing, - readOnly=nothing, - ) - - - claimName::String : ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims - - readOnly::Bool : Will force the ReadOnly setting in VolumeMounts. Default false. -""" -mutable struct IoK8sApiCoreV1PersistentVolumeClaimVolumeSource <: SwaggerModel - claimName::Any # spec type: Union{ Nothing, String } # spec name: claimName - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiCoreV1PersistentVolumeClaimVolumeSource(;claimName=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeClaimVolumeSource, Symbol("claimName"), claimName) - setfield!(o, Symbol("claimName"), claimName) - validate_property(IoK8sApiCoreV1PersistentVolumeClaimVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiCoreV1PersistentVolumeClaimVolumeSource - -const _property_map_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource = Dict{Symbol,Symbol}(Symbol("claimName")=>Symbol("claimName"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource = Dict{Symbol,String}(Symbol("claimName")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeClaimVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeClaimVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimVolumeSource) - (getproperty(o, Symbol("claimName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeList.jl deleted file mode 100644 index 3b89fc2d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeList is a list of PersistentVolume items. - - IoK8sApiCoreV1PersistentVolumeList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1PersistentVolume} : List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1PersistentVolumeList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolume} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1PersistentVolumeList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1PersistentVolumeList - -const _property_map_IoK8sApiCoreV1PersistentVolumeList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1PersistentVolumeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1PersistentVolume}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeList }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeList[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeSpec.jl deleted file mode 100644 index 908a0447..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeSpec.jl +++ /dev/null @@ -1,180 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeSpec is the specification of a persistent volume. - - IoK8sApiCoreV1PersistentVolumeSpec(; - accessModes=nothing, - awsElasticBlockStore=nothing, - azureDisk=nothing, - azureFile=nothing, - capacity=nothing, - cephfs=nothing, - cinder=nothing, - claimRef=nothing, - csi=nothing, - fc=nothing, - flexVolume=nothing, - flocker=nothing, - gcePersistentDisk=nothing, - glusterfs=nothing, - hostPath=nothing, - iscsi=nothing, - __local__=nothing, - mountOptions=nothing, - nfs=nothing, - nodeAffinity=nothing, - persistentVolumeReclaimPolicy=nothing, - photonPersistentDisk=nothing, - portworxVolume=nothing, - quobyte=nothing, - rbd=nothing, - scaleIO=nothing, - storageClassName=nothing, - storageos=nothing, - volumeMode=nothing, - vsphereVolume=nothing, - ) - - - accessModes::Vector{String} : AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes - - awsElasticBlockStore::IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource : AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - - azureDisk::IoK8sApiCoreV1AzureDiskVolumeSource : AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. - - azureFile::IoK8sApiCoreV1AzureFilePersistentVolumeSource : AzureFile represents an Azure File Service mount on the host and bind mount to the pod. - - capacity::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity - - cephfs::IoK8sApiCoreV1CephFSPersistentVolumeSource : CephFS represents a Ceph FS mount on the host that shares a pod's lifetime - - cinder::IoK8sApiCoreV1CinderPersistentVolumeSource : Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md - - claimRef::IoK8sApiCoreV1ObjectReference : ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding - - csi::IoK8sApiCoreV1CSIPersistentVolumeSource : CSI represents storage that is handled by an external CSI driver (Beta feature). - - fc::IoK8sApiCoreV1FCVolumeSource : FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. - - flexVolume::IoK8sApiCoreV1FlexPersistentVolumeSource : FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. - - flocker::IoK8sApiCoreV1FlockerVolumeSource : Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running - - gcePersistentDisk::IoK8sApiCoreV1GCEPersistentDiskVolumeSource : GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - - glusterfs::IoK8sApiCoreV1GlusterfsPersistentVolumeSource : Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md - - hostPath::IoK8sApiCoreV1HostPathVolumeSource : HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath - - iscsi::IoK8sApiCoreV1ISCSIPersistentVolumeSource : ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. - - __local__::IoK8sApiCoreV1LocalVolumeSource : Local represents directly-attached storage with node affinity - - mountOptions::Vector{String} : A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options - - nfs::IoK8sApiCoreV1NFSVolumeSource : NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - - nodeAffinity::IoK8sApiCoreV1VolumeNodeAffinity : NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. - - persistentVolumeReclaimPolicy::String : What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming - - photonPersistentDisk::IoK8sApiCoreV1PhotonPersistentDiskVolumeSource : PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine - - portworxVolume::IoK8sApiCoreV1PortworxVolumeSource : PortworxVolume represents a portworx volume attached and mounted on kubelets host machine - - quobyte::IoK8sApiCoreV1QuobyteVolumeSource : Quobyte represents a Quobyte mount on the host that shares a pod's lifetime - - rbd::IoK8sApiCoreV1RBDPersistentVolumeSource : RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md - - scaleIO::IoK8sApiCoreV1ScaleIOPersistentVolumeSource : ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. - - storageClassName::String : Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. - - storageos::IoK8sApiCoreV1StorageOSPersistentVolumeSource : StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md - - volumeMode::String : volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. - - vsphereVolume::IoK8sApiCoreV1VsphereVirtualDiskVolumeSource : VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -""" -mutable struct IoK8sApiCoreV1PersistentVolumeSpec <: SwaggerModel - accessModes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: accessModes - awsElasticBlockStore::Any # spec type: Union{ Nothing, IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } # spec name: awsElasticBlockStore - azureDisk::Any # spec type: Union{ Nothing, IoK8sApiCoreV1AzureDiskVolumeSource } # spec name: azureDisk - azureFile::Any # spec type: Union{ Nothing, IoK8sApiCoreV1AzureFilePersistentVolumeSource } # spec name: azureFile - capacity::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: capacity - cephfs::Any # spec type: Union{ Nothing, IoK8sApiCoreV1CephFSPersistentVolumeSource } # spec name: cephfs - cinder::Any # spec type: Union{ Nothing, IoK8sApiCoreV1CinderPersistentVolumeSource } # spec name: cinder - claimRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: claimRef - csi::Any # spec type: Union{ Nothing, IoK8sApiCoreV1CSIPersistentVolumeSource } # spec name: csi - fc::Any # spec type: Union{ Nothing, IoK8sApiCoreV1FCVolumeSource } # spec name: fc - flexVolume::Any # spec type: Union{ Nothing, IoK8sApiCoreV1FlexPersistentVolumeSource } # spec name: flexVolume - flocker::Any # spec type: Union{ Nothing, IoK8sApiCoreV1FlockerVolumeSource } # spec name: flocker - gcePersistentDisk::Any # spec type: Union{ Nothing, IoK8sApiCoreV1GCEPersistentDiskVolumeSource } # spec name: gcePersistentDisk - glusterfs::Any # spec type: Union{ Nothing, IoK8sApiCoreV1GlusterfsPersistentVolumeSource } # spec name: glusterfs - hostPath::Any # spec type: Union{ Nothing, IoK8sApiCoreV1HostPathVolumeSource } # spec name: hostPath - iscsi::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ISCSIPersistentVolumeSource } # spec name: iscsi - __local__::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalVolumeSource } # spec name: local - mountOptions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: mountOptions - nfs::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NFSVolumeSource } # spec name: nfs - nodeAffinity::Any # spec type: Union{ Nothing, IoK8sApiCoreV1VolumeNodeAffinity } # spec name: nodeAffinity - persistentVolumeReclaimPolicy::Any # spec type: Union{ Nothing, String } # spec name: persistentVolumeReclaimPolicy - photonPersistentDisk::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } # spec name: photonPersistentDisk - portworxVolume::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PortworxVolumeSource } # spec name: portworxVolume - quobyte::Any # spec type: Union{ Nothing, IoK8sApiCoreV1QuobyteVolumeSource } # spec name: quobyte - rbd::Any # spec type: Union{ Nothing, IoK8sApiCoreV1RBDPersistentVolumeSource } # spec name: rbd - scaleIO::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ScaleIOPersistentVolumeSource } # spec name: scaleIO - storageClassName::Any # spec type: Union{ Nothing, String } # spec name: storageClassName - storageos::Any # spec type: Union{ Nothing, IoK8sApiCoreV1StorageOSPersistentVolumeSource } # spec name: storageos - volumeMode::Any # spec type: Union{ Nothing, String } # spec name: volumeMode - vsphereVolume::Any # spec type: Union{ Nothing, IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } # spec name: vsphereVolume - - function IoK8sApiCoreV1PersistentVolumeSpec(;accessModes=nothing, awsElasticBlockStore=nothing, azureDisk=nothing, azureFile=nothing, capacity=nothing, cephfs=nothing, cinder=nothing, claimRef=nothing, csi=nothing, fc=nothing, flexVolume=nothing, flocker=nothing, gcePersistentDisk=nothing, glusterfs=nothing, hostPath=nothing, iscsi=nothing, __local__=nothing, mountOptions=nothing, nfs=nothing, nodeAffinity=nothing, persistentVolumeReclaimPolicy=nothing, photonPersistentDisk=nothing, portworxVolume=nothing, quobyte=nothing, rbd=nothing, scaleIO=nothing, storageClassName=nothing, storageos=nothing, volumeMode=nothing, vsphereVolume=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("accessModes"), accessModes) - setfield!(o, Symbol("accessModes"), accessModes) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("awsElasticBlockStore"), awsElasticBlockStore) - setfield!(o, Symbol("awsElasticBlockStore"), awsElasticBlockStore) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("azureDisk"), azureDisk) - setfield!(o, Symbol("azureDisk"), azureDisk) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("azureFile"), azureFile) - setfield!(o, Symbol("azureFile"), azureFile) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("capacity"), capacity) - setfield!(o, Symbol("capacity"), capacity) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("cephfs"), cephfs) - setfield!(o, Symbol("cephfs"), cephfs) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("cinder"), cinder) - setfield!(o, Symbol("cinder"), cinder) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("claimRef"), claimRef) - setfield!(o, Symbol("claimRef"), claimRef) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("csi"), csi) - setfield!(o, Symbol("csi"), csi) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("fc"), fc) - setfield!(o, Symbol("fc"), fc) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("flexVolume"), flexVolume) - setfield!(o, Symbol("flexVolume"), flexVolume) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("flocker"), flocker) - setfield!(o, Symbol("flocker"), flocker) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("gcePersistentDisk"), gcePersistentDisk) - setfield!(o, Symbol("gcePersistentDisk"), gcePersistentDisk) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("glusterfs"), glusterfs) - setfield!(o, Symbol("glusterfs"), glusterfs) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("hostPath"), hostPath) - setfield!(o, Symbol("hostPath"), hostPath) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("iscsi"), iscsi) - setfield!(o, Symbol("iscsi"), iscsi) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("local"), __local__) - setfield!(o, Symbol("__local__"), __local__) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("mountOptions"), mountOptions) - setfield!(o, Symbol("mountOptions"), mountOptions) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("nfs"), nfs) - setfield!(o, Symbol("nfs"), nfs) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("nodeAffinity"), nodeAffinity) - setfield!(o, Symbol("nodeAffinity"), nodeAffinity) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("persistentVolumeReclaimPolicy"), persistentVolumeReclaimPolicy) - setfield!(o, Symbol("persistentVolumeReclaimPolicy"), persistentVolumeReclaimPolicy) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("photonPersistentDisk"), photonPersistentDisk) - setfield!(o, Symbol("photonPersistentDisk"), photonPersistentDisk) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("portworxVolume"), portworxVolume) - setfield!(o, Symbol("portworxVolume"), portworxVolume) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("quobyte"), quobyte) - setfield!(o, Symbol("quobyte"), quobyte) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("rbd"), rbd) - setfield!(o, Symbol("rbd"), rbd) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("scaleIO"), scaleIO) - setfield!(o, Symbol("scaleIO"), scaleIO) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("storageClassName"), storageClassName) - setfield!(o, Symbol("storageClassName"), storageClassName) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("storageos"), storageos) - setfield!(o, Symbol("storageos"), storageos) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("volumeMode"), volumeMode) - setfield!(o, Symbol("volumeMode"), volumeMode) - validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("vsphereVolume"), vsphereVolume) - setfield!(o, Symbol("vsphereVolume"), vsphereVolume) - o - end -end # type IoK8sApiCoreV1PersistentVolumeSpec - -const _property_map_IoK8sApiCoreV1PersistentVolumeSpec = Dict{Symbol,Symbol}(Symbol("accessModes")=>Symbol("accessModes"), Symbol("awsElasticBlockStore")=>Symbol("awsElasticBlockStore"), Symbol("azureDisk")=>Symbol("azureDisk"), Symbol("azureFile")=>Symbol("azureFile"), Symbol("capacity")=>Symbol("capacity"), Symbol("cephfs")=>Symbol("cephfs"), Symbol("cinder")=>Symbol("cinder"), Symbol("claimRef")=>Symbol("claimRef"), Symbol("csi")=>Symbol("csi"), Symbol("fc")=>Symbol("fc"), Symbol("flexVolume")=>Symbol("flexVolume"), Symbol("flocker")=>Symbol("flocker"), Symbol("gcePersistentDisk")=>Symbol("gcePersistentDisk"), Symbol("glusterfs")=>Symbol("glusterfs"), Symbol("hostPath")=>Symbol("hostPath"), Symbol("iscsi")=>Symbol("iscsi"), Symbol("local")=>Symbol("__local__"), Symbol("mountOptions")=>Symbol("mountOptions"), Symbol("nfs")=>Symbol("nfs"), Symbol("nodeAffinity")=>Symbol("nodeAffinity"), Symbol("persistentVolumeReclaimPolicy")=>Symbol("persistentVolumeReclaimPolicy"), Symbol("photonPersistentDisk")=>Symbol("photonPersistentDisk"), Symbol("portworxVolume")=>Symbol("portworxVolume"), Symbol("quobyte")=>Symbol("quobyte"), Symbol("rbd")=>Symbol("rbd"), Symbol("scaleIO")=>Symbol("scaleIO"), Symbol("storageClassName")=>Symbol("storageClassName"), Symbol("storageos")=>Symbol("storageos"), Symbol("volumeMode")=>Symbol("volumeMode"), Symbol("vsphereVolume")=>Symbol("vsphereVolume")) -const _property_types_IoK8sApiCoreV1PersistentVolumeSpec = Dict{Symbol,String}(Symbol("accessModes")=>"Vector{String}", Symbol("awsElasticBlockStore")=>"IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", Symbol("azureDisk")=>"IoK8sApiCoreV1AzureDiskVolumeSource", Symbol("azureFile")=>"IoK8sApiCoreV1AzureFilePersistentVolumeSource", Symbol("capacity")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("cephfs")=>"IoK8sApiCoreV1CephFSPersistentVolumeSource", Symbol("cinder")=>"IoK8sApiCoreV1CinderPersistentVolumeSource", Symbol("claimRef")=>"IoK8sApiCoreV1ObjectReference", Symbol("csi")=>"IoK8sApiCoreV1CSIPersistentVolumeSource", Symbol("fc")=>"IoK8sApiCoreV1FCVolumeSource", Symbol("flexVolume")=>"IoK8sApiCoreV1FlexPersistentVolumeSource", Symbol("flocker")=>"IoK8sApiCoreV1FlockerVolumeSource", Symbol("gcePersistentDisk")=>"IoK8sApiCoreV1GCEPersistentDiskVolumeSource", Symbol("glusterfs")=>"IoK8sApiCoreV1GlusterfsPersistentVolumeSource", Symbol("hostPath")=>"IoK8sApiCoreV1HostPathVolumeSource", Symbol("iscsi")=>"IoK8sApiCoreV1ISCSIPersistentVolumeSource", Symbol("local")=>"IoK8sApiCoreV1LocalVolumeSource", Symbol("mountOptions")=>"Vector{String}", Symbol("nfs")=>"IoK8sApiCoreV1NFSVolumeSource", Symbol("nodeAffinity")=>"IoK8sApiCoreV1VolumeNodeAffinity", Symbol("persistentVolumeReclaimPolicy")=>"String", Symbol("photonPersistentDisk")=>"IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", Symbol("portworxVolume")=>"IoK8sApiCoreV1PortworxVolumeSource", Symbol("quobyte")=>"IoK8sApiCoreV1QuobyteVolumeSource", Symbol("rbd")=>"IoK8sApiCoreV1RBDPersistentVolumeSource", Symbol("scaleIO")=>"IoK8sApiCoreV1ScaleIOPersistentVolumeSource", Symbol("storageClassName")=>"String", Symbol("storageos")=>"IoK8sApiCoreV1StorageOSPersistentVolumeSource", Symbol("volumeMode")=>"String", Symbol("vsphereVolume")=>"IoK8sApiCoreV1VsphereVirtualDiskVolumeSource") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeSpec }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeSpec[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeStatus.jl deleted file mode 100644 index 719358c5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PersistentVolumeStatus.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PersistentVolumeStatus is the current status of a persistent volume. - - IoK8sApiCoreV1PersistentVolumeStatus(; - message=nothing, - phase=nothing, - reason=nothing, - ) - - - message::String : A human-readable message indicating details about why the volume is in this state. - - phase::String : Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase - - reason::String : Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. -""" -mutable struct IoK8sApiCoreV1PersistentVolumeStatus <: SwaggerModel - message::Any # spec type: Union{ Nothing, String } # spec name: message - phase::Any # spec type: Union{ Nothing, String } # spec name: phase - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - - function IoK8sApiCoreV1PersistentVolumeStatus(;message=nothing, phase=nothing, reason=nothing) - o = new() - validate_property(IoK8sApiCoreV1PersistentVolumeStatus, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1PersistentVolumeStatus, Symbol("phase"), phase) - setfield!(o, Symbol("phase"), phase) - validate_property(IoK8sApiCoreV1PersistentVolumeStatus, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - o - end -end # type IoK8sApiCoreV1PersistentVolumeStatus - -const _property_map_IoK8sApiCoreV1PersistentVolumeStatus = Dict{Symbol,Symbol}(Symbol("message")=>Symbol("message"), Symbol("phase")=>Symbol("phase"), Symbol("reason")=>Symbol("reason")) -const _property_types_IoK8sApiCoreV1PersistentVolumeStatus = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("phase")=>"String", Symbol("reason")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PersistentVolumeStatus }) = collect(keys(_property_map_IoK8sApiCoreV1PersistentVolumeStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PersistentVolumeStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PersistentVolumeStatus[property_name] - -function check_required(o::IoK8sApiCoreV1PersistentVolumeStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl deleted file mode 100644 index fcb32680..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Photon Controller persistent disk resource. - - IoK8sApiCoreV1PhotonPersistentDiskVolumeSource(; - fsType=nothing, - pdID=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. - - pdID::String : ID that identifies Photon Controller persistent disk -""" -mutable struct IoK8sApiCoreV1PhotonPersistentDiskVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - pdID::Any # spec type: Union{ Nothing, String } # spec name: pdID - - function IoK8sApiCoreV1PhotonPersistentDiskVolumeSource(;fsType=nothing, pdID=nothing) - o = new() - validate_property(IoK8sApiCoreV1PhotonPersistentDiskVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1PhotonPersistentDiskVolumeSource, Symbol("pdID"), pdID) - setfield!(o, Symbol("pdID"), pdID) - o - end -end # type IoK8sApiCoreV1PhotonPersistentDiskVolumeSource - -const _property_map_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("pdID")=>Symbol("pdID")) -const _property_types_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("pdID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PhotonPersistentDiskVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PhotonPersistentDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PhotonPersistentDiskVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1PhotonPersistentDiskVolumeSource) - (getproperty(o, Symbol("pdID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PhotonPersistentDiskVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Pod.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Pod.jl deleted file mode 100644 index 30c7ef45..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Pod.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. - - IoK8sApiCoreV1Pod(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1PodSpec : Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiCoreV1PodStatus : Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1Pod <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodStatus } # spec name: status - - function IoK8sApiCoreV1Pod(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1Pod, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Pod, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Pod, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Pod, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1Pod, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1Pod - -const _property_map_IoK8sApiCoreV1Pod = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1Pod = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PodSpec", Symbol("status")=>"IoK8sApiCoreV1PodStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1Pod }) = collect(keys(_property_map_IoK8sApiCoreV1Pod)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Pod }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Pod[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Pod }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Pod[property_name] - -function check_required(o::IoK8sApiCoreV1Pod) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Pod }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodAffinity.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodAffinity.jl deleted file mode 100644 index c48e41aa..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodAffinity.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Pod affinity is a group of inter pod affinity scheduling rules. - - IoK8sApiCoreV1PodAffinity(; - preferredDuringSchedulingIgnoredDuringExecution=nothing, - requiredDuringSchedulingIgnoredDuringExecution=nothing, - ) - - - preferredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} : The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. - - requiredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1PodAffinityTerm} : If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. -""" -mutable struct IoK8sApiCoreV1PodAffinity <: SwaggerModel - preferredDuringSchedulingIgnoredDuringExecution::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} } # spec name: preferredDuringSchedulingIgnoredDuringExecution - requiredDuringSchedulingIgnoredDuringExecution::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodAffinityTerm} } # spec name: requiredDuringSchedulingIgnoredDuringExecution - - function IoK8sApiCoreV1PodAffinity(;preferredDuringSchedulingIgnoredDuringExecution=nothing, requiredDuringSchedulingIgnoredDuringExecution=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodAffinity, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) - setfield!(o, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) - validate_property(IoK8sApiCoreV1PodAffinity, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) - setfield!(o, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) - o - end -end # type IoK8sApiCoreV1PodAffinity - -const _property_map_IoK8sApiCoreV1PodAffinity = Dict{Symbol,Symbol}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>Symbol("preferredDuringSchedulingIgnoredDuringExecution"), Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>Symbol("requiredDuringSchedulingIgnoredDuringExecution")) -const _property_types_IoK8sApiCoreV1PodAffinity = Dict{Symbol,String}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1WeightedPodAffinityTerm}", Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1PodAffinityTerm}") -Base.propertynames(::Type{ IoK8sApiCoreV1PodAffinity }) = collect(keys(_property_map_IoK8sApiCoreV1PodAffinity)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodAffinity[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodAffinity }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodAffinity[property_name] - -function check_required(o::IoK8sApiCoreV1PodAffinity) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodAffinity }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodAffinityTerm.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodAffinityTerm.jl deleted file mode 100644 index 9ed245fa..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodAffinityTerm.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running - - IoK8sApiCoreV1PodAffinityTerm(; - labelSelector=nothing, - namespaces=nothing, - topologyKey=nothing, - ) - - - labelSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : A label query over a set of resources, in this case pods. - - namespaces::Vector{String} : namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\" - - topologyKey::String : This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. -""" -mutable struct IoK8sApiCoreV1PodAffinityTerm <: SwaggerModel - labelSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: labelSelector - namespaces::Any # spec type: Union{ Nothing, Vector{String} } # spec name: namespaces - topologyKey::Any # spec type: Union{ Nothing, String } # spec name: topologyKey - - function IoK8sApiCoreV1PodAffinityTerm(;labelSelector=nothing, namespaces=nothing, topologyKey=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodAffinityTerm, Symbol("labelSelector"), labelSelector) - setfield!(o, Symbol("labelSelector"), labelSelector) - validate_property(IoK8sApiCoreV1PodAffinityTerm, Symbol("namespaces"), namespaces) - setfield!(o, Symbol("namespaces"), namespaces) - validate_property(IoK8sApiCoreV1PodAffinityTerm, Symbol("topologyKey"), topologyKey) - setfield!(o, Symbol("topologyKey"), topologyKey) - o - end -end # type IoK8sApiCoreV1PodAffinityTerm - -const _property_map_IoK8sApiCoreV1PodAffinityTerm = Dict{Symbol,Symbol}(Symbol("labelSelector")=>Symbol("labelSelector"), Symbol("namespaces")=>Symbol("namespaces"), Symbol("topologyKey")=>Symbol("topologyKey")) -const _property_types_IoK8sApiCoreV1PodAffinityTerm = Dict{Symbol,String}(Symbol("labelSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("namespaces")=>"Vector{String}", Symbol("topologyKey")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PodAffinityTerm }) = collect(keys(_property_map_IoK8sApiCoreV1PodAffinityTerm)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodAffinityTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodAffinityTerm[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodAffinityTerm }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodAffinityTerm[property_name] - -function check_required(o::IoK8sApiCoreV1PodAffinityTerm) - (getproperty(o, Symbol("topologyKey")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodAffinityTerm }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodAntiAffinity.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodAntiAffinity.jl deleted file mode 100644 index 6c56aa4f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodAntiAffinity.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Pod anti affinity is a group of inter pod anti affinity scheduling rules. - - IoK8sApiCoreV1PodAntiAffinity(; - preferredDuringSchedulingIgnoredDuringExecution=nothing, - requiredDuringSchedulingIgnoredDuringExecution=nothing, - ) - - - preferredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} : The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. - - requiredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1PodAffinityTerm} : If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. -""" -mutable struct IoK8sApiCoreV1PodAntiAffinity <: SwaggerModel - preferredDuringSchedulingIgnoredDuringExecution::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} } # spec name: preferredDuringSchedulingIgnoredDuringExecution - requiredDuringSchedulingIgnoredDuringExecution::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodAffinityTerm} } # spec name: requiredDuringSchedulingIgnoredDuringExecution - - function IoK8sApiCoreV1PodAntiAffinity(;preferredDuringSchedulingIgnoredDuringExecution=nothing, requiredDuringSchedulingIgnoredDuringExecution=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodAntiAffinity, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) - setfield!(o, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) - validate_property(IoK8sApiCoreV1PodAntiAffinity, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) - setfield!(o, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) - o - end -end # type IoK8sApiCoreV1PodAntiAffinity - -const _property_map_IoK8sApiCoreV1PodAntiAffinity = Dict{Symbol,Symbol}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>Symbol("preferredDuringSchedulingIgnoredDuringExecution"), Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>Symbol("requiredDuringSchedulingIgnoredDuringExecution")) -const _property_types_IoK8sApiCoreV1PodAntiAffinity = Dict{Symbol,String}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1WeightedPodAffinityTerm}", Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1PodAffinityTerm}") -Base.propertynames(::Type{ IoK8sApiCoreV1PodAntiAffinity }) = collect(keys(_property_map_IoK8sApiCoreV1PodAntiAffinity)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodAntiAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodAntiAffinity[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodAntiAffinity }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodAntiAffinity[property_name] - -function check_required(o::IoK8sApiCoreV1PodAntiAffinity) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodAntiAffinity }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodCondition.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodCondition.jl deleted file mode 100644 index 5b1d459d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodCondition contains details for the current condition of this pod. - - IoK8sApiCoreV1PodCondition(; - lastProbeTime=nothing, - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastProbeTime::IoK8sApimachineryPkgApisMetaV1Time : Last time we probed the condition. - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : Human-readable message indicating details about last transition. - - reason::String : Unique, one-word, CamelCase reason for the condition's last transition. - - status::String : Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions - - type::String : Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions -""" -mutable struct IoK8sApiCoreV1PodCondition <: SwaggerModel - lastProbeTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastProbeTime - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1PodCondition(;lastProbeTime=nothing, lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodCondition, Symbol("lastProbeTime"), lastProbeTime) - setfield!(o, Symbol("lastProbeTime"), lastProbeTime) - validate_property(IoK8sApiCoreV1PodCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiCoreV1PodCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1PodCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1PodCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiCoreV1PodCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1PodCondition - -const _property_map_IoK8sApiCoreV1PodCondition = Dict{Symbol,Symbol}(Symbol("lastProbeTime")=>Symbol("lastProbeTime"), Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1PodCondition = Dict{Symbol,String}(Symbol("lastProbeTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PodCondition }) = collect(keys(_property_map_IoK8sApiCoreV1PodCondition)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodCondition }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodCondition[property_name] - -function check_required(o::IoK8sApiCoreV1PodCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodDNSConfig.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodDNSConfig.jl deleted file mode 100644 index eeab83fa..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodDNSConfig.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. - - IoK8sApiCoreV1PodDNSConfig(; - nameservers=nothing, - options=nothing, - searches=nothing, - ) - - - nameservers::Vector{String} : A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. - - options::Vector{IoK8sApiCoreV1PodDNSConfigOption} : A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. - - searches::Vector{String} : A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. -""" -mutable struct IoK8sApiCoreV1PodDNSConfig <: SwaggerModel - nameservers::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nameservers - options::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodDNSConfigOption} } # spec name: options - searches::Any # spec type: Union{ Nothing, Vector{String} } # spec name: searches - - function IoK8sApiCoreV1PodDNSConfig(;nameservers=nothing, options=nothing, searches=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodDNSConfig, Symbol("nameservers"), nameservers) - setfield!(o, Symbol("nameservers"), nameservers) - validate_property(IoK8sApiCoreV1PodDNSConfig, Symbol("options"), options) - setfield!(o, Symbol("options"), options) - validate_property(IoK8sApiCoreV1PodDNSConfig, Symbol("searches"), searches) - setfield!(o, Symbol("searches"), searches) - o - end -end # type IoK8sApiCoreV1PodDNSConfig - -const _property_map_IoK8sApiCoreV1PodDNSConfig = Dict{Symbol,Symbol}(Symbol("nameservers")=>Symbol("nameservers"), Symbol("options")=>Symbol("options"), Symbol("searches")=>Symbol("searches")) -const _property_types_IoK8sApiCoreV1PodDNSConfig = Dict{Symbol,String}(Symbol("nameservers")=>"Vector{String}", Symbol("options")=>"Vector{IoK8sApiCoreV1PodDNSConfigOption}", Symbol("searches")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1PodDNSConfig }) = collect(keys(_property_map_IoK8sApiCoreV1PodDNSConfig)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodDNSConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodDNSConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodDNSConfig }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodDNSConfig[property_name] - -function check_required(o::IoK8sApiCoreV1PodDNSConfig) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodDNSConfig }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodDNSConfigOption.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodDNSConfigOption.jl deleted file mode 100644 index cb08b179..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodDNSConfigOption.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodDNSConfigOption defines DNS resolver options of a pod. - - IoK8sApiCoreV1PodDNSConfigOption(; - name=nothing, - value=nothing, - ) - - - name::String : Required. - - value::String -""" -mutable struct IoK8sApiCoreV1PodDNSConfigOption <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - value::Any # spec type: Union{ Nothing, String } # spec name: value - - function IoK8sApiCoreV1PodDNSConfigOption(;name=nothing, value=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodDNSConfigOption, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1PodDNSConfigOption, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiCoreV1PodDNSConfigOption - -const _property_map_IoK8sApiCoreV1PodDNSConfigOption = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiCoreV1PodDNSConfigOption = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PodDNSConfigOption }) = collect(keys(_property_map_IoK8sApiCoreV1PodDNSConfigOption)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodDNSConfigOption }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodDNSConfigOption[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodDNSConfigOption }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodDNSConfigOption[property_name] - -function check_required(o::IoK8sApiCoreV1PodDNSConfigOption) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodDNSConfigOption }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodIP.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodIP.jl deleted file mode 100644 index eff9416f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodIP.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IP address information for entries in the (plural) PodIPs field. Each entry includes: IP: An IP address allocated to the pod. Routable at least within the cluster. - - IoK8sApiCoreV1PodIP(; - ip=nothing, - ) - - - ip::String : ip is an IP address (IPv4 or IPv6) assigned to the pod -""" -mutable struct IoK8sApiCoreV1PodIP <: SwaggerModel - ip::Any # spec type: Union{ Nothing, String } # spec name: ip - - function IoK8sApiCoreV1PodIP(;ip=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodIP, Symbol("ip"), ip) - setfield!(o, Symbol("ip"), ip) - o - end -end # type IoK8sApiCoreV1PodIP - -const _property_map_IoK8sApiCoreV1PodIP = Dict{Symbol,Symbol}(Symbol("ip")=>Symbol("ip")) -const _property_types_IoK8sApiCoreV1PodIP = Dict{Symbol,String}(Symbol("ip")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PodIP }) = collect(keys(_property_map_IoK8sApiCoreV1PodIP)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodIP }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodIP[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodIP }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodIP[property_name] - -function check_required(o::IoK8sApiCoreV1PodIP) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodIP }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodList.jl deleted file mode 100644 index 449a1369..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodList is a list of Pods. - - IoK8sApiCoreV1PodList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Pod} : List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1PodList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Pod} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1PodList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PodList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1PodList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PodList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1PodList - -const _property_map_IoK8sApiCoreV1PodList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1PodList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Pod}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1PodList }) = collect(keys(_property_map_IoK8sApiCoreV1PodList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodList[property_name] - -function check_required(o::IoK8sApiCoreV1PodList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodReadinessGate.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodReadinessGate.jl deleted file mode 100644 index 31901f16..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodReadinessGate.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodReadinessGate contains the reference to a pod condition - - IoK8sApiCoreV1PodReadinessGate(; - conditionType=nothing, - ) - - - conditionType::String : ConditionType refers to a condition in the pod's condition list with matching type. -""" -mutable struct IoK8sApiCoreV1PodReadinessGate <: SwaggerModel - conditionType::Any # spec type: Union{ Nothing, String } # spec name: conditionType - - function IoK8sApiCoreV1PodReadinessGate(;conditionType=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodReadinessGate, Symbol("conditionType"), conditionType) - setfield!(o, Symbol("conditionType"), conditionType) - o - end -end # type IoK8sApiCoreV1PodReadinessGate - -const _property_map_IoK8sApiCoreV1PodReadinessGate = Dict{Symbol,Symbol}(Symbol("conditionType")=>Symbol("conditionType")) -const _property_types_IoK8sApiCoreV1PodReadinessGate = Dict{Symbol,String}(Symbol("conditionType")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PodReadinessGate }) = collect(keys(_property_map_IoK8sApiCoreV1PodReadinessGate)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodReadinessGate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodReadinessGate[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodReadinessGate }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodReadinessGate[property_name] - -function check_required(o::IoK8sApiCoreV1PodReadinessGate) - (getproperty(o, Symbol("conditionType")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodReadinessGate }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodSecurityContext.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodSecurityContext.jl deleted file mode 100644 index 4b95801c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodSecurityContext.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. - - IoK8sApiCoreV1PodSecurityContext(; - fsGroup=nothing, - runAsGroup=nothing, - runAsNonRoot=nothing, - runAsUser=nothing, - seLinuxOptions=nothing, - supplementalGroups=nothing, - sysctls=nothing, - windowsOptions=nothing, - ) - - - fsGroup::Int64 : A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. - - runAsGroup::Int64 : The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. - - runAsNonRoot::Bool : Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. - - runAsUser::Int64 : The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. - - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions : The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. - - supplementalGroups::Vector{Int64} : A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. - - sysctls::Vector{IoK8sApiCoreV1Sysctl} : Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. - - windowsOptions::IoK8sApiCoreV1WindowsSecurityContextOptions : The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. -""" -mutable struct IoK8sApiCoreV1PodSecurityContext <: SwaggerModel - fsGroup::Any # spec type: Union{ Nothing, Int64 } # spec name: fsGroup - runAsGroup::Any # spec type: Union{ Nothing, Int64 } # spec name: runAsGroup - runAsNonRoot::Any # spec type: Union{ Nothing, Bool } # spec name: runAsNonRoot - runAsUser::Any # spec type: Union{ Nothing, Int64 } # spec name: runAsUser - seLinuxOptions::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } # spec name: seLinuxOptions - supplementalGroups::Any # spec type: Union{ Nothing, Vector{Int64} } # spec name: supplementalGroups - sysctls::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Sysctl} } # spec name: sysctls - windowsOptions::Any # spec type: Union{ Nothing, IoK8sApiCoreV1WindowsSecurityContextOptions } # spec name: windowsOptions - - function IoK8sApiCoreV1PodSecurityContext(;fsGroup=nothing, runAsGroup=nothing, runAsNonRoot=nothing, runAsUser=nothing, seLinuxOptions=nothing, supplementalGroups=nothing, sysctls=nothing, windowsOptions=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("fsGroup"), fsGroup) - setfield!(o, Symbol("fsGroup"), fsGroup) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("runAsGroup"), runAsGroup) - setfield!(o, Symbol("runAsGroup"), runAsGroup) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("runAsNonRoot"), runAsNonRoot) - setfield!(o, Symbol("runAsNonRoot"), runAsNonRoot) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("runAsUser"), runAsUser) - setfield!(o, Symbol("runAsUser"), runAsUser) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("seLinuxOptions"), seLinuxOptions) - setfield!(o, Symbol("seLinuxOptions"), seLinuxOptions) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("supplementalGroups"), supplementalGroups) - setfield!(o, Symbol("supplementalGroups"), supplementalGroups) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("sysctls"), sysctls) - setfield!(o, Symbol("sysctls"), sysctls) - validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("windowsOptions"), windowsOptions) - setfield!(o, Symbol("windowsOptions"), windowsOptions) - o - end -end # type IoK8sApiCoreV1PodSecurityContext - -const _property_map_IoK8sApiCoreV1PodSecurityContext = Dict{Symbol,Symbol}(Symbol("fsGroup")=>Symbol("fsGroup"), Symbol("runAsGroup")=>Symbol("runAsGroup"), Symbol("runAsNonRoot")=>Symbol("runAsNonRoot"), Symbol("runAsUser")=>Symbol("runAsUser"), Symbol("seLinuxOptions")=>Symbol("seLinuxOptions"), Symbol("supplementalGroups")=>Symbol("supplementalGroups"), Symbol("sysctls")=>Symbol("sysctls"), Symbol("windowsOptions")=>Symbol("windowsOptions")) -const _property_types_IoK8sApiCoreV1PodSecurityContext = Dict{Symbol,String}(Symbol("fsGroup")=>"Int64", Symbol("runAsGroup")=>"Int64", Symbol("runAsNonRoot")=>"Bool", Symbol("runAsUser")=>"Int64", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions", Symbol("supplementalGroups")=>"Vector{Int64}", Symbol("sysctls")=>"Vector{IoK8sApiCoreV1Sysctl}", Symbol("windowsOptions")=>"IoK8sApiCoreV1WindowsSecurityContextOptions") -Base.propertynames(::Type{ IoK8sApiCoreV1PodSecurityContext }) = collect(keys(_property_map_IoK8sApiCoreV1PodSecurityContext)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodSecurityContext }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodSecurityContext[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodSecurityContext }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodSecurityContext[property_name] - -function check_required(o::IoK8sApiCoreV1PodSecurityContext) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodSecurityContext }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodSpec.jl deleted file mode 100644 index 756812c2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodSpec.jl +++ /dev/null @@ -1,201 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSpec is a description of a pod. - - IoK8sApiCoreV1PodSpec(; - activeDeadlineSeconds=nothing, - affinity=nothing, - automountServiceAccountToken=nothing, - containers=nothing, - dnsConfig=nothing, - dnsPolicy=nothing, - enableServiceLinks=nothing, - ephemeralContainers=nothing, - hostAliases=nothing, - hostIPC=nothing, - hostNetwork=nothing, - hostPID=nothing, - hostname=nothing, - imagePullSecrets=nothing, - initContainers=nothing, - nodeName=nothing, - nodeSelector=nothing, - overhead=nothing, - preemptionPolicy=nothing, - priority=nothing, - priorityClassName=nothing, - readinessGates=nothing, - restartPolicy=nothing, - runtimeClassName=nothing, - schedulerName=nothing, - securityContext=nothing, - serviceAccount=nothing, - serviceAccountName=nothing, - shareProcessNamespace=nothing, - subdomain=nothing, - terminationGracePeriodSeconds=nothing, - tolerations=nothing, - topologySpreadConstraints=nothing, - volumes=nothing, - ) - - - activeDeadlineSeconds::Int64 : Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. - - affinity::IoK8sApiCoreV1Affinity : If specified, the pod's scheduling constraints - - automountServiceAccountToken::Bool : AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. - - containers::Vector{IoK8sApiCoreV1Container} : List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. - - dnsConfig::IoK8sApiCoreV1PodDNSConfig : Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. - - dnsPolicy::String : Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. - - enableServiceLinks::Bool : EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true. - - ephemeralContainers::Vector{IoK8sApiCoreV1EphemeralContainer} : List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature. - - hostAliases::Vector{IoK8sApiCoreV1HostAlias} : HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. - - hostIPC::Bool : Use the host's ipc namespace. Optional: Default to false. - - hostNetwork::Bool : Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. - - hostPID::Bool : Use the host's pid namespace. Optional: Default to false. - - hostname::String : Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. - - imagePullSecrets::Vector{IoK8sApiCoreV1LocalObjectReference} : ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod - - initContainers::Vector{IoK8sApiCoreV1Container} : List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ - - nodeName::String : NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. - - nodeSelector::Dict{String, String} : NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ - - overhead::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature. - - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. - - priority::Int32 : The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. - - priorityClassName::String : If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. - - readinessGates::Vector{IoK8sApiCoreV1PodReadinessGate} : If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md - - restartPolicy::String : Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy - - runtimeClassName::String : RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14. - - schedulerName::String : If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. - - securityContext::IoK8sApiCoreV1PodSecurityContext : SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. - - serviceAccount::String : DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. - - serviceAccountName::String : ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ - - shareProcessNamespace::Bool : Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. - - subdomain::String : If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. - - terminationGracePeriodSeconds::Int64 : Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. - - tolerations::Vector{IoK8sApiCoreV1Toleration} : If specified, the pod's tolerations. - - topologySpreadConstraints::Vector{IoK8sApiCoreV1TopologySpreadConstraint} : TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is alpha-level and is only honored by clusters that enables the EvenPodsSpread feature. All topologySpreadConstraints are ANDed. - - volumes::Vector{IoK8sApiCoreV1Volume} : List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes -""" -mutable struct IoK8sApiCoreV1PodSpec <: SwaggerModel - activeDeadlineSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: activeDeadlineSeconds - affinity::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Affinity } # spec name: affinity - automountServiceAccountToken::Any # spec type: Union{ Nothing, Bool } # spec name: automountServiceAccountToken - containers::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Container} } # spec name: containers - dnsConfig::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodDNSConfig } # spec name: dnsConfig - dnsPolicy::Any # spec type: Union{ Nothing, String } # spec name: dnsPolicy - enableServiceLinks::Any # spec type: Union{ Nothing, Bool } # spec name: enableServiceLinks - ephemeralContainers::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EphemeralContainer} } # spec name: ephemeralContainers - hostAliases::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1HostAlias} } # spec name: hostAliases - hostIPC::Any # spec type: Union{ Nothing, Bool } # spec name: hostIPC - hostNetwork::Any # spec type: Union{ Nothing, Bool } # spec name: hostNetwork - hostPID::Any # spec type: Union{ Nothing, Bool } # spec name: hostPID - hostname::Any # spec type: Union{ Nothing, String } # spec name: hostname - imagePullSecrets::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LocalObjectReference} } # spec name: imagePullSecrets - initContainers::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Container} } # spec name: initContainers - nodeName::Any # spec type: Union{ Nothing, String } # spec name: nodeName - nodeSelector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: nodeSelector - overhead::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: overhead - preemptionPolicy::Any # spec type: Union{ Nothing, String } # spec name: preemptionPolicy - priority::Any # spec type: Union{ Nothing, Int32 } # spec name: priority - priorityClassName::Any # spec type: Union{ Nothing, String } # spec name: priorityClassName - readinessGates::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodReadinessGate} } # spec name: readinessGates - restartPolicy::Any # spec type: Union{ Nothing, String } # spec name: restartPolicy - runtimeClassName::Any # spec type: Union{ Nothing, String } # spec name: runtimeClassName - schedulerName::Any # spec type: Union{ Nothing, String } # spec name: schedulerName - securityContext::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodSecurityContext } # spec name: securityContext - serviceAccount::Any # spec type: Union{ Nothing, String } # spec name: serviceAccount - serviceAccountName::Any # spec type: Union{ Nothing, String } # spec name: serviceAccountName - shareProcessNamespace::Any # spec type: Union{ Nothing, Bool } # spec name: shareProcessNamespace - subdomain::Any # spec type: Union{ Nothing, String } # spec name: subdomain - terminationGracePeriodSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: terminationGracePeriodSeconds - tolerations::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Toleration} } # spec name: tolerations - topologySpreadConstraints::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySpreadConstraint} } # spec name: topologySpreadConstraints - volumes::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Volume} } # spec name: volumes - - function IoK8sApiCoreV1PodSpec(;activeDeadlineSeconds=nothing, affinity=nothing, automountServiceAccountToken=nothing, containers=nothing, dnsConfig=nothing, dnsPolicy=nothing, enableServiceLinks=nothing, ephemeralContainers=nothing, hostAliases=nothing, hostIPC=nothing, hostNetwork=nothing, hostPID=nothing, hostname=nothing, imagePullSecrets=nothing, initContainers=nothing, nodeName=nothing, nodeSelector=nothing, overhead=nothing, preemptionPolicy=nothing, priority=nothing, priorityClassName=nothing, readinessGates=nothing, restartPolicy=nothing, runtimeClassName=nothing, schedulerName=nothing, securityContext=nothing, serviceAccount=nothing, serviceAccountName=nothing, shareProcessNamespace=nothing, subdomain=nothing, terminationGracePeriodSeconds=nothing, tolerations=nothing, topologySpreadConstraints=nothing, volumes=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodSpec, Symbol("activeDeadlineSeconds"), activeDeadlineSeconds) - setfield!(o, Symbol("activeDeadlineSeconds"), activeDeadlineSeconds) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("affinity"), affinity) - setfield!(o, Symbol("affinity"), affinity) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("automountServiceAccountToken"), automountServiceAccountToken) - setfield!(o, Symbol("automountServiceAccountToken"), automountServiceAccountToken) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("containers"), containers) - setfield!(o, Symbol("containers"), containers) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("dnsConfig"), dnsConfig) - setfield!(o, Symbol("dnsConfig"), dnsConfig) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("dnsPolicy"), dnsPolicy) - setfield!(o, Symbol("dnsPolicy"), dnsPolicy) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("enableServiceLinks"), enableServiceLinks) - setfield!(o, Symbol("enableServiceLinks"), enableServiceLinks) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("ephemeralContainers"), ephemeralContainers) - setfield!(o, Symbol("ephemeralContainers"), ephemeralContainers) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostAliases"), hostAliases) - setfield!(o, Symbol("hostAliases"), hostAliases) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostIPC"), hostIPC) - setfield!(o, Symbol("hostIPC"), hostIPC) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostNetwork"), hostNetwork) - setfield!(o, Symbol("hostNetwork"), hostNetwork) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostPID"), hostPID) - setfield!(o, Symbol("hostPID"), hostPID) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostname"), hostname) - setfield!(o, Symbol("hostname"), hostname) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("imagePullSecrets"), imagePullSecrets) - setfield!(o, Symbol("imagePullSecrets"), imagePullSecrets) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("initContainers"), initContainers) - setfield!(o, Symbol("initContainers"), initContainers) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("nodeName"), nodeName) - setfield!(o, Symbol("nodeName"), nodeName) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("nodeSelector"), nodeSelector) - setfield!(o, Symbol("nodeSelector"), nodeSelector) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("overhead"), overhead) - setfield!(o, Symbol("overhead"), overhead) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("preemptionPolicy"), preemptionPolicy) - setfield!(o, Symbol("preemptionPolicy"), preemptionPolicy) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("priority"), priority) - setfield!(o, Symbol("priority"), priority) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("priorityClassName"), priorityClassName) - setfield!(o, Symbol("priorityClassName"), priorityClassName) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("readinessGates"), readinessGates) - setfield!(o, Symbol("readinessGates"), readinessGates) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("restartPolicy"), restartPolicy) - setfield!(o, Symbol("restartPolicy"), restartPolicy) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("runtimeClassName"), runtimeClassName) - setfield!(o, Symbol("runtimeClassName"), runtimeClassName) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("schedulerName"), schedulerName) - setfield!(o, Symbol("schedulerName"), schedulerName) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("securityContext"), securityContext) - setfield!(o, Symbol("securityContext"), securityContext) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("serviceAccount"), serviceAccount) - setfield!(o, Symbol("serviceAccount"), serviceAccount) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("serviceAccountName"), serviceAccountName) - setfield!(o, Symbol("serviceAccountName"), serviceAccountName) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("shareProcessNamespace"), shareProcessNamespace) - setfield!(o, Symbol("shareProcessNamespace"), shareProcessNamespace) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("subdomain"), subdomain) - setfield!(o, Symbol("subdomain"), subdomain) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("terminationGracePeriodSeconds"), terminationGracePeriodSeconds) - setfield!(o, Symbol("terminationGracePeriodSeconds"), terminationGracePeriodSeconds) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("tolerations"), tolerations) - setfield!(o, Symbol("tolerations"), tolerations) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("topologySpreadConstraints"), topologySpreadConstraints) - setfield!(o, Symbol("topologySpreadConstraints"), topologySpreadConstraints) - validate_property(IoK8sApiCoreV1PodSpec, Symbol("volumes"), volumes) - setfield!(o, Symbol("volumes"), volumes) - o - end -end # type IoK8sApiCoreV1PodSpec - -const _property_map_IoK8sApiCoreV1PodSpec = Dict{Symbol,Symbol}(Symbol("activeDeadlineSeconds")=>Symbol("activeDeadlineSeconds"), Symbol("affinity")=>Symbol("affinity"), Symbol("automountServiceAccountToken")=>Symbol("automountServiceAccountToken"), Symbol("containers")=>Symbol("containers"), Symbol("dnsConfig")=>Symbol("dnsConfig"), Symbol("dnsPolicy")=>Symbol("dnsPolicy"), Symbol("enableServiceLinks")=>Symbol("enableServiceLinks"), Symbol("ephemeralContainers")=>Symbol("ephemeralContainers"), Symbol("hostAliases")=>Symbol("hostAliases"), Symbol("hostIPC")=>Symbol("hostIPC"), Symbol("hostNetwork")=>Symbol("hostNetwork"), Symbol("hostPID")=>Symbol("hostPID"), Symbol("hostname")=>Symbol("hostname"), Symbol("imagePullSecrets")=>Symbol("imagePullSecrets"), Symbol("initContainers")=>Symbol("initContainers"), Symbol("nodeName")=>Symbol("nodeName"), Symbol("nodeSelector")=>Symbol("nodeSelector"), Symbol("overhead")=>Symbol("overhead"), Symbol("preemptionPolicy")=>Symbol("preemptionPolicy"), Symbol("priority")=>Symbol("priority"), Symbol("priorityClassName")=>Symbol("priorityClassName"), Symbol("readinessGates")=>Symbol("readinessGates"), Symbol("restartPolicy")=>Symbol("restartPolicy"), Symbol("runtimeClassName")=>Symbol("runtimeClassName"), Symbol("schedulerName")=>Symbol("schedulerName"), Symbol("securityContext")=>Symbol("securityContext"), Symbol("serviceAccount")=>Symbol("serviceAccount"), Symbol("serviceAccountName")=>Symbol("serviceAccountName"), Symbol("shareProcessNamespace")=>Symbol("shareProcessNamespace"), Symbol("subdomain")=>Symbol("subdomain"), Symbol("terminationGracePeriodSeconds")=>Symbol("terminationGracePeriodSeconds"), Symbol("tolerations")=>Symbol("tolerations"), Symbol("topologySpreadConstraints")=>Symbol("topologySpreadConstraints"), Symbol("volumes")=>Symbol("volumes")) -const _property_types_IoK8sApiCoreV1PodSpec = Dict{Symbol,String}(Symbol("activeDeadlineSeconds")=>"Int64", Symbol("affinity")=>"IoK8sApiCoreV1Affinity", Symbol("automountServiceAccountToken")=>"Bool", Symbol("containers")=>"Vector{IoK8sApiCoreV1Container}", Symbol("dnsConfig")=>"IoK8sApiCoreV1PodDNSConfig", Symbol("dnsPolicy")=>"String", Symbol("enableServiceLinks")=>"Bool", Symbol("ephemeralContainers")=>"Vector{IoK8sApiCoreV1EphemeralContainer}", Symbol("hostAliases")=>"Vector{IoK8sApiCoreV1HostAlias}", Symbol("hostIPC")=>"Bool", Symbol("hostNetwork")=>"Bool", Symbol("hostPID")=>"Bool", Symbol("hostname")=>"String", Symbol("imagePullSecrets")=>"Vector{IoK8sApiCoreV1LocalObjectReference}", Symbol("initContainers")=>"Vector{IoK8sApiCoreV1Container}", Symbol("nodeName")=>"String", Symbol("nodeSelector")=>"Dict{String, String}", Symbol("overhead")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("preemptionPolicy")=>"String", Symbol("priority")=>"Int32", Symbol("priorityClassName")=>"String", Symbol("readinessGates")=>"Vector{IoK8sApiCoreV1PodReadinessGate}", Symbol("restartPolicy")=>"String", Symbol("runtimeClassName")=>"String", Symbol("schedulerName")=>"String", Symbol("securityContext")=>"IoK8sApiCoreV1PodSecurityContext", Symbol("serviceAccount")=>"String", Symbol("serviceAccountName")=>"String", Symbol("shareProcessNamespace")=>"Bool", Symbol("subdomain")=>"String", Symbol("terminationGracePeriodSeconds")=>"Int64", Symbol("tolerations")=>"Vector{IoK8sApiCoreV1Toleration}", Symbol("topologySpreadConstraints")=>"Vector{IoK8sApiCoreV1TopologySpreadConstraint}", Symbol("volumes")=>"Vector{IoK8sApiCoreV1Volume}") -Base.propertynames(::Type{ IoK8sApiCoreV1PodSpec }) = collect(keys(_property_map_IoK8sApiCoreV1PodSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodSpec[property_name] - -function check_required(o::IoK8sApiCoreV1PodSpec) - (getproperty(o, Symbol("containers")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodStatus.jl deleted file mode 100644 index cb0632f7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodStatus.jl +++ /dev/null @@ -1,95 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. - - IoK8sApiCoreV1PodStatus(; - conditions=nothing, - containerStatuses=nothing, - ephemeralContainerStatuses=nothing, - hostIP=nothing, - initContainerStatuses=nothing, - message=nothing, - nominatedNodeName=nothing, - phase=nothing, - podIP=nothing, - podIPs=nothing, - qosClass=nothing, - reason=nothing, - startTime=nothing, - ) - - - conditions::Vector{IoK8sApiCoreV1PodCondition} : Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions - - containerStatuses::Vector{IoK8sApiCoreV1ContainerStatus} : The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status - - ephemeralContainerStatuses::Vector{IoK8sApiCoreV1ContainerStatus} : Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature. - - hostIP::String : IP address of the host to which the pod is assigned. Empty if not yet scheduled. - - initContainerStatuses::Vector{IoK8sApiCoreV1ContainerStatus} : The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status - - message::String : A human readable message indicating details about why the pod is in this condition. - - nominatedNodeName::String : nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. - - phase::String : The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase - - podIP::String : IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. - - podIPs::Vector{IoK8sApiCoreV1PodIP} : podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet. - - qosClass::String : The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md - - reason::String : A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' - - startTime::IoK8sApimachineryPkgApisMetaV1Time : RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. -""" -mutable struct IoK8sApiCoreV1PodStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodCondition} } # spec name: conditions - containerStatuses::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerStatus} } # spec name: containerStatuses - ephemeralContainerStatuses::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerStatus} } # spec name: ephemeralContainerStatuses - hostIP::Any # spec type: Union{ Nothing, String } # spec name: hostIP - initContainerStatuses::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerStatus} } # spec name: initContainerStatuses - message::Any # spec type: Union{ Nothing, String } # spec name: message - nominatedNodeName::Any # spec type: Union{ Nothing, String } # spec name: nominatedNodeName - phase::Any # spec type: Union{ Nothing, String } # spec name: phase - podIP::Any # spec type: Union{ Nothing, String } # spec name: podIP - podIPs::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodIP} } # spec name: podIPs - qosClass::Any # spec type: Union{ Nothing, String } # spec name: qosClass - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - startTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: startTime - - function IoK8sApiCoreV1PodStatus(;conditions=nothing, containerStatuses=nothing, ephemeralContainerStatuses=nothing, hostIP=nothing, initContainerStatuses=nothing, message=nothing, nominatedNodeName=nothing, phase=nothing, podIP=nothing, podIPs=nothing, qosClass=nothing, reason=nothing, startTime=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("containerStatuses"), containerStatuses) - setfield!(o, Symbol("containerStatuses"), containerStatuses) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("ephemeralContainerStatuses"), ephemeralContainerStatuses) - setfield!(o, Symbol("ephemeralContainerStatuses"), ephemeralContainerStatuses) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("hostIP"), hostIP) - setfield!(o, Symbol("hostIP"), hostIP) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("initContainerStatuses"), initContainerStatuses) - setfield!(o, Symbol("initContainerStatuses"), initContainerStatuses) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("nominatedNodeName"), nominatedNodeName) - setfield!(o, Symbol("nominatedNodeName"), nominatedNodeName) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("phase"), phase) - setfield!(o, Symbol("phase"), phase) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("podIP"), podIP) - setfield!(o, Symbol("podIP"), podIP) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("podIPs"), podIPs) - setfield!(o, Symbol("podIPs"), podIPs) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("qosClass"), qosClass) - setfield!(o, Symbol("qosClass"), qosClass) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1PodStatus, Symbol("startTime"), startTime) - setfield!(o, Symbol("startTime"), startTime) - o - end -end # type IoK8sApiCoreV1PodStatus - -const _property_map_IoK8sApiCoreV1PodStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions"), Symbol("containerStatuses")=>Symbol("containerStatuses"), Symbol("ephemeralContainerStatuses")=>Symbol("ephemeralContainerStatuses"), Symbol("hostIP")=>Symbol("hostIP"), Symbol("initContainerStatuses")=>Symbol("initContainerStatuses"), Symbol("message")=>Symbol("message"), Symbol("nominatedNodeName")=>Symbol("nominatedNodeName"), Symbol("phase")=>Symbol("phase"), Symbol("podIP")=>Symbol("podIP"), Symbol("podIPs")=>Symbol("podIPs"), Symbol("qosClass")=>Symbol("qosClass"), Symbol("reason")=>Symbol("reason"), Symbol("startTime")=>Symbol("startTime")) -const _property_types_IoK8sApiCoreV1PodStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiCoreV1PodCondition}", Symbol("containerStatuses")=>"Vector{IoK8sApiCoreV1ContainerStatus}", Symbol("ephemeralContainerStatuses")=>"Vector{IoK8sApiCoreV1ContainerStatus}", Symbol("hostIP")=>"String", Symbol("initContainerStatuses")=>"Vector{IoK8sApiCoreV1ContainerStatus}", Symbol("message")=>"String", Symbol("nominatedNodeName")=>"String", Symbol("phase")=>"String", Symbol("podIP")=>"String", Symbol("podIPs")=>"Vector{IoK8sApiCoreV1PodIP}", Symbol("qosClass")=>"String", Symbol("reason")=>"String", Symbol("startTime")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiCoreV1PodStatus }) = collect(keys(_property_map_IoK8sApiCoreV1PodStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodStatus[property_name] - -function check_required(o::IoK8sApiCoreV1PodStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplate.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplate.jl deleted file mode 100644 index 229e8f75..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplate.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodTemplate describes a template for creating copies of a predefined pod. - - IoK8sApiCoreV1PodTemplate(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - template=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - template::IoK8sApiCoreV1PodTemplateSpec : Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1PodTemplate <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiCoreV1PodTemplate(;apiVersion=nothing, kind=nothing, metadata=nothing, template=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodTemplate, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PodTemplate, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PodTemplate, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1PodTemplate, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiCoreV1PodTemplate - -const _property_map_IoK8sApiCoreV1PodTemplate = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiCoreV1PodTemplate = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiCoreV1PodTemplate }) = collect(keys(_property_map_IoK8sApiCoreV1PodTemplate)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodTemplate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodTemplate[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodTemplate }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodTemplate[property_name] - -function check_required(o::IoK8sApiCoreV1PodTemplate) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodTemplate }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplateList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplateList.jl deleted file mode 100644 index b2ece7a8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplateList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodTemplateList is a list of PodTemplates. - - IoK8sApiCoreV1PodTemplateList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1PodTemplate} : List of pod templates - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1PodTemplateList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodTemplate} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1PodTemplateList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1PodTemplateList - -const _property_map_IoK8sApiCoreV1PodTemplateList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1PodTemplateList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1PodTemplate}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1PodTemplateList }) = collect(keys(_property_map_IoK8sApiCoreV1PodTemplateList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodTemplateList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodTemplateList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodTemplateList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodTemplateList[property_name] - -function check_required(o::IoK8sApiCoreV1PodTemplateList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodTemplateList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplateSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplateSpec.jl deleted file mode 100644 index 1f753342..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PodTemplateSpec.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodTemplateSpec describes the data a pod should have when created from a template - - IoK8sApiCoreV1PodTemplateSpec(; - metadata=nothing, - spec=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1PodSpec : Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1PodTemplateSpec <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodSpec } # spec name: spec - - function IoK8sApiCoreV1PodTemplateSpec(;metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiCoreV1PodTemplateSpec, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1PodTemplateSpec, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiCoreV1PodTemplateSpec - -const _property_map_IoK8sApiCoreV1PodTemplateSpec = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiCoreV1PodTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PodSpec") -Base.propertynames(::Type{ IoK8sApiCoreV1PodTemplateSpec }) = collect(keys(_property_map_IoK8sApiCoreV1PodTemplateSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PodTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodTemplateSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PodTemplateSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PodTemplateSpec[property_name] - -function check_required(o::IoK8sApiCoreV1PodTemplateSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PodTemplateSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PortworxVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PortworxVolumeSource.jl deleted file mode 100644 index 4f463517..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PortworxVolumeSource.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PortworxVolumeSource represents a Portworx volume resource. - - IoK8sApiCoreV1PortworxVolumeSource(; - fsType=nothing, - readOnly=nothing, - volumeID=nothing, - ) - - - fsType::String : FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified. - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - volumeID::String : VolumeID uniquely identifies a Portworx volume -""" -mutable struct IoK8sApiCoreV1PortworxVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - volumeID::Any # spec type: Union{ Nothing, String } # spec name: volumeID - - function IoK8sApiCoreV1PortworxVolumeSource(;fsType=nothing, readOnly=nothing, volumeID=nothing) - o = new() - validate_property(IoK8sApiCoreV1PortworxVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1PortworxVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1PortworxVolumeSource, Symbol("volumeID"), volumeID) - setfield!(o, Symbol("volumeID"), volumeID) - o - end -end # type IoK8sApiCoreV1PortworxVolumeSource - -const _property_map_IoK8sApiCoreV1PortworxVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("volumeID")=>Symbol("volumeID")) -const _property_types_IoK8sApiCoreV1PortworxVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("volumeID")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1PortworxVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1PortworxVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PortworxVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PortworxVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PortworxVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PortworxVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1PortworxVolumeSource) - (getproperty(o, Symbol("volumeID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PortworxVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl deleted file mode 100644 index e335ca1b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). - - IoK8sApiCoreV1PreferredSchedulingTerm(; - preference=nothing, - weight=nothing, - ) - - - preference::IoK8sApiCoreV1NodeSelectorTerm : A node selector term, associated with the corresponding weight. - - weight::Int32 : Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. -""" -mutable struct IoK8sApiCoreV1PreferredSchedulingTerm <: SwaggerModel - preference::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSelectorTerm } # spec name: preference - weight::Any # spec type: Union{ Nothing, Int32 } # spec name: weight - - function IoK8sApiCoreV1PreferredSchedulingTerm(;preference=nothing, weight=nothing) - o = new() - validate_property(IoK8sApiCoreV1PreferredSchedulingTerm, Symbol("preference"), preference) - setfield!(o, Symbol("preference"), preference) - validate_property(IoK8sApiCoreV1PreferredSchedulingTerm, Symbol("weight"), weight) - setfield!(o, Symbol("weight"), weight) - o - end -end # type IoK8sApiCoreV1PreferredSchedulingTerm - -const _property_map_IoK8sApiCoreV1PreferredSchedulingTerm = Dict{Symbol,Symbol}(Symbol("preference")=>Symbol("preference"), Symbol("weight")=>Symbol("weight")) -const _property_types_IoK8sApiCoreV1PreferredSchedulingTerm = Dict{Symbol,String}(Symbol("preference")=>"IoK8sApiCoreV1NodeSelectorTerm", Symbol("weight")=>"Int32") -Base.propertynames(::Type{ IoK8sApiCoreV1PreferredSchedulingTerm }) = collect(keys(_property_map_IoK8sApiCoreV1PreferredSchedulingTerm)) -Swagger.property_type(::Type{ IoK8sApiCoreV1PreferredSchedulingTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PreferredSchedulingTerm[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1PreferredSchedulingTerm }, property_name::Symbol) = _property_map_IoK8sApiCoreV1PreferredSchedulingTerm[property_name] - -function check_required(o::IoK8sApiCoreV1PreferredSchedulingTerm) - (getproperty(o, Symbol("preference")) === nothing) && (return false) - (getproperty(o, Symbol("weight")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1PreferredSchedulingTerm }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Probe.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Probe.jl deleted file mode 100644 index afaafa7a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Probe.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. - - IoK8sApiCoreV1Probe(; - exec=nothing, - failureThreshold=nothing, - httpGet=nothing, - initialDelaySeconds=nothing, - periodSeconds=nothing, - successThreshold=nothing, - tcpSocket=nothing, - timeoutSeconds=nothing, - ) - - - exec::IoK8sApiCoreV1ExecAction : One and only one of the following should be specified. Exec specifies the action to take. - - failureThreshold::Int32 : Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. - - httpGet::IoK8sApiCoreV1HTTPGetAction : HTTPGet specifies the http request to perform. - - initialDelaySeconds::Int32 : Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes - - periodSeconds::Int32 : How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. - - successThreshold::Int32 : Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. - - tcpSocket::IoK8sApiCoreV1TCPSocketAction : TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported - - timeoutSeconds::Int32 : Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -""" -mutable struct IoK8sApiCoreV1Probe <: SwaggerModel - exec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ExecAction } # spec name: exec - failureThreshold::Any # spec type: Union{ Nothing, Int32 } # spec name: failureThreshold - httpGet::Any # spec type: Union{ Nothing, IoK8sApiCoreV1HTTPGetAction } # spec name: httpGet - initialDelaySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: initialDelaySeconds - periodSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: periodSeconds - successThreshold::Any # spec type: Union{ Nothing, Int32 } # spec name: successThreshold - tcpSocket::Any # spec type: Union{ Nothing, IoK8sApiCoreV1TCPSocketAction } # spec name: tcpSocket - timeoutSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: timeoutSeconds - - function IoK8sApiCoreV1Probe(;exec=nothing, failureThreshold=nothing, httpGet=nothing, initialDelaySeconds=nothing, periodSeconds=nothing, successThreshold=nothing, tcpSocket=nothing, timeoutSeconds=nothing) - o = new() - validate_property(IoK8sApiCoreV1Probe, Symbol("exec"), exec) - setfield!(o, Symbol("exec"), exec) - validate_property(IoK8sApiCoreV1Probe, Symbol("failureThreshold"), failureThreshold) - setfield!(o, Symbol("failureThreshold"), failureThreshold) - validate_property(IoK8sApiCoreV1Probe, Symbol("httpGet"), httpGet) - setfield!(o, Symbol("httpGet"), httpGet) - validate_property(IoK8sApiCoreV1Probe, Symbol("initialDelaySeconds"), initialDelaySeconds) - setfield!(o, Symbol("initialDelaySeconds"), initialDelaySeconds) - validate_property(IoK8sApiCoreV1Probe, Symbol("periodSeconds"), periodSeconds) - setfield!(o, Symbol("periodSeconds"), periodSeconds) - validate_property(IoK8sApiCoreV1Probe, Symbol("successThreshold"), successThreshold) - setfield!(o, Symbol("successThreshold"), successThreshold) - validate_property(IoK8sApiCoreV1Probe, Symbol("tcpSocket"), tcpSocket) - setfield!(o, Symbol("tcpSocket"), tcpSocket) - validate_property(IoK8sApiCoreV1Probe, Symbol("timeoutSeconds"), timeoutSeconds) - setfield!(o, Symbol("timeoutSeconds"), timeoutSeconds) - o - end -end # type IoK8sApiCoreV1Probe - -const _property_map_IoK8sApiCoreV1Probe = Dict{Symbol,Symbol}(Symbol("exec")=>Symbol("exec"), Symbol("failureThreshold")=>Symbol("failureThreshold"), Symbol("httpGet")=>Symbol("httpGet"), Symbol("initialDelaySeconds")=>Symbol("initialDelaySeconds"), Symbol("periodSeconds")=>Symbol("periodSeconds"), Symbol("successThreshold")=>Symbol("successThreshold"), Symbol("tcpSocket")=>Symbol("tcpSocket"), Symbol("timeoutSeconds")=>Symbol("timeoutSeconds")) -const _property_types_IoK8sApiCoreV1Probe = Dict{Symbol,String}(Symbol("exec")=>"IoK8sApiCoreV1ExecAction", Symbol("failureThreshold")=>"Int32", Symbol("httpGet")=>"IoK8sApiCoreV1HTTPGetAction", Symbol("initialDelaySeconds")=>"Int32", Symbol("periodSeconds")=>"Int32", Symbol("successThreshold")=>"Int32", Symbol("tcpSocket")=>"IoK8sApiCoreV1TCPSocketAction", Symbol("timeoutSeconds")=>"Int32") -Base.propertynames(::Type{ IoK8sApiCoreV1Probe }) = collect(keys(_property_map_IoK8sApiCoreV1Probe)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Probe }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Probe[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Probe }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Probe[property_name] - -function check_required(o::IoK8sApiCoreV1Probe) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Probe }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ProjectedVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ProjectedVolumeSource.jl deleted file mode 100644 index c48b345a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ProjectedVolumeSource.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a projected volume source - - IoK8sApiCoreV1ProjectedVolumeSource(; - defaultMode=nothing, - sources=nothing, - ) - - - defaultMode::Int32 : Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. - - sources::Vector{IoK8sApiCoreV1VolumeProjection} : list of volume projections -""" -mutable struct IoK8sApiCoreV1ProjectedVolumeSource <: SwaggerModel - defaultMode::Any # spec type: Union{ Nothing, Int32 } # spec name: defaultMode - sources::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeProjection} } # spec name: sources - - function IoK8sApiCoreV1ProjectedVolumeSource(;defaultMode=nothing, sources=nothing) - o = new() - validate_property(IoK8sApiCoreV1ProjectedVolumeSource, Symbol("defaultMode"), defaultMode) - setfield!(o, Symbol("defaultMode"), defaultMode) - validate_property(IoK8sApiCoreV1ProjectedVolumeSource, Symbol("sources"), sources) - setfield!(o, Symbol("sources"), sources) - o - end -end # type IoK8sApiCoreV1ProjectedVolumeSource - -const _property_map_IoK8sApiCoreV1ProjectedVolumeSource = Dict{Symbol,Symbol}(Symbol("defaultMode")=>Symbol("defaultMode"), Symbol("sources")=>Symbol("sources")) -const _property_types_IoK8sApiCoreV1ProjectedVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int32", Symbol("sources")=>"Vector{IoK8sApiCoreV1VolumeProjection}") -Base.propertynames(::Type{ IoK8sApiCoreV1ProjectedVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1ProjectedVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ProjectedVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ProjectedVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ProjectedVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ProjectedVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1ProjectedVolumeSource) - (getproperty(o, Symbol("sources")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ProjectedVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1QuobyteVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1QuobyteVolumeSource.jl deleted file mode 100644 index 43feae27..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1QuobyteVolumeSource.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. - - IoK8sApiCoreV1QuobyteVolumeSource(; - group=nothing, - readOnly=nothing, - registry=nothing, - tenant=nothing, - user=nothing, - volume=nothing, - ) - - - group::String : Group to map volume access to Default is no group - - readOnly::Bool : ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. - - registry::String : Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes - - tenant::String : Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin - - user::String : User to map volume access to Defaults to serivceaccount user - - volume::String : Volume is a string that references an already created Quobyte volume by name. -""" -mutable struct IoK8sApiCoreV1QuobyteVolumeSource <: SwaggerModel - group::Any # spec type: Union{ Nothing, String } # spec name: group - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - registry::Any # spec type: Union{ Nothing, String } # spec name: registry - tenant::Any # spec type: Union{ Nothing, String } # spec name: tenant - user::Any # spec type: Union{ Nothing, String } # spec name: user - volume::Any # spec type: Union{ Nothing, String } # spec name: volume - - function IoK8sApiCoreV1QuobyteVolumeSource(;group=nothing, readOnly=nothing, registry=nothing, tenant=nothing, user=nothing, volume=nothing) - o = new() - validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("registry"), registry) - setfield!(o, Symbol("registry"), registry) - validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("tenant"), tenant) - setfield!(o, Symbol("tenant"), tenant) - validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("volume"), volume) - setfield!(o, Symbol("volume"), volume) - o - end -end # type IoK8sApiCoreV1QuobyteVolumeSource - -const _property_map_IoK8sApiCoreV1QuobyteVolumeSource = Dict{Symbol,Symbol}(Symbol("group")=>Symbol("group"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("registry")=>Symbol("registry"), Symbol("tenant")=>Symbol("tenant"), Symbol("user")=>Symbol("user"), Symbol("volume")=>Symbol("volume")) -const _property_types_IoK8sApiCoreV1QuobyteVolumeSource = Dict{Symbol,String}(Symbol("group")=>"String", Symbol("readOnly")=>"Bool", Symbol("registry")=>"String", Symbol("tenant")=>"String", Symbol("user")=>"String", Symbol("volume")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1QuobyteVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1QuobyteVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1QuobyteVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1QuobyteVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1QuobyteVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1QuobyteVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1QuobyteVolumeSource) - (getproperty(o, Symbol("registry")) === nothing) && (return false) - (getproperty(o, Symbol("volume")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1QuobyteVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl deleted file mode 100644 index 5798cca3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl +++ /dev/null @@ -1,72 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1RBDPersistentVolumeSource(; - fsType=nothing, - image=nothing, - keyring=nothing, - monitors=nothing, - pool=nothing, - readOnly=nothing, - secretRef=nothing, - user=nothing, - ) - - - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd - - image::String : The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - keyring::String : Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - monitors::Vector{String} : A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - pool::String : The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - secretRef::IoK8sApiCoreV1SecretReference : SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - user::String : The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -""" -mutable struct IoK8sApiCoreV1RBDPersistentVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - image::Any # spec type: Union{ Nothing, String } # spec name: image - keyring::Any # spec type: Union{ Nothing, String } # spec name: keyring - monitors::Any # spec type: Union{ Nothing, Vector{String} } # spec name: monitors - pool::Any # spec type: Union{ Nothing, String } # spec name: pool - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: secretRef - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiCoreV1RBDPersistentVolumeSource(;fsType=nothing, image=nothing, keyring=nothing, monitors=nothing, pool=nothing, readOnly=nothing, secretRef=nothing, user=nothing) - o = new() - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("image"), image) - setfield!(o, Symbol("image"), image) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("keyring"), keyring) - setfield!(o, Symbol("keyring"), keyring) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("monitors"), monitors) - setfield!(o, Symbol("monitors"), monitors) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("pool"), pool) - setfield!(o, Symbol("pool"), pool) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiCoreV1RBDPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1RBDPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("image")=>Symbol("image"), Symbol("keyring")=>Symbol("keyring"), Symbol("monitors")=>Symbol("monitors"), Symbol("pool")=>Symbol("pool"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiCoreV1RBDPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("image")=>"String", Symbol("keyring")=>"String", Symbol("monitors")=>"Vector{String}", Symbol("pool")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1RBDPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1RBDPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1RBDPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1RBDPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1RBDPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1RBDPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1RBDPersistentVolumeSource) - (getproperty(o, Symbol("image")) === nothing) && (return false) - (getproperty(o, Symbol("monitors")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1RBDPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1RBDVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1RBDVolumeSource.jl deleted file mode 100644 index f9f2903a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1RBDVolumeSource.jl +++ /dev/null @@ -1,72 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1RBDVolumeSource(; - fsType=nothing, - image=nothing, - keyring=nothing, - monitors=nothing, - pool=nothing, - readOnly=nothing, - secretRef=nothing, - user=nothing, - ) - - - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd - - image::String : The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - keyring::String : Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - monitors::Vector{String} : A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - pool::String : The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - secretRef::IoK8sApiCoreV1LocalObjectReference : SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - - user::String : The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -""" -mutable struct IoK8sApiCoreV1RBDVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - image::Any # spec type: Union{ Nothing, String } # spec name: image - keyring::Any # spec type: Union{ Nothing, String } # spec name: keyring - monitors::Any # spec type: Union{ Nothing, Vector{String} } # spec name: monitors - pool::Any # spec type: Union{ Nothing, String } # spec name: pool - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiCoreV1RBDVolumeSource(;fsType=nothing, image=nothing, keyring=nothing, monitors=nothing, pool=nothing, readOnly=nothing, secretRef=nothing, user=nothing) - o = new() - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("image"), image) - setfield!(o, Symbol("image"), image) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("keyring"), keyring) - setfield!(o, Symbol("keyring"), keyring) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("monitors"), monitors) - setfield!(o, Symbol("monitors"), monitors) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("pool"), pool) - setfield!(o, Symbol("pool"), pool) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiCoreV1RBDVolumeSource - -const _property_map_IoK8sApiCoreV1RBDVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("image")=>Symbol("image"), Symbol("keyring")=>Symbol("keyring"), Symbol("monitors")=>Symbol("monitors"), Symbol("pool")=>Symbol("pool"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiCoreV1RBDVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("image")=>"String", Symbol("keyring")=>"String", Symbol("monitors")=>"Vector{String}", Symbol("pool")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1RBDVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1RBDVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1RBDVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1RBDVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1RBDVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1RBDVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1RBDVolumeSource) - (getproperty(o, Symbol("image")) === nothing) && (return false) - (getproperty(o, Symbol("monitors")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1RBDVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationController.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationController.jl deleted file mode 100644 index 905bc13a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationController.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicationController represents the configuration of a replication controller. - - IoK8sApiCoreV1ReplicationController(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1ReplicationControllerSpec : Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiCoreV1ReplicationControllerStatus : Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1ReplicationController <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ReplicationControllerSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ReplicationControllerStatus } # spec name: status - - function IoK8sApiCoreV1ReplicationController(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1ReplicationController, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ReplicationController, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ReplicationController, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1ReplicationController, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1ReplicationController, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1ReplicationController - -const _property_map_IoK8sApiCoreV1ReplicationController = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1ReplicationController = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1ReplicationControllerSpec", Symbol("status")=>"IoK8sApiCoreV1ReplicationControllerStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1ReplicationController }) = collect(keys(_property_map_IoK8sApiCoreV1ReplicationController)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ReplicationController }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationController[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ReplicationController }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ReplicationController[property_name] - -function check_required(o::IoK8sApiCoreV1ReplicationController) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ReplicationController }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerCondition.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerCondition.jl deleted file mode 100644 index 9aabc476..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicationControllerCondition describes the state of a replication controller at a certain point. - - IoK8sApiCoreV1ReplicationControllerCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : The last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of replication controller condition. -""" -mutable struct IoK8sApiCoreV1ReplicationControllerCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1ReplicationControllerCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1ReplicationControllerCondition - -const _property_map_IoK8sApiCoreV1ReplicationControllerCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1ReplicationControllerCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ReplicationControllerCondition }) = collect(keys(_property_map_IoK8sApiCoreV1ReplicationControllerCondition)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ReplicationControllerCondition }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ReplicationControllerCondition[property_name] - -function check_required(o::IoK8sApiCoreV1ReplicationControllerCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerList.jl deleted file mode 100644 index fb985f50..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicationControllerList is a collection of replication controllers. - - IoK8sApiCoreV1ReplicationControllerList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1ReplicationController} : List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1ReplicationControllerList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ReplicationController} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1ReplicationControllerList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ReplicationControllerList - -const _property_map_IoK8sApiCoreV1ReplicationControllerList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ReplicationControllerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ReplicationController}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ReplicationControllerList }) = collect(keys(_property_map_IoK8sApiCoreV1ReplicationControllerList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ReplicationControllerList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ReplicationControllerList[property_name] - -function check_required(o::IoK8sApiCoreV1ReplicationControllerList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerSpec.jl deleted file mode 100644 index 71b92c45..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerSpec.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicationControllerSpec is the specification of a replication controller. - - IoK8sApiCoreV1ReplicationControllerSpec(; - minReadySeconds=nothing, - replicas=nothing, - selector=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - replicas::Int32 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller - - selector::Dict{String, String} : Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template -""" -mutable struct IoK8sApiCoreV1ReplicationControllerSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiCoreV1ReplicationControllerSpec(;minReadySeconds=nothing, replicas=nothing, selector=nothing, template=nothing) - o = new() - validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiCoreV1ReplicationControllerSpec - -const _property_map_IoK8sApiCoreV1ReplicationControllerSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiCoreV1ReplicationControllerSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("selector")=>"Dict{String, String}", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiCoreV1ReplicationControllerSpec }) = collect(keys(_property_map_IoK8sApiCoreV1ReplicationControllerSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ReplicationControllerSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ReplicationControllerSpec[property_name] - -function check_required(o::IoK8sApiCoreV1ReplicationControllerSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerStatus.jl deleted file mode 100644 index f382c16a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ReplicationControllerStatus.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicationControllerStatus represents the current status of a replication controller. - - IoK8sApiCoreV1ReplicationControllerStatus(; - availableReplicas=nothing, - conditions=nothing, - fullyLabeledReplicas=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - ) - - - availableReplicas::Int32 : The number of available replicas (ready for at least minReadySeconds) for this replication controller. - - conditions::Vector{IoK8sApiCoreV1ReplicationControllerCondition} : Represents the latest available observations of a replication controller's current state. - - fullyLabeledReplicas::Int32 : The number of pods that have labels matching the labels of the pod template of the replication controller. - - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed replication controller. - - readyReplicas::Int32 : The number of ready replicas for this replication controller. - - replicas::Int32 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller -""" -mutable struct IoK8sApiCoreV1ReplicationControllerStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ReplicationControllerCondition} } # spec name: conditions - fullyLabeledReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: fullyLabeledReplicas - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiCoreV1ReplicationControllerStatus(;availableReplicas=nothing, conditions=nothing, fullyLabeledReplicas=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing) - o = new() - validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - setfield!(o, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiCoreV1ReplicationControllerStatus - -const _property_map_IoK8sApiCoreV1ReplicationControllerStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("conditions")=>Symbol("conditions"), Symbol("fullyLabeledReplicas")=>Symbol("fullyLabeledReplicas"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiCoreV1ReplicationControllerStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiCoreV1ReplicationControllerCondition}", Symbol("fullyLabeledReplicas")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiCoreV1ReplicationControllerStatus }) = collect(keys(_property_map_IoK8sApiCoreV1ReplicationControllerStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ReplicationControllerStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ReplicationControllerStatus[property_name] - -function check_required(o::IoK8sApiCoreV1ReplicationControllerStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceFieldSelector.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceFieldSelector.jl deleted file mode 100644 index be65bef5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceFieldSelector.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceFieldSelector represents container resources (cpu, memory) and their output format - - IoK8sApiCoreV1ResourceFieldSelector(; - containerName=nothing, - divisor=nothing, - resource=nothing, - ) - - - containerName::String : Container name: required for volumes, optional for env vars - - divisor::IoK8sApimachineryPkgApiResourceQuantity : Specifies the output format of the exposed resources, defaults to \"1\" - - resource::String : Required: resource to select -""" -mutable struct IoK8sApiCoreV1ResourceFieldSelector <: SwaggerModel - containerName::Any # spec type: Union{ Nothing, String } # spec name: containerName - divisor::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: divisor - resource::Any # spec type: Union{ Nothing, String } # spec name: resource - - function IoK8sApiCoreV1ResourceFieldSelector(;containerName=nothing, divisor=nothing, resource=nothing) - o = new() - validate_property(IoK8sApiCoreV1ResourceFieldSelector, Symbol("containerName"), containerName) - setfield!(o, Symbol("containerName"), containerName) - validate_property(IoK8sApiCoreV1ResourceFieldSelector, Symbol("divisor"), divisor) - setfield!(o, Symbol("divisor"), divisor) - validate_property(IoK8sApiCoreV1ResourceFieldSelector, Symbol("resource"), resource) - setfield!(o, Symbol("resource"), resource) - o - end -end # type IoK8sApiCoreV1ResourceFieldSelector - -const _property_map_IoK8sApiCoreV1ResourceFieldSelector = Dict{Symbol,Symbol}(Symbol("containerName")=>Symbol("containerName"), Symbol("divisor")=>Symbol("divisor"), Symbol("resource")=>Symbol("resource")) -const _property_types_IoK8sApiCoreV1ResourceFieldSelector = Dict{Symbol,String}(Symbol("containerName")=>"String", Symbol("divisor")=>"IoK8sApimachineryPkgApiResourceQuantity", Symbol("resource")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ResourceFieldSelector }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceFieldSelector)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceFieldSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceFieldSelector[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceFieldSelector }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ResourceFieldSelector[property_name] - -function check_required(o::IoK8sApiCoreV1ResourceFieldSelector) - (getproperty(o, Symbol("resource")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ResourceFieldSelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuota.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuota.jl deleted file mode 100644 index b92ceba7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuota.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceQuota sets aggregate quota restrictions enforced per namespace - - IoK8sApiCoreV1ResourceQuota(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1ResourceQuotaSpec : Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiCoreV1ResourceQuotaStatus : Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1ResourceQuota <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceQuotaSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceQuotaStatus } # spec name: status - - function IoK8sApiCoreV1ResourceQuota(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1ResourceQuota - -const _property_map_IoK8sApiCoreV1ResourceQuota = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1ResourceQuota = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1ResourceQuotaSpec", Symbol("status")=>"IoK8sApiCoreV1ResourceQuotaStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1ResourceQuota }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceQuota)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceQuota }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuota[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceQuota }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ResourceQuota[property_name] - -function check_required(o::IoK8sApiCoreV1ResourceQuota) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ResourceQuota }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaList.jl deleted file mode 100644 index ae9dadb2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceQuotaList is a list of ResourceQuota items. - - IoK8sApiCoreV1ResourceQuotaList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1ResourceQuota} : Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1ResourceQuotaList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ResourceQuota} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1ResourceQuotaList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ResourceQuotaList - -const _property_map_IoK8sApiCoreV1ResourceQuotaList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ResourceQuotaList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ResourceQuota}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ResourceQuotaList }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceQuotaList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceQuotaList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ResourceQuotaList[property_name] - -function check_required(o::IoK8sApiCoreV1ResourceQuotaList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ResourceQuotaList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaSpec.jl deleted file mode 100644 index 30f377fd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaSpec.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceQuotaSpec defines the desired hard limits to enforce for Quota. - - IoK8sApiCoreV1ResourceQuotaSpec(; - hard=nothing, - scopeSelector=nothing, - scopes=nothing, - ) - - - hard::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ - - scopeSelector::IoK8sApiCoreV1ScopeSelector : scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. - - scopes::Vector{String} : A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. -""" -mutable struct IoK8sApiCoreV1ResourceQuotaSpec <: SwaggerModel - hard::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: hard - scopeSelector::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ScopeSelector } # spec name: scopeSelector - scopes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: scopes - - function IoK8sApiCoreV1ResourceQuotaSpec(;hard=nothing, scopeSelector=nothing, scopes=nothing) - o = new() - validate_property(IoK8sApiCoreV1ResourceQuotaSpec, Symbol("hard"), hard) - setfield!(o, Symbol("hard"), hard) - validate_property(IoK8sApiCoreV1ResourceQuotaSpec, Symbol("scopeSelector"), scopeSelector) - setfield!(o, Symbol("scopeSelector"), scopeSelector) - validate_property(IoK8sApiCoreV1ResourceQuotaSpec, Symbol("scopes"), scopes) - setfield!(o, Symbol("scopes"), scopes) - o - end -end # type IoK8sApiCoreV1ResourceQuotaSpec - -const _property_map_IoK8sApiCoreV1ResourceQuotaSpec = Dict{Symbol,Symbol}(Symbol("hard")=>Symbol("hard"), Symbol("scopeSelector")=>Symbol("scopeSelector"), Symbol("scopes")=>Symbol("scopes")) -const _property_types_IoK8sApiCoreV1ResourceQuotaSpec = Dict{Symbol,String}(Symbol("hard")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("scopeSelector")=>"IoK8sApiCoreV1ScopeSelector", Symbol("scopes")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1ResourceQuotaSpec }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceQuotaSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceQuotaSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ResourceQuotaSpec[property_name] - -function check_required(o::IoK8sApiCoreV1ResourceQuotaSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ResourceQuotaSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaStatus.jl deleted file mode 100644 index 5b7af3e2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceQuotaStatus.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceQuotaStatus defines the enforced hard limits and observed use. - - IoK8sApiCoreV1ResourceQuotaStatus(; - hard=nothing, - used=nothing, - ) - - - hard::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ - - used::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Used is the current observed total usage of the resource in the namespace. -""" -mutable struct IoK8sApiCoreV1ResourceQuotaStatus <: SwaggerModel - hard::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: hard - used::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: used - - function IoK8sApiCoreV1ResourceQuotaStatus(;hard=nothing, used=nothing) - o = new() - validate_property(IoK8sApiCoreV1ResourceQuotaStatus, Symbol("hard"), hard) - setfield!(o, Symbol("hard"), hard) - validate_property(IoK8sApiCoreV1ResourceQuotaStatus, Symbol("used"), used) - setfield!(o, Symbol("used"), used) - o - end -end # type IoK8sApiCoreV1ResourceQuotaStatus - -const _property_map_IoK8sApiCoreV1ResourceQuotaStatus = Dict{Symbol,Symbol}(Symbol("hard")=>Symbol("hard"), Symbol("used")=>Symbol("used")) -const _property_types_IoK8sApiCoreV1ResourceQuotaStatus = Dict{Symbol,String}(Symbol("hard")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("used")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}") -Base.propertynames(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceQuotaStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ResourceQuotaStatus[property_name] - -function check_required(o::IoK8sApiCoreV1ResourceQuotaStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceRequirements.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceRequirements.jl deleted file mode 100644 index 4ba3ff09..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ResourceRequirements.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourceRequirements describes the compute resource requirements. - - IoK8sApiCoreV1ResourceRequirements(; - limits=nothing, - requests=nothing, - ) - - - limits::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - - requests::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ -""" -mutable struct IoK8sApiCoreV1ResourceRequirements <: SwaggerModel - limits::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: limits - requests::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: requests - - function IoK8sApiCoreV1ResourceRequirements(;limits=nothing, requests=nothing) - o = new() - validate_property(IoK8sApiCoreV1ResourceRequirements, Symbol("limits"), limits) - setfield!(o, Symbol("limits"), limits) - validate_property(IoK8sApiCoreV1ResourceRequirements, Symbol("requests"), requests) - setfield!(o, Symbol("requests"), requests) - o - end -end # type IoK8sApiCoreV1ResourceRequirements - -const _property_map_IoK8sApiCoreV1ResourceRequirements = Dict{Symbol,Symbol}(Symbol("limits")=>Symbol("limits"), Symbol("requests")=>Symbol("requests")) -const _property_types_IoK8sApiCoreV1ResourceRequirements = Dict{Symbol,String}(Symbol("limits")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("requests")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}") -Base.propertynames(::Type{ IoK8sApiCoreV1ResourceRequirements }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceRequirements)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceRequirements }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceRequirements[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceRequirements }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ResourceRequirements[property_name] - -function check_required(o::IoK8sApiCoreV1ResourceRequirements) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ResourceRequirements }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SELinuxOptions.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SELinuxOptions.jl deleted file mode 100644 index fd8dd232..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SELinuxOptions.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SELinuxOptions are the labels to be applied to the container - - IoK8sApiCoreV1SELinuxOptions(; - level=nothing, - role=nothing, - type=nothing, - user=nothing, - ) - - - level::String : Level is SELinux level label that applies to the container. - - role::String : Role is a SELinux role label that applies to the container. - - type::String : Type is a SELinux type label that applies to the container. - - user::String : User is a SELinux user label that applies to the container. -""" -mutable struct IoK8sApiCoreV1SELinuxOptions <: SwaggerModel - level::Any # spec type: Union{ Nothing, String } # spec name: level - role::Any # spec type: Union{ Nothing, String } # spec name: role - type::Any # spec type: Union{ Nothing, String } # spec name: type - user::Any # spec type: Union{ Nothing, String } # spec name: user - - function IoK8sApiCoreV1SELinuxOptions(;level=nothing, role=nothing, type=nothing, user=nothing) - o = new() - validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("level"), level) - setfield!(o, Symbol("level"), level) - validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("role"), role) - setfield!(o, Symbol("role"), role) - validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiCoreV1SELinuxOptions - -const _property_map_IoK8sApiCoreV1SELinuxOptions = Dict{Symbol,Symbol}(Symbol("level")=>Symbol("level"), Symbol("role")=>Symbol("role"), Symbol("type")=>Symbol("type"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiCoreV1SELinuxOptions = Dict{Symbol,String}(Symbol("level")=>"String", Symbol("role")=>"String", Symbol("type")=>"String", Symbol("user")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1SELinuxOptions }) = collect(keys(_property_map_IoK8sApiCoreV1SELinuxOptions)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SELinuxOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SELinuxOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SELinuxOptions }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SELinuxOptions[property_name] - -function check_required(o::IoK8sApiCoreV1SELinuxOptions) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SELinuxOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl deleted file mode 100644 index 5205ff7f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl +++ /dev/null @@ -1,83 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume - - IoK8sApiCoreV1ScaleIOPersistentVolumeSource(; - fsType=nothing, - gateway=nothing, - protectionDomain=nothing, - readOnly=nothing, - secretRef=nothing, - sslEnabled=nothing, - storageMode=nothing, - storagePool=nothing, - system=nothing, - volumeName=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\" - - gateway::String : The host address of the ScaleIO API Gateway. - - protectionDomain::String : The name of the ScaleIO Protection Domain for the configured storage. - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretRef::IoK8sApiCoreV1SecretReference : SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. - - sslEnabled::Bool : Flag to enable/disable SSL communication with Gateway, default false - - storageMode::String : Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. - - storagePool::String : The ScaleIO Storage Pool associated with the protection domain. - - system::String : The name of the storage system as configured in ScaleIO. - - volumeName::String : The name of a volume already created in the ScaleIO system that is associated with this volume source. -""" -mutable struct IoK8sApiCoreV1ScaleIOPersistentVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - gateway::Any # spec type: Union{ Nothing, String } # spec name: gateway - protectionDomain::Any # spec type: Union{ Nothing, String } # spec name: protectionDomain - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } # spec name: secretRef - sslEnabled::Any # spec type: Union{ Nothing, Bool } # spec name: sslEnabled - storageMode::Any # spec type: Union{ Nothing, String } # spec name: storageMode - storagePool::Any # spec type: Union{ Nothing, String } # spec name: storagePool - system::Any # spec type: Union{ Nothing, String } # spec name: system - volumeName::Any # spec type: Union{ Nothing, String } # spec name: volumeName - - function IoK8sApiCoreV1ScaleIOPersistentVolumeSource(;fsType=nothing, gateway=nothing, protectionDomain=nothing, readOnly=nothing, secretRef=nothing, sslEnabled=nothing, storageMode=nothing, storagePool=nothing, system=nothing, volumeName=nothing) - o = new() - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("gateway"), gateway) - setfield!(o, Symbol("gateway"), gateway) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("protectionDomain"), protectionDomain) - setfield!(o, Symbol("protectionDomain"), protectionDomain) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("sslEnabled"), sslEnabled) - setfield!(o, Symbol("sslEnabled"), sslEnabled) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("storageMode"), storageMode) - setfield!(o, Symbol("storageMode"), storageMode) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("storagePool"), storagePool) - setfield!(o, Symbol("storagePool"), storagePool) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("system"), system) - setfield!(o, Symbol("system"), system) - validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("volumeName"), volumeName) - setfield!(o, Symbol("volumeName"), volumeName) - o - end -end # type IoK8sApiCoreV1ScaleIOPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1ScaleIOPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("gateway")=>Symbol("gateway"), Symbol("protectionDomain")=>Symbol("protectionDomain"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("sslEnabled")=>Symbol("sslEnabled"), Symbol("storageMode")=>Symbol("storageMode"), Symbol("storagePool")=>Symbol("storagePool"), Symbol("system")=>Symbol("system"), Symbol("volumeName")=>Symbol("volumeName")) -const _property_types_IoK8sApiCoreV1ScaleIOPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("gateway")=>"String", Symbol("protectionDomain")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("sslEnabled")=>"Bool", Symbol("storageMode")=>"String", Symbol("storagePool")=>"String", Symbol("system")=>"String", Symbol("volumeName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ScaleIOPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1ScaleIOPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ScaleIOPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScaleIOPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ScaleIOPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ScaleIOPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1ScaleIOPersistentVolumeSource) - (getproperty(o, Symbol("gateway")) === nothing) && (return false) - (getproperty(o, Symbol("secretRef")) === nothing) && (return false) - (getproperty(o, Symbol("system")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ScaleIOPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl deleted file mode 100644 index b8c0aa67..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl +++ /dev/null @@ -1,83 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ScaleIOVolumeSource represents a persistent ScaleIO volume - - IoK8sApiCoreV1ScaleIOVolumeSource(; - fsType=nothing, - gateway=nothing, - protectionDomain=nothing, - readOnly=nothing, - secretRef=nothing, - sslEnabled=nothing, - storageMode=nothing, - storagePool=nothing, - system=nothing, - volumeName=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". - - gateway::String : The host address of the ScaleIO API Gateway. - - protectionDomain::String : The name of the ScaleIO Protection Domain for the configured storage. - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretRef::IoK8sApiCoreV1LocalObjectReference : SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. - - sslEnabled::Bool : Flag to enable/disable SSL communication with Gateway, default false - - storageMode::String : Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. - - storagePool::String : The ScaleIO Storage Pool associated with the protection domain. - - system::String : The name of the storage system as configured in ScaleIO. - - volumeName::String : The name of a volume already created in the ScaleIO system that is associated with this volume source. -""" -mutable struct IoK8sApiCoreV1ScaleIOVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - gateway::Any # spec type: Union{ Nothing, String } # spec name: gateway - protectionDomain::Any # spec type: Union{ Nothing, String } # spec name: protectionDomain - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - sslEnabled::Any # spec type: Union{ Nothing, Bool } # spec name: sslEnabled - storageMode::Any # spec type: Union{ Nothing, String } # spec name: storageMode - storagePool::Any # spec type: Union{ Nothing, String } # spec name: storagePool - system::Any # spec type: Union{ Nothing, String } # spec name: system - volumeName::Any # spec type: Union{ Nothing, String } # spec name: volumeName - - function IoK8sApiCoreV1ScaleIOVolumeSource(;fsType=nothing, gateway=nothing, protectionDomain=nothing, readOnly=nothing, secretRef=nothing, sslEnabled=nothing, storageMode=nothing, storagePool=nothing, system=nothing, volumeName=nothing) - o = new() - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("gateway"), gateway) - setfield!(o, Symbol("gateway"), gateway) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("protectionDomain"), protectionDomain) - setfield!(o, Symbol("protectionDomain"), protectionDomain) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("sslEnabled"), sslEnabled) - setfield!(o, Symbol("sslEnabled"), sslEnabled) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("storageMode"), storageMode) - setfield!(o, Symbol("storageMode"), storageMode) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("storagePool"), storagePool) - setfield!(o, Symbol("storagePool"), storagePool) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("system"), system) - setfield!(o, Symbol("system"), system) - validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("volumeName"), volumeName) - setfield!(o, Symbol("volumeName"), volumeName) - o - end -end # type IoK8sApiCoreV1ScaleIOVolumeSource - -const _property_map_IoK8sApiCoreV1ScaleIOVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("gateway")=>Symbol("gateway"), Symbol("protectionDomain")=>Symbol("protectionDomain"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("sslEnabled")=>Symbol("sslEnabled"), Symbol("storageMode")=>Symbol("storageMode"), Symbol("storagePool")=>Symbol("storagePool"), Symbol("system")=>Symbol("system"), Symbol("volumeName")=>Symbol("volumeName")) -const _property_types_IoK8sApiCoreV1ScaleIOVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("gateway")=>"String", Symbol("protectionDomain")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("sslEnabled")=>"Bool", Symbol("storageMode")=>"String", Symbol("storagePool")=>"String", Symbol("system")=>"String", Symbol("volumeName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ScaleIOVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1ScaleIOVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ScaleIOVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScaleIOVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ScaleIOVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ScaleIOVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1ScaleIOVolumeSource) - (getproperty(o, Symbol("gateway")) === nothing) && (return false) - (getproperty(o, Symbol("secretRef")) === nothing) && (return false) - (getproperty(o, Symbol("system")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ScaleIOVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ScopeSelector.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ScopeSelector.jl deleted file mode 100644 index 2a5b624a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ScopeSelector.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. - - IoK8sApiCoreV1ScopeSelector(; - matchExpressions=nothing, - ) - - - matchExpressions::Vector{IoK8sApiCoreV1ScopedResourceSelectorRequirement} : A list of scope selector requirements by scope of the resources. -""" -mutable struct IoK8sApiCoreV1ScopeSelector <: SwaggerModel - matchExpressions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ScopedResourceSelectorRequirement} } # spec name: matchExpressions - - function IoK8sApiCoreV1ScopeSelector(;matchExpressions=nothing) - o = new() - validate_property(IoK8sApiCoreV1ScopeSelector, Symbol("matchExpressions"), matchExpressions) - setfield!(o, Symbol("matchExpressions"), matchExpressions) - o - end -end # type IoK8sApiCoreV1ScopeSelector - -const _property_map_IoK8sApiCoreV1ScopeSelector = Dict{Symbol,Symbol}(Symbol("matchExpressions")=>Symbol("matchExpressions")) -const _property_types_IoK8sApiCoreV1ScopeSelector = Dict{Symbol,String}(Symbol("matchExpressions")=>"Vector{IoK8sApiCoreV1ScopedResourceSelectorRequirement}") -Base.propertynames(::Type{ IoK8sApiCoreV1ScopeSelector }) = collect(keys(_property_map_IoK8sApiCoreV1ScopeSelector)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ScopeSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScopeSelector[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ScopeSelector }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ScopeSelector[property_name] - -function check_required(o::IoK8sApiCoreV1ScopeSelector) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ScopeSelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl deleted file mode 100644 index a5e348a3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. - - IoK8sApiCoreV1ScopedResourceSelectorRequirement(; - operator=nothing, - scopeName=nothing, - values=nothing, - ) - - - operator::String : Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. - - scopeName::String : The name of the scope that the selector applies to. - - values::Vector{String} : An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. -""" -mutable struct IoK8sApiCoreV1ScopedResourceSelectorRequirement <: SwaggerModel - operator::Any # spec type: Union{ Nothing, String } # spec name: operator - scopeName::Any # spec type: Union{ Nothing, String } # spec name: scopeName - values::Any # spec type: Union{ Nothing, Vector{String} } # spec name: values - - function IoK8sApiCoreV1ScopedResourceSelectorRequirement(;operator=nothing, scopeName=nothing, values=nothing) - o = new() - validate_property(IoK8sApiCoreV1ScopedResourceSelectorRequirement, Symbol("operator"), operator) - setfield!(o, Symbol("operator"), operator) - validate_property(IoK8sApiCoreV1ScopedResourceSelectorRequirement, Symbol("scopeName"), scopeName) - setfield!(o, Symbol("scopeName"), scopeName) - validate_property(IoK8sApiCoreV1ScopedResourceSelectorRequirement, Symbol("values"), values) - setfield!(o, Symbol("values"), values) - o - end -end # type IoK8sApiCoreV1ScopedResourceSelectorRequirement - -const _property_map_IoK8sApiCoreV1ScopedResourceSelectorRequirement = Dict{Symbol,Symbol}(Symbol("operator")=>Symbol("operator"), Symbol("scopeName")=>Symbol("scopeName"), Symbol("values")=>Symbol("values")) -const _property_types_IoK8sApiCoreV1ScopedResourceSelectorRequirement = Dict{Symbol,String}(Symbol("operator")=>"String", Symbol("scopeName")=>"String", Symbol("values")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1ScopedResourceSelectorRequirement }) = collect(keys(_property_map_IoK8sApiCoreV1ScopedResourceSelectorRequirement)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ScopedResourceSelectorRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScopedResourceSelectorRequirement[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ScopedResourceSelectorRequirement }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ScopedResourceSelectorRequirement[property_name] - -function check_required(o::IoK8sApiCoreV1ScopedResourceSelectorRequirement) - (getproperty(o, Symbol("operator")) === nothing) && (return false) - (getproperty(o, Symbol("scopeName")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ScopedResourceSelectorRequirement }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Secret.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Secret.jl deleted file mode 100644 index 1496c9de..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Secret.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. - - IoK8sApiCoreV1Secret(; - apiVersion=nothing, - data=nothing, - kind=nothing, - metadata=nothing, - stringData=nothing, - type=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - data::Dict{String, Vector{UInt8}} : Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - stringData::Dict{String, String} : stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. - - type::String : Used to facilitate programmatic handling of secret data. -""" -mutable struct IoK8sApiCoreV1Secret <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - data::Any # spec type: Union{ Nothing, Dict{String, Vector{UInt8}} } # spec name: data - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - stringData::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: stringData - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1Secret(;apiVersion=nothing, data=nothing, kind=nothing, metadata=nothing, stringData=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1Secret, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Secret, Symbol("data"), data) - setfield!(o, Symbol("data"), data) - validate_property(IoK8sApiCoreV1Secret, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Secret, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Secret, Symbol("stringData"), stringData) - setfield!(o, Symbol("stringData"), stringData) - validate_property(IoK8sApiCoreV1Secret, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1Secret - -const _property_map_IoK8sApiCoreV1Secret = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("data")=>Symbol("data"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("stringData")=>Symbol("stringData"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1Secret = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"Dict{String, Vector{UInt8}}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("stringData")=>"Dict{String, String}", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1Secret }) = collect(keys(_property_map_IoK8sApiCoreV1Secret)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Secret }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Secret[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Secret }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Secret[property_name] - -function check_required(o::IoK8sApiCoreV1Secret) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Secret }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretEnvSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecretEnvSource.jl deleted file mode 100644 index f7ac37e0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretEnvSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables. - - IoK8sApiCoreV1SecretEnvSource(; - name=nothing, - optional=nothing, - ) - - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the Secret must be defined -""" -mutable struct IoK8sApiCoreV1SecretEnvSource <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1SecretEnvSource(;name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecretEnvSource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1SecretEnvSource, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1SecretEnvSource - -const _property_map_IoK8sApiCoreV1SecretEnvSource = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1SecretEnvSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1SecretEnvSource }) = collect(keys(_property_map_IoK8sApiCoreV1SecretEnvSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecretEnvSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretEnvSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecretEnvSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecretEnvSource[property_name] - -function check_required(o::IoK8sApiCoreV1SecretEnvSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecretEnvSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretKeySelector.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecretKeySelector.jl deleted file mode 100644 index 43a5fb06..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretKeySelector.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SecretKeySelector selects a key of a Secret. - - IoK8sApiCoreV1SecretKeySelector(; - key=nothing, - name=nothing, - optional=nothing, - ) - - - key::String : The key of the secret to select from. Must be a valid secret key. - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the Secret or its key must be defined -""" -mutable struct IoK8sApiCoreV1SecretKeySelector <: SwaggerModel - key::Any # spec type: Union{ Nothing, String } # spec name: key - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1SecretKeySelector(;key=nothing, name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecretKeySelector, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1SecretKeySelector, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1SecretKeySelector, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1SecretKeySelector - -const _property_map_IoK8sApiCoreV1SecretKeySelector = Dict{Symbol,Symbol}(Symbol("key")=>Symbol("key"), Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1SecretKeySelector = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1SecretKeySelector }) = collect(keys(_property_map_IoK8sApiCoreV1SecretKeySelector)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecretKeySelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretKeySelector[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecretKeySelector }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecretKeySelector[property_name] - -function check_required(o::IoK8sApiCoreV1SecretKeySelector) - (getproperty(o, Symbol("key")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecretKeySelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecretList.jl deleted file mode 100644 index 183bffe2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SecretList is a list of Secret. - - IoK8sApiCoreV1SecretList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Secret} : Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1SecretList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Secret} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1SecretList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecretList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1SecretList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1SecretList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1SecretList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1SecretList - -const _property_map_IoK8sApiCoreV1SecretList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1SecretList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Secret}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1SecretList }) = collect(keys(_property_map_IoK8sApiCoreV1SecretList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecretList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecretList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecretList[property_name] - -function check_required(o::IoK8sApiCoreV1SecretList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecretList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretProjection.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecretProjection.jl deleted file mode 100644 index d3a638e1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretProjection.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. - - IoK8sApiCoreV1SecretProjection(; - items=nothing, - name=nothing, - optional=nothing, - ) - - - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. - - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - optional::Bool : Specify whether the Secret or its key must be defined -""" -mutable struct IoK8sApiCoreV1SecretProjection <: SwaggerModel - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } # spec name: items - name::Any # spec type: Union{ Nothing, String } # spec name: name - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - - function IoK8sApiCoreV1SecretProjection(;items=nothing, name=nothing, optional=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecretProjection, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1SecretProjection, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1SecretProjection, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - o - end -end # type IoK8sApiCoreV1SecretProjection - -const _property_map_IoK8sApiCoreV1SecretProjection = Dict{Symbol,Symbol}(Symbol("items")=>Symbol("items"), Symbol("name")=>Symbol("name"), Symbol("optional")=>Symbol("optional")) -const _property_types_IoK8sApiCoreV1SecretProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("name")=>"String", Symbol("optional")=>"Bool") -Base.propertynames(::Type{ IoK8sApiCoreV1SecretProjection }) = collect(keys(_property_map_IoK8sApiCoreV1SecretProjection)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecretProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretProjection[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecretProjection }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecretProjection[property_name] - -function check_required(o::IoK8sApiCoreV1SecretProjection) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecretProjection }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretReference.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecretReference.jl deleted file mode 100644 index 50a7cbef..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretReference.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace - - IoK8sApiCoreV1SecretReference(; - name=nothing, - namespace=nothing, - ) - - - name::String : Name is unique within a namespace to reference a secret resource. - - namespace::String : Namespace defines the space within which the secret name must be unique. -""" -mutable struct IoK8sApiCoreV1SecretReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiCoreV1SecretReference(;name=nothing, namespace=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecretReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1SecretReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiCoreV1SecretReference - -const _property_map_IoK8sApiCoreV1SecretReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiCoreV1SecretReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1SecretReference }) = collect(keys(_property_map_IoK8sApiCoreV1SecretReference)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecretReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretReference[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecretReference }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecretReference[property_name] - -function check_required(o::IoK8sApiCoreV1SecretReference) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecretReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecretVolumeSource.jl deleted file mode 100644 index 9eab29b1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecretVolumeSource.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Adapts a Secret into a volume. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. - - IoK8sApiCoreV1SecretVolumeSource(; - defaultMode=nothing, - items=nothing, - optional=nothing, - secretName=nothing, - ) - - - defaultMode::Int32 : Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. - - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. - - optional::Bool : Specify whether the Secret or its keys must be defined - - secretName::String : Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -""" -mutable struct IoK8sApiCoreV1SecretVolumeSource <: SwaggerModel - defaultMode::Any # spec type: Union{ Nothing, Int32 } # spec name: defaultMode - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } # spec name: items - optional::Any # spec type: Union{ Nothing, Bool } # spec name: optional - secretName::Any # spec type: Union{ Nothing, String } # spec name: secretName - - function IoK8sApiCoreV1SecretVolumeSource(;defaultMode=nothing, items=nothing, optional=nothing, secretName=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("defaultMode"), defaultMode) - setfield!(o, Symbol("defaultMode"), defaultMode) - validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("optional"), optional) - setfield!(o, Symbol("optional"), optional) - validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("secretName"), secretName) - setfield!(o, Symbol("secretName"), secretName) - o - end -end # type IoK8sApiCoreV1SecretVolumeSource - -const _property_map_IoK8sApiCoreV1SecretVolumeSource = Dict{Symbol,Symbol}(Symbol("defaultMode")=>Symbol("defaultMode"), Symbol("items")=>Symbol("items"), Symbol("optional")=>Symbol("optional"), Symbol("secretName")=>Symbol("secretName")) -const _property_types_IoK8sApiCoreV1SecretVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int32", Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("optional")=>"Bool", Symbol("secretName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1SecretVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1SecretVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecretVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecretVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecretVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1SecretVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecretVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SecurityContext.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SecurityContext.jl deleted file mode 100644 index 6c714927..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SecurityContext.jl +++ /dev/null @@ -1,80 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. - - IoK8sApiCoreV1SecurityContext(; - allowPrivilegeEscalation=nothing, - capabilities=nothing, - privileged=nothing, - procMount=nothing, - readOnlyRootFilesystem=nothing, - runAsGroup=nothing, - runAsNonRoot=nothing, - runAsUser=nothing, - seLinuxOptions=nothing, - windowsOptions=nothing, - ) - - - allowPrivilegeEscalation::Bool : AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN - - capabilities::IoK8sApiCoreV1Capabilities : The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. - - privileged::Bool : Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. - - procMount::String : procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. - - readOnlyRootFilesystem::Bool : Whether this container has a read-only root filesystem. Default is false. - - runAsGroup::Int64 : The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. - - runAsNonRoot::Bool : Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. - - runAsUser::Int64 : The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. - - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions : The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. - - windowsOptions::IoK8sApiCoreV1WindowsSecurityContextOptions : The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. -""" -mutable struct IoK8sApiCoreV1SecurityContext <: SwaggerModel - allowPrivilegeEscalation::Any # spec type: Union{ Nothing, Bool } # spec name: allowPrivilegeEscalation - capabilities::Any # spec type: Union{ Nothing, IoK8sApiCoreV1Capabilities } # spec name: capabilities - privileged::Any # spec type: Union{ Nothing, Bool } # spec name: privileged - procMount::Any # spec type: Union{ Nothing, String } # spec name: procMount - readOnlyRootFilesystem::Any # spec type: Union{ Nothing, Bool } # spec name: readOnlyRootFilesystem - runAsGroup::Any # spec type: Union{ Nothing, Int64 } # spec name: runAsGroup - runAsNonRoot::Any # spec type: Union{ Nothing, Bool } # spec name: runAsNonRoot - runAsUser::Any # spec type: Union{ Nothing, Int64 } # spec name: runAsUser - seLinuxOptions::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } # spec name: seLinuxOptions - windowsOptions::Any # spec type: Union{ Nothing, IoK8sApiCoreV1WindowsSecurityContextOptions } # spec name: windowsOptions - - function IoK8sApiCoreV1SecurityContext(;allowPrivilegeEscalation=nothing, capabilities=nothing, privileged=nothing, procMount=nothing, readOnlyRootFilesystem=nothing, runAsGroup=nothing, runAsNonRoot=nothing, runAsUser=nothing, seLinuxOptions=nothing, windowsOptions=nothing) - o = new() - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) - setfield!(o, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("capabilities"), capabilities) - setfield!(o, Symbol("capabilities"), capabilities) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("privileged"), privileged) - setfield!(o, Symbol("privileged"), privileged) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("procMount"), procMount) - setfield!(o, Symbol("procMount"), procMount) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) - setfield!(o, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("runAsGroup"), runAsGroup) - setfield!(o, Symbol("runAsGroup"), runAsGroup) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("runAsNonRoot"), runAsNonRoot) - setfield!(o, Symbol("runAsNonRoot"), runAsNonRoot) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("runAsUser"), runAsUser) - setfield!(o, Symbol("runAsUser"), runAsUser) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("seLinuxOptions"), seLinuxOptions) - setfield!(o, Symbol("seLinuxOptions"), seLinuxOptions) - validate_property(IoK8sApiCoreV1SecurityContext, Symbol("windowsOptions"), windowsOptions) - setfield!(o, Symbol("windowsOptions"), windowsOptions) - o - end -end # type IoK8sApiCoreV1SecurityContext - -const _property_map_IoK8sApiCoreV1SecurityContext = Dict{Symbol,Symbol}(Symbol("allowPrivilegeEscalation")=>Symbol("allowPrivilegeEscalation"), Symbol("capabilities")=>Symbol("capabilities"), Symbol("privileged")=>Symbol("privileged"), Symbol("procMount")=>Symbol("procMount"), Symbol("readOnlyRootFilesystem")=>Symbol("readOnlyRootFilesystem"), Symbol("runAsGroup")=>Symbol("runAsGroup"), Symbol("runAsNonRoot")=>Symbol("runAsNonRoot"), Symbol("runAsUser")=>Symbol("runAsUser"), Symbol("seLinuxOptions")=>Symbol("seLinuxOptions"), Symbol("windowsOptions")=>Symbol("windowsOptions")) -const _property_types_IoK8sApiCoreV1SecurityContext = Dict{Symbol,String}(Symbol("allowPrivilegeEscalation")=>"Bool", Symbol("capabilities")=>"IoK8sApiCoreV1Capabilities", Symbol("privileged")=>"Bool", Symbol("procMount")=>"String", Symbol("readOnlyRootFilesystem")=>"Bool", Symbol("runAsGroup")=>"Int64", Symbol("runAsNonRoot")=>"Bool", Symbol("runAsUser")=>"Int64", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions", Symbol("windowsOptions")=>"IoK8sApiCoreV1WindowsSecurityContextOptions") -Base.propertynames(::Type{ IoK8sApiCoreV1SecurityContext }) = collect(keys(_property_map_IoK8sApiCoreV1SecurityContext)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SecurityContext }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecurityContext[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SecurityContext }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SecurityContext[property_name] - -function check_required(o::IoK8sApiCoreV1SecurityContext) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SecurityContext }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Service.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Service.jl deleted file mode 100644 index 69df430d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Service.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. - - IoK8sApiCoreV1Service(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiCoreV1ServiceSpec : Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiCoreV1ServiceStatus : Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiCoreV1Service <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ServiceSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ServiceStatus } # spec name: status - - function IoK8sApiCoreV1Service(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiCoreV1Service, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1Service, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1Service, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1Service, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiCoreV1Service, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiCoreV1Service - -const _property_map_IoK8sApiCoreV1Service = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiCoreV1Service = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1ServiceSpec", Symbol("status")=>"IoK8sApiCoreV1ServiceStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1Service }) = collect(keys(_property_map_IoK8sApiCoreV1Service)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Service }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Service[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Service }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Service[property_name] - -function check_required(o::IoK8sApiCoreV1Service) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Service }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccount.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccount.jl deleted file mode 100644 index 3bd7f70e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccount.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets - - IoK8sApiCoreV1ServiceAccount(; - apiVersion=nothing, - automountServiceAccountToken=nothing, - imagePullSecrets=nothing, - kind=nothing, - metadata=nothing, - secrets=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - automountServiceAccountToken::Bool : AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. - - imagePullSecrets::Vector{IoK8sApiCoreV1LocalObjectReference} : ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - secrets::Vector{IoK8sApiCoreV1ObjectReference} : Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret -""" -mutable struct IoK8sApiCoreV1ServiceAccount <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - automountServiceAccountToken::Any # spec type: Union{ Nothing, Bool } # spec name: automountServiceAccountToken - imagePullSecrets::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LocalObjectReference} } # spec name: imagePullSecrets - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - secrets::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } # spec name: secrets - - function IoK8sApiCoreV1ServiceAccount(;apiVersion=nothing, automountServiceAccountToken=nothing, imagePullSecrets=nothing, kind=nothing, metadata=nothing, secrets=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("automountServiceAccountToken"), automountServiceAccountToken) - setfield!(o, Symbol("automountServiceAccountToken"), automountServiceAccountToken) - validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("imagePullSecrets"), imagePullSecrets) - setfield!(o, Symbol("imagePullSecrets"), imagePullSecrets) - validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("secrets"), secrets) - setfield!(o, Symbol("secrets"), secrets) - o - end -end # type IoK8sApiCoreV1ServiceAccount - -const _property_map_IoK8sApiCoreV1ServiceAccount = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("automountServiceAccountToken")=>Symbol("automountServiceAccountToken"), Symbol("imagePullSecrets")=>Symbol("imagePullSecrets"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("secrets")=>Symbol("secrets")) -const _property_types_IoK8sApiCoreV1ServiceAccount = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("automountServiceAccountToken")=>"Bool", Symbol("imagePullSecrets")=>"Vector{IoK8sApiCoreV1LocalObjectReference}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("secrets")=>"Vector{IoK8sApiCoreV1ObjectReference}") -Base.propertynames(::Type{ IoK8sApiCoreV1ServiceAccount }) = collect(keys(_property_map_IoK8sApiCoreV1ServiceAccount)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServiceAccount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceAccount[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServiceAccount }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServiceAccount[property_name] - -function check_required(o::IoK8sApiCoreV1ServiceAccount) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServiceAccount }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccountList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccountList.jl deleted file mode 100644 index 45895197..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccountList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceAccountList is a list of ServiceAccount objects - - IoK8sApiCoreV1ServiceAccountList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1ServiceAccount} : List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1ServiceAccountList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ServiceAccount} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1ServiceAccountList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ServiceAccountList - -const _property_map_IoK8sApiCoreV1ServiceAccountList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ServiceAccountList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ServiceAccount}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ServiceAccountList }) = collect(keys(_property_map_IoK8sApiCoreV1ServiceAccountList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServiceAccountList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceAccountList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServiceAccountList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServiceAccountList[property_name] - -function check_required(o::IoK8sApiCoreV1ServiceAccountList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServiceAccountList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl deleted file mode 100644 index 71a42bcc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). - - IoK8sApiCoreV1ServiceAccountTokenProjection(; - audience=nothing, - expirationSeconds=nothing, - path=nothing, - ) - - - audience::String : Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. - - expirationSeconds::Int64 : ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. - - path::String : Path is the path relative to the mount point of the file to project the token into. -""" -mutable struct IoK8sApiCoreV1ServiceAccountTokenProjection <: SwaggerModel - audience::Any # spec type: Union{ Nothing, String } # spec name: audience - expirationSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: expirationSeconds - path::Any # spec type: Union{ Nothing, String } # spec name: path - - function IoK8sApiCoreV1ServiceAccountTokenProjection(;audience=nothing, expirationSeconds=nothing, path=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServiceAccountTokenProjection, Symbol("audience"), audience) - setfield!(o, Symbol("audience"), audience) - validate_property(IoK8sApiCoreV1ServiceAccountTokenProjection, Symbol("expirationSeconds"), expirationSeconds) - setfield!(o, Symbol("expirationSeconds"), expirationSeconds) - validate_property(IoK8sApiCoreV1ServiceAccountTokenProjection, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - o - end -end # type IoK8sApiCoreV1ServiceAccountTokenProjection - -const _property_map_IoK8sApiCoreV1ServiceAccountTokenProjection = Dict{Symbol,Symbol}(Symbol("audience")=>Symbol("audience"), Symbol("expirationSeconds")=>Symbol("expirationSeconds"), Symbol("path")=>Symbol("path")) -const _property_types_IoK8sApiCoreV1ServiceAccountTokenProjection = Dict{Symbol,String}(Symbol("audience")=>"String", Symbol("expirationSeconds")=>"Int64", Symbol("path")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ServiceAccountTokenProjection }) = collect(keys(_property_map_IoK8sApiCoreV1ServiceAccountTokenProjection)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServiceAccountTokenProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceAccountTokenProjection[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServiceAccountTokenProjection }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServiceAccountTokenProjection[property_name] - -function check_required(o::IoK8sApiCoreV1ServiceAccountTokenProjection) - (getproperty(o, Symbol("path")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServiceAccountTokenProjection }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceList.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceList.jl deleted file mode 100644 index c2435009..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceList holds a list of services. - - IoK8sApiCoreV1ServiceList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiCoreV1Service} : List of services - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiCoreV1ServiceList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Service} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiCoreV1ServiceList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServiceList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCoreV1ServiceList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiCoreV1ServiceList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1ServiceList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiCoreV1ServiceList - -const _property_map_IoK8sApiCoreV1ServiceList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiCoreV1ServiceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Service}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiCoreV1ServiceList }) = collect(keys(_property_map_IoK8sApiCoreV1ServiceList)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServiceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceList[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServiceList }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServiceList[property_name] - -function check_required(o::IoK8sApiCoreV1ServiceList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServiceList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServicePort.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServicePort.jl deleted file mode 100644 index 2dea42fc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServicePort.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServicePort contains information on service's port. - - IoK8sApiCoreV1ServicePort(; - name=nothing, - nodePort=nothing, - port=nothing, - protocol=nothing, - targetPort=nothing, - ) - - - name::String : The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. - - nodePort::Int32 : The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport - - port::Int32 : The port that will be exposed by this service. - - protocol::String : The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP. - - targetPort::IoK8sApimachineryPkgUtilIntstrIntOrString : Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service -""" -mutable struct IoK8sApiCoreV1ServicePort <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - nodePort::Any # spec type: Union{ Nothing, Int32 } # spec name: nodePort - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - protocol::Any # spec type: Union{ Nothing, String } # spec name: protocol - targetPort::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: targetPort - - function IoK8sApiCoreV1ServicePort(;name=nothing, nodePort=nothing, port=nothing, protocol=nothing, targetPort=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServicePort, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1ServicePort, Symbol("nodePort"), nodePort) - setfield!(o, Symbol("nodePort"), nodePort) - validate_property(IoK8sApiCoreV1ServicePort, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - validate_property(IoK8sApiCoreV1ServicePort, Symbol("protocol"), protocol) - setfield!(o, Symbol("protocol"), protocol) - validate_property(IoK8sApiCoreV1ServicePort, Symbol("targetPort"), targetPort) - setfield!(o, Symbol("targetPort"), targetPort) - o - end -end # type IoK8sApiCoreV1ServicePort - -const _property_map_IoK8sApiCoreV1ServicePort = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("nodePort")=>Symbol("nodePort"), Symbol("port")=>Symbol("port"), Symbol("protocol")=>Symbol("protocol"), Symbol("targetPort")=>Symbol("targetPort")) -const _property_types_IoK8sApiCoreV1ServicePort = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("nodePort")=>"Int32", Symbol("port")=>"Int32", Symbol("protocol")=>"String", Symbol("targetPort")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiCoreV1ServicePort }) = collect(keys(_property_map_IoK8sApiCoreV1ServicePort)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServicePort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServicePort[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServicePort }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServicePort[property_name] - -function check_required(o::IoK8sApiCoreV1ServicePort) - (getproperty(o, Symbol("port")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServicePort }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceSpec.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceSpec.jl deleted file mode 100644 index 17a391db..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceSpec.jl +++ /dev/null @@ -1,105 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceSpec describes the attributes that a user creates on a service. - - IoK8sApiCoreV1ServiceSpec(; - clusterIP=nothing, - externalIPs=nothing, - externalName=nothing, - externalTrafficPolicy=nothing, - healthCheckNodePort=nothing, - ipFamily=nothing, - loadBalancerIP=nothing, - loadBalancerSourceRanges=nothing, - ports=nothing, - publishNotReadyAddresses=nothing, - selector=nothing, - sessionAffinity=nothing, - sessionAffinityConfig=nothing, - topologyKeys=nothing, - type=nothing, - ) - - - clusterIP::String : clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies - - externalIPs::Vector{String} : externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. - - externalName::String : externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName. - - externalTrafficPolicy::String : externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. - - healthCheckNodePort::Int32 : healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local. - - ipFamily::String : ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment. - - loadBalancerIP::String : Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. - - loadBalancerSourceRanges::Vector{String} : If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ - - ports::Vector{IoK8sApiCoreV1ServicePort} : The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies - - publishNotReadyAddresses::Bool : publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. - - selector::Dict{String, String} : Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ - - sessionAffinity::String : Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies - - sessionAffinityConfig::IoK8sApiCoreV1SessionAffinityConfig : sessionAffinityConfig contains the configurations of session affinity. - - topologyKeys::Vector{String} : topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. - - type::String : type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types -""" -mutable struct IoK8sApiCoreV1ServiceSpec <: SwaggerModel - clusterIP::Any # spec type: Union{ Nothing, String } # spec name: clusterIP - externalIPs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: externalIPs - externalName::Any # spec type: Union{ Nothing, String } # spec name: externalName - externalTrafficPolicy::Any # spec type: Union{ Nothing, String } # spec name: externalTrafficPolicy - healthCheckNodePort::Any # spec type: Union{ Nothing, Int32 } # spec name: healthCheckNodePort - ipFamily::Any # spec type: Union{ Nothing, String } # spec name: ipFamily - loadBalancerIP::Any # spec type: Union{ Nothing, String } # spec name: loadBalancerIP - loadBalancerSourceRanges::Any # spec type: Union{ Nothing, Vector{String} } # spec name: loadBalancerSourceRanges - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ServicePort} } # spec name: ports - publishNotReadyAddresses::Any # spec type: Union{ Nothing, Bool } # spec name: publishNotReadyAddresses - selector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: selector - sessionAffinity::Any # spec type: Union{ Nothing, String } # spec name: sessionAffinity - sessionAffinityConfig::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SessionAffinityConfig } # spec name: sessionAffinityConfig - topologyKeys::Any # spec type: Union{ Nothing, Vector{String} } # spec name: topologyKeys - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiCoreV1ServiceSpec(;clusterIP=nothing, externalIPs=nothing, externalName=nothing, externalTrafficPolicy=nothing, healthCheckNodePort=nothing, ipFamily=nothing, loadBalancerIP=nothing, loadBalancerSourceRanges=nothing, ports=nothing, publishNotReadyAddresses=nothing, selector=nothing, sessionAffinity=nothing, sessionAffinityConfig=nothing, topologyKeys=nothing, type=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("clusterIP"), clusterIP) - setfield!(o, Symbol("clusterIP"), clusterIP) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("externalIPs"), externalIPs) - setfield!(o, Symbol("externalIPs"), externalIPs) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("externalName"), externalName) - setfield!(o, Symbol("externalName"), externalName) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("externalTrafficPolicy"), externalTrafficPolicy) - setfield!(o, Symbol("externalTrafficPolicy"), externalTrafficPolicy) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("healthCheckNodePort"), healthCheckNodePort) - setfield!(o, Symbol("healthCheckNodePort"), healthCheckNodePort) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("ipFamily"), ipFamily) - setfield!(o, Symbol("ipFamily"), ipFamily) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("loadBalancerIP"), loadBalancerIP) - setfield!(o, Symbol("loadBalancerIP"), loadBalancerIP) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("loadBalancerSourceRanges"), loadBalancerSourceRanges) - setfield!(o, Symbol("loadBalancerSourceRanges"), loadBalancerSourceRanges) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("publishNotReadyAddresses"), publishNotReadyAddresses) - setfield!(o, Symbol("publishNotReadyAddresses"), publishNotReadyAddresses) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("sessionAffinity"), sessionAffinity) - setfield!(o, Symbol("sessionAffinity"), sessionAffinity) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("sessionAffinityConfig"), sessionAffinityConfig) - setfield!(o, Symbol("sessionAffinityConfig"), sessionAffinityConfig) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("topologyKeys"), topologyKeys) - setfield!(o, Symbol("topologyKeys"), topologyKeys) - validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiCoreV1ServiceSpec - -const _property_map_IoK8sApiCoreV1ServiceSpec = Dict{Symbol,Symbol}(Symbol("clusterIP")=>Symbol("clusterIP"), Symbol("externalIPs")=>Symbol("externalIPs"), Symbol("externalName")=>Symbol("externalName"), Symbol("externalTrafficPolicy")=>Symbol("externalTrafficPolicy"), Symbol("healthCheckNodePort")=>Symbol("healthCheckNodePort"), Symbol("ipFamily")=>Symbol("ipFamily"), Symbol("loadBalancerIP")=>Symbol("loadBalancerIP"), Symbol("loadBalancerSourceRanges")=>Symbol("loadBalancerSourceRanges"), Symbol("ports")=>Symbol("ports"), Symbol("publishNotReadyAddresses")=>Symbol("publishNotReadyAddresses"), Symbol("selector")=>Symbol("selector"), Symbol("sessionAffinity")=>Symbol("sessionAffinity"), Symbol("sessionAffinityConfig")=>Symbol("sessionAffinityConfig"), Symbol("topologyKeys")=>Symbol("topologyKeys"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiCoreV1ServiceSpec = Dict{Symbol,String}(Symbol("clusterIP")=>"String", Symbol("externalIPs")=>"Vector{String}", Symbol("externalName")=>"String", Symbol("externalTrafficPolicy")=>"String", Symbol("healthCheckNodePort")=>"Int32", Symbol("ipFamily")=>"String", Symbol("loadBalancerIP")=>"String", Symbol("loadBalancerSourceRanges")=>"Vector{String}", Symbol("ports")=>"Vector{IoK8sApiCoreV1ServicePort}", Symbol("publishNotReadyAddresses")=>"Bool", Symbol("selector")=>"Dict{String, String}", Symbol("sessionAffinity")=>"String", Symbol("sessionAffinityConfig")=>"IoK8sApiCoreV1SessionAffinityConfig", Symbol("topologyKeys")=>"Vector{String}", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1ServiceSpec }) = collect(keys(_property_map_IoK8sApiCoreV1ServiceSpec)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServiceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServiceSpec }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServiceSpec[property_name] - -function check_required(o::IoK8sApiCoreV1ServiceSpec) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServiceSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceStatus.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceStatus.jl deleted file mode 100644 index 5e34b2f0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1ServiceStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceStatus represents the current status of a service. - - IoK8sApiCoreV1ServiceStatus(; - loadBalancer=nothing, - ) - - - loadBalancer::IoK8sApiCoreV1LoadBalancerStatus : LoadBalancer contains the current status of the load-balancer, if one is present. -""" -mutable struct IoK8sApiCoreV1ServiceStatus <: SwaggerModel - loadBalancer::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } # spec name: loadBalancer - - function IoK8sApiCoreV1ServiceStatus(;loadBalancer=nothing) - o = new() - validate_property(IoK8sApiCoreV1ServiceStatus, Symbol("loadBalancer"), loadBalancer) - setfield!(o, Symbol("loadBalancer"), loadBalancer) - o - end -end # type IoK8sApiCoreV1ServiceStatus - -const _property_map_IoK8sApiCoreV1ServiceStatus = Dict{Symbol,Symbol}(Symbol("loadBalancer")=>Symbol("loadBalancer")) -const _property_types_IoK8sApiCoreV1ServiceStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus") -Base.propertynames(::Type{ IoK8sApiCoreV1ServiceStatus }) = collect(keys(_property_map_IoK8sApiCoreV1ServiceStatus)) -Swagger.property_type(::Type{ IoK8sApiCoreV1ServiceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1ServiceStatus }, property_name::Symbol) = _property_map_IoK8sApiCoreV1ServiceStatus[property_name] - -function check_required(o::IoK8sApiCoreV1ServiceStatus) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1ServiceStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1SessionAffinityConfig.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1SessionAffinityConfig.jl deleted file mode 100644 index 393659b4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1SessionAffinityConfig.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SessionAffinityConfig represents the configurations of session affinity. - - IoK8sApiCoreV1SessionAffinityConfig(; - clientIP=nothing, - ) - - - clientIP::IoK8sApiCoreV1ClientIPConfig : clientIP contains the configurations of Client IP based session affinity. -""" -mutable struct IoK8sApiCoreV1SessionAffinityConfig <: SwaggerModel - clientIP::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ClientIPConfig } # spec name: clientIP - - function IoK8sApiCoreV1SessionAffinityConfig(;clientIP=nothing) - o = new() - validate_property(IoK8sApiCoreV1SessionAffinityConfig, Symbol("clientIP"), clientIP) - setfield!(o, Symbol("clientIP"), clientIP) - o - end -end # type IoK8sApiCoreV1SessionAffinityConfig - -const _property_map_IoK8sApiCoreV1SessionAffinityConfig = Dict{Symbol,Symbol}(Symbol("clientIP")=>Symbol("clientIP")) -const _property_types_IoK8sApiCoreV1SessionAffinityConfig = Dict{Symbol,String}(Symbol("clientIP")=>"IoK8sApiCoreV1ClientIPConfig") -Base.propertynames(::Type{ IoK8sApiCoreV1SessionAffinityConfig }) = collect(keys(_property_map_IoK8sApiCoreV1SessionAffinityConfig)) -Swagger.property_type(::Type{ IoK8sApiCoreV1SessionAffinityConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SessionAffinityConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1SessionAffinityConfig }, property_name::Symbol) = _property_map_IoK8sApiCoreV1SessionAffinityConfig[property_name] - -function check_required(o::IoK8sApiCoreV1SessionAffinityConfig) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1SessionAffinityConfig }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl deleted file mode 100644 index 2a7f230c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a StorageOS persistent volume resource. - - IoK8sApiCoreV1StorageOSPersistentVolumeSource(; - fsType=nothing, - readOnly=nothing, - secretRef=nothing, - volumeName=nothing, - volumeNamespace=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretRef::IoK8sApiCoreV1ObjectReference : SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. - - volumeName::String : VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. - - volumeNamespace::String : VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. -""" -mutable struct IoK8sApiCoreV1StorageOSPersistentVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: secretRef - volumeName::Any # spec type: Union{ Nothing, String } # spec name: volumeName - volumeNamespace::Any # spec type: Union{ Nothing, String } # spec name: volumeNamespace - - function IoK8sApiCoreV1StorageOSPersistentVolumeSource(;fsType=nothing, readOnly=nothing, secretRef=nothing, volumeName=nothing, volumeNamespace=nothing) - o = new() - validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("volumeName"), volumeName) - setfield!(o, Symbol("volumeName"), volumeName) - validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("volumeNamespace"), volumeNamespace) - setfield!(o, Symbol("volumeNamespace"), volumeNamespace) - o - end -end # type IoK8sApiCoreV1StorageOSPersistentVolumeSource - -const _property_map_IoK8sApiCoreV1StorageOSPersistentVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("volumeName")=>Symbol("volumeName"), Symbol("volumeNamespace")=>Symbol("volumeNamespace")) -const _property_types_IoK8sApiCoreV1StorageOSPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1ObjectReference", Symbol("volumeName")=>"String", Symbol("volumeNamespace")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1StorageOSPersistentVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1StorageOSPersistentVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1StorageOSPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1StorageOSPersistentVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1StorageOSPersistentVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1StorageOSPersistentVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1StorageOSPersistentVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1StorageOSPersistentVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1StorageOSVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1StorageOSVolumeSource.jl deleted file mode 100644 index 2a9b1095..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1StorageOSVolumeSource.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a StorageOS persistent volume resource. - - IoK8sApiCoreV1StorageOSVolumeSource(; - fsType=nothing, - readOnly=nothing, - secretRef=nothing, - volumeName=nothing, - volumeNamespace=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. - - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. - - secretRef::IoK8sApiCoreV1LocalObjectReference : SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. - - volumeName::String : VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. - - volumeNamespace::String : VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. -""" -mutable struct IoK8sApiCoreV1StorageOSVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - secretRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } # spec name: secretRef - volumeName::Any # spec type: Union{ Nothing, String } # spec name: volumeName - volumeNamespace::Any # spec type: Union{ Nothing, String } # spec name: volumeNamespace - - function IoK8sApiCoreV1StorageOSVolumeSource(;fsType=nothing, readOnly=nothing, secretRef=nothing, volumeName=nothing, volumeNamespace=nothing) - o = new() - validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("secretRef"), secretRef) - setfield!(o, Symbol("secretRef"), secretRef) - validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("volumeName"), volumeName) - setfield!(o, Symbol("volumeName"), volumeName) - validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("volumeNamespace"), volumeNamespace) - setfield!(o, Symbol("volumeNamespace"), volumeNamespace) - o - end -end # type IoK8sApiCoreV1StorageOSVolumeSource - -const _property_map_IoK8sApiCoreV1StorageOSVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("secretRef")=>Symbol("secretRef"), Symbol("volumeName")=>Symbol("volumeName"), Symbol("volumeNamespace")=>Symbol("volumeNamespace")) -const _property_types_IoK8sApiCoreV1StorageOSVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("volumeName")=>"String", Symbol("volumeNamespace")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1StorageOSVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1StorageOSVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1StorageOSVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1StorageOSVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1StorageOSVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1StorageOSVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1StorageOSVolumeSource) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1StorageOSVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Sysctl.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Sysctl.jl deleted file mode 100644 index 1057ff56..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Sysctl.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Sysctl defines a kernel parameter to be set - - IoK8sApiCoreV1Sysctl(; - name=nothing, - value=nothing, - ) - - - name::String : Name of a property to set - - value::String : Value of a property to set -""" -mutable struct IoK8sApiCoreV1Sysctl <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - value::Any # spec type: Union{ Nothing, String } # spec name: value - - function IoK8sApiCoreV1Sysctl(;name=nothing, value=nothing) - o = new() - validate_property(IoK8sApiCoreV1Sysctl, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1Sysctl, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiCoreV1Sysctl - -const _property_map_IoK8sApiCoreV1Sysctl = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiCoreV1Sysctl = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1Sysctl }) = collect(keys(_property_map_IoK8sApiCoreV1Sysctl)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Sysctl }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Sysctl[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Sysctl }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Sysctl[property_name] - -function check_required(o::IoK8sApiCoreV1Sysctl) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("value")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Sysctl }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1TCPSocketAction.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1TCPSocketAction.jl deleted file mode 100644 index 74d4135f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1TCPSocketAction.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TCPSocketAction describes an action based on opening a socket - - IoK8sApiCoreV1TCPSocketAction(; - host=nothing, - port=nothing, - ) - - - host::String : Optional: Host name to connect to, defaults to the pod IP. - - port::IoK8sApimachineryPkgUtilIntstrIntOrString : Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. -""" -mutable struct IoK8sApiCoreV1TCPSocketAction <: SwaggerModel - host::Any # spec type: Union{ Nothing, String } # spec name: host - port::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: port - - function IoK8sApiCoreV1TCPSocketAction(;host=nothing, port=nothing) - o = new() - validate_property(IoK8sApiCoreV1TCPSocketAction, Symbol("host"), host) - setfield!(o, Symbol("host"), host) - validate_property(IoK8sApiCoreV1TCPSocketAction, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sApiCoreV1TCPSocketAction - -const _property_map_IoK8sApiCoreV1TCPSocketAction = Dict{Symbol,Symbol}(Symbol("host")=>Symbol("host"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sApiCoreV1TCPSocketAction = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("port")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiCoreV1TCPSocketAction }) = collect(keys(_property_map_IoK8sApiCoreV1TCPSocketAction)) -Swagger.property_type(::Type{ IoK8sApiCoreV1TCPSocketAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TCPSocketAction[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1TCPSocketAction }, property_name::Symbol) = _property_map_IoK8sApiCoreV1TCPSocketAction[property_name] - -function check_required(o::IoK8sApiCoreV1TCPSocketAction) - (getproperty(o, Symbol("port")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1TCPSocketAction }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Taint.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Taint.jl deleted file mode 100644 index 7b80c599..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Taint.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. - - IoK8sApiCoreV1Taint(; - effect=nothing, - key=nothing, - timeAdded=nothing, - value=nothing, - ) - - - effect::String : Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. - - key::String : Required. The taint key to be applied to a node. - - timeAdded::IoK8sApimachineryPkgApisMetaV1Time : TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. - - value::String : Required. The taint value corresponding to the taint key. -""" -mutable struct IoK8sApiCoreV1Taint <: SwaggerModel - effect::Any # spec type: Union{ Nothing, String } # spec name: effect - key::Any # spec type: Union{ Nothing, String } # spec name: key - timeAdded::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: timeAdded - value::Any # spec type: Union{ Nothing, String } # spec name: value - - function IoK8sApiCoreV1Taint(;effect=nothing, key=nothing, timeAdded=nothing, value=nothing) - o = new() - validate_property(IoK8sApiCoreV1Taint, Symbol("effect"), effect) - setfield!(o, Symbol("effect"), effect) - validate_property(IoK8sApiCoreV1Taint, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1Taint, Symbol("timeAdded"), timeAdded) - setfield!(o, Symbol("timeAdded"), timeAdded) - validate_property(IoK8sApiCoreV1Taint, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiCoreV1Taint - -const _property_map_IoK8sApiCoreV1Taint = Dict{Symbol,Symbol}(Symbol("effect")=>Symbol("effect"), Symbol("key")=>Symbol("key"), Symbol("timeAdded")=>Symbol("timeAdded"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiCoreV1Taint = Dict{Symbol,String}(Symbol("effect")=>"String", Symbol("key")=>"String", Symbol("timeAdded")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("value")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1Taint }) = collect(keys(_property_map_IoK8sApiCoreV1Taint)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Taint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Taint[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Taint }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Taint[property_name] - -function check_required(o::IoK8sApiCoreV1Taint) - (getproperty(o, Symbol("effect")) === nothing) && (return false) - (getproperty(o, Symbol("key")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Taint }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Toleration.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Toleration.jl deleted file mode 100644 index 667a7ae4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Toleration.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. - - IoK8sApiCoreV1Toleration(; - effect=nothing, - key=nothing, - operator=nothing, - tolerationSeconds=nothing, - value=nothing, - ) - - - effect::String : Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. - - key::String : Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. - - operator::String : Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. - - tolerationSeconds::Int64 : TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. - - value::String : Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. -""" -mutable struct IoK8sApiCoreV1Toleration <: SwaggerModel - effect::Any # spec type: Union{ Nothing, String } # spec name: effect - key::Any # spec type: Union{ Nothing, String } # spec name: key - operator::Any # spec type: Union{ Nothing, String } # spec name: operator - tolerationSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: tolerationSeconds - value::Any # spec type: Union{ Nothing, String } # spec name: value - - function IoK8sApiCoreV1Toleration(;effect=nothing, key=nothing, operator=nothing, tolerationSeconds=nothing, value=nothing) - o = new() - validate_property(IoK8sApiCoreV1Toleration, Symbol("effect"), effect) - setfield!(o, Symbol("effect"), effect) - validate_property(IoK8sApiCoreV1Toleration, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1Toleration, Symbol("operator"), operator) - setfield!(o, Symbol("operator"), operator) - validate_property(IoK8sApiCoreV1Toleration, Symbol("tolerationSeconds"), tolerationSeconds) - setfield!(o, Symbol("tolerationSeconds"), tolerationSeconds) - validate_property(IoK8sApiCoreV1Toleration, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiCoreV1Toleration - -const _property_map_IoK8sApiCoreV1Toleration = Dict{Symbol,Symbol}(Symbol("effect")=>Symbol("effect"), Symbol("key")=>Symbol("key"), Symbol("operator")=>Symbol("operator"), Symbol("tolerationSeconds")=>Symbol("tolerationSeconds"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiCoreV1Toleration = Dict{Symbol,String}(Symbol("effect")=>"String", Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("tolerationSeconds")=>"Int64", Symbol("value")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1Toleration }) = collect(keys(_property_map_IoK8sApiCoreV1Toleration)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Toleration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Toleration[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Toleration }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Toleration[property_name] - -function check_required(o::IoK8sApiCoreV1Toleration) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Toleration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl deleted file mode 100644 index 32109a90..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. - - IoK8sApiCoreV1TopologySelectorLabelRequirement(; - key=nothing, - values=nothing, - ) - - - key::String : The label key that the selector applies to. - - values::Vector{String} : An array of string values. One value must match the label to be selected. Each entry in Values is ORed. -""" -mutable struct IoK8sApiCoreV1TopologySelectorLabelRequirement <: SwaggerModel - key::Any # spec type: Union{ Nothing, String } # spec name: key - values::Any # spec type: Union{ Nothing, Vector{String} } # spec name: values - - function IoK8sApiCoreV1TopologySelectorLabelRequirement(;key=nothing, values=nothing) - o = new() - validate_property(IoK8sApiCoreV1TopologySelectorLabelRequirement, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApiCoreV1TopologySelectorLabelRequirement, Symbol("values"), values) - setfield!(o, Symbol("values"), values) - o - end -end # type IoK8sApiCoreV1TopologySelectorLabelRequirement - -const _property_map_IoK8sApiCoreV1TopologySelectorLabelRequirement = Dict{Symbol,Symbol}(Symbol("key")=>Symbol("key"), Symbol("values")=>Symbol("values")) -const _property_types_IoK8sApiCoreV1TopologySelectorLabelRequirement = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("values")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiCoreV1TopologySelectorLabelRequirement }) = collect(keys(_property_map_IoK8sApiCoreV1TopologySelectorLabelRequirement)) -Swagger.property_type(::Type{ IoK8sApiCoreV1TopologySelectorLabelRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TopologySelectorLabelRequirement[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1TopologySelectorLabelRequirement }, property_name::Symbol) = _property_map_IoK8sApiCoreV1TopologySelectorLabelRequirement[property_name] - -function check_required(o::IoK8sApiCoreV1TopologySelectorLabelRequirement) - (getproperty(o, Symbol("key")) === nothing) && (return false) - (getproperty(o, Symbol("values")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1TopologySelectorLabelRequirement }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySelectorTerm.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySelectorTerm.jl deleted file mode 100644 index 4d149cd2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySelectorTerm.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. - - IoK8sApiCoreV1TopologySelectorTerm(; - matchLabelExpressions=nothing, - ) - - - matchLabelExpressions::Vector{IoK8sApiCoreV1TopologySelectorLabelRequirement} : A list of topology selector requirements by labels. -""" -mutable struct IoK8sApiCoreV1TopologySelectorTerm <: SwaggerModel - matchLabelExpressions::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySelectorLabelRequirement} } # spec name: matchLabelExpressions - - function IoK8sApiCoreV1TopologySelectorTerm(;matchLabelExpressions=nothing) - o = new() - validate_property(IoK8sApiCoreV1TopologySelectorTerm, Symbol("matchLabelExpressions"), matchLabelExpressions) - setfield!(o, Symbol("matchLabelExpressions"), matchLabelExpressions) - o - end -end # type IoK8sApiCoreV1TopologySelectorTerm - -const _property_map_IoK8sApiCoreV1TopologySelectorTerm = Dict{Symbol,Symbol}(Symbol("matchLabelExpressions")=>Symbol("matchLabelExpressions")) -const _property_types_IoK8sApiCoreV1TopologySelectorTerm = Dict{Symbol,String}(Symbol("matchLabelExpressions")=>"Vector{IoK8sApiCoreV1TopologySelectorLabelRequirement}") -Base.propertynames(::Type{ IoK8sApiCoreV1TopologySelectorTerm }) = collect(keys(_property_map_IoK8sApiCoreV1TopologySelectorTerm)) -Swagger.property_type(::Type{ IoK8sApiCoreV1TopologySelectorTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TopologySelectorTerm[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1TopologySelectorTerm }, property_name::Symbol) = _property_map_IoK8sApiCoreV1TopologySelectorTerm[property_name] - -function check_required(o::IoK8sApiCoreV1TopologySelectorTerm) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1TopologySelectorTerm }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySpreadConstraint.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySpreadConstraint.jl deleted file mode 100644 index 2c044e1a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1TopologySpreadConstraint.jl +++ /dev/null @@ -1,53 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TopologySpreadConstraint specifies how to spread matching pods among the given topology. - - IoK8sApiCoreV1TopologySpreadConstraint(; - labelSelector=nothing, - maxSkew=nothing, - topologyKey=nothing, - whenUnsatisfiable=nothing, - ) - - - labelSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. - - maxSkew::Int32 : MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed. - - topologyKey::String : TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field. - - whenUnsatisfiable::String : WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field. -""" -mutable struct IoK8sApiCoreV1TopologySpreadConstraint <: SwaggerModel - labelSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: labelSelector - maxSkew::Any # spec type: Union{ Nothing, Int32 } # spec name: maxSkew - topologyKey::Any # spec type: Union{ Nothing, String } # spec name: topologyKey - whenUnsatisfiable::Any # spec type: Union{ Nothing, String } # spec name: whenUnsatisfiable - - function IoK8sApiCoreV1TopologySpreadConstraint(;labelSelector=nothing, maxSkew=nothing, topologyKey=nothing, whenUnsatisfiable=nothing) - o = new() - validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("labelSelector"), labelSelector) - setfield!(o, Symbol("labelSelector"), labelSelector) - validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("maxSkew"), maxSkew) - setfield!(o, Symbol("maxSkew"), maxSkew) - validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("topologyKey"), topologyKey) - setfield!(o, Symbol("topologyKey"), topologyKey) - validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("whenUnsatisfiable"), whenUnsatisfiable) - setfield!(o, Symbol("whenUnsatisfiable"), whenUnsatisfiable) - o - end -end # type IoK8sApiCoreV1TopologySpreadConstraint - -const _property_map_IoK8sApiCoreV1TopologySpreadConstraint = Dict{Symbol,Symbol}(Symbol("labelSelector")=>Symbol("labelSelector"), Symbol("maxSkew")=>Symbol("maxSkew"), Symbol("topologyKey")=>Symbol("topologyKey"), Symbol("whenUnsatisfiable")=>Symbol("whenUnsatisfiable")) -const _property_types_IoK8sApiCoreV1TopologySpreadConstraint = Dict{Symbol,String}(Symbol("labelSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("maxSkew")=>"Int32", Symbol("topologyKey")=>"String", Symbol("whenUnsatisfiable")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1TopologySpreadConstraint }) = collect(keys(_property_map_IoK8sApiCoreV1TopologySpreadConstraint)) -Swagger.property_type(::Type{ IoK8sApiCoreV1TopologySpreadConstraint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TopologySpreadConstraint[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1TopologySpreadConstraint }, property_name::Symbol) = _property_map_IoK8sApiCoreV1TopologySpreadConstraint[property_name] - -function check_required(o::IoK8sApiCoreV1TopologySpreadConstraint) - (getproperty(o, Symbol("maxSkew")) === nothing) && (return false) - (getproperty(o, Symbol("topologyKey")) === nothing) && (return false) - (getproperty(o, Symbol("whenUnsatisfiable")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1TopologySpreadConstraint }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1TypedLocalObjectReference.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1TypedLocalObjectReference.jl deleted file mode 100644 index d598502b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1TypedLocalObjectReference.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. - - IoK8sApiCoreV1TypedLocalObjectReference(; - apiGroup=nothing, - kind=nothing, - name=nothing, - ) - - - apiGroup::String : APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. - - kind::String : Kind is the type of resource being referenced - - name::String : Name is the name of resource being referenced -""" -mutable struct IoK8sApiCoreV1TypedLocalObjectReference <: SwaggerModel - apiGroup::Any # spec type: Union{ Nothing, String } # spec name: apiGroup - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiCoreV1TypedLocalObjectReference(;apiGroup=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiCoreV1TypedLocalObjectReference, Symbol("apiGroup"), apiGroup) - setfield!(o, Symbol("apiGroup"), apiGroup) - validate_property(IoK8sApiCoreV1TypedLocalObjectReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCoreV1TypedLocalObjectReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiCoreV1TypedLocalObjectReference - -const _property_map_IoK8sApiCoreV1TypedLocalObjectReference = Dict{Symbol,Symbol}(Symbol("apiGroup")=>Symbol("apiGroup"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiCoreV1TypedLocalObjectReference = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1TypedLocalObjectReference }) = collect(keys(_property_map_IoK8sApiCoreV1TypedLocalObjectReference)) -Swagger.property_type(::Type{ IoK8sApiCoreV1TypedLocalObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TypedLocalObjectReference[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1TypedLocalObjectReference }, property_name::Symbol) = _property_map_IoK8sApiCoreV1TypedLocalObjectReference[property_name] - -function check_required(o::IoK8sApiCoreV1TypedLocalObjectReference) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1TypedLocalObjectReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1Volume.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1Volume.jl deleted file mode 100644 index 45947e80..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1Volume.jl +++ /dev/null @@ -1,176 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Volume represents a named volume in a pod that may be accessed by any container in the pod. - - IoK8sApiCoreV1Volume(; - awsElasticBlockStore=nothing, - azureDisk=nothing, - azureFile=nothing, - cephfs=nothing, - cinder=nothing, - configMap=nothing, - csi=nothing, - downwardAPI=nothing, - emptyDir=nothing, - fc=nothing, - flexVolume=nothing, - flocker=nothing, - gcePersistentDisk=nothing, - gitRepo=nothing, - glusterfs=nothing, - hostPath=nothing, - iscsi=nothing, - name=nothing, - nfs=nothing, - persistentVolumeClaim=nothing, - photonPersistentDisk=nothing, - portworxVolume=nothing, - projected=nothing, - quobyte=nothing, - rbd=nothing, - scaleIO=nothing, - secret=nothing, - storageos=nothing, - vsphereVolume=nothing, - ) - - - awsElasticBlockStore::IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource : AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - - azureDisk::IoK8sApiCoreV1AzureDiskVolumeSource : AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. - - azureFile::IoK8sApiCoreV1AzureFileVolumeSource : AzureFile represents an Azure File Service mount on the host and bind mount to the pod. - - cephfs::IoK8sApiCoreV1CephFSVolumeSource : CephFS represents a Ceph FS mount on the host that shares a pod's lifetime - - cinder::IoK8sApiCoreV1CinderVolumeSource : Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md - - configMap::IoK8sApiCoreV1ConfigMapVolumeSource : ConfigMap represents a configMap that should populate this volume - - csi::IoK8sApiCoreV1CSIVolumeSource : CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature). - - downwardAPI::IoK8sApiCoreV1DownwardAPIVolumeSource : DownwardAPI represents downward API about the pod that should populate this volume - - emptyDir::IoK8sApiCoreV1EmptyDirVolumeSource : EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir - - fc::IoK8sApiCoreV1FCVolumeSource : FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. - - flexVolume::IoK8sApiCoreV1FlexVolumeSource : FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. - - flocker::IoK8sApiCoreV1FlockerVolumeSource : Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running - - gcePersistentDisk::IoK8sApiCoreV1GCEPersistentDiskVolumeSource : GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - - gitRepo::IoK8sApiCoreV1GitRepoVolumeSource : GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. - - glusterfs::IoK8sApiCoreV1GlusterfsVolumeSource : Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md - - hostPath::IoK8sApiCoreV1HostPathVolumeSource : HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath - - iscsi::IoK8sApiCoreV1ISCSIVolumeSource : ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md - - name::String : Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - - nfs::IoK8sApiCoreV1NFSVolumeSource : NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - - persistentVolumeClaim::IoK8sApiCoreV1PersistentVolumeClaimVolumeSource : PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims - - photonPersistentDisk::IoK8sApiCoreV1PhotonPersistentDiskVolumeSource : PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine - - portworxVolume::IoK8sApiCoreV1PortworxVolumeSource : PortworxVolume represents a portworx volume attached and mounted on kubelets host machine - - projected::IoK8sApiCoreV1ProjectedVolumeSource : Items for all in one resources secrets, configmaps, and downward API - - quobyte::IoK8sApiCoreV1QuobyteVolumeSource : Quobyte represents a Quobyte mount on the host that shares a pod's lifetime - - rbd::IoK8sApiCoreV1RBDVolumeSource : RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md - - scaleIO::IoK8sApiCoreV1ScaleIOVolumeSource : ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. - - secret::IoK8sApiCoreV1SecretVolumeSource : Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret - - storageos::IoK8sApiCoreV1StorageOSVolumeSource : StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. - - vsphereVolume::IoK8sApiCoreV1VsphereVirtualDiskVolumeSource : VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -""" -mutable struct IoK8sApiCoreV1Volume <: SwaggerModel - awsElasticBlockStore::Any # spec type: Union{ Nothing, IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } # spec name: awsElasticBlockStore - azureDisk::Any # spec type: Union{ Nothing, IoK8sApiCoreV1AzureDiskVolumeSource } # spec name: azureDisk - azureFile::Any # spec type: Union{ Nothing, IoK8sApiCoreV1AzureFileVolumeSource } # spec name: azureFile - cephfs::Any # spec type: Union{ Nothing, IoK8sApiCoreV1CephFSVolumeSource } # spec name: cephfs - cinder::Any # spec type: Union{ Nothing, IoK8sApiCoreV1CinderVolumeSource } # spec name: cinder - configMap::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapVolumeSource } # spec name: configMap - csi::Any # spec type: Union{ Nothing, IoK8sApiCoreV1CSIVolumeSource } # spec name: csi - downwardAPI::Any # spec type: Union{ Nothing, IoK8sApiCoreV1DownwardAPIVolumeSource } # spec name: downwardAPI - emptyDir::Any # spec type: Union{ Nothing, IoK8sApiCoreV1EmptyDirVolumeSource } # spec name: emptyDir - fc::Any # spec type: Union{ Nothing, IoK8sApiCoreV1FCVolumeSource } # spec name: fc - flexVolume::Any # spec type: Union{ Nothing, IoK8sApiCoreV1FlexVolumeSource } # spec name: flexVolume - flocker::Any # spec type: Union{ Nothing, IoK8sApiCoreV1FlockerVolumeSource } # spec name: flocker - gcePersistentDisk::Any # spec type: Union{ Nothing, IoK8sApiCoreV1GCEPersistentDiskVolumeSource } # spec name: gcePersistentDisk - gitRepo::Any # spec type: Union{ Nothing, IoK8sApiCoreV1GitRepoVolumeSource } # spec name: gitRepo - glusterfs::Any # spec type: Union{ Nothing, IoK8sApiCoreV1GlusterfsVolumeSource } # spec name: glusterfs - hostPath::Any # spec type: Union{ Nothing, IoK8sApiCoreV1HostPathVolumeSource } # spec name: hostPath - iscsi::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ISCSIVolumeSource } # spec name: iscsi - name::Any # spec type: Union{ Nothing, String } # spec name: name - nfs::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NFSVolumeSource } # spec name: nfs - persistentVolumeClaim::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } # spec name: persistentVolumeClaim - photonPersistentDisk::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } # spec name: photonPersistentDisk - portworxVolume::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PortworxVolumeSource } # spec name: portworxVolume - projected::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ProjectedVolumeSource } # spec name: projected - quobyte::Any # spec type: Union{ Nothing, IoK8sApiCoreV1QuobyteVolumeSource } # spec name: quobyte - rbd::Any # spec type: Union{ Nothing, IoK8sApiCoreV1RBDVolumeSource } # spec name: rbd - scaleIO::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ScaleIOVolumeSource } # spec name: scaleIO - secret::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretVolumeSource } # spec name: secret - storageos::Any # spec type: Union{ Nothing, IoK8sApiCoreV1StorageOSVolumeSource } # spec name: storageos - vsphereVolume::Any # spec type: Union{ Nothing, IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } # spec name: vsphereVolume - - function IoK8sApiCoreV1Volume(;awsElasticBlockStore=nothing, azureDisk=nothing, azureFile=nothing, cephfs=nothing, cinder=nothing, configMap=nothing, csi=nothing, downwardAPI=nothing, emptyDir=nothing, fc=nothing, flexVolume=nothing, flocker=nothing, gcePersistentDisk=nothing, gitRepo=nothing, glusterfs=nothing, hostPath=nothing, iscsi=nothing, name=nothing, nfs=nothing, persistentVolumeClaim=nothing, photonPersistentDisk=nothing, portworxVolume=nothing, projected=nothing, quobyte=nothing, rbd=nothing, scaleIO=nothing, secret=nothing, storageos=nothing, vsphereVolume=nothing) - o = new() - validate_property(IoK8sApiCoreV1Volume, Symbol("awsElasticBlockStore"), awsElasticBlockStore) - setfield!(o, Symbol("awsElasticBlockStore"), awsElasticBlockStore) - validate_property(IoK8sApiCoreV1Volume, Symbol("azureDisk"), azureDisk) - setfield!(o, Symbol("azureDisk"), azureDisk) - validate_property(IoK8sApiCoreV1Volume, Symbol("azureFile"), azureFile) - setfield!(o, Symbol("azureFile"), azureFile) - validate_property(IoK8sApiCoreV1Volume, Symbol("cephfs"), cephfs) - setfield!(o, Symbol("cephfs"), cephfs) - validate_property(IoK8sApiCoreV1Volume, Symbol("cinder"), cinder) - setfield!(o, Symbol("cinder"), cinder) - validate_property(IoK8sApiCoreV1Volume, Symbol("configMap"), configMap) - setfield!(o, Symbol("configMap"), configMap) - validate_property(IoK8sApiCoreV1Volume, Symbol("csi"), csi) - setfield!(o, Symbol("csi"), csi) - validate_property(IoK8sApiCoreV1Volume, Symbol("downwardAPI"), downwardAPI) - setfield!(o, Symbol("downwardAPI"), downwardAPI) - validate_property(IoK8sApiCoreV1Volume, Symbol("emptyDir"), emptyDir) - setfield!(o, Symbol("emptyDir"), emptyDir) - validate_property(IoK8sApiCoreV1Volume, Symbol("fc"), fc) - setfield!(o, Symbol("fc"), fc) - validate_property(IoK8sApiCoreV1Volume, Symbol("flexVolume"), flexVolume) - setfield!(o, Symbol("flexVolume"), flexVolume) - validate_property(IoK8sApiCoreV1Volume, Symbol("flocker"), flocker) - setfield!(o, Symbol("flocker"), flocker) - validate_property(IoK8sApiCoreV1Volume, Symbol("gcePersistentDisk"), gcePersistentDisk) - setfield!(o, Symbol("gcePersistentDisk"), gcePersistentDisk) - validate_property(IoK8sApiCoreV1Volume, Symbol("gitRepo"), gitRepo) - setfield!(o, Symbol("gitRepo"), gitRepo) - validate_property(IoK8sApiCoreV1Volume, Symbol("glusterfs"), glusterfs) - setfield!(o, Symbol("glusterfs"), glusterfs) - validate_property(IoK8sApiCoreV1Volume, Symbol("hostPath"), hostPath) - setfield!(o, Symbol("hostPath"), hostPath) - validate_property(IoK8sApiCoreV1Volume, Symbol("iscsi"), iscsi) - setfield!(o, Symbol("iscsi"), iscsi) - validate_property(IoK8sApiCoreV1Volume, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1Volume, Symbol("nfs"), nfs) - setfield!(o, Symbol("nfs"), nfs) - validate_property(IoK8sApiCoreV1Volume, Symbol("persistentVolumeClaim"), persistentVolumeClaim) - setfield!(o, Symbol("persistentVolumeClaim"), persistentVolumeClaim) - validate_property(IoK8sApiCoreV1Volume, Symbol("photonPersistentDisk"), photonPersistentDisk) - setfield!(o, Symbol("photonPersistentDisk"), photonPersistentDisk) - validate_property(IoK8sApiCoreV1Volume, Symbol("portworxVolume"), portworxVolume) - setfield!(o, Symbol("portworxVolume"), portworxVolume) - validate_property(IoK8sApiCoreV1Volume, Symbol("projected"), projected) - setfield!(o, Symbol("projected"), projected) - validate_property(IoK8sApiCoreV1Volume, Symbol("quobyte"), quobyte) - setfield!(o, Symbol("quobyte"), quobyte) - validate_property(IoK8sApiCoreV1Volume, Symbol("rbd"), rbd) - setfield!(o, Symbol("rbd"), rbd) - validate_property(IoK8sApiCoreV1Volume, Symbol("scaleIO"), scaleIO) - setfield!(o, Symbol("scaleIO"), scaleIO) - validate_property(IoK8sApiCoreV1Volume, Symbol("secret"), secret) - setfield!(o, Symbol("secret"), secret) - validate_property(IoK8sApiCoreV1Volume, Symbol("storageos"), storageos) - setfield!(o, Symbol("storageos"), storageos) - validate_property(IoK8sApiCoreV1Volume, Symbol("vsphereVolume"), vsphereVolume) - setfield!(o, Symbol("vsphereVolume"), vsphereVolume) - o - end -end # type IoK8sApiCoreV1Volume - -const _property_map_IoK8sApiCoreV1Volume = Dict{Symbol,Symbol}(Symbol("awsElasticBlockStore")=>Symbol("awsElasticBlockStore"), Symbol("azureDisk")=>Symbol("azureDisk"), Symbol("azureFile")=>Symbol("azureFile"), Symbol("cephfs")=>Symbol("cephfs"), Symbol("cinder")=>Symbol("cinder"), Symbol("configMap")=>Symbol("configMap"), Symbol("csi")=>Symbol("csi"), Symbol("downwardAPI")=>Symbol("downwardAPI"), Symbol("emptyDir")=>Symbol("emptyDir"), Symbol("fc")=>Symbol("fc"), Symbol("flexVolume")=>Symbol("flexVolume"), Symbol("flocker")=>Symbol("flocker"), Symbol("gcePersistentDisk")=>Symbol("gcePersistentDisk"), Symbol("gitRepo")=>Symbol("gitRepo"), Symbol("glusterfs")=>Symbol("glusterfs"), Symbol("hostPath")=>Symbol("hostPath"), Symbol("iscsi")=>Symbol("iscsi"), Symbol("name")=>Symbol("name"), Symbol("nfs")=>Symbol("nfs"), Symbol("persistentVolumeClaim")=>Symbol("persistentVolumeClaim"), Symbol("photonPersistentDisk")=>Symbol("photonPersistentDisk"), Symbol("portworxVolume")=>Symbol("portworxVolume"), Symbol("projected")=>Symbol("projected"), Symbol("quobyte")=>Symbol("quobyte"), Symbol("rbd")=>Symbol("rbd"), Symbol("scaleIO")=>Symbol("scaleIO"), Symbol("secret")=>Symbol("secret"), Symbol("storageos")=>Symbol("storageos"), Symbol("vsphereVolume")=>Symbol("vsphereVolume")) -const _property_types_IoK8sApiCoreV1Volume = Dict{Symbol,String}(Symbol("awsElasticBlockStore")=>"IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", Symbol("azureDisk")=>"IoK8sApiCoreV1AzureDiskVolumeSource", Symbol("azureFile")=>"IoK8sApiCoreV1AzureFileVolumeSource", Symbol("cephfs")=>"IoK8sApiCoreV1CephFSVolumeSource", Symbol("cinder")=>"IoK8sApiCoreV1CinderVolumeSource", Symbol("configMap")=>"IoK8sApiCoreV1ConfigMapVolumeSource", Symbol("csi")=>"IoK8sApiCoreV1CSIVolumeSource", Symbol("downwardAPI")=>"IoK8sApiCoreV1DownwardAPIVolumeSource", Symbol("emptyDir")=>"IoK8sApiCoreV1EmptyDirVolumeSource", Symbol("fc")=>"IoK8sApiCoreV1FCVolumeSource", Symbol("flexVolume")=>"IoK8sApiCoreV1FlexVolumeSource", Symbol("flocker")=>"IoK8sApiCoreV1FlockerVolumeSource", Symbol("gcePersistentDisk")=>"IoK8sApiCoreV1GCEPersistentDiskVolumeSource", Symbol("gitRepo")=>"IoK8sApiCoreV1GitRepoVolumeSource", Symbol("glusterfs")=>"IoK8sApiCoreV1GlusterfsVolumeSource", Symbol("hostPath")=>"IoK8sApiCoreV1HostPathVolumeSource", Symbol("iscsi")=>"IoK8sApiCoreV1ISCSIVolumeSource", Symbol("name")=>"String", Symbol("nfs")=>"IoK8sApiCoreV1NFSVolumeSource", Symbol("persistentVolumeClaim")=>"IoK8sApiCoreV1PersistentVolumeClaimVolumeSource", Symbol("photonPersistentDisk")=>"IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", Symbol("portworxVolume")=>"IoK8sApiCoreV1PortworxVolumeSource", Symbol("projected")=>"IoK8sApiCoreV1ProjectedVolumeSource", Symbol("quobyte")=>"IoK8sApiCoreV1QuobyteVolumeSource", Symbol("rbd")=>"IoK8sApiCoreV1RBDVolumeSource", Symbol("scaleIO")=>"IoK8sApiCoreV1ScaleIOVolumeSource", Symbol("secret")=>"IoK8sApiCoreV1SecretVolumeSource", Symbol("storageos")=>"IoK8sApiCoreV1StorageOSVolumeSource", Symbol("vsphereVolume")=>"IoK8sApiCoreV1VsphereVirtualDiskVolumeSource") -Base.propertynames(::Type{ IoK8sApiCoreV1Volume }) = collect(keys(_property_map_IoK8sApiCoreV1Volume)) -Swagger.property_type(::Type{ IoK8sApiCoreV1Volume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Volume[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1Volume }, property_name::Symbol) = _property_map_IoK8sApiCoreV1Volume[property_name] - -function check_required(o::IoK8sApiCoreV1Volume) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1Volume }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeDevice.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeDevice.jl deleted file mode 100644 index 08ce9e60..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeDevice.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""volumeDevice describes a mapping of a raw block device within a container. - - IoK8sApiCoreV1VolumeDevice(; - devicePath=nothing, - name=nothing, - ) - - - devicePath::String : devicePath is the path inside of the container that the device will be mapped to. - - name::String : name must match the name of a persistentVolumeClaim in the pod -""" -mutable struct IoK8sApiCoreV1VolumeDevice <: SwaggerModel - devicePath::Any # spec type: Union{ Nothing, String } # spec name: devicePath - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiCoreV1VolumeDevice(;devicePath=nothing, name=nothing) - o = new() - validate_property(IoK8sApiCoreV1VolumeDevice, Symbol("devicePath"), devicePath) - setfield!(o, Symbol("devicePath"), devicePath) - validate_property(IoK8sApiCoreV1VolumeDevice, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiCoreV1VolumeDevice - -const _property_map_IoK8sApiCoreV1VolumeDevice = Dict{Symbol,Symbol}(Symbol("devicePath")=>Symbol("devicePath"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiCoreV1VolumeDevice = Dict{Symbol,String}(Symbol("devicePath")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1VolumeDevice }) = collect(keys(_property_map_IoK8sApiCoreV1VolumeDevice)) -Swagger.property_type(::Type{ IoK8sApiCoreV1VolumeDevice }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeDevice[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1VolumeDevice }, property_name::Symbol) = _property_map_IoK8sApiCoreV1VolumeDevice[property_name] - -function check_required(o::IoK8sApiCoreV1VolumeDevice) - (getproperty(o, Symbol("devicePath")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1VolumeDevice }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeMount.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeMount.jl deleted file mode 100644 index 6068370b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeMount.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeMount describes a mounting of a Volume within a container. - - IoK8sApiCoreV1VolumeMount(; - mountPath=nothing, - mountPropagation=nothing, - name=nothing, - readOnly=nothing, - subPath=nothing, - subPathExpr=nothing, - ) - - - mountPath::String : Path within the container at which the volume should be mounted. Must not contain ':'. - - mountPropagation::String : mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. - - name::String : This must match the Name of a Volume. - - readOnly::Bool : Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. - - subPath::String : Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). - - subPathExpr::String : Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. -""" -mutable struct IoK8sApiCoreV1VolumeMount <: SwaggerModel - mountPath::Any # spec type: Union{ Nothing, String } # spec name: mountPath - mountPropagation::Any # spec type: Union{ Nothing, String } # spec name: mountPropagation - name::Any # spec type: Union{ Nothing, String } # spec name: name - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - subPath::Any # spec type: Union{ Nothing, String } # spec name: subPath - subPathExpr::Any # spec type: Union{ Nothing, String } # spec name: subPathExpr - - function IoK8sApiCoreV1VolumeMount(;mountPath=nothing, mountPropagation=nothing, name=nothing, readOnly=nothing, subPath=nothing, subPathExpr=nothing) - o = new() - validate_property(IoK8sApiCoreV1VolumeMount, Symbol("mountPath"), mountPath) - setfield!(o, Symbol("mountPath"), mountPath) - validate_property(IoK8sApiCoreV1VolumeMount, Symbol("mountPropagation"), mountPropagation) - setfield!(o, Symbol("mountPropagation"), mountPropagation) - validate_property(IoK8sApiCoreV1VolumeMount, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiCoreV1VolumeMount, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - validate_property(IoK8sApiCoreV1VolumeMount, Symbol("subPath"), subPath) - setfield!(o, Symbol("subPath"), subPath) - validate_property(IoK8sApiCoreV1VolumeMount, Symbol("subPathExpr"), subPathExpr) - setfield!(o, Symbol("subPathExpr"), subPathExpr) - o - end -end # type IoK8sApiCoreV1VolumeMount - -const _property_map_IoK8sApiCoreV1VolumeMount = Dict{Symbol,Symbol}(Symbol("mountPath")=>Symbol("mountPath"), Symbol("mountPropagation")=>Symbol("mountPropagation"), Symbol("name")=>Symbol("name"), Symbol("readOnly")=>Symbol("readOnly"), Symbol("subPath")=>Symbol("subPath"), Symbol("subPathExpr")=>Symbol("subPathExpr")) -const _property_types_IoK8sApiCoreV1VolumeMount = Dict{Symbol,String}(Symbol("mountPath")=>"String", Symbol("mountPropagation")=>"String", Symbol("name")=>"String", Symbol("readOnly")=>"Bool", Symbol("subPath")=>"String", Symbol("subPathExpr")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1VolumeMount }) = collect(keys(_property_map_IoK8sApiCoreV1VolumeMount)) -Swagger.property_type(::Type{ IoK8sApiCoreV1VolumeMount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeMount[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1VolumeMount }, property_name::Symbol) = _property_map_IoK8sApiCoreV1VolumeMount[property_name] - -function check_required(o::IoK8sApiCoreV1VolumeMount) - (getproperty(o, Symbol("mountPath")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1VolumeMount }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeNodeAffinity.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeNodeAffinity.jl deleted file mode 100644 index 9188edae..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeNodeAffinity.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. - - IoK8sApiCoreV1VolumeNodeAffinity(; - required=nothing, - ) - - - required::IoK8sApiCoreV1NodeSelector : Required specifies hard node constraints that must be met. -""" -mutable struct IoK8sApiCoreV1VolumeNodeAffinity <: SwaggerModel - required::Any # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSelector } # spec name: required - - function IoK8sApiCoreV1VolumeNodeAffinity(;required=nothing) - o = new() - validate_property(IoK8sApiCoreV1VolumeNodeAffinity, Symbol("required"), required) - setfield!(o, Symbol("required"), required) - o - end -end # type IoK8sApiCoreV1VolumeNodeAffinity - -const _property_map_IoK8sApiCoreV1VolumeNodeAffinity = Dict{Symbol,Symbol}(Symbol("required")=>Symbol("required")) -const _property_types_IoK8sApiCoreV1VolumeNodeAffinity = Dict{Symbol,String}(Symbol("required")=>"IoK8sApiCoreV1NodeSelector") -Base.propertynames(::Type{ IoK8sApiCoreV1VolumeNodeAffinity }) = collect(keys(_property_map_IoK8sApiCoreV1VolumeNodeAffinity)) -Swagger.property_type(::Type{ IoK8sApiCoreV1VolumeNodeAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeNodeAffinity[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1VolumeNodeAffinity }, property_name::Symbol) = _property_map_IoK8sApiCoreV1VolumeNodeAffinity[property_name] - -function check_required(o::IoK8sApiCoreV1VolumeNodeAffinity) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1VolumeNodeAffinity }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeProjection.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeProjection.jl deleted file mode 100644 index d9c83891..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1VolumeProjection.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Projection that may be projected along with other supported volume types - - IoK8sApiCoreV1VolumeProjection(; - configMap=nothing, - downwardAPI=nothing, - secret=nothing, - serviceAccountToken=nothing, - ) - - - configMap::IoK8sApiCoreV1ConfigMapProjection : information about the configMap data to project - - downwardAPI::IoK8sApiCoreV1DownwardAPIProjection : information about the downwardAPI data to project - - secret::IoK8sApiCoreV1SecretProjection : information about the secret data to project - - serviceAccountToken::IoK8sApiCoreV1ServiceAccountTokenProjection : information about the serviceAccountToken data to project -""" -mutable struct IoK8sApiCoreV1VolumeProjection <: SwaggerModel - configMap::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapProjection } # spec name: configMap - downwardAPI::Any # spec type: Union{ Nothing, IoK8sApiCoreV1DownwardAPIProjection } # spec name: downwardAPI - secret::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SecretProjection } # spec name: secret - serviceAccountToken::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ServiceAccountTokenProjection } # spec name: serviceAccountToken - - function IoK8sApiCoreV1VolumeProjection(;configMap=nothing, downwardAPI=nothing, secret=nothing, serviceAccountToken=nothing) - o = new() - validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("configMap"), configMap) - setfield!(o, Symbol("configMap"), configMap) - validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("downwardAPI"), downwardAPI) - setfield!(o, Symbol("downwardAPI"), downwardAPI) - validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("secret"), secret) - setfield!(o, Symbol("secret"), secret) - validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("serviceAccountToken"), serviceAccountToken) - setfield!(o, Symbol("serviceAccountToken"), serviceAccountToken) - o - end -end # type IoK8sApiCoreV1VolumeProjection - -const _property_map_IoK8sApiCoreV1VolumeProjection = Dict{Symbol,Symbol}(Symbol("configMap")=>Symbol("configMap"), Symbol("downwardAPI")=>Symbol("downwardAPI"), Symbol("secret")=>Symbol("secret"), Symbol("serviceAccountToken")=>Symbol("serviceAccountToken")) -const _property_types_IoK8sApiCoreV1VolumeProjection = Dict{Symbol,String}(Symbol("configMap")=>"IoK8sApiCoreV1ConfigMapProjection", Symbol("downwardAPI")=>"IoK8sApiCoreV1DownwardAPIProjection", Symbol("secret")=>"IoK8sApiCoreV1SecretProjection", Symbol("serviceAccountToken")=>"IoK8sApiCoreV1ServiceAccountTokenProjection") -Base.propertynames(::Type{ IoK8sApiCoreV1VolumeProjection }) = collect(keys(_property_map_IoK8sApiCoreV1VolumeProjection)) -Swagger.property_type(::Type{ IoK8sApiCoreV1VolumeProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeProjection[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1VolumeProjection }, property_name::Symbol) = _property_map_IoK8sApiCoreV1VolumeProjection[property_name] - -function check_required(o::IoK8sApiCoreV1VolumeProjection) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1VolumeProjection }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl deleted file mode 100644 index 23adced1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Represents a vSphere volume resource. - - IoK8sApiCoreV1VsphereVirtualDiskVolumeSource(; - fsType=nothing, - storagePolicyID=nothing, - storagePolicyName=nothing, - volumePath=nothing, - ) - - - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. - - storagePolicyID::String : Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. - - storagePolicyName::String : Storage Policy Based Management (SPBM) profile name. - - volumePath::String : Path that identifies vSphere volume vmdk -""" -mutable struct IoK8sApiCoreV1VsphereVirtualDiskVolumeSource <: SwaggerModel - fsType::Any # spec type: Union{ Nothing, String } # spec name: fsType - storagePolicyID::Any # spec type: Union{ Nothing, String } # spec name: storagePolicyID - storagePolicyName::Any # spec type: Union{ Nothing, String } # spec name: storagePolicyName - volumePath::Any # spec type: Union{ Nothing, String } # spec name: volumePath - - function IoK8sApiCoreV1VsphereVirtualDiskVolumeSource(;fsType=nothing, storagePolicyID=nothing, storagePolicyName=nothing, volumePath=nothing) - o = new() - validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("fsType"), fsType) - setfield!(o, Symbol("fsType"), fsType) - validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("storagePolicyID"), storagePolicyID) - setfield!(o, Symbol("storagePolicyID"), storagePolicyID) - validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("storagePolicyName"), storagePolicyName) - setfield!(o, Symbol("storagePolicyName"), storagePolicyName) - validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("volumePath"), volumePath) - setfield!(o, Symbol("volumePath"), volumePath) - o - end -end # type IoK8sApiCoreV1VsphereVirtualDiskVolumeSource - -const _property_map_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource = Dict{Symbol,Symbol}(Symbol("fsType")=>Symbol("fsType"), Symbol("storagePolicyID")=>Symbol("storagePolicyID"), Symbol("storagePolicyName")=>Symbol("storagePolicyName"), Symbol("volumePath")=>Symbol("volumePath")) -const _property_types_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("storagePolicyID")=>"String", Symbol("storagePolicyName")=>"String", Symbol("volumePath")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1VsphereVirtualDiskVolumeSource }) = collect(keys(_property_map_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource)) -Swagger.property_type(::Type{ IoK8sApiCoreV1VsphereVirtualDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1VsphereVirtualDiskVolumeSource }, property_name::Symbol) = _property_map_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource[property_name] - -function check_required(o::IoK8sApiCoreV1VsphereVirtualDiskVolumeSource) - (getproperty(o, Symbol("volumePath")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1VsphereVirtualDiskVolumeSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl deleted file mode 100644 index 13bec150..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) - - IoK8sApiCoreV1WeightedPodAffinityTerm(; - podAffinityTerm=nothing, - weight=nothing, - ) - - - podAffinityTerm::IoK8sApiCoreV1PodAffinityTerm : Required. A pod affinity term, associated with the corresponding weight. - - weight::Int32 : weight associated with matching the corresponding podAffinityTerm, in the range 1-100. -""" -mutable struct IoK8sApiCoreV1WeightedPodAffinityTerm <: SwaggerModel - podAffinityTerm::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodAffinityTerm } # spec name: podAffinityTerm - weight::Any # spec type: Union{ Nothing, Int32 } # spec name: weight - - function IoK8sApiCoreV1WeightedPodAffinityTerm(;podAffinityTerm=nothing, weight=nothing) - o = new() - validate_property(IoK8sApiCoreV1WeightedPodAffinityTerm, Symbol("podAffinityTerm"), podAffinityTerm) - setfield!(o, Symbol("podAffinityTerm"), podAffinityTerm) - validate_property(IoK8sApiCoreV1WeightedPodAffinityTerm, Symbol("weight"), weight) - setfield!(o, Symbol("weight"), weight) - o - end -end # type IoK8sApiCoreV1WeightedPodAffinityTerm - -const _property_map_IoK8sApiCoreV1WeightedPodAffinityTerm = Dict{Symbol,Symbol}(Symbol("podAffinityTerm")=>Symbol("podAffinityTerm"), Symbol("weight")=>Symbol("weight")) -const _property_types_IoK8sApiCoreV1WeightedPodAffinityTerm = Dict{Symbol,String}(Symbol("podAffinityTerm")=>"IoK8sApiCoreV1PodAffinityTerm", Symbol("weight")=>"Int32") -Base.propertynames(::Type{ IoK8sApiCoreV1WeightedPodAffinityTerm }) = collect(keys(_property_map_IoK8sApiCoreV1WeightedPodAffinityTerm)) -Swagger.property_type(::Type{ IoK8sApiCoreV1WeightedPodAffinityTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1WeightedPodAffinityTerm[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1WeightedPodAffinityTerm }, property_name::Symbol) = _property_map_IoK8sApiCoreV1WeightedPodAffinityTerm[property_name] - -function check_required(o::IoK8sApiCoreV1WeightedPodAffinityTerm) - (getproperty(o, Symbol("podAffinityTerm")) === nothing) && (return false) - (getproperty(o, Symbol("weight")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1WeightedPodAffinityTerm }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl b/src/ApiImpl/api/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl deleted file mode 100644 index 2d5f57fb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WindowsSecurityContextOptions contain Windows-specific options and credentials. - - IoK8sApiCoreV1WindowsSecurityContextOptions(; - gmsaCredentialSpec=nothing, - gmsaCredentialSpecName=nothing, - runAsUserName=nothing, - ) - - - gmsaCredentialSpec::String : GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag. - - gmsaCredentialSpecName::String : GMSACredentialSpecName is the name of the GMSA credential spec to use. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag. - - runAsUserName::String : The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag. -""" -mutable struct IoK8sApiCoreV1WindowsSecurityContextOptions <: SwaggerModel - gmsaCredentialSpec::Any # spec type: Union{ Nothing, String } # spec name: gmsaCredentialSpec - gmsaCredentialSpecName::Any # spec type: Union{ Nothing, String } # spec name: gmsaCredentialSpecName - runAsUserName::Any # spec type: Union{ Nothing, String } # spec name: runAsUserName - - function IoK8sApiCoreV1WindowsSecurityContextOptions(;gmsaCredentialSpec=nothing, gmsaCredentialSpecName=nothing, runAsUserName=nothing) - o = new() - validate_property(IoK8sApiCoreV1WindowsSecurityContextOptions, Symbol("gmsaCredentialSpec"), gmsaCredentialSpec) - setfield!(o, Symbol("gmsaCredentialSpec"), gmsaCredentialSpec) - validate_property(IoK8sApiCoreV1WindowsSecurityContextOptions, Symbol("gmsaCredentialSpecName"), gmsaCredentialSpecName) - setfield!(o, Symbol("gmsaCredentialSpecName"), gmsaCredentialSpecName) - validate_property(IoK8sApiCoreV1WindowsSecurityContextOptions, Symbol("runAsUserName"), runAsUserName) - setfield!(o, Symbol("runAsUserName"), runAsUserName) - o - end -end # type IoK8sApiCoreV1WindowsSecurityContextOptions - -const _property_map_IoK8sApiCoreV1WindowsSecurityContextOptions = Dict{Symbol,Symbol}(Symbol("gmsaCredentialSpec")=>Symbol("gmsaCredentialSpec"), Symbol("gmsaCredentialSpecName")=>Symbol("gmsaCredentialSpecName"), Symbol("runAsUserName")=>Symbol("runAsUserName")) -const _property_types_IoK8sApiCoreV1WindowsSecurityContextOptions = Dict{Symbol,String}(Symbol("gmsaCredentialSpec")=>"String", Symbol("gmsaCredentialSpecName")=>"String", Symbol("runAsUserName")=>"String") -Base.propertynames(::Type{ IoK8sApiCoreV1WindowsSecurityContextOptions }) = collect(keys(_property_map_IoK8sApiCoreV1WindowsSecurityContextOptions)) -Swagger.property_type(::Type{ IoK8sApiCoreV1WindowsSecurityContextOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1WindowsSecurityContextOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiCoreV1WindowsSecurityContextOptions }, property_name::Symbol) = _property_map_IoK8sApiCoreV1WindowsSecurityContextOptions[property_name] - -function check_required(o::IoK8sApiCoreV1WindowsSecurityContextOptions) - true -end - -function validate_property(::Type{ IoK8sApiCoreV1WindowsSecurityContextOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl b/src/ApiImpl/api/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl deleted file mode 100644 index 63aaa23a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""a metric value for some object - - IoK8sApiCustomMetricsV1beta1MetricValue(; - apiVersion=nothing, - kind=nothing, - describedObject=nothing, - metricName=nothing, - timestamp=nothing, - windowSeconds=nothing, - value=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - describedObject::IoK8sApiCoreV1ObjectReference : a reference to the described object - - metricName::String : the name of the metric - - timestamp::IoK8sApimachineryPkgApisMetaV1Time : indicates the time at which the metrics were produced - - windowSeconds::Int64 : indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics). - - value::IoK8sApimachineryPkgApiResourceQuantity : the value of the metric for this -""" -mutable struct IoK8sApiCustomMetricsV1beta1MetricValue <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - describedObject::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: describedObject - metricName::Any # spec type: Union{ Nothing, String } # spec name: metricName - timestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: timestamp - windowSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: windowSeconds - value::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApiResourceQuantity } # spec name: value - - function IoK8sApiCustomMetricsV1beta1MetricValue(;apiVersion=nothing, kind=nothing, describedObject=nothing, metricName=nothing, timestamp=nothing, windowSeconds=nothing, value=nothing) - o = new() - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("describedObject"), describedObject) - setfield!(o, Symbol("describedObject"), describedObject) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("metricName"), metricName) - setfield!(o, Symbol("metricName"), metricName) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("timestamp"), timestamp) - setfield!(o, Symbol("timestamp"), timestamp) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("windowSeconds"), windowSeconds) - setfield!(o, Symbol("windowSeconds"), windowSeconds) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiCustomMetricsV1beta1MetricValue - -const _property_map_IoK8sApiCustomMetricsV1beta1MetricValue = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("describedObject")=>Symbol("describedObject"), Symbol("metricName")=>Symbol("metricName"), Symbol("timestamp")=>Symbol("timestamp"), Symbol("windowSeconds")=>Symbol("windowSeconds"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiCustomMetricsV1beta1MetricValue = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("describedObject")=>"IoK8sApiCoreV1ObjectReference", Symbol("metricName")=>"String", Symbol("timestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("windowSeconds")=>"Int64", Symbol("value")=>"IoK8sApimachineryPkgApiResourceQuantity") -Base.propertynames(::Type{ IoK8sApiCustomMetricsV1beta1MetricValue }) = collect(keys(_property_map_IoK8sApiCustomMetricsV1beta1MetricValue)) -Swagger.property_type(::Type{ IoK8sApiCustomMetricsV1beta1MetricValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCustomMetricsV1beta1MetricValue[name]))} -Swagger.field_name(::Type{ IoK8sApiCustomMetricsV1beta1MetricValue }, property_name::Symbol) = _property_map_IoK8sApiCustomMetricsV1beta1MetricValue[property_name] - -function check_required(o::IoK8sApiCustomMetricsV1beta1MetricValue) - true -end - -function validate_property(::Type{ IoK8sApiCustomMetricsV1beta1MetricValue }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl b/src/ApiImpl/api/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl deleted file mode 100644 index 4b4ceeb0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""a list of values for a given metric for some set of objects - - IoK8sApiCustomMetricsV1beta1MetricValueList(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - items=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - items::Vector{IoK8sApiCustomMetricsV1beta1MetricValue} : the value of the metric across the described objects -""" -mutable struct IoK8sApiCustomMetricsV1beta1MetricValueList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCustomMetricsV1beta1MetricValue} } # spec name: items - - function IoK8sApiCustomMetricsV1beta1MetricValueList(;apiVersion=nothing, kind=nothing, metadata=nothing, items=nothing) - o = new() - validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - o - end -end # type IoK8sApiCustomMetricsV1beta1MetricValueList - -const _property_map_IoK8sApiCustomMetricsV1beta1MetricValueList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("items")=>Symbol("items")) -const _property_types_IoK8sApiCustomMetricsV1beta1MetricValueList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", Symbol("items")=>"Vector{IoK8sApiCustomMetricsV1beta1MetricValue}") -Base.propertynames(::Type{ IoK8sApiCustomMetricsV1beta1MetricValueList }) = collect(keys(_property_map_IoK8sApiCustomMetricsV1beta1MetricValueList)) -Swagger.property_type(::Type{ IoK8sApiCustomMetricsV1beta1MetricValueList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCustomMetricsV1beta1MetricValueList[name]))} -Swagger.field_name(::Type{ IoK8sApiCustomMetricsV1beta1MetricValueList }, property_name::Symbol) = _property_map_IoK8sApiCustomMetricsV1beta1MetricValueList[property_name] - -function check_required(o::IoK8sApiCustomMetricsV1beta1MetricValueList) - true -end - -function validate_property(::Type{ IoK8sApiCustomMetricsV1beta1MetricValueList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1Endpoint.jl b/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1Endpoint.jl deleted file mode 100644 index 7e63e180..00000000 --- a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1Endpoint.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Endpoint represents a single logical \"backend\" implementing a service. - - IoK8sApiDiscoveryV1beta1Endpoint(; - addresses=nothing, - conditions=nothing, - hostname=nothing, - targetRef=nothing, - topology=nothing, - ) - - - addresses::Vector{String} : addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. - - conditions::IoK8sApiDiscoveryV1beta1EndpointConditions : conditions contains information about the current status of the endpoint. - - hostname::String : hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation. - - targetRef::IoK8sApiCoreV1ObjectReference : targetRef is a reference to a Kubernetes object that represents this endpoint. - - topology::Dict{String, String} : topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. -""" -mutable struct IoK8sApiDiscoveryV1beta1Endpoint <: SwaggerModel - addresses::Any # spec type: Union{ Nothing, Vector{String} } # spec name: addresses - conditions::Any # spec type: Union{ Nothing, IoK8sApiDiscoveryV1beta1EndpointConditions } # spec name: conditions - hostname::Any # spec type: Union{ Nothing, String } # spec name: hostname - targetRef::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: targetRef - topology::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: topology - - function IoK8sApiDiscoveryV1beta1Endpoint(;addresses=nothing, conditions=nothing, hostname=nothing, targetRef=nothing, topology=nothing) - o = new() - validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("addresses"), addresses) - setfield!(o, Symbol("addresses"), addresses) - validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("hostname"), hostname) - setfield!(o, Symbol("hostname"), hostname) - validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("targetRef"), targetRef) - setfield!(o, Symbol("targetRef"), targetRef) - validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("topology"), topology) - setfield!(o, Symbol("topology"), topology) - o - end -end # type IoK8sApiDiscoveryV1beta1Endpoint - -const _property_map_IoK8sApiDiscoveryV1beta1Endpoint = Dict{Symbol,Symbol}(Symbol("addresses")=>Symbol("addresses"), Symbol("conditions")=>Symbol("conditions"), Symbol("hostname")=>Symbol("hostname"), Symbol("targetRef")=>Symbol("targetRef"), Symbol("topology")=>Symbol("topology")) -const _property_types_IoK8sApiDiscoveryV1beta1Endpoint = Dict{Symbol,String}(Symbol("addresses")=>"Vector{String}", Symbol("conditions")=>"IoK8sApiDiscoveryV1beta1EndpointConditions", Symbol("hostname")=>"String", Symbol("targetRef")=>"IoK8sApiCoreV1ObjectReference", Symbol("topology")=>"Dict{String, String}") -Base.propertynames(::Type{ IoK8sApiDiscoveryV1beta1Endpoint }) = collect(keys(_property_map_IoK8sApiDiscoveryV1beta1Endpoint)) -Swagger.property_type(::Type{ IoK8sApiDiscoveryV1beta1Endpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1Endpoint[name]))} -Swagger.field_name(::Type{ IoK8sApiDiscoveryV1beta1Endpoint }, property_name::Symbol) = _property_map_IoK8sApiDiscoveryV1beta1Endpoint[property_name] - -function check_required(o::IoK8sApiDiscoveryV1beta1Endpoint) - (getproperty(o, Symbol("addresses")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiDiscoveryV1beta1Endpoint }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl b/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl deleted file mode 100644 index cd646643..00000000 --- a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointConditions represents the current condition of an endpoint. - - IoK8sApiDiscoveryV1beta1EndpointConditions(; - ready=nothing, - ) - - - ready::Bool : ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. -""" -mutable struct IoK8sApiDiscoveryV1beta1EndpointConditions <: SwaggerModel - ready::Any # spec type: Union{ Nothing, Bool } # spec name: ready - - function IoK8sApiDiscoveryV1beta1EndpointConditions(;ready=nothing) - o = new() - validate_property(IoK8sApiDiscoveryV1beta1EndpointConditions, Symbol("ready"), ready) - setfield!(o, Symbol("ready"), ready) - o - end -end # type IoK8sApiDiscoveryV1beta1EndpointConditions - -const _property_map_IoK8sApiDiscoveryV1beta1EndpointConditions = Dict{Symbol,Symbol}(Symbol("ready")=>Symbol("ready")) -const _property_types_IoK8sApiDiscoveryV1beta1EndpointConditions = Dict{Symbol,String}(Symbol("ready")=>"Bool") -Base.propertynames(::Type{ IoK8sApiDiscoveryV1beta1EndpointConditions }) = collect(keys(_property_map_IoK8sApiDiscoveryV1beta1EndpointConditions)) -Swagger.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointConditions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointConditions[name]))} -Swagger.field_name(::Type{ IoK8sApiDiscoveryV1beta1EndpointConditions }, property_name::Symbol) = _property_map_IoK8sApiDiscoveryV1beta1EndpointConditions[property_name] - -function check_required(o::IoK8sApiDiscoveryV1beta1EndpointConditions) - true -end - -function validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointConditions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl b/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl deleted file mode 100644 index 4f083874..00000000 --- a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointPort represents a Port used by an EndpointSlice - - IoK8sApiDiscoveryV1beta1EndpointPort(; - appProtocol=nothing, - name=nothing, - port=nothing, - protocol=nothing, - ) - - - appProtocol::String : The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string. - - name::String : The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. - - port::Int32 : The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. - - protocol::String : The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. -""" -mutable struct IoK8sApiDiscoveryV1beta1EndpointPort <: SwaggerModel - appProtocol::Any # spec type: Union{ Nothing, String } # spec name: appProtocol - name::Any # spec type: Union{ Nothing, String } # spec name: name - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - protocol::Any # spec type: Union{ Nothing, String } # spec name: protocol - - function IoK8sApiDiscoveryV1beta1EndpointPort(;appProtocol=nothing, name=nothing, port=nothing, protocol=nothing) - o = new() - validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("appProtocol"), appProtocol) - setfield!(o, Symbol("appProtocol"), appProtocol) - validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("protocol"), protocol) - setfield!(o, Symbol("protocol"), protocol) - o - end -end # type IoK8sApiDiscoveryV1beta1EndpointPort - -const _property_map_IoK8sApiDiscoveryV1beta1EndpointPort = Dict{Symbol,Symbol}(Symbol("appProtocol")=>Symbol("appProtocol"), Symbol("name")=>Symbol("name"), Symbol("port")=>Symbol("port"), Symbol("protocol")=>Symbol("protocol")) -const _property_types_IoK8sApiDiscoveryV1beta1EndpointPort = Dict{Symbol,String}(Symbol("appProtocol")=>"String", Symbol("name")=>"String", Symbol("port")=>"Int32", Symbol("protocol")=>"String") -Base.propertynames(::Type{ IoK8sApiDiscoveryV1beta1EndpointPort }) = collect(keys(_property_map_IoK8sApiDiscoveryV1beta1EndpointPort)) -Swagger.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointPort[name]))} -Swagger.field_name(::Type{ IoK8sApiDiscoveryV1beta1EndpointPort }, property_name::Symbol) = _property_map_IoK8sApiDiscoveryV1beta1EndpointPort[property_name] - -function check_required(o::IoK8sApiDiscoveryV1beta1EndpointPort) - true -end - -function validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointPort }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl b/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl deleted file mode 100644 index 677b716b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints. - - IoK8sApiDiscoveryV1beta1EndpointSlice(; - addressType=nothing, - apiVersion=nothing, - endpoints=nothing, - kind=nothing, - metadata=nothing, - ports=nothing, - ) - - - addressType::String : addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - endpoints::Vector{IoK8sApiDiscoveryV1beta1Endpoint} : endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - ports::Vector{IoK8sApiDiscoveryV1beta1EndpointPort} : ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. -""" -mutable struct IoK8sApiDiscoveryV1beta1EndpointSlice <: SwaggerModel - addressType::Any # spec type: Union{ Nothing, String } # spec name: addressType - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - endpoints::Any # spec type: Union{ Nothing, Vector{IoK8sApiDiscoveryV1beta1Endpoint} } # spec name: endpoints - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiDiscoveryV1beta1EndpointPort} } # spec name: ports - - function IoK8sApiDiscoveryV1beta1EndpointSlice(;addressType=nothing, apiVersion=nothing, endpoints=nothing, kind=nothing, metadata=nothing, ports=nothing) - o = new() - validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("addressType"), addressType) - setfield!(o, Symbol("addressType"), addressType) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("endpoints"), endpoints) - setfield!(o, Symbol("endpoints"), endpoints) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - o - end -end # type IoK8sApiDiscoveryV1beta1EndpointSlice - -const _property_map_IoK8sApiDiscoveryV1beta1EndpointSlice = Dict{Symbol,Symbol}(Symbol("addressType")=>Symbol("addressType"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("endpoints")=>Symbol("endpoints"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("ports")=>Symbol("ports")) -const _property_types_IoK8sApiDiscoveryV1beta1EndpointSlice = Dict{Symbol,String}(Symbol("addressType")=>"String", Symbol("apiVersion")=>"String", Symbol("endpoints")=>"Vector{IoK8sApiDiscoveryV1beta1Endpoint}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("ports")=>"Vector{IoK8sApiDiscoveryV1beta1EndpointPort}") -Base.propertynames(::Type{ IoK8sApiDiscoveryV1beta1EndpointSlice }) = collect(keys(_property_map_IoK8sApiDiscoveryV1beta1EndpointSlice)) -Swagger.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointSlice }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointSlice[name]))} -Swagger.field_name(::Type{ IoK8sApiDiscoveryV1beta1EndpointSlice }, property_name::Symbol) = _property_map_IoK8sApiDiscoveryV1beta1EndpointSlice[property_name] - -function check_required(o::IoK8sApiDiscoveryV1beta1EndpointSlice) - (getproperty(o, Symbol("addressType")) === nothing) && (return false) - (getproperty(o, Symbol("endpoints")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointSlice }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl b/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl deleted file mode 100644 index fbc60cf3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EndpointSliceList represents a list of endpoint slices - - IoK8sApiDiscoveryV1beta1EndpointSliceList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiDiscoveryV1beta1EndpointSlice} : List of endpoint slices - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. -""" -mutable struct IoK8sApiDiscoveryV1beta1EndpointSliceList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiDiscoveryV1beta1EndpointSlice} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiDiscoveryV1beta1EndpointSliceList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiDiscoveryV1beta1EndpointSliceList - -const _property_map_IoK8sApiDiscoveryV1beta1EndpointSliceList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiDiscoveryV1beta1EndpointSliceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiDiscoveryV1beta1EndpointSlice}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiDiscoveryV1beta1EndpointSliceList }) = collect(keys(_property_map_IoK8sApiDiscoveryV1beta1EndpointSliceList)) -Swagger.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointSliceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointSliceList[name]))} -Swagger.field_name(::Type{ IoK8sApiDiscoveryV1beta1EndpointSliceList }, property_name::Symbol) = _property_map_IoK8sApiDiscoveryV1beta1EndpointSliceList[property_name] - -function check_required(o::IoK8sApiDiscoveryV1beta1EndpointSliceList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointSliceList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiEventsV1beta1Event.jl b/src/ApiImpl/api/model_IoK8sApiEventsV1beta1Event.jl deleted file mode 100644 index ba410959..00000000 --- a/src/ApiImpl/api/model_IoK8sApiEventsV1beta1Event.jl +++ /dev/null @@ -1,116 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. - - IoK8sApiEventsV1beta1Event(; - action=nothing, - apiVersion=nothing, - deprecatedCount=nothing, - deprecatedFirstTimestamp=nothing, - deprecatedLastTimestamp=nothing, - deprecatedSource=nothing, - eventTime=nothing, - kind=nothing, - metadata=nothing, - note=nothing, - reason=nothing, - regarding=nothing, - related=nothing, - reportingController=nothing, - reportingInstance=nothing, - series=nothing, - type=nothing, - ) - - - action::String : What action was taken/failed regarding to the regarding object. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - deprecatedCount::Int32 : Deprecated field assuring backward compatibility with core.v1 Event type - - deprecatedFirstTimestamp::IoK8sApimachineryPkgApisMetaV1Time : Deprecated field assuring backward compatibility with core.v1 Event type - - deprecatedLastTimestamp::IoK8sApimachineryPkgApisMetaV1Time : Deprecated field assuring backward compatibility with core.v1 Event type - - deprecatedSource::IoK8sApiCoreV1EventSource : Deprecated field assuring backward compatibility with core.v1 Event type - - eventTime::IoK8sApimachineryPkgApisMetaV1MicroTime : Required. Time when this Event was first observed. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - note::String : Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. - - reason::String : Why the action was taken. - - regarding::IoK8sApiCoreV1ObjectReference : The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object. - - related::IoK8sApiCoreV1ObjectReference : Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object. - - reportingController::String : Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. - - reportingInstance::String : ID of the controller instance, e.g. `kubelet-xyzf`. - - series::IoK8sApiEventsV1beta1EventSeries : Data about the Event series this event represents or nil if it's a singleton Event. - - type::String : Type of this event (Normal, Warning), new types could be added in the future. -""" -mutable struct IoK8sApiEventsV1beta1Event <: SwaggerModel - action::Any # spec type: Union{ Nothing, String } # spec name: action - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - deprecatedCount::Any # spec type: Union{ Nothing, Int32 } # spec name: deprecatedCount - deprecatedFirstTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: deprecatedFirstTimestamp - deprecatedLastTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: deprecatedLastTimestamp - deprecatedSource::Any # spec type: Union{ Nothing, IoK8sApiCoreV1EventSource } # spec name: deprecatedSource - eventTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: eventTime - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - note::Any # spec type: Union{ Nothing, String } # spec name: note - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - regarding::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: regarding - related::Any # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } # spec name: related - reportingController::Any # spec type: Union{ Nothing, String } # spec name: reportingController - reportingInstance::Any # spec type: Union{ Nothing, String } # spec name: reportingInstance - series::Any # spec type: Union{ Nothing, IoK8sApiEventsV1beta1EventSeries } # spec name: series - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiEventsV1beta1Event(;action=nothing, apiVersion=nothing, deprecatedCount=nothing, deprecatedFirstTimestamp=nothing, deprecatedLastTimestamp=nothing, deprecatedSource=nothing, eventTime=nothing, kind=nothing, metadata=nothing, note=nothing, reason=nothing, regarding=nothing, related=nothing, reportingController=nothing, reportingInstance=nothing, series=nothing, type=nothing) - o = new() - validate_property(IoK8sApiEventsV1beta1Event, Symbol("action"), action) - setfield!(o, Symbol("action"), action) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedCount"), deprecatedCount) - setfield!(o, Symbol("deprecatedCount"), deprecatedCount) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedFirstTimestamp"), deprecatedFirstTimestamp) - setfield!(o, Symbol("deprecatedFirstTimestamp"), deprecatedFirstTimestamp) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedLastTimestamp"), deprecatedLastTimestamp) - setfield!(o, Symbol("deprecatedLastTimestamp"), deprecatedLastTimestamp) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedSource"), deprecatedSource) - setfield!(o, Symbol("deprecatedSource"), deprecatedSource) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("eventTime"), eventTime) - setfield!(o, Symbol("eventTime"), eventTime) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("note"), note) - setfield!(o, Symbol("note"), note) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("regarding"), regarding) - setfield!(o, Symbol("regarding"), regarding) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("related"), related) - setfield!(o, Symbol("related"), related) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("reportingController"), reportingController) - setfield!(o, Symbol("reportingController"), reportingController) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("reportingInstance"), reportingInstance) - setfield!(o, Symbol("reportingInstance"), reportingInstance) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("series"), series) - setfield!(o, Symbol("series"), series) - validate_property(IoK8sApiEventsV1beta1Event, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiEventsV1beta1Event - -const _property_map_IoK8sApiEventsV1beta1Event = Dict{Symbol,Symbol}(Symbol("action")=>Symbol("action"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("deprecatedCount")=>Symbol("deprecatedCount"), Symbol("deprecatedFirstTimestamp")=>Symbol("deprecatedFirstTimestamp"), Symbol("deprecatedLastTimestamp")=>Symbol("deprecatedLastTimestamp"), Symbol("deprecatedSource")=>Symbol("deprecatedSource"), Symbol("eventTime")=>Symbol("eventTime"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("note")=>Symbol("note"), Symbol("reason")=>Symbol("reason"), Symbol("regarding")=>Symbol("regarding"), Symbol("related")=>Symbol("related"), Symbol("reportingController")=>Symbol("reportingController"), Symbol("reportingInstance")=>Symbol("reportingInstance"), Symbol("series")=>Symbol("series"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiEventsV1beta1Event = Dict{Symbol,String}(Symbol("action")=>"String", Symbol("apiVersion")=>"String", Symbol("deprecatedCount")=>"Int32", Symbol("deprecatedFirstTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("deprecatedLastTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("deprecatedSource")=>"IoK8sApiCoreV1EventSource", Symbol("eventTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("note")=>"String", Symbol("reason")=>"String", Symbol("regarding")=>"IoK8sApiCoreV1ObjectReference", Symbol("related")=>"IoK8sApiCoreV1ObjectReference", Symbol("reportingController")=>"String", Symbol("reportingInstance")=>"String", Symbol("series")=>"IoK8sApiEventsV1beta1EventSeries", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiEventsV1beta1Event }) = collect(keys(_property_map_IoK8sApiEventsV1beta1Event)) -Swagger.property_type(::Type{ IoK8sApiEventsV1beta1Event }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiEventsV1beta1Event[name]))} -Swagger.field_name(::Type{ IoK8sApiEventsV1beta1Event }, property_name::Symbol) = _property_map_IoK8sApiEventsV1beta1Event[property_name] - -function check_required(o::IoK8sApiEventsV1beta1Event) - (getproperty(o, Symbol("eventTime")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiEventsV1beta1Event }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiEventsV1beta1EventList.jl b/src/ApiImpl/api/model_IoK8sApiEventsV1beta1EventList.jl deleted file mode 100644 index 7488bc71..00000000 --- a/src/ApiImpl/api/model_IoK8sApiEventsV1beta1EventList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EventList is a list of Event objects. - - IoK8sApiEventsV1beta1EventList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiEventsV1beta1Event} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiEventsV1beta1EventList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiEventsV1beta1Event} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiEventsV1beta1EventList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiEventsV1beta1EventList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiEventsV1beta1EventList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiEventsV1beta1EventList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiEventsV1beta1EventList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiEventsV1beta1EventList - -const _property_map_IoK8sApiEventsV1beta1EventList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiEventsV1beta1EventList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiEventsV1beta1Event}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiEventsV1beta1EventList }) = collect(keys(_property_map_IoK8sApiEventsV1beta1EventList)) -Swagger.property_type(::Type{ IoK8sApiEventsV1beta1EventList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiEventsV1beta1EventList[name]))} -Swagger.field_name(::Type{ IoK8sApiEventsV1beta1EventList }, property_name::Symbol) = _property_map_IoK8sApiEventsV1beta1EventList[property_name] - -function check_required(o::IoK8sApiEventsV1beta1EventList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiEventsV1beta1EventList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiEventsV1beta1EventSeries.jl b/src/ApiImpl/api/model_IoK8sApiEventsV1beta1EventSeries.jl deleted file mode 100644 index 2e7b635e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiEventsV1beta1EventSeries.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. - - IoK8sApiEventsV1beta1EventSeries(; - count=nothing, - lastObservedTime=nothing, - state=nothing, - ) - - - count::Int32 : Number of occurrences in this series up to the last heartbeat time - - lastObservedTime::IoK8sApimachineryPkgApisMetaV1MicroTime : Time when last Event from the series was seen before last heartbeat. - - state::String : Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18 -""" -mutable struct IoK8sApiEventsV1beta1EventSeries <: SwaggerModel - count::Any # spec type: Union{ Nothing, Int32 } # spec name: count - lastObservedTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1MicroTime } # spec name: lastObservedTime - state::Any # spec type: Union{ Nothing, String } # spec name: state - - function IoK8sApiEventsV1beta1EventSeries(;count=nothing, lastObservedTime=nothing, state=nothing) - o = new() - validate_property(IoK8sApiEventsV1beta1EventSeries, Symbol("count"), count) - setfield!(o, Symbol("count"), count) - validate_property(IoK8sApiEventsV1beta1EventSeries, Symbol("lastObservedTime"), lastObservedTime) - setfield!(o, Symbol("lastObservedTime"), lastObservedTime) - validate_property(IoK8sApiEventsV1beta1EventSeries, Symbol("state"), state) - setfield!(o, Symbol("state"), state) - o - end -end # type IoK8sApiEventsV1beta1EventSeries - -const _property_map_IoK8sApiEventsV1beta1EventSeries = Dict{Symbol,Symbol}(Symbol("count")=>Symbol("count"), Symbol("lastObservedTime")=>Symbol("lastObservedTime"), Symbol("state")=>Symbol("state")) -const _property_types_IoK8sApiEventsV1beta1EventSeries = Dict{Symbol,String}(Symbol("count")=>"Int32", Symbol("lastObservedTime")=>"IoK8sApimachineryPkgApisMetaV1MicroTime", Symbol("state")=>"String") -Base.propertynames(::Type{ IoK8sApiEventsV1beta1EventSeries }) = collect(keys(_property_map_IoK8sApiEventsV1beta1EventSeries)) -Swagger.property_type(::Type{ IoK8sApiEventsV1beta1EventSeries }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiEventsV1beta1EventSeries[name]))} -Swagger.field_name(::Type{ IoK8sApiEventsV1beta1EventSeries }, property_name::Symbol) = _property_map_IoK8sApiEventsV1beta1EventSeries[property_name] - -function check_required(o::IoK8sApiEventsV1beta1EventSeries) - (getproperty(o, Symbol("count")) === nothing) && (return false) - (getproperty(o, Symbol("lastObservedTime")) === nothing) && (return false) - (getproperty(o, Symbol("state")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiEventsV1beta1EventSeries }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl deleted file mode 100644 index 4429e6af..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used. - - IoK8sApiExtensionsV1beta1AllowedCSIDriver(; - name=nothing, - ) - - - name::String : Name is the registered name of the CSI driver -""" -mutable struct IoK8sApiExtensionsV1beta1AllowedCSIDriver <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiExtensionsV1beta1AllowedCSIDriver(;name=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1AllowedCSIDriver, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiExtensionsV1beta1AllowedCSIDriver - -const _property_map_IoK8sApiExtensionsV1beta1AllowedCSIDriver = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiExtensionsV1beta1AllowedCSIDriver = Dict{Symbol,String}(Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1AllowedCSIDriver }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1AllowedCSIDriver)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1AllowedCSIDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1AllowedCSIDriver[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1AllowedCSIDriver }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1AllowedCSIDriver[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1AllowedCSIDriver) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1AllowedCSIDriver }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl deleted file mode 100644 index f5468f05..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead. - - IoK8sApiExtensionsV1beta1AllowedFlexVolume(; - driver=nothing, - ) - - - driver::String : driver is the name of the Flexvolume driver. -""" -mutable struct IoK8sApiExtensionsV1beta1AllowedFlexVolume <: SwaggerModel - driver::Any # spec type: Union{ Nothing, String } # spec name: driver - - function IoK8sApiExtensionsV1beta1AllowedFlexVolume(;driver=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1AllowedFlexVolume, Symbol("driver"), driver) - setfield!(o, Symbol("driver"), driver) - o - end -end # type IoK8sApiExtensionsV1beta1AllowedFlexVolume - -const _property_map_IoK8sApiExtensionsV1beta1AllowedFlexVolume = Dict{Symbol,Symbol}(Symbol("driver")=>Symbol("driver")) -const _property_types_IoK8sApiExtensionsV1beta1AllowedFlexVolume = Dict{Symbol,String}(Symbol("driver")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1AllowedFlexVolume }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1AllowedFlexVolume)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1AllowedFlexVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1AllowedFlexVolume[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1AllowedFlexVolume }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1AllowedFlexVolume[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1AllowedFlexVolume) - (getproperty(o, Symbol("driver")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1AllowedFlexVolume }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl deleted file mode 100644 index 8fb09ab5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead. - - IoK8sApiExtensionsV1beta1AllowedHostPath(; - pathPrefix=nothing, - readOnly=nothing, - ) - - - pathPrefix::String : pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` - - readOnly::Bool : when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. -""" -mutable struct IoK8sApiExtensionsV1beta1AllowedHostPath <: SwaggerModel - pathPrefix::Any # spec type: Union{ Nothing, String } # spec name: pathPrefix - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiExtensionsV1beta1AllowedHostPath(;pathPrefix=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1AllowedHostPath, Symbol("pathPrefix"), pathPrefix) - setfield!(o, Symbol("pathPrefix"), pathPrefix) - validate_property(IoK8sApiExtensionsV1beta1AllowedHostPath, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiExtensionsV1beta1AllowedHostPath - -const _property_map_IoK8sApiExtensionsV1beta1AllowedHostPath = Dict{Symbol,Symbol}(Symbol("pathPrefix")=>Symbol("pathPrefix"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiExtensionsV1beta1AllowedHostPath = Dict{Symbol,String}(Symbol("pathPrefix")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1AllowedHostPath }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1AllowedHostPath)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1AllowedHostPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1AllowedHostPath[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1AllowedHostPath }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1AllowedHostPath[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1AllowedHostPath) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1AllowedHostPath }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSet.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSet.jl deleted file mode 100644 index a6d97fdf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. - - IoK8sApiExtensionsV1beta1DaemonSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiExtensionsV1beta1DaemonSetSpec : The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiExtensionsV1beta1DaemonSetStatus : The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiExtensionsV1beta1DaemonSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DaemonSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DaemonSetStatus } # spec name: status - - function IoK8sApiExtensionsV1beta1DaemonSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiExtensionsV1beta1DaemonSet - -const _property_map_IoK8sApiExtensionsV1beta1DaemonSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiExtensionsV1beta1DaemonSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1DaemonSetSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1DaemonSetStatus") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DaemonSet }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DaemonSet)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSet[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DaemonSet }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DaemonSet[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DaemonSet) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl deleted file mode 100644 index 0279ae59..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetCondition describes the state of a DaemonSet at a certain point. - - IoK8sApiExtensionsV1beta1DaemonSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of DaemonSet condition. -""" -mutable struct IoK8sApiExtensionsV1beta1DaemonSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiExtensionsV1beta1DaemonSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiExtensionsV1beta1DaemonSetCondition - -const _property_map_IoK8sApiExtensionsV1beta1DaemonSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiExtensionsV1beta1DaemonSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DaemonSetCondition }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DaemonSetCondition)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DaemonSetCondition }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DaemonSetCondition[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl deleted file mode 100644 index 3f68ceca..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetList is a collection of daemon sets. - - IoK8sApiExtensionsV1beta1DaemonSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiExtensionsV1beta1DaemonSet} : A list of daemon sets. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiExtensionsV1beta1DaemonSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1DaemonSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiExtensionsV1beta1DaemonSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiExtensionsV1beta1DaemonSetList - -const _property_map_IoK8sApiExtensionsV1beta1DaemonSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiExtensionsV1beta1DaemonSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1DaemonSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DaemonSetList }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DaemonSetList)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DaemonSetList }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DaemonSetList[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl deleted file mode 100644 index c2af8353..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetSpec is the specification of a daemon set. - - IoK8sApiExtensionsV1beta1DaemonSetSpec(; - minReadySeconds=nothing, - revisionHistoryLimit=nothing, - selector=nothing, - template=nothing, - templateGeneration=nothing, - updateStrategy=nothing, - ) - - - minReadySeconds::Int32 : The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). - - revisionHistoryLimit::Int32 : The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template - - templateGeneration::Int64 : DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. - - updateStrategy::IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy : An update strategy to replace existing DaemonSet pods with new pods. -""" -mutable struct IoK8sApiExtensionsV1beta1DaemonSetSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - templateGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: templateGeneration - updateStrategy::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy } # spec name: updateStrategy - - function IoK8sApiExtensionsV1beta1DaemonSetSpec(;minReadySeconds=nothing, revisionHistoryLimit=nothing, selector=nothing, template=nothing, templateGeneration=nothing, updateStrategy=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("templateGeneration"), templateGeneration) - setfield!(o, Symbol("templateGeneration"), templateGeneration) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("updateStrategy"), updateStrategy) - setfield!(o, Symbol("updateStrategy"), updateStrategy) - o - end -end # type IoK8sApiExtensionsV1beta1DaemonSetSpec - -const _property_map_IoK8sApiExtensionsV1beta1DaemonSetSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template"), Symbol("templateGeneration")=>Symbol("templateGeneration"), Symbol("updateStrategy")=>Symbol("updateStrategy")) -const _property_types_IoK8sApiExtensionsV1beta1DaemonSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("templateGeneration")=>"Int64", Symbol("updateStrategy")=>"IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DaemonSetSpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DaemonSetSpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DaemonSetSpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DaemonSetSpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetSpec) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl deleted file mode 100644 index d2bf231f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl +++ /dev/null @@ -1,84 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DaemonSetStatus represents the current status of a daemon set. - - IoK8sApiExtensionsV1beta1DaemonSetStatus(; - collisionCount=nothing, - conditions=nothing, - currentNumberScheduled=nothing, - desiredNumberScheduled=nothing, - numberAvailable=nothing, - numberMisscheduled=nothing, - numberReady=nothing, - numberUnavailable=nothing, - observedGeneration=nothing, - updatedNumberScheduled=nothing, - ) - - - collisionCount::Int32 : Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. - - conditions::Vector{IoK8sApiExtensionsV1beta1DaemonSetCondition} : Represents the latest available observations of a DaemonSet's current state. - - currentNumberScheduled::Int32 : The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - desiredNumberScheduled::Int32 : The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - numberAvailable::Int32 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) - - numberMisscheduled::Int32 : The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ - - numberReady::Int32 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. - - numberUnavailable::Int32 : The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) - - observedGeneration::Int64 : The most recent generation observed by the daemon set controller. - - updatedNumberScheduled::Int32 : The total number of nodes that are running updated daemon pod -""" -mutable struct IoK8sApiExtensionsV1beta1DaemonSetStatus <: SwaggerModel - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1DaemonSetCondition} } # spec name: conditions - currentNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: currentNumberScheduled - desiredNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredNumberScheduled - numberAvailable::Any # spec type: Union{ Nothing, Int32 } # spec name: numberAvailable - numberMisscheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: numberMisscheduled - numberReady::Any # spec type: Union{ Nothing, Int32 } # spec name: numberReady - numberUnavailable::Any # spec type: Union{ Nothing, Int32 } # spec name: numberUnavailable - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - updatedNumberScheduled::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedNumberScheduled - - function IoK8sApiExtensionsV1beta1DaemonSetStatus(;collisionCount=nothing, conditions=nothing, currentNumberScheduled=nothing, desiredNumberScheduled=nothing, numberAvailable=nothing, numberMisscheduled=nothing, numberReady=nothing, numberUnavailable=nothing, observedGeneration=nothing, updatedNumberScheduled=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("currentNumberScheduled"), currentNumberScheduled) - setfield!(o, Symbol("currentNumberScheduled"), currentNumberScheduled) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("desiredNumberScheduled"), desiredNumberScheduled) - setfield!(o, Symbol("desiredNumberScheduled"), desiredNumberScheduled) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberAvailable"), numberAvailable) - setfield!(o, Symbol("numberAvailable"), numberAvailable) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberMisscheduled"), numberMisscheduled) - setfield!(o, Symbol("numberMisscheduled"), numberMisscheduled) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberReady"), numberReady) - setfield!(o, Symbol("numberReady"), numberReady) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberUnavailable"), numberUnavailable) - setfield!(o, Symbol("numberUnavailable"), numberUnavailable) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("updatedNumberScheduled"), updatedNumberScheduled) - setfield!(o, Symbol("updatedNumberScheduled"), updatedNumberScheduled) - o - end -end # type IoK8sApiExtensionsV1beta1DaemonSetStatus - -const _property_map_IoK8sApiExtensionsV1beta1DaemonSetStatus = Dict{Symbol,Symbol}(Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("currentNumberScheduled")=>Symbol("currentNumberScheduled"), Symbol("desiredNumberScheduled")=>Symbol("desiredNumberScheduled"), Symbol("numberAvailable")=>Symbol("numberAvailable"), Symbol("numberMisscheduled")=>Symbol("numberMisscheduled"), Symbol("numberReady")=>Symbol("numberReady"), Symbol("numberUnavailable")=>Symbol("numberUnavailable"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("updatedNumberScheduled")=>Symbol("updatedNumberScheduled")) -const _property_types_IoK8sApiExtensionsV1beta1DaemonSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiExtensionsV1beta1DaemonSetCondition}", Symbol("currentNumberScheduled")=>"Int32", Symbol("desiredNumberScheduled")=>"Int32", Symbol("numberAvailable")=>"Int32", Symbol("numberMisscheduled")=>"Int32", Symbol("numberReady")=>"Int32", Symbol("numberUnavailable")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("updatedNumberScheduled")=>"Int32") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DaemonSetStatus }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DaemonSetStatus)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DaemonSetStatus }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DaemonSetStatus[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetStatus) - (getproperty(o, Symbol("currentNumberScheduled")) === nothing) && (return false) - (getproperty(o, Symbol("desiredNumberScheduled")) === nothing) && (return false) - (getproperty(o, Symbol("numberMisscheduled")) === nothing) && (return false) - (getproperty(o, Symbol("numberReady")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl deleted file mode 100644 index 1c1a046a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw""" - IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet : Rolling update config params. Present only if type = \"RollingUpdate\". - - type::String : Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete. -""" -mutable struct IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy - -const _property_map_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Deployment.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Deployment.jl deleted file mode 100644 index ffb20e9d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Deployment.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. - - IoK8sApiExtensionsV1beta1Deployment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. - - spec::IoK8sApiExtensionsV1beta1DeploymentSpec : Specification of the desired behavior of the Deployment. - - status::IoK8sApiExtensionsV1beta1DeploymentStatus : Most recently observed status of the Deployment. -""" -mutable struct IoK8sApiExtensionsV1beta1Deployment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DeploymentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DeploymentStatus } # spec name: status - - function IoK8sApiExtensionsV1beta1Deployment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiExtensionsV1beta1Deployment - -const _property_map_IoK8sApiExtensionsV1beta1Deployment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiExtensionsV1beta1Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1DeploymentSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1DeploymentStatus") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1Deployment }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1Deployment)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1Deployment[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1Deployment }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1Deployment[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1Deployment) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1Deployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl deleted file mode 100644 index 4324de90..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentCondition describes the state of a deployment at a certain point. - - IoK8sApiExtensionsV1beta1DeploymentCondition(; - lastTransitionTime=nothing, - lastUpdateTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - lastUpdateTime::IoK8sApimachineryPkgApisMetaV1Time : The last time this condition was updated. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of deployment condition. -""" -mutable struct IoK8sApiExtensionsV1beta1DeploymentCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - lastUpdateTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastUpdateTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiExtensionsV1beta1DeploymentCondition(;lastTransitionTime=nothing, lastUpdateTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) - setfield!(o, Symbol("lastUpdateTime"), lastUpdateTime) - validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiExtensionsV1beta1DeploymentCondition - -const _property_map_IoK8sApiExtensionsV1beta1DeploymentCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("lastUpdateTime")=>Symbol("lastUpdateTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiExtensionsV1beta1DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("lastUpdateTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DeploymentCondition }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DeploymentCondition)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DeploymentCondition }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DeploymentCondition[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DeploymentCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentList.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentList.jl deleted file mode 100644 index b15acf32..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentList is a list of Deployments. - - IoK8sApiExtensionsV1beta1DeploymentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiExtensionsV1beta1Deployment} : Items is the list of Deployments. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. -""" -mutable struct IoK8sApiExtensionsV1beta1DeploymentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1Deployment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiExtensionsV1beta1DeploymentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiExtensionsV1beta1DeploymentList - -const _property_map_IoK8sApiExtensionsV1beta1DeploymentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiExtensionsV1beta1DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DeploymentList }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DeploymentList)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentList[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DeploymentList }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DeploymentList[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DeploymentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl deleted file mode 100644 index bd91b885..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED. DeploymentRollback stores the information required to rollback a deployment. - - IoK8sApiExtensionsV1beta1DeploymentRollback(; - apiVersion=nothing, - kind=nothing, - name=nothing, - rollbackTo=nothing, - updatedAnnotations=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - name::String : Required: This must match the Name of a deployment. - - rollbackTo::IoK8sApiExtensionsV1beta1RollbackConfig : The config of this deployment rollback. - - updatedAnnotations::Dict{String, String} : The annotations to be updated to a deployment -""" -mutable struct IoK8sApiExtensionsV1beta1DeploymentRollback <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - rollbackTo::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollbackConfig } # spec name: rollbackTo - updatedAnnotations::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: updatedAnnotations - - function IoK8sApiExtensionsV1beta1DeploymentRollback(;apiVersion=nothing, kind=nothing, name=nothing, rollbackTo=nothing, updatedAnnotations=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("rollbackTo"), rollbackTo) - setfield!(o, Symbol("rollbackTo"), rollbackTo) - validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("updatedAnnotations"), updatedAnnotations) - setfield!(o, Symbol("updatedAnnotations"), updatedAnnotations) - o - end -end # type IoK8sApiExtensionsV1beta1DeploymentRollback - -const _property_map_IoK8sApiExtensionsV1beta1DeploymentRollback = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("rollbackTo")=>Symbol("rollbackTo"), Symbol("updatedAnnotations")=>Symbol("updatedAnnotations")) -const _property_types_IoK8sApiExtensionsV1beta1DeploymentRollback = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("rollbackTo")=>"IoK8sApiExtensionsV1beta1RollbackConfig", Symbol("updatedAnnotations")=>"Dict{String, String}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DeploymentRollback }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DeploymentRollback)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentRollback }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentRollback[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DeploymentRollback }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DeploymentRollback[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DeploymentRollback) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("rollbackTo")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentRollback }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl deleted file mode 100644 index cc86566a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl +++ /dev/null @@ -1,76 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentSpec is the specification of the desired behavior of the Deployment. - - IoK8sApiExtensionsV1beta1DeploymentSpec(; - minReadySeconds=nothing, - paused=nothing, - progressDeadlineSeconds=nothing, - replicas=nothing, - revisionHistoryLimit=nothing, - rollbackTo=nothing, - selector=nothing, - strategy=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - paused::Bool : Indicates that the deployment is paused and will not be processed by the deployment controller. - - progressDeadlineSeconds::Int32 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\". - - replicas::Int32 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. - - revisionHistoryLimit::Int32 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". - - rollbackTo::IoK8sApiExtensionsV1beta1RollbackConfig : DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. - - strategy::IoK8sApiExtensionsV1beta1DeploymentStrategy : The deployment strategy to use to replace existing pods with new ones. - - template::IoK8sApiCoreV1PodTemplateSpec : Template describes the pods that will be created. -""" -mutable struct IoK8sApiExtensionsV1beta1DeploymentSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - paused::Any # spec type: Union{ Nothing, Bool } # spec name: paused - progressDeadlineSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: progressDeadlineSeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - revisionHistoryLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: revisionHistoryLimit - rollbackTo::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollbackConfig } # spec name: rollbackTo - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - strategy::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DeploymentStrategy } # spec name: strategy - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiExtensionsV1beta1DeploymentSpec(;minReadySeconds=nothing, paused=nothing, progressDeadlineSeconds=nothing, replicas=nothing, revisionHistoryLimit=nothing, rollbackTo=nothing, selector=nothing, strategy=nothing, template=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("paused"), paused) - setfield!(o, Symbol("paused"), paused) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - setfield!(o, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - setfield!(o, Symbol("revisionHistoryLimit"), revisionHistoryLimit) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("rollbackTo"), rollbackTo) - setfield!(o, Symbol("rollbackTo"), rollbackTo) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("strategy"), strategy) - setfield!(o, Symbol("strategy"), strategy) - validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiExtensionsV1beta1DeploymentSpec - -const _property_map_IoK8sApiExtensionsV1beta1DeploymentSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("paused")=>Symbol("paused"), Symbol("progressDeadlineSeconds")=>Symbol("progressDeadlineSeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("revisionHistoryLimit")=>Symbol("revisionHistoryLimit"), Symbol("rollbackTo")=>Symbol("rollbackTo"), Symbol("selector")=>Symbol("selector"), Symbol("strategy")=>Symbol("strategy"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiExtensionsV1beta1DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("revisionHistoryLimit")=>"Int32", Symbol("rollbackTo")=>"IoK8sApiExtensionsV1beta1RollbackConfig", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiExtensionsV1beta1DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DeploymentSpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DeploymentSpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DeploymentSpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DeploymentSpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DeploymentSpec) - (getproperty(o, Symbol("template")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl deleted file mode 100644 index 2b38fb09..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStatus is the most recently observed status of the Deployment. - - IoK8sApiExtensionsV1beta1DeploymentStatus(; - availableReplicas=nothing, - collisionCount=nothing, - conditions=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - unavailableReplicas=nothing, - updatedReplicas=nothing, - ) - - - availableReplicas::Int32 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. - - collisionCount::Int32 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. - - conditions::Vector{IoK8sApiExtensionsV1beta1DeploymentCondition} : Represents the latest available observations of a deployment's current state. - - observedGeneration::Int64 : The generation observed by the deployment controller. - - readyReplicas::Int32 : Total number of ready pods targeted by this deployment. - - replicas::Int32 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). - - unavailableReplicas::Int32 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. - - updatedReplicas::Int32 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. -""" -mutable struct IoK8sApiExtensionsV1beta1DeploymentStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - collisionCount::Any # spec type: Union{ Nothing, Int32 } # spec name: collisionCount - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1DeploymentCondition} } # spec name: conditions - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - unavailableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: unavailableReplicas - updatedReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: updatedReplicas - - function IoK8sApiExtensionsV1beta1DeploymentStatus(;availableReplicas=nothing, collisionCount=nothing, conditions=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing, unavailableReplicas=nothing, updatedReplicas=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("collisionCount"), collisionCount) - setfield!(o, Symbol("collisionCount"), collisionCount) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) - setfield!(o, Symbol("unavailableReplicas"), unavailableReplicas) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) - setfield!(o, Symbol("updatedReplicas"), updatedReplicas) - o - end -end # type IoK8sApiExtensionsV1beta1DeploymentStatus - -const _property_map_IoK8sApiExtensionsV1beta1DeploymentStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("collisionCount")=>Symbol("collisionCount"), Symbol("conditions")=>Symbol("conditions"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas"), Symbol("unavailableReplicas")=>Symbol("unavailableReplicas"), Symbol("updatedReplicas")=>Symbol("updatedReplicas")) -const _property_types_IoK8sApiExtensionsV1beta1DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("collisionCount")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiExtensionsV1beta1DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32", Symbol("unavailableReplicas")=>"Int32", Symbol("updatedReplicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DeploymentStatus }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DeploymentStatus)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DeploymentStatus }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DeploymentStatus[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DeploymentStatus) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl deleted file mode 100644 index 456ddbf4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeploymentStrategy describes how to replace existing pods with new ones. - - IoK8sApiExtensionsV1beta1DeploymentStrategy(; - rollingUpdate=nothing, - type=nothing, - ) - - - rollingUpdate::IoK8sApiExtensionsV1beta1RollingUpdateDeployment : Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. - - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. -""" -mutable struct IoK8sApiExtensionsV1beta1DeploymentStrategy <: SwaggerModel - rollingUpdate::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollingUpdateDeployment } # spec name: rollingUpdate - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiExtensionsV1beta1DeploymentStrategy(;rollingUpdate=nothing, type=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) - setfield!(o, Symbol("rollingUpdate"), rollingUpdate) - validate_property(IoK8sApiExtensionsV1beta1DeploymentStrategy, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiExtensionsV1beta1DeploymentStrategy - -const _property_map_IoK8sApiExtensionsV1beta1DeploymentStrategy = Dict{Symbol,Symbol}(Symbol("rollingUpdate")=>Symbol("rollingUpdate"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiExtensionsV1beta1DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiExtensionsV1beta1RollingUpdateDeployment", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1DeploymentStrategy }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1DeploymentStrategy)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentStrategy[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1DeploymentStrategy }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1DeploymentStrategy[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1DeploymentStrategy) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentStrategy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl deleted file mode 100644 index 5dfd3853..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead. - - IoK8sApiExtensionsV1beta1FSGroupStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate what FSGroup is used in the SecurityContext. -""" -mutable struct IoK8sApiExtensionsV1beta1FSGroupStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiExtensionsV1beta1FSGroupStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1FSGroupStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiExtensionsV1beta1FSGroupStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiExtensionsV1beta1FSGroupStrategyOptions - -const _property_map_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1FSGroupStrategyOptions }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1FSGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1FSGroupStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1FSGroupStrategyOptions) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1FSGroupStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl deleted file mode 100644 index 6c595e35..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend. - - IoK8sApiExtensionsV1beta1HTTPIngressPath(; - backend=nothing, - path=nothing, - ) - - - backend::IoK8sApiExtensionsV1beta1IngressBackend : Backend defines the referenced service endpoint to which the traffic will be forwarded to. - - path::String : Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. -""" -mutable struct IoK8sApiExtensionsV1beta1HTTPIngressPath <: SwaggerModel - backend::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressBackend } # spec name: backend - path::Any # spec type: Union{ Nothing, String } # spec name: path - - function IoK8sApiExtensionsV1beta1HTTPIngressPath(;backend=nothing, path=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1HTTPIngressPath, Symbol("backend"), backend) - setfield!(o, Symbol("backend"), backend) - validate_property(IoK8sApiExtensionsV1beta1HTTPIngressPath, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - o - end -end # type IoK8sApiExtensionsV1beta1HTTPIngressPath - -const _property_map_IoK8sApiExtensionsV1beta1HTTPIngressPath = Dict{Symbol,Symbol}(Symbol("backend")=>Symbol("backend"), Symbol("path")=>Symbol("path")) -const _property_types_IoK8sApiExtensionsV1beta1HTTPIngressPath = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiExtensionsV1beta1IngressBackend", Symbol("path")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressPath }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1HTTPIngressPath)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1HTTPIngressPath[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressPath }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1HTTPIngressPath[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1HTTPIngressPath) - (getproperty(o, Symbol("backend")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressPath }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl deleted file mode 100644 index ddab3d1a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. - - IoK8sApiExtensionsV1beta1HTTPIngressRuleValue(; - paths=nothing, - ) - - - paths::Vector{IoK8sApiExtensionsV1beta1HTTPIngressPath} : A collection of paths that map requests to backends. -""" -mutable struct IoK8sApiExtensionsV1beta1HTTPIngressRuleValue <: SwaggerModel - paths::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1HTTPIngressPath} } # spec name: paths - - function IoK8sApiExtensionsV1beta1HTTPIngressRuleValue(;paths=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1HTTPIngressRuleValue, Symbol("paths"), paths) - setfield!(o, Symbol("paths"), paths) - o - end -end # type IoK8sApiExtensionsV1beta1HTTPIngressRuleValue - -const _property_map_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue = Dict{Symbol,Symbol}(Symbol("paths")=>Symbol("paths")) -const _property_types_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue = Dict{Symbol,String}(Symbol("paths")=>"Vector{IoK8sApiExtensionsV1beta1HTTPIngressPath}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressRuleValue }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressRuleValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressRuleValue }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1HTTPIngressRuleValue) - (getproperty(o, Symbol("paths")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressRuleValue }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HostPortRange.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HostPortRange.jl deleted file mode 100644 index 0bc8bbde..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1HostPortRange.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead. - - IoK8sApiExtensionsV1beta1HostPortRange(; - max=nothing, - min=nothing, - ) - - - max::Int32 : max is the end of the range, inclusive. - - min::Int32 : min is the start of the range, inclusive. -""" -mutable struct IoK8sApiExtensionsV1beta1HostPortRange <: SwaggerModel - max::Any # spec type: Union{ Nothing, Int32 } # spec name: max - min::Any # spec type: Union{ Nothing, Int32 } # spec name: min - - function IoK8sApiExtensionsV1beta1HostPortRange(;max=nothing, min=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1HostPortRange, Symbol("max"), max) - setfield!(o, Symbol("max"), max) - validate_property(IoK8sApiExtensionsV1beta1HostPortRange, Symbol("min"), min) - setfield!(o, Symbol("min"), min) - o - end -end # type IoK8sApiExtensionsV1beta1HostPortRange - -const _property_map_IoK8sApiExtensionsV1beta1HostPortRange = Dict{Symbol,Symbol}(Symbol("max")=>Symbol("max"), Symbol("min")=>Symbol("min")) -const _property_types_IoK8sApiExtensionsV1beta1HostPortRange = Dict{Symbol,String}(Symbol("max")=>"Int32", Symbol("min")=>"Int32") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1HostPortRange }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1HostPortRange)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1HostPortRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1HostPortRange[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1HostPortRange }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1HostPortRange[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1HostPortRange) - (getproperty(o, Symbol("max")) === nothing) && (return false) - (getproperty(o, Symbol("min")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1HostPortRange }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IDRange.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IDRange.jl deleted file mode 100644 index 631f266e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IDRange.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead. - - IoK8sApiExtensionsV1beta1IDRange(; - max=nothing, - min=nothing, - ) - - - max::Int64 : max is the end of the range, inclusive. - - min::Int64 : min is the start of the range, inclusive. -""" -mutable struct IoK8sApiExtensionsV1beta1IDRange <: SwaggerModel - max::Any # spec type: Union{ Nothing, Int64 } # spec name: max - min::Any # spec type: Union{ Nothing, Int64 } # spec name: min - - function IoK8sApiExtensionsV1beta1IDRange(;max=nothing, min=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IDRange, Symbol("max"), max) - setfield!(o, Symbol("max"), max) - validate_property(IoK8sApiExtensionsV1beta1IDRange, Symbol("min"), min) - setfield!(o, Symbol("min"), min) - o - end -end # type IoK8sApiExtensionsV1beta1IDRange - -const _property_map_IoK8sApiExtensionsV1beta1IDRange = Dict{Symbol,Symbol}(Symbol("max")=>Symbol("max"), Symbol("min")=>Symbol("min")) -const _property_types_IoK8sApiExtensionsV1beta1IDRange = Dict{Symbol,String}(Symbol("max")=>"Int64", Symbol("min")=>"Int64") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IDRange }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IDRange)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IDRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IDRange[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IDRange }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IDRange[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IDRange) - (getproperty(o, Symbol("max")) === nothing) && (return false) - (getproperty(o, Symbol("min")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IDRange }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IPBlock.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IPBlock.jl deleted file mode 100644 index 7a2902a4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IPBlock.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. - - IoK8sApiExtensionsV1beta1IPBlock(; - cidr=nothing, - except=nothing, - ) - - - cidr::String : CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" - - except::Vector{String} : Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range -""" -mutable struct IoK8sApiExtensionsV1beta1IPBlock <: SwaggerModel - cidr::Any # spec type: Union{ Nothing, String } # spec name: cidr - except::Any # spec type: Union{ Nothing, Vector{String} } # spec name: except - - function IoK8sApiExtensionsV1beta1IPBlock(;cidr=nothing, except=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IPBlock, Symbol("cidr"), cidr) - setfield!(o, Symbol("cidr"), cidr) - validate_property(IoK8sApiExtensionsV1beta1IPBlock, Symbol("except"), except) - setfield!(o, Symbol("except"), except) - o - end -end # type IoK8sApiExtensionsV1beta1IPBlock - -const _property_map_IoK8sApiExtensionsV1beta1IPBlock = Dict{Symbol,Symbol}(Symbol("cidr")=>Symbol("cidr"), Symbol("except")=>Symbol("except")) -const _property_types_IoK8sApiExtensionsV1beta1IPBlock = Dict{Symbol,String}(Symbol("cidr")=>"String", Symbol("except")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IPBlock }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IPBlock)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IPBlock }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IPBlock[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IPBlock }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IPBlock[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IPBlock) - (getproperty(o, Symbol("cidr")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IPBlock }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Ingress.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Ingress.jl deleted file mode 100644 index 8eb1a5aa..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Ingress.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information. - - IoK8sApiExtensionsV1beta1Ingress(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiExtensionsV1beta1IngressSpec : Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiExtensionsV1beta1IngressStatus : Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiExtensionsV1beta1Ingress <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressStatus } # spec name: status - - function IoK8sApiExtensionsV1beta1Ingress(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiExtensionsV1beta1Ingress - -const _property_map_IoK8sApiExtensionsV1beta1Ingress = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiExtensionsV1beta1Ingress = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1IngressSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1IngressStatus") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1Ingress }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1Ingress)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1Ingress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1Ingress[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1Ingress }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1Ingress[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1Ingress) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1Ingress }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressBackend.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressBackend.jl deleted file mode 100644 index b366e064..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressBackend.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressBackend describes all endpoints for a given service and port. - - IoK8sApiExtensionsV1beta1IngressBackend(; - serviceName=nothing, - servicePort=nothing, - ) - - - serviceName::String : Specifies the name of the referenced service. - - servicePort::IoK8sApimachineryPkgUtilIntstrIntOrString : Specifies the port of the referenced service. -""" -mutable struct IoK8sApiExtensionsV1beta1IngressBackend <: SwaggerModel - serviceName::Any # spec type: Union{ Nothing, String } # spec name: serviceName - servicePort::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: servicePort - - function IoK8sApiExtensionsV1beta1IngressBackend(;serviceName=nothing, servicePort=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IngressBackend, Symbol("serviceName"), serviceName) - setfield!(o, Symbol("serviceName"), serviceName) - validate_property(IoK8sApiExtensionsV1beta1IngressBackend, Symbol("servicePort"), servicePort) - setfield!(o, Symbol("servicePort"), servicePort) - o - end -end # type IoK8sApiExtensionsV1beta1IngressBackend - -const _property_map_IoK8sApiExtensionsV1beta1IngressBackend = Dict{Symbol,Symbol}(Symbol("serviceName")=>Symbol("serviceName"), Symbol("servicePort")=>Symbol("servicePort")) -const _property_types_IoK8sApiExtensionsV1beta1IngressBackend = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("servicePort")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressBackend }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressBackend)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressBackend }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressBackend[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressBackend }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IngressBackend[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IngressBackend) - (getproperty(o, Symbol("serviceName")) === nothing) && (return false) - (getproperty(o, Symbol("servicePort")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressBackend }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressList.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressList.jl deleted file mode 100644 index 58219a52..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressList is a collection of Ingress. - - IoK8sApiExtensionsV1beta1IngressList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiExtensionsV1beta1Ingress} : Items is the list of Ingress. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiExtensionsV1beta1IngressList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1Ingress} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiExtensionsV1beta1IngressList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiExtensionsV1beta1IngressList - -const _property_map_IoK8sApiExtensionsV1beta1IngressList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiExtensionsV1beta1IngressList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1Ingress}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressList }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressList)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressList[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressList }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IngressList[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IngressList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressRule.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressRule.jl deleted file mode 100644 index 033c255b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressRule.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. - - IoK8sApiExtensionsV1beta1IngressRule(; - host=nothing, - http=nothing, - ) - - - host::String : Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. - - http::IoK8sApiExtensionsV1beta1HTTPIngressRuleValue -""" -mutable struct IoK8sApiExtensionsV1beta1IngressRule <: SwaggerModel - host::Any # spec type: Union{ Nothing, String } # spec name: host - http::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1HTTPIngressRuleValue } # spec name: http - - function IoK8sApiExtensionsV1beta1IngressRule(;host=nothing, http=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IngressRule, Symbol("host"), host) - setfield!(o, Symbol("host"), host) - validate_property(IoK8sApiExtensionsV1beta1IngressRule, Symbol("http"), http) - setfield!(o, Symbol("http"), http) - o - end -end # type IoK8sApiExtensionsV1beta1IngressRule - -const _property_map_IoK8sApiExtensionsV1beta1IngressRule = Dict{Symbol,Symbol}(Symbol("host")=>Symbol("host"), Symbol("http")=>Symbol("http")) -const _property_types_IoK8sApiExtensionsV1beta1IngressRule = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("http")=>"IoK8sApiExtensionsV1beta1HTTPIngressRuleValue") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressRule }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressRule)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressRule[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressRule }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IngressRule[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IngressRule) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressSpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressSpec.jl deleted file mode 100644 index 6e5cadb3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressSpec.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressSpec describes the Ingress the user wishes to exist. - - IoK8sApiExtensionsV1beta1IngressSpec(; - backend=nothing, - rules=nothing, - tls=nothing, - ) - - - backend::IoK8sApiExtensionsV1beta1IngressBackend : A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default. - - rules::Vector{IoK8sApiExtensionsV1beta1IngressRule} : A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. - - tls::Vector{IoK8sApiExtensionsV1beta1IngressTLS} : TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. -""" -mutable struct IoK8sApiExtensionsV1beta1IngressSpec <: SwaggerModel - backend::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressBackend } # spec name: backend - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IngressRule} } # spec name: rules - tls::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IngressTLS} } # spec name: tls - - function IoK8sApiExtensionsV1beta1IngressSpec(;backend=nothing, rules=nothing, tls=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IngressSpec, Symbol("backend"), backend) - setfield!(o, Symbol("backend"), backend) - validate_property(IoK8sApiExtensionsV1beta1IngressSpec, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - validate_property(IoK8sApiExtensionsV1beta1IngressSpec, Symbol("tls"), tls) - setfield!(o, Symbol("tls"), tls) - o - end -end # type IoK8sApiExtensionsV1beta1IngressSpec - -const _property_map_IoK8sApiExtensionsV1beta1IngressSpec = Dict{Symbol,Symbol}(Symbol("backend")=>Symbol("backend"), Symbol("rules")=>Symbol("rules"), Symbol("tls")=>Symbol("tls")) -const _property_types_IoK8sApiExtensionsV1beta1IngressSpec = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiExtensionsV1beta1IngressBackend", Symbol("rules")=>"Vector{IoK8sApiExtensionsV1beta1IngressRule}", Symbol("tls")=>"Vector{IoK8sApiExtensionsV1beta1IngressTLS}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressSpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressSpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressSpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IngressSpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IngressSpec) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressStatus.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressStatus.jl deleted file mode 100644 index 71dac2fa..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressStatus describe the current state of the Ingress. - - IoK8sApiExtensionsV1beta1IngressStatus(; - loadBalancer=nothing, - ) - - - loadBalancer::IoK8sApiCoreV1LoadBalancerStatus : LoadBalancer contains the current status of the load-balancer. -""" -mutable struct IoK8sApiExtensionsV1beta1IngressStatus <: SwaggerModel - loadBalancer::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } # spec name: loadBalancer - - function IoK8sApiExtensionsV1beta1IngressStatus(;loadBalancer=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IngressStatus, Symbol("loadBalancer"), loadBalancer) - setfield!(o, Symbol("loadBalancer"), loadBalancer) - o - end -end # type IoK8sApiExtensionsV1beta1IngressStatus - -const _property_map_IoK8sApiExtensionsV1beta1IngressStatus = Dict{Symbol,Symbol}(Symbol("loadBalancer")=>Symbol("loadBalancer")) -const _property_types_IoK8sApiExtensionsV1beta1IngressStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressStatus)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IngressStatus[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IngressStatus) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressTLS.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressTLS.jl deleted file mode 100644 index 0b78a61a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1IngressTLS.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressTLS describes the transport layer security associated with an Ingress. - - IoK8sApiExtensionsV1beta1IngressTLS(; - hosts=nothing, - secretName=nothing, - ) - - - hosts::Vector{String} : Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. - - secretName::String : SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. -""" -mutable struct IoK8sApiExtensionsV1beta1IngressTLS <: SwaggerModel - hosts::Any # spec type: Union{ Nothing, Vector{String} } # spec name: hosts - secretName::Any # spec type: Union{ Nothing, String } # spec name: secretName - - function IoK8sApiExtensionsV1beta1IngressTLS(;hosts=nothing, secretName=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1IngressTLS, Symbol("hosts"), hosts) - setfield!(o, Symbol("hosts"), hosts) - validate_property(IoK8sApiExtensionsV1beta1IngressTLS, Symbol("secretName"), secretName) - setfield!(o, Symbol("secretName"), secretName) - o - end -end # type IoK8sApiExtensionsV1beta1IngressTLS - -const _property_map_IoK8sApiExtensionsV1beta1IngressTLS = Dict{Symbol,Symbol}(Symbol("hosts")=>Symbol("hosts"), Symbol("secretName")=>Symbol("secretName")) -const _property_types_IoK8sApiExtensionsV1beta1IngressTLS = Dict{Symbol,String}(Symbol("hosts")=>"Vector{String}", Symbol("secretName")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressTLS }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressTLS)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressTLS }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressTLS[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressTLS }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1IngressTLS[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1IngressTLS) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressTLS }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl deleted file mode 100644 index 195240e5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods - - IoK8sApiExtensionsV1beta1NetworkPolicy(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiExtensionsV1beta1NetworkPolicySpec : Specification of the desired behavior for this NetworkPolicy. -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicy <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1NetworkPolicySpec } # spec name: spec - - function IoK8sApiExtensionsV1beta1NetworkPolicy(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicy - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicy = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1NetworkPolicySpec") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicy }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicy)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicy[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicy }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicy[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicy) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl deleted file mode 100644 index a2b93da1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 - - IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule(; - ports=nothing, - to=nothing, - ) - - - ports::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} : List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. - - to::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} : List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule <: SwaggerModel - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} } # spec name: ports - to::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} } # spec name: to - - function IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule(;ports=nothing, to=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule, Symbol("to"), to) - setfield!(o, Symbol("to"), to) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule = Dict{Symbol,Symbol}(Symbol("ports")=>Symbol("ports"), Symbol("to")=>Symbol("to")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule = Dict{Symbol,String}(Symbol("ports")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort}", Symbol("to")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl deleted file mode 100644 index 4bd14652..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from. - - IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule(; - from=nothing, - ports=nothing, - ) - - - from::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} : List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. - - ports::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} : List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule <: SwaggerModel - from::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} } # spec name: from - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} } # spec name: ports - - function IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule(;from=nothing, ports=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule, Symbol("from"), from) - setfield!(o, Symbol("from"), from) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule = Dict{Symbol,Symbol}(Symbol("from")=>Symbol("from"), Symbol("ports")=>Symbol("ports")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule = Dict{Symbol,String}(Symbol("from")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer}", Symbol("ports")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl deleted file mode 100644 index f506c619..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects. - - IoK8sApiExtensionsV1beta1NetworkPolicyList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiExtensionsV1beta1NetworkPolicy} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicy} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiExtensionsV1beta1NetworkPolicyList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicyList - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyList }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicyList)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyList[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyList }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyList[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl deleted file mode 100644 index 7b78005d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer. - - IoK8sApiExtensionsV1beta1NetworkPolicyPeer(; - ipBlock=nothing, - namespaceSelector=nothing, - podSelector=nothing, - ) - - - ipBlock::IoK8sApiExtensionsV1beta1IPBlock : IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyPeer <: SwaggerModel - ipBlock::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IPBlock } # spec name: ipBlock - namespaceSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: namespaceSelector - podSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: podSelector - - function IoK8sApiExtensionsV1beta1NetworkPolicyPeer(;ipBlock=nothing, namespaceSelector=nothing, podSelector=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPeer, Symbol("ipBlock"), ipBlock) - setfield!(o, Symbol("ipBlock"), ipBlock) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPeer, Symbol("namespaceSelector"), namespaceSelector) - setfield!(o, Symbol("namespaceSelector"), namespaceSelector) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPeer, Symbol("podSelector"), podSelector) - setfield!(o, Symbol("podSelector"), podSelector) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicyPeer - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyPeer = Dict{Symbol,Symbol}(Symbol("ipBlock")=>Symbol("ipBlock"), Symbol("namespaceSelector")=>Symbol("namespaceSelector"), Symbol("podSelector")=>Symbol("podSelector")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPeer = Dict{Symbol,String}(Symbol("ipBlock")=>"IoK8sApiExtensionsV1beta1IPBlock", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPeer }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicyPeer)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPeer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPeer[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPeer }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyPeer[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyPeer) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPeer }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl deleted file mode 100644 index 94633c90..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort. - - IoK8sApiExtensionsV1beta1NetworkPolicyPort(; - port=nothing, - protocol=nothing, - ) - - - port::IoK8sApimachineryPkgUtilIntstrIntOrString : If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. - - protocol::String : Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyPort <: SwaggerModel - port::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: port - protocol::Any # spec type: Union{ Nothing, String } # spec name: protocol - - function IoK8sApiExtensionsV1beta1NetworkPolicyPort(;port=nothing, protocol=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPort, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPort, Symbol("protocol"), protocol) - setfield!(o, Symbol("protocol"), protocol) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicyPort - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyPort = Dict{Symbol,Symbol}(Symbol("port")=>Symbol("port"), Symbol("protocol")=>Symbol("protocol")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPort = Dict{Symbol,String}(Symbol("port")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("protocol")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPort }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicyPort)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPort[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPort }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicyPort[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyPort) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPort }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl deleted file mode 100644 index 9500f591..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec. - - IoK8sApiExtensionsV1beta1NetworkPolicySpec(; - egress=nothing, - ingress=nothing, - podSelector=nothing, - policyTypes=nothing, - ) - - - egress::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule} : List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 - - ingress::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule} : List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). - - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. - - policyTypes::Vector{String} : List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 -""" -mutable struct IoK8sApiExtensionsV1beta1NetworkPolicySpec <: SwaggerModel - egress::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule} } # spec name: egress - ingress::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule} } # spec name: ingress - podSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: podSelector - policyTypes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: policyTypes - - function IoK8sApiExtensionsV1beta1NetworkPolicySpec(;egress=nothing, ingress=nothing, podSelector=nothing, policyTypes=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("egress"), egress) - setfield!(o, Symbol("egress"), egress) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("ingress"), ingress) - setfield!(o, Symbol("ingress"), ingress) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("podSelector"), podSelector) - setfield!(o, Symbol("podSelector"), podSelector) - validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("policyTypes"), policyTypes) - setfield!(o, Symbol("policyTypes"), policyTypes) - o - end -end # type IoK8sApiExtensionsV1beta1NetworkPolicySpec - -const _property_map_IoK8sApiExtensionsV1beta1NetworkPolicySpec = Dict{Symbol,Symbol}(Symbol("egress")=>Symbol("egress"), Symbol("ingress")=>Symbol("ingress"), Symbol("podSelector")=>Symbol("podSelector"), Symbol("policyTypes")=>Symbol("policyTypes")) -const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicySpec = Dict{Symbol,String}(Symbol("egress")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule}", Symbol("ingress")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule}", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("policyTypes")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicySpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1NetworkPolicySpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicySpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicySpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1NetworkPolicySpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicySpec) - (getproperty(o, Symbol("podSelector")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicySpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl deleted file mode 100644 index 69def7ed..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead. - - IoK8sApiExtensionsV1beta1PodSecurityPolicy(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiExtensionsV1beta1PodSecurityPolicySpec : spec defines the policy enforced. -""" -mutable struct IoK8sApiExtensionsV1beta1PodSecurityPolicy <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1PodSecurityPolicySpec } # spec name: spec - - function IoK8sApiExtensionsV1beta1PodSecurityPolicy(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiExtensionsV1beta1PodSecurityPolicy - -const _property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicy = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1PodSecurityPolicySpec") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicy }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicy)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicy[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicy }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicy[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1PodSecurityPolicy) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl deleted file mode 100644 index 1f1f54ec..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead. - - IoK8sApiExtensionsV1beta1PodSecurityPolicyList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiExtensionsV1beta1PodSecurityPolicy} : items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiExtensionsV1beta1PodSecurityPolicyList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1PodSecurityPolicy} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiExtensionsV1beta1PodSecurityPolicyList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiExtensionsV1beta1PodSecurityPolicyList - -const _property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicyList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1PodSecurityPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicyList }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicyList)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicyList[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicyList }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicyList[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1PodSecurityPolicyList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicyList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl deleted file mode 100644 index 870c9f4d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl +++ /dev/null @@ -1,154 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead. - - IoK8sApiExtensionsV1beta1PodSecurityPolicySpec(; - allowPrivilegeEscalation=nothing, - allowedCSIDrivers=nothing, - allowedCapabilities=nothing, - allowedFlexVolumes=nothing, - allowedHostPaths=nothing, - allowedProcMountTypes=nothing, - allowedUnsafeSysctls=nothing, - defaultAddCapabilities=nothing, - defaultAllowPrivilegeEscalation=nothing, - forbiddenSysctls=nothing, - fsGroup=nothing, - hostIPC=nothing, - hostNetwork=nothing, - hostPID=nothing, - hostPorts=nothing, - privileged=nothing, - readOnlyRootFilesystem=nothing, - requiredDropCapabilities=nothing, - runAsGroup=nothing, - runAsUser=nothing, - runtimeClass=nothing, - seLinux=nothing, - supplementalGroups=nothing, - volumes=nothing, - ) - - - allowPrivilegeEscalation::Bool : allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. - - allowedCSIDrivers::Vector{IoK8sApiExtensionsV1beta1AllowedCSIDriver} : AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. - - allowedCapabilities::Vector{String} : allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. - - allowedFlexVolumes::Vector{IoK8sApiExtensionsV1beta1AllowedFlexVolume} : allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. - - allowedHostPaths::Vector{IoK8sApiExtensionsV1beta1AllowedHostPath} : allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. - - allowedProcMountTypes::Vector{String} : AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. - - allowedUnsafeSysctls::Vector{String} : allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. - - defaultAddCapabilities::Vector{String} : defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. - - defaultAllowPrivilegeEscalation::Bool : defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. - - forbiddenSysctls::Vector{String} : forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. - - fsGroup::IoK8sApiExtensionsV1beta1FSGroupStrategyOptions : fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. - - hostIPC::Bool : hostIPC determines if the policy allows the use of HostIPC in the pod spec. - - hostNetwork::Bool : hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. - - hostPID::Bool : hostPID determines if the policy allows the use of HostPID in the pod spec. - - hostPorts::Vector{IoK8sApiExtensionsV1beta1HostPortRange} : hostPorts determines which host port ranges are allowed to be exposed. - - privileged::Bool : privileged determines if a pod can request to be run as privileged. - - readOnlyRootFilesystem::Bool : readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. - - requiredDropCapabilities::Vector{String} : requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. - - runAsGroup::IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions : RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. - - runAsUser::IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions : runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. - - runtimeClass::IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions : runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. - - seLinux::IoK8sApiExtensionsV1beta1SELinuxStrategyOptions : seLinux is the strategy that will dictate the allowable labels that may be set. - - supplementalGroups::IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions : supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. - - volumes::Vector{String} : volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. -""" -mutable struct IoK8sApiExtensionsV1beta1PodSecurityPolicySpec <: SwaggerModel - allowPrivilegeEscalation::Any # spec type: Union{ Nothing, Bool } # spec name: allowPrivilegeEscalation - allowedCSIDrivers::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1AllowedCSIDriver} } # spec name: allowedCSIDrivers - allowedCapabilities::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedCapabilities - allowedFlexVolumes::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1AllowedFlexVolume} } # spec name: allowedFlexVolumes - allowedHostPaths::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1AllowedHostPath} } # spec name: allowedHostPaths - allowedProcMountTypes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedProcMountTypes - allowedUnsafeSysctls::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedUnsafeSysctls - defaultAddCapabilities::Any # spec type: Union{ Nothing, Vector{String} } # spec name: defaultAddCapabilities - defaultAllowPrivilegeEscalation::Any # spec type: Union{ Nothing, Bool } # spec name: defaultAllowPrivilegeEscalation - forbiddenSysctls::Any # spec type: Union{ Nothing, Vector{String} } # spec name: forbiddenSysctls - fsGroup::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1FSGroupStrategyOptions } # spec name: fsGroup - hostIPC::Any # spec type: Union{ Nothing, Bool } # spec name: hostIPC - hostNetwork::Any # spec type: Union{ Nothing, Bool } # spec name: hostNetwork - hostPID::Any # spec type: Union{ Nothing, Bool } # spec name: hostPID - hostPorts::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1HostPortRange} } # spec name: hostPorts - privileged::Any # spec type: Union{ Nothing, Bool } # spec name: privileged - readOnlyRootFilesystem::Any # spec type: Union{ Nothing, Bool } # spec name: readOnlyRootFilesystem - requiredDropCapabilities::Any # spec type: Union{ Nothing, Vector{String} } # spec name: requiredDropCapabilities - runAsGroup::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions } # spec name: runAsGroup - runAsUser::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions } # spec name: runAsUser - runtimeClass::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions } # spec name: runtimeClass - seLinux::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1SELinuxStrategyOptions } # spec name: seLinux - supplementalGroups::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions } # spec name: supplementalGroups - volumes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: volumes - - function IoK8sApiExtensionsV1beta1PodSecurityPolicySpec(;allowPrivilegeEscalation=nothing, allowedCSIDrivers=nothing, allowedCapabilities=nothing, allowedFlexVolumes=nothing, allowedHostPaths=nothing, allowedProcMountTypes=nothing, allowedUnsafeSysctls=nothing, defaultAddCapabilities=nothing, defaultAllowPrivilegeEscalation=nothing, forbiddenSysctls=nothing, fsGroup=nothing, hostIPC=nothing, hostNetwork=nothing, hostPID=nothing, hostPorts=nothing, privileged=nothing, readOnlyRootFilesystem=nothing, requiredDropCapabilities=nothing, runAsGroup=nothing, runAsUser=nothing, runtimeClass=nothing, seLinux=nothing, supplementalGroups=nothing, volumes=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) - setfield!(o, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedCSIDrivers"), allowedCSIDrivers) - setfield!(o, Symbol("allowedCSIDrivers"), allowedCSIDrivers) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedCapabilities"), allowedCapabilities) - setfield!(o, Symbol("allowedCapabilities"), allowedCapabilities) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedFlexVolumes"), allowedFlexVolumes) - setfield!(o, Symbol("allowedFlexVolumes"), allowedFlexVolumes) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedHostPaths"), allowedHostPaths) - setfield!(o, Symbol("allowedHostPaths"), allowedHostPaths) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedProcMountTypes"), allowedProcMountTypes) - setfield!(o, Symbol("allowedProcMountTypes"), allowedProcMountTypes) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedUnsafeSysctls"), allowedUnsafeSysctls) - setfield!(o, Symbol("allowedUnsafeSysctls"), allowedUnsafeSysctls) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("defaultAddCapabilities"), defaultAddCapabilities) - setfield!(o, Symbol("defaultAddCapabilities"), defaultAddCapabilities) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("defaultAllowPrivilegeEscalation"), defaultAllowPrivilegeEscalation) - setfield!(o, Symbol("defaultAllowPrivilegeEscalation"), defaultAllowPrivilegeEscalation) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("forbiddenSysctls"), forbiddenSysctls) - setfield!(o, Symbol("forbiddenSysctls"), forbiddenSysctls) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("fsGroup"), fsGroup) - setfield!(o, Symbol("fsGroup"), fsGroup) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostIPC"), hostIPC) - setfield!(o, Symbol("hostIPC"), hostIPC) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostNetwork"), hostNetwork) - setfield!(o, Symbol("hostNetwork"), hostNetwork) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostPID"), hostPID) - setfield!(o, Symbol("hostPID"), hostPID) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostPorts"), hostPorts) - setfield!(o, Symbol("hostPorts"), hostPorts) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("privileged"), privileged) - setfield!(o, Symbol("privileged"), privileged) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) - setfield!(o, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("requiredDropCapabilities"), requiredDropCapabilities) - setfield!(o, Symbol("requiredDropCapabilities"), requiredDropCapabilities) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("runAsGroup"), runAsGroup) - setfield!(o, Symbol("runAsGroup"), runAsGroup) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("runAsUser"), runAsUser) - setfield!(o, Symbol("runAsUser"), runAsUser) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("runtimeClass"), runtimeClass) - setfield!(o, Symbol("runtimeClass"), runtimeClass) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("seLinux"), seLinux) - setfield!(o, Symbol("seLinux"), seLinux) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("supplementalGroups"), supplementalGroups) - setfield!(o, Symbol("supplementalGroups"), supplementalGroups) - validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("volumes"), volumes) - setfield!(o, Symbol("volumes"), volumes) - o - end -end # type IoK8sApiExtensionsV1beta1PodSecurityPolicySpec - -const _property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec = Dict{Symbol,Symbol}(Symbol("allowPrivilegeEscalation")=>Symbol("allowPrivilegeEscalation"), Symbol("allowedCSIDrivers")=>Symbol("allowedCSIDrivers"), Symbol("allowedCapabilities")=>Symbol("allowedCapabilities"), Symbol("allowedFlexVolumes")=>Symbol("allowedFlexVolumes"), Symbol("allowedHostPaths")=>Symbol("allowedHostPaths"), Symbol("allowedProcMountTypes")=>Symbol("allowedProcMountTypes"), Symbol("allowedUnsafeSysctls")=>Symbol("allowedUnsafeSysctls"), Symbol("defaultAddCapabilities")=>Symbol("defaultAddCapabilities"), Symbol("defaultAllowPrivilegeEscalation")=>Symbol("defaultAllowPrivilegeEscalation"), Symbol("forbiddenSysctls")=>Symbol("forbiddenSysctls"), Symbol("fsGroup")=>Symbol("fsGroup"), Symbol("hostIPC")=>Symbol("hostIPC"), Symbol("hostNetwork")=>Symbol("hostNetwork"), Symbol("hostPID")=>Symbol("hostPID"), Symbol("hostPorts")=>Symbol("hostPorts"), Symbol("privileged")=>Symbol("privileged"), Symbol("readOnlyRootFilesystem")=>Symbol("readOnlyRootFilesystem"), Symbol("requiredDropCapabilities")=>Symbol("requiredDropCapabilities"), Symbol("runAsGroup")=>Symbol("runAsGroup"), Symbol("runAsUser")=>Symbol("runAsUser"), Symbol("runtimeClass")=>Symbol("runtimeClass"), Symbol("seLinux")=>Symbol("seLinux"), Symbol("supplementalGroups")=>Symbol("supplementalGroups"), Symbol("volumes")=>Symbol("volumes")) -const _property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec = Dict{Symbol,String}(Symbol("allowPrivilegeEscalation")=>"Bool", Symbol("allowedCSIDrivers")=>"Vector{IoK8sApiExtensionsV1beta1AllowedCSIDriver}", Symbol("allowedCapabilities")=>"Vector{String}", Symbol("allowedFlexVolumes")=>"Vector{IoK8sApiExtensionsV1beta1AllowedFlexVolume}", Symbol("allowedHostPaths")=>"Vector{IoK8sApiExtensionsV1beta1AllowedHostPath}", Symbol("allowedProcMountTypes")=>"Vector{String}", Symbol("allowedUnsafeSysctls")=>"Vector{String}", Symbol("defaultAddCapabilities")=>"Vector{String}", Symbol("defaultAllowPrivilegeEscalation")=>"Bool", Symbol("forbiddenSysctls")=>"Vector{String}", Symbol("fsGroup")=>"IoK8sApiExtensionsV1beta1FSGroupStrategyOptions", Symbol("hostIPC")=>"Bool", Symbol("hostNetwork")=>"Bool", Symbol("hostPID")=>"Bool", Symbol("hostPorts")=>"Vector{IoK8sApiExtensionsV1beta1HostPortRange}", Symbol("privileged")=>"Bool", Symbol("readOnlyRootFilesystem")=>"Bool", Symbol("requiredDropCapabilities")=>"Vector{String}", Symbol("runAsGroup")=>"IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions", Symbol("runAsUser")=>"IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions", Symbol("runtimeClass")=>"IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions", Symbol("seLinux")=>"IoK8sApiExtensionsV1beta1SELinuxStrategyOptions", Symbol("supplementalGroups")=>"IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions", Symbol("volumes")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicySpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicySpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1PodSecurityPolicySpec) - (getproperty(o, Symbol("fsGroup")) === nothing) && (return false) - (getproperty(o, Symbol("runAsUser")) === nothing) && (return false) - (getproperty(o, Symbol("seLinux")) === nothing) && (return false) - (getproperty(o, Symbol("supplementalGroups")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicySpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl deleted file mode 100644 index 0562e6a8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. - - IoK8sApiExtensionsV1beta1ReplicaSet(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiExtensionsV1beta1ReplicaSetSpec : Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiExtensionsV1beta1ReplicaSetStatus : Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiExtensionsV1beta1ReplicaSet <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ReplicaSetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ReplicaSetStatus } # spec name: status - - function IoK8sApiExtensionsV1beta1ReplicaSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiExtensionsV1beta1ReplicaSet - -const _property_map_IoK8sApiExtensionsV1beta1ReplicaSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiExtensionsV1beta1ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1ReplicaSetSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1ReplicaSetStatus") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ReplicaSet)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSet[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ReplicaSet[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSet) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl deleted file mode 100644 index 25a27d94..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetCondition describes the state of a replica set at a certain point. - - IoK8sApiExtensionsV1beta1ReplicaSetCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : The last time the condition transitioned from one status to another. - - message::String : A human readable message indicating details about the transition. - - reason::String : The reason for the condition's last transition. - - status::String : Status of the condition, one of True, False, Unknown. - - type::String : Type of replica set condition. -""" -mutable struct IoK8sApiExtensionsV1beta1ReplicaSetCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiExtensionsV1beta1ReplicaSetCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiExtensionsV1beta1ReplicaSetCondition - -const _property_map_IoK8sApiExtensionsV1beta1ReplicaSetCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetCondition }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ReplicaSetCondition)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetCondition }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ReplicaSetCondition[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl deleted file mode 100644 index 6c438004..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetList is a collection of ReplicaSets. - - IoK8sApiExtensionsV1beta1ReplicaSetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiExtensionsV1beta1ReplicaSet} : List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApiExtensionsV1beta1ReplicaSetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1ReplicaSet} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiExtensionsV1beta1ReplicaSetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiExtensionsV1beta1ReplicaSetList - -const _property_map_IoK8sApiExtensionsV1beta1ReplicaSetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1ReplicaSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetList }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ReplicaSetList)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetList[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetList }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ReplicaSetList[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl deleted file mode 100644 index a94bb6be..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetSpec is the specification of a ReplicaSet. - - IoK8sApiExtensionsV1beta1ReplicaSetSpec(; - minReadySeconds=nothing, - replicas=nothing, - selector=nothing, - template=nothing, - ) - - - minReadySeconds::Int32 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) - - replicas::Int32 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - - template::IoK8sApiCoreV1PodTemplateSpec : Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template -""" -mutable struct IoK8sApiExtensionsV1beta1ReplicaSetSpec <: SwaggerModel - minReadySeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: minReadySeconds - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - template::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } # spec name: template - - function IoK8sApiExtensionsV1beta1ReplicaSetSpec(;minReadySeconds=nothing, replicas=nothing, selector=nothing, template=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("minReadySeconds"), minReadySeconds) - setfield!(o, Symbol("minReadySeconds"), minReadySeconds) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("template"), template) - setfield!(o, Symbol("template"), template) - o - end -end # type IoK8sApiExtensionsV1beta1ReplicaSetSpec - -const _property_map_IoK8sApiExtensionsV1beta1ReplicaSetSpec = Dict{Symbol,Symbol}(Symbol("minReadySeconds")=>Symbol("minReadySeconds"), Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("template")=>Symbol("template")) -const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int32", Symbol("replicas")=>"Int32", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetSpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ReplicaSetSpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetSpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ReplicaSetSpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetSpec) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl deleted file mode 100644 index 916530ba..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ReplicaSetStatus represents the current status of a ReplicaSet. - - IoK8sApiExtensionsV1beta1ReplicaSetStatus(; - availableReplicas=nothing, - conditions=nothing, - fullyLabeledReplicas=nothing, - observedGeneration=nothing, - readyReplicas=nothing, - replicas=nothing, - ) - - - availableReplicas::Int32 : The number of available replicas (ready for at least minReadySeconds) for this replica set. - - conditions::Vector{IoK8sApiExtensionsV1beta1ReplicaSetCondition} : Represents the latest available observations of a replica set's current state. - - fullyLabeledReplicas::Int32 : The number of pods that have labels matching the labels of the pod template of the replicaset. - - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed ReplicaSet. - - readyReplicas::Int32 : The number of ready replicas for this replica set. - - replicas::Int32 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller -""" -mutable struct IoK8sApiExtensionsV1beta1ReplicaSetStatus <: SwaggerModel - availableReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: availableReplicas - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1ReplicaSetCondition} } # spec name: conditions - fullyLabeledReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: fullyLabeledReplicas - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - readyReplicas::Any # spec type: Union{ Nothing, Int32 } # spec name: readyReplicas - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiExtensionsV1beta1ReplicaSetStatus(;availableReplicas=nothing, conditions=nothing, fullyLabeledReplicas=nothing, observedGeneration=nothing, readyReplicas=nothing, replicas=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("availableReplicas"), availableReplicas) - setfield!(o, Symbol("availableReplicas"), availableReplicas) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - setfield!(o, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("readyReplicas"), readyReplicas) - setfield!(o, Symbol("readyReplicas"), readyReplicas) - validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiExtensionsV1beta1ReplicaSetStatus - -const _property_map_IoK8sApiExtensionsV1beta1ReplicaSetStatus = Dict{Symbol,Symbol}(Symbol("availableReplicas")=>Symbol("availableReplicas"), Symbol("conditions")=>Symbol("conditions"), Symbol("fullyLabeledReplicas")=>Symbol("fullyLabeledReplicas"), Symbol("observedGeneration")=>Symbol("observedGeneration"), Symbol("readyReplicas")=>Symbol("readyReplicas"), Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int32", Symbol("conditions")=>"Vector{IoK8sApiExtensionsV1beta1ReplicaSetCondition}", Symbol("fullyLabeledReplicas")=>"Int32", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int32", Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetStatus }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ReplicaSetStatus)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetStatus }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ReplicaSetStatus[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl deleted file mode 100644 index e5f25852..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED. - - IoK8sApiExtensionsV1beta1RollbackConfig(; - revision=nothing, - ) - - - revision::Int64 : The revision to rollback to. If set to 0, rollback to the last revision. -""" -mutable struct IoK8sApiExtensionsV1beta1RollbackConfig <: SwaggerModel - revision::Any # spec type: Union{ Nothing, Int64 } # spec name: revision - - function IoK8sApiExtensionsV1beta1RollbackConfig(;revision=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1RollbackConfig, Symbol("revision"), revision) - setfield!(o, Symbol("revision"), revision) - o - end -end # type IoK8sApiExtensionsV1beta1RollbackConfig - -const _property_map_IoK8sApiExtensionsV1beta1RollbackConfig = Dict{Symbol,Symbol}(Symbol("revision")=>Symbol("revision")) -const _property_types_IoK8sApiExtensionsV1beta1RollbackConfig = Dict{Symbol,String}(Symbol("revision")=>"Int64") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1RollbackConfig }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1RollbackConfig)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1RollbackConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RollbackConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1RollbackConfig }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1RollbackConfig[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1RollbackConfig) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1RollbackConfig }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl deleted file mode 100644 index f2dc6f20..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of daemon set rolling update. - - IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet(; - maxUnavailable=nothing, - ) - - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. -""" -mutable struct IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet <: SwaggerModel - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet(;maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet - -const _property_map_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet = Dict{Symbol,Symbol}(Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet = Dict{Symbol,String}(Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl deleted file mode 100644 index 89a9bb9f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Spec to control the desired behavior of rolling update. - - IoK8sApiExtensionsV1beta1RollingUpdateDeployment(; - maxSurge=nothing, - maxUnavailable=nothing, - ) - - - maxSurge::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. -""" -mutable struct IoK8sApiExtensionsV1beta1RollingUpdateDeployment <: SwaggerModel - maxSurge::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxSurge - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - - function IoK8sApiExtensionsV1beta1RollingUpdateDeployment(;maxSurge=nothing, maxUnavailable=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) - setfield!(o, Symbol("maxSurge"), maxSurge) - validate_property(IoK8sApiExtensionsV1beta1RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - o - end -end # type IoK8sApiExtensionsV1beta1RollingUpdateDeployment - -const _property_map_IoK8sApiExtensionsV1beta1RollingUpdateDeployment = Dict{Symbol,Symbol}(Symbol("maxSurge")=>Symbol("maxSurge"), Symbol("maxUnavailable")=>Symbol("maxUnavailable")) -const _property_types_IoK8sApiExtensionsV1beta1RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDeployment }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1RollingUpdateDeployment)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RollingUpdateDeployment[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDeployment }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1RollingUpdateDeployment[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1RollingUpdateDeployment) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDeployment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl deleted file mode 100644 index 22155fec..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead. - - IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate the allowable RunAsGroup values that may be set. -""" -mutable struct IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions - -const _property_map_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions) - (getproperty(o, Symbol("rule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl deleted file mode 100644 index 6095d30a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead. - - IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate the allowable RunAsUser values that may be set. -""" -mutable struct IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions - -const _property_map_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions) - (getproperty(o, Symbol("rule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl deleted file mode 100644 index ba9227ca..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod. - - IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions(; - allowedRuntimeClassNames=nothing, - defaultRuntimeClassName=nothing, - ) - - - allowedRuntimeClassNames::Vector{String} : allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset. - - defaultRuntimeClassName::String : defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. -""" -mutable struct IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions <: SwaggerModel - allowedRuntimeClassNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedRuntimeClassNames - defaultRuntimeClassName::Any # spec type: Union{ Nothing, String } # spec name: defaultRuntimeClassName - - function IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions(;allowedRuntimeClassNames=nothing, defaultRuntimeClassName=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions, Symbol("allowedRuntimeClassNames"), allowedRuntimeClassNames) - setfield!(o, Symbol("allowedRuntimeClassNames"), allowedRuntimeClassNames) - validate_property(IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions, Symbol("defaultRuntimeClassName"), defaultRuntimeClassName) - setfield!(o, Symbol("defaultRuntimeClassName"), defaultRuntimeClassName) - o - end -end # type IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions - -const _property_map_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions = Dict{Symbol,Symbol}(Symbol("allowedRuntimeClassNames")=>Symbol("allowedRuntimeClassNames"), Symbol("defaultRuntimeClassName")=>Symbol("defaultRuntimeClassName")) -const _property_types_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions = Dict{Symbol,String}(Symbol("allowedRuntimeClassNames")=>"Vector{String}", Symbol("defaultRuntimeClassName")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions) - (getproperty(o, Symbol("allowedRuntimeClassNames")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl deleted file mode 100644 index 1d83ed85..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead. - - IoK8sApiExtensionsV1beta1SELinuxStrategyOptions(; - rule=nothing, - seLinuxOptions=nothing, - ) - - - rule::String : rule is the strategy that will dictate the allowable labels that may be set. - - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions : seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -""" -mutable struct IoK8sApiExtensionsV1beta1SELinuxStrategyOptions <: SwaggerModel - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - seLinuxOptions::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } # spec name: seLinuxOptions - - function IoK8sApiExtensionsV1beta1SELinuxStrategyOptions(;rule=nothing, seLinuxOptions=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1SELinuxStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - validate_property(IoK8sApiExtensionsV1beta1SELinuxStrategyOptions, Symbol("seLinuxOptions"), seLinuxOptions) - setfield!(o, Symbol("seLinuxOptions"), seLinuxOptions) - o - end -end # type IoK8sApiExtensionsV1beta1SELinuxStrategyOptions - -const _property_map_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions = Dict{Symbol,Symbol}(Symbol("rule")=>Symbol("rule"), Symbol("seLinuxOptions")=>Symbol("seLinuxOptions")) -const _property_types_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions = Dict{Symbol,String}(Symbol("rule")=>"String", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1SELinuxStrategyOptions }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1SELinuxStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1SELinuxStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1SELinuxStrategyOptions) - (getproperty(o, Symbol("rule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1SELinuxStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Scale.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Scale.jl deleted file mode 100644 index 87d53baa..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1Scale.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""represents a scaling request for a resource. - - IoK8sApiExtensionsV1beta1Scale(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - spec::IoK8sApiExtensionsV1beta1ScaleSpec : defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - - status::IoK8sApiExtensionsV1beta1ScaleStatus : current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. -""" -mutable struct IoK8sApiExtensionsV1beta1Scale <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ScaleSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ScaleStatus } # spec name: status - - function IoK8sApiExtensionsV1beta1Scale(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiExtensionsV1beta1Scale - -const _property_map_IoK8sApiExtensionsV1beta1Scale = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiExtensionsV1beta1Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1ScaleSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1ScaleStatus") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1Scale }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1Scale)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1Scale[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1Scale }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1Scale[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1Scale) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1Scale }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl deleted file mode 100644 index 86b3a3a7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""describes the attributes of a scale subresource - - IoK8sApiExtensionsV1beta1ScaleSpec(; - replicas=nothing, - ) - - - replicas::Int32 : desired number of instances for the scaled object. -""" -mutable struct IoK8sApiExtensionsV1beta1ScaleSpec <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - - function IoK8sApiExtensionsV1beta1ScaleSpec(;replicas=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ScaleSpec, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - o - end -end # type IoK8sApiExtensionsV1beta1ScaleSpec - -const _property_map_IoK8sApiExtensionsV1beta1ScaleSpec = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas")) -const _property_types_IoK8sApiExtensionsV1beta1ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int32") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ScaleSpec }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ScaleSpec)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ScaleSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ScaleSpec }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ScaleSpec[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ScaleSpec) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ScaleSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl deleted file mode 100644 index 539de77d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""represents the current status of a scale subresource. - - IoK8sApiExtensionsV1beta1ScaleStatus(; - replicas=nothing, - selector=nothing, - targetSelector=nothing, - ) - - - replicas::Int32 : actual number of observed instances of the scaled object. - - selector::Dict{String, String} : label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - - targetSelector::String : label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -""" -mutable struct IoK8sApiExtensionsV1beta1ScaleStatus <: SwaggerModel - replicas::Any # spec type: Union{ Nothing, Int32 } # spec name: replicas - selector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: selector - targetSelector::Any # spec type: Union{ Nothing, String } # spec name: targetSelector - - function IoK8sApiExtensionsV1beta1ScaleStatus(;replicas=nothing, selector=nothing, targetSelector=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1ScaleStatus, Symbol("replicas"), replicas) - setfield!(o, Symbol("replicas"), replicas) - validate_property(IoK8sApiExtensionsV1beta1ScaleStatus, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiExtensionsV1beta1ScaleStatus, Symbol("targetSelector"), targetSelector) - setfield!(o, Symbol("targetSelector"), targetSelector) - o - end -end # type IoK8sApiExtensionsV1beta1ScaleStatus - -const _property_map_IoK8sApiExtensionsV1beta1ScaleStatus = Dict{Symbol,Symbol}(Symbol("replicas")=>Symbol("replicas"), Symbol("selector")=>Symbol("selector"), Symbol("targetSelector")=>Symbol("targetSelector")) -const _property_types_IoK8sApiExtensionsV1beta1ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int32", Symbol("selector")=>"Dict{String, String}", Symbol("targetSelector")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ScaleStatus }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ScaleStatus)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ScaleStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ScaleStatus }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1ScaleStatus[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1ScaleStatus) - (getproperty(o, Symbol("replicas")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1ScaleStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl deleted file mode 100644 index 08f7f578..00000000 --- a/src/ApiImpl/api/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead. - - IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. -""" -mutable struct IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions - -const _property_map_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions[property_name] - -function check_required(o::IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions) - true -end - -function validate_property(::Type{ IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl deleted file mode 100644 index 0e160a5c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlowDistinguisherMethod specifies the method of a flow distinguisher. - - IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod(; - type=nothing, - ) - - - type::String : `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod <: SwaggerModel - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod(;type=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod - -const _property_map_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod = Dict{Symbol,Symbol}(Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod = Dict{Symbol,String}(Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl deleted file mode 100644 index 01bf42f4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". - - IoK8sApiFlowcontrolV1alpha1FlowSchema(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata - - spec::IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec : `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status - - status::IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus : `status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchema <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus } # spec name: status - - function IoK8sApiFlowcontrolV1alpha1FlowSchema(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiFlowcontrolV1alpha1FlowSchema - -const _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchema = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchema = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec", Symbol("status")=>"IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchema }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1FlowSchema)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchema }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchema[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchema }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchema[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchema) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchema }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl deleted file mode 100644 index 1e38b802..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlowSchemaCondition describes conditions for a FlowSchema. - - IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : `lastTransitionTime` is the last time the condition transitioned from one status to another. - - message::String : `message` is a human-readable message indicating details about last transition. - - reason::String : `reason` is a unique, one-word, CamelCase reason for the condition's last transition. - - status::String : `status` is the status of the condition. Can be True, False, Unknown. Required. - - type::String : `type` is the type of the condition. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition - -const _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl deleted file mode 100644 index 9bc9ac8c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlowSchemaList is a list of FlowSchema objects. - - IoK8sApiFlowcontrolV1alpha1FlowSchemaList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiFlowcontrolV1alpha1FlowSchema} : `items` is a list of FlowSchemas. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata -""" -mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1FlowSchema} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiFlowcontrolV1alpha1FlowSchemaList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaList - -const _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiFlowcontrolV1alpha1FlowSchema}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaList }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaList)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaList[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaList }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaList[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl deleted file mode 100644 index 78dc93fb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlowSchemaSpec describes how the FlowSchema's specification looks like. - - IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec(; - distinguisherMethod=nothing, - matchingPrecedence=nothing, - priorityLevelConfiguration=nothing, - rules=nothing, - ) - - - distinguisherMethod::IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod : `distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string. - - matchingPrecedence::Int32 : `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default. - - priorityLevelConfiguration::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference : `priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required. - - rules::Vector{IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects} : `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec <: SwaggerModel - distinguisherMethod::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod } # spec name: distinguisherMethod - matchingPrecedence::Any # spec type: Union{ Nothing, Int32 } # spec name: matchingPrecedence - priorityLevelConfiguration::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference } # spec name: priorityLevelConfiguration - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects} } # spec name: rules - - function IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec(;distinguisherMethod=nothing, matchingPrecedence=nothing, priorityLevelConfiguration=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("distinguisherMethod"), distinguisherMethod) - setfield!(o, Symbol("distinguisherMethod"), distinguisherMethod) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("matchingPrecedence"), matchingPrecedence) - setfield!(o, Symbol("matchingPrecedence"), matchingPrecedence) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("priorityLevelConfiguration"), priorityLevelConfiguration) - setfield!(o, Symbol("priorityLevelConfiguration"), priorityLevelConfiguration) - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec - -const _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec = Dict{Symbol,Symbol}(Symbol("distinguisherMethod")=>Symbol("distinguisherMethod"), Symbol("matchingPrecedence")=>Symbol("matchingPrecedence"), Symbol("priorityLevelConfiguration")=>Symbol("priorityLevelConfiguration"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec = Dict{Symbol,String}(Symbol("distinguisherMethod")=>"IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod", Symbol("matchingPrecedence")=>"Int32", Symbol("priorityLevelConfiguration")=>"IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference", Symbol("rules")=>"Vector{IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects}") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec) - (getproperty(o, Symbol("priorityLevelConfiguration")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl deleted file mode 100644 index 79cbda23..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FlowSchemaStatus represents the current state of a FlowSchema. - - IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus(; - conditions=nothing, - ) - - - conditions::Vector{IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition} : `conditions` is a list of the current states of FlowSchema. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition} } # spec name: conditions - - function IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus(;conditions=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - o - end -end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus - -const _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions")) -const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition}") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl deleted file mode 100644 index 36678a1c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""GroupSubject holds detailed information for group-kind subject. - - IoK8sApiFlowcontrolV1alpha1GroupSubject(; - name=nothing, - ) - - - name::String : name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1GroupSubject <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiFlowcontrolV1alpha1GroupSubject(;name=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1GroupSubject, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiFlowcontrolV1alpha1GroupSubject - -const _property_map_IoK8sApiFlowcontrolV1alpha1GroupSubject = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiFlowcontrolV1alpha1GroupSubject = Dict{Symbol,String}(Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1GroupSubject }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1GroupSubject)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1GroupSubject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1GroupSubject[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1GroupSubject }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1GroupSubject[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1GroupSubject) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1GroupSubject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl deleted file mode 100644 index 5262b5f4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LimitResponse defines how to handle requests that can not be executed right now. - - IoK8sApiFlowcontrolV1alpha1LimitResponse(; - queuing=nothing, - type=nothing, - ) - - - queuing::IoK8sApiFlowcontrolV1alpha1QueuingConfiguration : `queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`. - - type::String : `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1LimitResponse <: SwaggerModel - queuing::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1QueuingConfiguration } # spec name: queuing - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiFlowcontrolV1alpha1LimitResponse(;queuing=nothing, type=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1LimitResponse, Symbol("queuing"), queuing) - setfield!(o, Symbol("queuing"), queuing) - validate_property(IoK8sApiFlowcontrolV1alpha1LimitResponse, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiFlowcontrolV1alpha1LimitResponse - -const _property_map_IoK8sApiFlowcontrolV1alpha1LimitResponse = Dict{Symbol,Symbol}(Symbol("queuing")=>Symbol("queuing"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiFlowcontrolV1alpha1LimitResponse = Dict{Symbol,String}(Symbol("queuing")=>"IoK8sApiFlowcontrolV1alpha1QueuingConfiguration", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1LimitResponse }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1LimitResponse)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1LimitResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1LimitResponse[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1LimitResponse }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1LimitResponse[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1LimitResponse) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1LimitResponse }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl deleted file mode 100644 index f7b48cb6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: * How are requests for this priority level limited? * What should be done with requests that exceed the limit? - - IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration(; - assuredConcurrencyShares=nothing, - limitResponse=nothing, - ) - - - assuredConcurrencyShares::Int32 : `assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level: ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30. - - limitResponse::IoK8sApiFlowcontrolV1alpha1LimitResponse : `limitResponse` indicates what to do with requests that can not be executed right now -""" -mutable struct IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration <: SwaggerModel - assuredConcurrencyShares::Any # spec type: Union{ Nothing, Int32 } # spec name: assuredConcurrencyShares - limitResponse::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1LimitResponse } # spec name: limitResponse - - function IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration(;assuredConcurrencyShares=nothing, limitResponse=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration, Symbol("assuredConcurrencyShares"), assuredConcurrencyShares) - setfield!(o, Symbol("assuredConcurrencyShares"), assuredConcurrencyShares) - validate_property(IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration, Symbol("limitResponse"), limitResponse) - setfield!(o, Symbol("limitResponse"), limitResponse) - o - end -end # type IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration - -const _property_map_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration = Dict{Symbol,Symbol}(Symbol("assuredConcurrencyShares")=>Symbol("assuredConcurrencyShares"), Symbol("limitResponse")=>Symbol("limitResponse")) -const _property_types_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration = Dict{Symbol,String}(Symbol("assuredConcurrencyShares")=>"Int32", Symbol("limitResponse")=>"IoK8sApiFlowcontrolV1alpha1LimitResponse") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl deleted file mode 100644 index 28ec0808..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. - - IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule(; - nonResourceURLs=nothing, - verbs=nothing, - ) - - - nonResourceURLs::Vector{String} : `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/*\" also matches nothing - \"/healthz/*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required. - - verbs::Vector{String} : `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule <: SwaggerModel - nonResourceURLs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nonResourceURLs - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule(;nonResourceURLs=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) - setfield!(o, Symbol("nonResourceURLs"), nonResourceURLs) - validate_property(IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule - -const _property_map_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule = Dict{Symbol,Symbol}(Symbol("nonResourceURLs")=>Symbol("nonResourceURLs"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule = Dict{Symbol,String}(Symbol("nonResourceURLs")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule) - (getproperty(o, Symbol("nonResourceURLs")) === nothing) && (return false) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl deleted file mode 100644 index 758c6d5d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request. - - IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects(; - nonResourceRules=nothing, - resourceRules=nothing, - subjects=nothing, - ) - - - nonResourceRules::Vector{IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule} : `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. - - resourceRules::Vector{IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule} : `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty. - - subjects::Vector{IoK8sApiFlowcontrolV1alpha1Subject} : subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects <: SwaggerModel - nonResourceRules::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule} } # spec name: nonResourceRules - resourceRules::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule} } # spec name: resourceRules - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1Subject} } # spec name: subjects - - function IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects(;nonResourceRules=nothing, resourceRules=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects, Symbol("nonResourceRules"), nonResourceRules) - setfield!(o, Symbol("nonResourceRules"), nonResourceRules) - validate_property(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects, Symbol("resourceRules"), resourceRules) - setfield!(o, Symbol("resourceRules"), resourceRules) - validate_property(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects - -const _property_map_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects = Dict{Symbol,Symbol}(Symbol("nonResourceRules")=>Symbol("nonResourceRules"), Symbol("resourceRules")=>Symbol("resourceRules"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects = Dict{Symbol,String}(Symbol("nonResourceRules")=>"Vector{IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule}", Symbol("resourceRules")=>"Vector{IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule}", Symbol("subjects")=>"Vector{IoK8sApiFlowcontrolV1alpha1Subject}") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects) - (getproperty(o, Symbol("subjects")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl deleted file mode 100644 index 8dbfb60e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityLevelConfiguration represents the configuration of a priority level. - - IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata - - spec::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec : `spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status - - status::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus : `status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus } # spec name: status - - function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration - -const _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec", Symbol("status")=>"IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl deleted file mode 100644 index f99e2cff..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityLevelConfigurationCondition defines the condition of priority level. - - IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : `lastTransitionTime` is the last time the condition transitioned from one status to another. - - message::String : `message` is a human-readable message indicating details about last transition. - - reason::String : `reason` is a unique, one-word, CamelCase reason for the condition's last transition. - - status::String : `status` is the status of the condition. Can be True, False, Unknown. Required. - - type::String : `type` is the type of the condition. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition - -const _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl deleted file mode 100644 index 09b55be9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects. - - IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration} : `items` is a list of request-priorities. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList - -const _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl deleted file mode 100644 index 0862622e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. - - IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference(; - name=nothing, - ) - - - name::String : `name` is the name of the priority level configuration being referenced Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference(;name=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference - -const _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference = Dict{Symbol,String}(Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl deleted file mode 100644 index 5cc7269d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityLevelConfigurationSpec specifies the configuration of a priority level. - - IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec(; - limited=nothing, - type=nothing, - ) - - - limited::IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration : `limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`. - - type::String : `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec <: SwaggerModel - limited::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration } # spec name: limited - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec(;limited=nothing, type=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec, Symbol("limited"), limited) - setfield!(o, Symbol("limited"), limited) - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec - -const _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec = Dict{Symbol,Symbol}(Symbol("limited")=>Symbol("limited"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec = Dict{Symbol,String}(Symbol("limited")=>"IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl deleted file mode 100644 index 438aa604..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". - - IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus(; - conditions=nothing, - ) - - - conditions::Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition} : `conditions` is the current state of \"request-priority\". -""" -mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition} } # spec name: conditions - - function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus(;conditions=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - o - end -end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus - -const _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions")) -const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition}") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl deleted file mode 100644 index bf81a649..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""QueuingConfiguration holds the configuration parameters for queuing - - IoK8sApiFlowcontrolV1alpha1QueuingConfiguration(; - handSize=nothing, - queueLengthLimit=nothing, - queues=nothing, - ) - - - handSize::Int32 : `handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8. - - queueLengthLimit::Int32 : `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50. - - queues::Int32 : `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1QueuingConfiguration <: SwaggerModel - handSize::Any # spec type: Union{ Nothing, Int32 } # spec name: handSize - queueLengthLimit::Any # spec type: Union{ Nothing, Int32 } # spec name: queueLengthLimit - queues::Any # spec type: Union{ Nothing, Int32 } # spec name: queues - - function IoK8sApiFlowcontrolV1alpha1QueuingConfiguration(;handSize=nothing, queueLengthLimit=nothing, queues=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1QueuingConfiguration, Symbol("handSize"), handSize) - setfield!(o, Symbol("handSize"), handSize) - validate_property(IoK8sApiFlowcontrolV1alpha1QueuingConfiguration, Symbol("queueLengthLimit"), queueLengthLimit) - setfield!(o, Symbol("queueLengthLimit"), queueLengthLimit) - validate_property(IoK8sApiFlowcontrolV1alpha1QueuingConfiguration, Symbol("queues"), queues) - setfield!(o, Symbol("queues"), queues) - o - end -end # type IoK8sApiFlowcontrolV1alpha1QueuingConfiguration - -const _property_map_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration = Dict{Symbol,Symbol}(Symbol("handSize")=>Symbol("handSize"), Symbol("queueLengthLimit")=>Symbol("queueLengthLimit"), Symbol("queues")=>Symbol("queues")) -const _property_types_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration = Dict{Symbol,String}(Symbol("handSize")=>"Int32", Symbol("queueLengthLimit")=>"Int32", Symbol("queues")=>"Int32") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1QueuingConfiguration }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1QueuingConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1QueuingConfiguration }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1QueuingConfiguration) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1QueuingConfiguration }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl deleted file mode 100644 index 10fe79a4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl +++ /dev/null @@ -1,58 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request. - - IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule(; - apiGroups=nothing, - clusterScope=nothing, - namespaces=nothing, - resources=nothing, - verbs=nothing, - ) - - - apiGroups::Vector{String} : `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. - - clusterScope::Bool : `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list. - - namespaces::Vector{String} : `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true. - - resources::Vector{String} : `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required. - - verbs::Vector{String} : `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - clusterScope::Any # spec type: Union{ Nothing, Bool } # spec name: clusterScope - namespaces::Any # spec type: Union{ Nothing, Vector{String} } # spec name: namespaces - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule(;apiGroups=nothing, clusterScope=nothing, namespaces=nothing, resources=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("clusterScope"), clusterScope) - setfield!(o, Symbol("clusterScope"), clusterScope) - validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("namespaces"), namespaces) - setfield!(o, Symbol("namespaces"), namespaces) - validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule - -const _property_map_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("clusterScope")=>Symbol("clusterScope"), Symbol("namespaces")=>Symbol("namespaces"), Symbol("resources")=>Symbol("resources"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("clusterScope")=>"Bool", Symbol("namespaces")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule) - (getproperty(o, Symbol("apiGroups")) === nothing) && (return false) - (getproperty(o, Symbol("resources")) === nothing) && (return false) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl deleted file mode 100644 index 32ca3365..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceAccountSubject holds detailed information for service-account-kind subject. - - IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject(; - name=nothing, - namespace=nothing, - ) - - - name::String : `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. - - namespace::String : `namespace` is the namespace of matching ServiceAccount objects. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject(;name=nothing, namespace=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject - -const _property_map_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1Subject.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1Subject.jl deleted file mode 100644 index e450cc35..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1Subject.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. - - IoK8sApiFlowcontrolV1alpha1Subject(; - group=nothing, - kind=nothing, - serviceAccount=nothing, - user=nothing, - ) - - - group::IoK8sApiFlowcontrolV1alpha1GroupSubject - - kind::String : Required - - serviceAccount::IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject - - user::IoK8sApiFlowcontrolV1alpha1UserSubject -""" -mutable struct IoK8sApiFlowcontrolV1alpha1Subject <: SwaggerModel - group::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1GroupSubject } # spec name: group - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - serviceAccount::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject } # spec name: serviceAccount - user::Any # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1UserSubject } # spec name: user - - function IoK8sApiFlowcontrolV1alpha1Subject(;group=nothing, kind=nothing, serviceAccount=nothing, user=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("serviceAccount"), serviceAccount) - setfield!(o, Symbol("serviceAccount"), serviceAccount) - validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("user"), user) - setfield!(o, Symbol("user"), user) - o - end -end # type IoK8sApiFlowcontrolV1alpha1Subject - -const _property_map_IoK8sApiFlowcontrolV1alpha1Subject = Dict{Symbol,Symbol}(Symbol("group")=>Symbol("group"), Symbol("kind")=>Symbol("kind"), Symbol("serviceAccount")=>Symbol("serviceAccount"), Symbol("user")=>Symbol("user")) -const _property_types_IoK8sApiFlowcontrolV1alpha1Subject = Dict{Symbol,String}(Symbol("group")=>"IoK8sApiFlowcontrolV1alpha1GroupSubject", Symbol("kind")=>"String", Symbol("serviceAccount")=>"IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject", Symbol("user")=>"IoK8sApiFlowcontrolV1alpha1UserSubject") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1Subject }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1Subject)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1Subject[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1Subject }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1Subject[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1Subject) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1Subject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl b/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl deleted file mode 100644 index 944c75cf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""UserSubject holds detailed information for user-kind subject. - - IoK8sApiFlowcontrolV1alpha1UserSubject(; - name=nothing, - ) - - - name::String : `name` is the username that matches, or \"*\" to match all usernames. Required. -""" -mutable struct IoK8sApiFlowcontrolV1alpha1UserSubject <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiFlowcontrolV1alpha1UserSubject(;name=nothing) - o = new() - validate_property(IoK8sApiFlowcontrolV1alpha1UserSubject, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiFlowcontrolV1alpha1UserSubject - -const _property_map_IoK8sApiFlowcontrolV1alpha1UserSubject = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiFlowcontrolV1alpha1UserSubject = Dict{Symbol,String}(Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiFlowcontrolV1alpha1UserSubject }) = collect(keys(_property_map_IoK8sApiFlowcontrolV1alpha1UserSubject)) -Swagger.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1UserSubject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1UserSubject[name]))} -Swagger.field_name(::Type{ IoK8sApiFlowcontrolV1alpha1UserSubject }, property_name::Symbol) = _property_map_IoK8sApiFlowcontrolV1alpha1UserSubject[property_name] - -function check_required(o::IoK8sApiFlowcontrolV1alpha1UserSubject) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1UserSubject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl b/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl deleted file mode 100644 index 80722d04..00000000 --- a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ContainerMetrics sets resource usage metrics of a container. - - IoK8sApiMetricsV1beta1ContainerMetrics(; - name=nothing, - usage=nothing, - ) - - - name::String : Container name corresponding to the one from pod.spec.containers. - - usage::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : The memory usage is the memory working set. -""" -mutable struct IoK8sApiMetricsV1beta1ContainerMetrics <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - usage::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: usage - - function IoK8sApiMetricsV1beta1ContainerMetrics(;name=nothing, usage=nothing) - o = new() - validate_property(IoK8sApiMetricsV1beta1ContainerMetrics, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiMetricsV1beta1ContainerMetrics, Symbol("usage"), usage) - setfield!(o, Symbol("usage"), usage) - o - end -end # type IoK8sApiMetricsV1beta1ContainerMetrics - -const _property_map_IoK8sApiMetricsV1beta1ContainerMetrics = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("usage")=>Symbol("usage")) -const _property_types_IoK8sApiMetricsV1beta1ContainerMetrics = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("usage")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}") -Base.propertynames(::Type{ IoK8sApiMetricsV1beta1ContainerMetrics }) = collect(keys(_property_map_IoK8sApiMetricsV1beta1ContainerMetrics)) -Swagger.property_type(::Type{ IoK8sApiMetricsV1beta1ContainerMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1ContainerMetrics[name]))} -Swagger.field_name(::Type{ IoK8sApiMetricsV1beta1ContainerMetrics }, property_name::Symbol) = _property_map_IoK8sApiMetricsV1beta1ContainerMetrics[property_name] - -function check_required(o::IoK8sApiMetricsV1beta1ContainerMetrics) - true -end - -function validate_property(::Type{ IoK8sApiMetricsV1beta1ContainerMetrics }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1NodeMetrics.jl b/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1NodeMetrics.jl deleted file mode 100644 index 6497edf9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1NodeMetrics.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeMetrics sets resource usage metrics of a node. - - IoK8sApiMetricsV1beta1NodeMetrics(; - metadata=nothing, - timestamp=nothing, - window=nothing, - usage=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - timestamp::IoK8sApimachineryPkgApisMetaV1Time : define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp] - - window::IoK8sApimachineryPkgApisMetaV1Duration : define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp] - - usage::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : The memory usage is the memory working set. -""" -mutable struct IoK8sApiMetricsV1beta1NodeMetrics <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - timestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: timestamp - window::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Duration } # spec name: window - usage::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: usage - - function IoK8sApiMetricsV1beta1NodeMetrics(;metadata=nothing, timestamp=nothing, window=nothing, usage=nothing) - o = new() - validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("timestamp"), timestamp) - setfield!(o, Symbol("timestamp"), timestamp) - validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("window"), window) - setfield!(o, Symbol("window"), window) - validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("usage"), usage) - setfield!(o, Symbol("usage"), usage) - o - end -end # type IoK8sApiMetricsV1beta1NodeMetrics - -const _property_map_IoK8sApiMetricsV1beta1NodeMetrics = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("timestamp")=>Symbol("timestamp"), Symbol("window")=>Symbol("window"), Symbol("usage")=>Symbol("usage")) -const _property_types_IoK8sApiMetricsV1beta1NodeMetrics = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("timestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("window")=>"IoK8sApimachineryPkgApisMetaV1Duration", Symbol("usage")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}") -Base.propertynames(::Type{ IoK8sApiMetricsV1beta1NodeMetrics }) = collect(keys(_property_map_IoK8sApiMetricsV1beta1NodeMetrics)) -Swagger.property_type(::Type{ IoK8sApiMetricsV1beta1NodeMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1NodeMetrics[name]))} -Swagger.field_name(::Type{ IoK8sApiMetricsV1beta1NodeMetrics }, property_name::Symbol) = _property_map_IoK8sApiMetricsV1beta1NodeMetrics[property_name] - -function check_required(o::IoK8sApiMetricsV1beta1NodeMetrics) - true -end - -function validate_property(::Type{ IoK8sApiMetricsV1beta1NodeMetrics }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl b/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl deleted file mode 100644 index 3f2ec933..00000000 --- a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NodeMetricsList is a list of NodeMetrics. - - IoK8sApiMetricsV1beta1NodeMetricsList(; - metadata=nothing, - items=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - items::Vector{IoK8sApiMetricsV1beta1NodeMetrics} : List of node metrics. -""" -mutable struct IoK8sApiMetricsV1beta1NodeMetricsList <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiMetricsV1beta1NodeMetrics} } # spec name: items - - function IoK8sApiMetricsV1beta1NodeMetricsList(;metadata=nothing, items=nothing) - o = new() - validate_property(IoK8sApiMetricsV1beta1NodeMetricsList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiMetricsV1beta1NodeMetricsList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - o - end -end # type IoK8sApiMetricsV1beta1NodeMetricsList - -const _property_map_IoK8sApiMetricsV1beta1NodeMetricsList = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("items")=>Symbol("items")) -const _property_types_IoK8sApiMetricsV1beta1NodeMetricsList = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", Symbol("items")=>"Vector{IoK8sApiMetricsV1beta1NodeMetrics}") -Base.propertynames(::Type{ IoK8sApiMetricsV1beta1NodeMetricsList }) = collect(keys(_property_map_IoK8sApiMetricsV1beta1NodeMetricsList)) -Swagger.property_type(::Type{ IoK8sApiMetricsV1beta1NodeMetricsList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1NodeMetricsList[name]))} -Swagger.field_name(::Type{ IoK8sApiMetricsV1beta1NodeMetricsList }, property_name::Symbol) = _property_map_IoK8sApiMetricsV1beta1NodeMetricsList[property_name] - -function check_required(o::IoK8sApiMetricsV1beta1NodeMetricsList) - true -end - -function validate_property(::Type{ IoK8sApiMetricsV1beta1NodeMetricsList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1PodMetrics.jl b/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1PodMetrics.jl deleted file mode 100644 index 7cdbe2c8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1PodMetrics.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodMetrics sets resource usage metrics of a pod. - - IoK8sApiMetricsV1beta1PodMetrics(; - metadata=nothing, - timestamp=nothing, - window=nothing, - containers=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - - timestamp::IoK8sApimachineryPkgApisMetaV1Time : define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp] - - window::IoK8sApimachineryPkgApisMetaV1Duration : define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp] - - containers::Vector{IoK8sApiMetricsV1beta1ContainerMetrics} : Metrics for all containers are collected within the same time window. -""" -mutable struct IoK8sApiMetricsV1beta1PodMetrics <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - timestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: timestamp - window::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Duration } # spec name: window - containers::Any # spec type: Union{ Nothing, Vector{IoK8sApiMetricsV1beta1ContainerMetrics} } # spec name: containers - - function IoK8sApiMetricsV1beta1PodMetrics(;metadata=nothing, timestamp=nothing, window=nothing, containers=nothing) - o = new() - validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("timestamp"), timestamp) - setfield!(o, Symbol("timestamp"), timestamp) - validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("window"), window) - setfield!(o, Symbol("window"), window) - validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("containers"), containers) - setfield!(o, Symbol("containers"), containers) - o - end -end # type IoK8sApiMetricsV1beta1PodMetrics - -const _property_map_IoK8sApiMetricsV1beta1PodMetrics = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("timestamp")=>Symbol("timestamp"), Symbol("window")=>Symbol("window"), Symbol("containers")=>Symbol("containers")) -const _property_types_IoK8sApiMetricsV1beta1PodMetrics = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("timestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("window")=>"IoK8sApimachineryPkgApisMetaV1Duration", Symbol("containers")=>"Vector{IoK8sApiMetricsV1beta1ContainerMetrics}") -Base.propertynames(::Type{ IoK8sApiMetricsV1beta1PodMetrics }) = collect(keys(_property_map_IoK8sApiMetricsV1beta1PodMetrics)) -Swagger.property_type(::Type{ IoK8sApiMetricsV1beta1PodMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1PodMetrics[name]))} -Swagger.field_name(::Type{ IoK8sApiMetricsV1beta1PodMetrics }, property_name::Symbol) = _property_map_IoK8sApiMetricsV1beta1PodMetrics[property_name] - -function check_required(o::IoK8sApiMetricsV1beta1PodMetrics) - true -end - -function validate_property(::Type{ IoK8sApiMetricsV1beta1PodMetrics }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1PodMetricsList.jl b/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1PodMetricsList.jl deleted file mode 100644 index 166c16c1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiMetricsV1beta1PodMetricsList.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodMetricsList is a list of PodMetrics. - - IoK8sApiMetricsV1beta1PodMetricsList(; - metadata=nothing, - items=nothing, - ) - - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - items::Vector{IoK8sApiMetricsV1beta1PodMetrics} : List of pod metrics. -""" -mutable struct IoK8sApiMetricsV1beta1PodMetricsList <: SwaggerModel - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiMetricsV1beta1PodMetrics} } # spec name: items - - function IoK8sApiMetricsV1beta1PodMetricsList(;metadata=nothing, items=nothing) - o = new() - validate_property(IoK8sApiMetricsV1beta1PodMetricsList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiMetricsV1beta1PodMetricsList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - o - end -end # type IoK8sApiMetricsV1beta1PodMetricsList - -const _property_map_IoK8sApiMetricsV1beta1PodMetricsList = Dict{Symbol,Symbol}(Symbol("metadata")=>Symbol("metadata"), Symbol("items")=>Symbol("items")) -const _property_types_IoK8sApiMetricsV1beta1PodMetricsList = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", Symbol("items")=>"Vector{IoK8sApiMetricsV1beta1PodMetrics}") -Base.propertynames(::Type{ IoK8sApiMetricsV1beta1PodMetricsList }) = collect(keys(_property_map_IoK8sApiMetricsV1beta1PodMetricsList)) -Swagger.property_type(::Type{ IoK8sApiMetricsV1beta1PodMetricsList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1PodMetricsList[name]))} -Swagger.field_name(::Type{ IoK8sApiMetricsV1beta1PodMetricsList }, property_name::Symbol) = _property_map_IoK8sApiMetricsV1beta1PodMetricsList[property_name] - -function check_required(o::IoK8sApiMetricsV1beta1PodMetricsList) - true -end - -function validate_property(::Type{ IoK8sApiMetricsV1beta1PodMetricsList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1IPBlock.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1IPBlock.jl deleted file mode 100644 index e162cf6d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1IPBlock.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. - - IoK8sApiNetworkingV1IPBlock(; - cidr=nothing, - except=nothing, - ) - - - cidr::String : CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" - - except::Vector{String} : Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range -""" -mutable struct IoK8sApiNetworkingV1IPBlock <: SwaggerModel - cidr::Any # spec type: Union{ Nothing, String } # spec name: cidr - except::Any # spec type: Union{ Nothing, Vector{String} } # spec name: except - - function IoK8sApiNetworkingV1IPBlock(;cidr=nothing, except=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1IPBlock, Symbol("cidr"), cidr) - setfield!(o, Symbol("cidr"), cidr) - validate_property(IoK8sApiNetworkingV1IPBlock, Symbol("except"), except) - setfield!(o, Symbol("except"), except) - o - end -end # type IoK8sApiNetworkingV1IPBlock - -const _property_map_IoK8sApiNetworkingV1IPBlock = Dict{Symbol,Symbol}(Symbol("cidr")=>Symbol("cidr"), Symbol("except")=>Symbol("except")) -const _property_types_IoK8sApiNetworkingV1IPBlock = Dict{Symbol,String}(Symbol("cidr")=>"String", Symbol("except")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiNetworkingV1IPBlock }) = collect(keys(_property_map_IoK8sApiNetworkingV1IPBlock)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1IPBlock }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1IPBlock[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1IPBlock }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1IPBlock[property_name] - -function check_required(o::IoK8sApiNetworkingV1IPBlock) - (getproperty(o, Symbol("cidr")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1IPBlock }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicy.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicy.jl deleted file mode 100644 index ffa2e063..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicy.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicy describes what network traffic is allowed for a set of Pods - - IoK8sApiNetworkingV1NetworkPolicy(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiNetworkingV1NetworkPolicySpec : Specification of the desired behavior for this NetworkPolicy. -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicy <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1NetworkPolicySpec } # spec name: spec - - function IoK8sApiNetworkingV1NetworkPolicy(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicy - -const _property_map_IoK8sApiNetworkingV1NetworkPolicy = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiNetworkingV1NetworkPolicySpec") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicy }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicy)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicy[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicy }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicy[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicy) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl deleted file mode 100644 index f1572c5c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 - - IoK8sApiNetworkingV1NetworkPolicyEgressRule(; - ports=nothing, - to=nothing, - ) - - - ports::Vector{IoK8sApiNetworkingV1NetworkPolicyPort} : List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. - - to::Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} : List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicyEgressRule <: SwaggerModel - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPort} } # spec name: ports - to::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} } # spec name: to - - function IoK8sApiNetworkingV1NetworkPolicyEgressRule(;ports=nothing, to=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicyEgressRule, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - validate_property(IoK8sApiNetworkingV1NetworkPolicyEgressRule, Symbol("to"), to) - setfield!(o, Symbol("to"), to) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicyEgressRule - -const _property_map_IoK8sApiNetworkingV1NetworkPolicyEgressRule = Dict{Symbol,Symbol}(Symbol("ports")=>Symbol("ports"), Symbol("to")=>Symbol("to")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicyEgressRule = Dict{Symbol,String}(Symbol("ports")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPort}", Symbol("to")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPeer}") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicyEgressRule }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicyEgressRule)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyEgressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyEgressRule[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicyEgressRule }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicyEgressRule[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicyEgressRule) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyEgressRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl deleted file mode 100644 index 5e2edbf7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. - - IoK8sApiNetworkingV1NetworkPolicyIngressRule(; - from=nothing, - ports=nothing, - ) - - - from::Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} : List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. - - ports::Vector{IoK8sApiNetworkingV1NetworkPolicyPort} : List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicyIngressRule <: SwaggerModel - from::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} } # spec name: from - ports::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPort} } # spec name: ports - - function IoK8sApiNetworkingV1NetworkPolicyIngressRule(;from=nothing, ports=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicyIngressRule, Symbol("from"), from) - setfield!(o, Symbol("from"), from) - validate_property(IoK8sApiNetworkingV1NetworkPolicyIngressRule, Symbol("ports"), ports) - setfield!(o, Symbol("ports"), ports) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicyIngressRule - -const _property_map_IoK8sApiNetworkingV1NetworkPolicyIngressRule = Dict{Symbol,Symbol}(Symbol("from")=>Symbol("from"), Symbol("ports")=>Symbol("ports")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicyIngressRule = Dict{Symbol,String}(Symbol("from")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPeer}", Symbol("ports")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPort}") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicyIngressRule }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicyIngressRule)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyIngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyIngressRule[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicyIngressRule }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicyIngressRule[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicyIngressRule) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyIngressRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyList.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyList.jl deleted file mode 100644 index 7c279169..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicyList is a list of NetworkPolicy objects. - - IoK8sApiNetworkingV1NetworkPolicyList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiNetworkingV1NetworkPolicy} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicyList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicy} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiNetworkingV1NetworkPolicyList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicyList - -const _property_map_IoK8sApiNetworkingV1NetworkPolicyList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNetworkingV1NetworkPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicyList }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicyList)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyList[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicyList }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicyList[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicyList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl deleted file mode 100644 index 5455cf2a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed - - IoK8sApiNetworkingV1NetworkPolicyPeer(; - ipBlock=nothing, - namespaceSelector=nothing, - podSelector=nothing, - ) - - - ipBlock::IoK8sApiNetworkingV1IPBlock : IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicyPeer <: SwaggerModel - ipBlock::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1IPBlock } # spec name: ipBlock - namespaceSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: namespaceSelector - podSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: podSelector - - function IoK8sApiNetworkingV1NetworkPolicyPeer(;ipBlock=nothing, namespaceSelector=nothing, podSelector=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicyPeer, Symbol("ipBlock"), ipBlock) - setfield!(o, Symbol("ipBlock"), ipBlock) - validate_property(IoK8sApiNetworkingV1NetworkPolicyPeer, Symbol("namespaceSelector"), namespaceSelector) - setfield!(o, Symbol("namespaceSelector"), namespaceSelector) - validate_property(IoK8sApiNetworkingV1NetworkPolicyPeer, Symbol("podSelector"), podSelector) - setfield!(o, Symbol("podSelector"), podSelector) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicyPeer - -const _property_map_IoK8sApiNetworkingV1NetworkPolicyPeer = Dict{Symbol,Symbol}(Symbol("ipBlock")=>Symbol("ipBlock"), Symbol("namespaceSelector")=>Symbol("namespaceSelector"), Symbol("podSelector")=>Symbol("podSelector")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicyPeer = Dict{Symbol,String}(Symbol("ipBlock")=>"IoK8sApiNetworkingV1IPBlock", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicyPeer }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicyPeer)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyPeer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyPeer[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicyPeer }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicyPeer[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicyPeer) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyPeer }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl deleted file mode 100644 index d7435e7a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicyPort describes a port to allow traffic on - - IoK8sApiNetworkingV1NetworkPolicyPort(; - port=nothing, - protocol=nothing, - ) - - - port::IoK8sApimachineryPkgUtilIntstrIntOrString : The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. - - protocol::String : The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicyPort <: SwaggerModel - port::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: port - protocol::Any # spec type: Union{ Nothing, String } # spec name: protocol - - function IoK8sApiNetworkingV1NetworkPolicyPort(;port=nothing, protocol=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicyPort, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - validate_property(IoK8sApiNetworkingV1NetworkPolicyPort, Symbol("protocol"), protocol) - setfield!(o, Symbol("protocol"), protocol) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicyPort - -const _property_map_IoK8sApiNetworkingV1NetworkPolicyPort = Dict{Symbol,Symbol}(Symbol("port")=>Symbol("port"), Symbol("protocol")=>Symbol("protocol")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicyPort = Dict{Symbol,String}(Symbol("port")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("protocol")=>"String") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicyPort }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicyPort)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyPort[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicyPort }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicyPort[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicyPort) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyPort }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl deleted file mode 100644 index 008432a9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""NetworkPolicySpec provides the specification of a NetworkPolicy - - IoK8sApiNetworkingV1NetworkPolicySpec(; - egress=nothing, - ingress=nothing, - podSelector=nothing, - policyTypes=nothing, - ) - - - egress::Vector{IoK8sApiNetworkingV1NetworkPolicyEgressRule} : List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 - - ingress::Vector{IoK8sApiNetworkingV1NetworkPolicyIngressRule} : List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. - - policyTypes::Vector{String} : List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 -""" -mutable struct IoK8sApiNetworkingV1NetworkPolicySpec <: SwaggerModel - egress::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyEgressRule} } # spec name: egress - ingress::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyIngressRule} } # spec name: ingress - podSelector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: podSelector - policyTypes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: policyTypes - - function IoK8sApiNetworkingV1NetworkPolicySpec(;egress=nothing, ingress=nothing, podSelector=nothing, policyTypes=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("egress"), egress) - setfield!(o, Symbol("egress"), egress) - validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("ingress"), ingress) - setfield!(o, Symbol("ingress"), ingress) - validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("podSelector"), podSelector) - setfield!(o, Symbol("podSelector"), podSelector) - validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("policyTypes"), policyTypes) - setfield!(o, Symbol("policyTypes"), policyTypes) - o - end -end # type IoK8sApiNetworkingV1NetworkPolicySpec - -const _property_map_IoK8sApiNetworkingV1NetworkPolicySpec = Dict{Symbol,Symbol}(Symbol("egress")=>Symbol("egress"), Symbol("ingress")=>Symbol("ingress"), Symbol("podSelector")=>Symbol("podSelector"), Symbol("policyTypes")=>Symbol("policyTypes")) -const _property_types_IoK8sApiNetworkingV1NetworkPolicySpec = Dict{Symbol,String}(Symbol("egress")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyEgressRule}", Symbol("ingress")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyIngressRule}", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("policyTypes")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiNetworkingV1NetworkPolicySpec }) = collect(keys(_property_map_IoK8sApiNetworkingV1NetworkPolicySpec)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicySpec[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1NetworkPolicySpec }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1NetworkPolicySpec[property_name] - -function check_required(o::IoK8sApiNetworkingV1NetworkPolicySpec) - (getproperty(o, Symbol("podSelector")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicySpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl deleted file mode 100644 index e0f23051..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend. - - IoK8sApiNetworkingV1beta1HTTPIngressPath(; - backend=nothing, - path=nothing, - ) - - - backend::IoK8sApiNetworkingV1beta1IngressBackend : Backend defines the referenced service endpoint to which the traffic will be forwarded to. - - path::String : Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. -""" -mutable struct IoK8sApiNetworkingV1beta1HTTPIngressPath <: SwaggerModel - backend::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressBackend } # spec name: backend - path::Any # spec type: Union{ Nothing, String } # spec name: path - - function IoK8sApiNetworkingV1beta1HTTPIngressPath(;backend=nothing, path=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1HTTPIngressPath, Symbol("backend"), backend) - setfield!(o, Symbol("backend"), backend) - validate_property(IoK8sApiNetworkingV1beta1HTTPIngressPath, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - o - end -end # type IoK8sApiNetworkingV1beta1HTTPIngressPath - -const _property_map_IoK8sApiNetworkingV1beta1HTTPIngressPath = Dict{Symbol,Symbol}(Symbol("backend")=>Symbol("backend"), Symbol("path")=>Symbol("path")) -const _property_types_IoK8sApiNetworkingV1beta1HTTPIngressPath = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiNetworkingV1beta1IngressBackend", Symbol("path")=>"String") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressPath }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1HTTPIngressPath)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1HTTPIngressPath[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressPath }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1HTTPIngressPath[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1HTTPIngressPath) - (getproperty(o, Symbol("backend")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressPath }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl deleted file mode 100644 index 106a97c4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. - - IoK8sApiNetworkingV1beta1HTTPIngressRuleValue(; - paths=nothing, - ) - - - paths::Vector{IoK8sApiNetworkingV1beta1HTTPIngressPath} : A collection of paths that map requests to backends. -""" -mutable struct IoK8sApiNetworkingV1beta1HTTPIngressRuleValue <: SwaggerModel - paths::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1HTTPIngressPath} } # spec name: paths - - function IoK8sApiNetworkingV1beta1HTTPIngressRuleValue(;paths=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1HTTPIngressRuleValue, Symbol("paths"), paths) - setfield!(o, Symbol("paths"), paths) - o - end -end # type IoK8sApiNetworkingV1beta1HTTPIngressRuleValue - -const _property_map_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue = Dict{Symbol,Symbol}(Symbol("paths")=>Symbol("paths")) -const _property_types_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue = Dict{Symbol,String}(Symbol("paths")=>"Vector{IoK8sApiNetworkingV1beta1HTTPIngressPath}") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressRuleValue }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressRuleValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressRuleValue }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1HTTPIngressRuleValue) - (getproperty(o, Symbol("paths")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressRuleValue }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1Ingress.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1Ingress.jl deleted file mode 100644 index 3edbea01..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1Ingress.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. - - IoK8sApiNetworkingV1beta1Ingress(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiNetworkingV1beta1IngressSpec : Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - - status::IoK8sApiNetworkingV1beta1IngressStatus : Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiNetworkingV1beta1Ingress <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressStatus } # spec name: status - - function IoK8sApiNetworkingV1beta1Ingress(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiNetworkingV1beta1Ingress - -const _property_map_IoK8sApiNetworkingV1beta1Ingress = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiNetworkingV1beta1Ingress = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiNetworkingV1beta1IngressSpec", Symbol("status")=>"IoK8sApiNetworkingV1beta1IngressStatus") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1Ingress }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1Ingress)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1Ingress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1Ingress[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1Ingress }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1Ingress[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1Ingress) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1Ingress }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressBackend.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressBackend.jl deleted file mode 100644 index 860246ad..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressBackend.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressBackend describes all endpoints for a given service and port. - - IoK8sApiNetworkingV1beta1IngressBackend(; - serviceName=nothing, - servicePort=nothing, - ) - - - serviceName::String : Specifies the name of the referenced service. - - servicePort::IoK8sApimachineryPkgUtilIntstrIntOrString : Specifies the port of the referenced service. -""" -mutable struct IoK8sApiNetworkingV1beta1IngressBackend <: SwaggerModel - serviceName::Any # spec type: Union{ Nothing, String } # spec name: serviceName - servicePort::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: servicePort - - function IoK8sApiNetworkingV1beta1IngressBackend(;serviceName=nothing, servicePort=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1IngressBackend, Symbol("serviceName"), serviceName) - setfield!(o, Symbol("serviceName"), serviceName) - validate_property(IoK8sApiNetworkingV1beta1IngressBackend, Symbol("servicePort"), servicePort) - setfield!(o, Symbol("servicePort"), servicePort) - o - end -end # type IoK8sApiNetworkingV1beta1IngressBackend - -const _property_map_IoK8sApiNetworkingV1beta1IngressBackend = Dict{Symbol,Symbol}(Symbol("serviceName")=>Symbol("serviceName"), Symbol("servicePort")=>Symbol("servicePort")) -const _property_types_IoK8sApiNetworkingV1beta1IngressBackend = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("servicePort")=>"IoK8sApimachineryPkgUtilIntstrIntOrString") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1IngressBackend }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1IngressBackend)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressBackend }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressBackend[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1IngressBackend }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1IngressBackend[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1IngressBackend) - (getproperty(o, Symbol("serviceName")) === nothing) && (return false) - (getproperty(o, Symbol("servicePort")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressBackend }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressList.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressList.jl deleted file mode 100644 index 3c16916b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressList is a collection of Ingress. - - IoK8sApiNetworkingV1beta1IngressList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiNetworkingV1beta1Ingress} : Items is the list of Ingress. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiNetworkingV1beta1IngressList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1Ingress} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiNetworkingV1beta1IngressList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiNetworkingV1beta1IngressList - -const _property_map_IoK8sApiNetworkingV1beta1IngressList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiNetworkingV1beta1IngressList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNetworkingV1beta1Ingress}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1IngressList }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1IngressList)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressList[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1IngressList }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1IngressList[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1IngressList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressRule.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressRule.jl deleted file mode 100644 index fe4701f7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressRule.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. - - IoK8sApiNetworkingV1beta1IngressRule(; - host=nothing, - http=nothing, - ) - - - host::String : Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. - - http::IoK8sApiNetworkingV1beta1HTTPIngressRuleValue -""" -mutable struct IoK8sApiNetworkingV1beta1IngressRule <: SwaggerModel - host::Any # spec type: Union{ Nothing, String } # spec name: host - http::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1HTTPIngressRuleValue } # spec name: http - - function IoK8sApiNetworkingV1beta1IngressRule(;host=nothing, http=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1IngressRule, Symbol("host"), host) - setfield!(o, Symbol("host"), host) - validate_property(IoK8sApiNetworkingV1beta1IngressRule, Symbol("http"), http) - setfield!(o, Symbol("http"), http) - o - end -end # type IoK8sApiNetworkingV1beta1IngressRule - -const _property_map_IoK8sApiNetworkingV1beta1IngressRule = Dict{Symbol,Symbol}(Symbol("host")=>Symbol("host"), Symbol("http")=>Symbol("http")) -const _property_types_IoK8sApiNetworkingV1beta1IngressRule = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("http")=>"IoK8sApiNetworkingV1beta1HTTPIngressRuleValue") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1IngressRule }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1IngressRule)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressRule[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1IngressRule }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1IngressRule[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1IngressRule) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressSpec.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressSpec.jl deleted file mode 100644 index f393eef3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressSpec.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressSpec describes the Ingress the user wishes to exist. - - IoK8sApiNetworkingV1beta1IngressSpec(; - backend=nothing, - rules=nothing, - tls=nothing, - ) - - - backend::IoK8sApiNetworkingV1beta1IngressBackend : A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default. - - rules::Vector{IoK8sApiNetworkingV1beta1IngressRule} : A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. - - tls::Vector{IoK8sApiNetworkingV1beta1IngressTLS} : TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. -""" -mutable struct IoK8sApiNetworkingV1beta1IngressSpec <: SwaggerModel - backend::Any # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressBackend } # spec name: backend - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1IngressRule} } # spec name: rules - tls::Any # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1IngressTLS} } # spec name: tls - - function IoK8sApiNetworkingV1beta1IngressSpec(;backend=nothing, rules=nothing, tls=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1IngressSpec, Symbol("backend"), backend) - setfield!(o, Symbol("backend"), backend) - validate_property(IoK8sApiNetworkingV1beta1IngressSpec, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - validate_property(IoK8sApiNetworkingV1beta1IngressSpec, Symbol("tls"), tls) - setfield!(o, Symbol("tls"), tls) - o - end -end # type IoK8sApiNetworkingV1beta1IngressSpec - -const _property_map_IoK8sApiNetworkingV1beta1IngressSpec = Dict{Symbol,Symbol}(Symbol("backend")=>Symbol("backend"), Symbol("rules")=>Symbol("rules"), Symbol("tls")=>Symbol("tls")) -const _property_types_IoK8sApiNetworkingV1beta1IngressSpec = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiNetworkingV1beta1IngressBackend", Symbol("rules")=>"Vector{IoK8sApiNetworkingV1beta1IngressRule}", Symbol("tls")=>"Vector{IoK8sApiNetworkingV1beta1IngressTLS}") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1IngressSpec }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1IngressSpec)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1IngressSpec }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1IngressSpec[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1IngressSpec) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressStatus.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressStatus.jl deleted file mode 100644 index f4f12e01..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressStatus describe the current state of the Ingress. - - IoK8sApiNetworkingV1beta1IngressStatus(; - loadBalancer=nothing, - ) - - - loadBalancer::IoK8sApiCoreV1LoadBalancerStatus : LoadBalancer contains the current status of the load-balancer. -""" -mutable struct IoK8sApiNetworkingV1beta1IngressStatus <: SwaggerModel - loadBalancer::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } # spec name: loadBalancer - - function IoK8sApiNetworkingV1beta1IngressStatus(;loadBalancer=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1IngressStatus, Symbol("loadBalancer"), loadBalancer) - setfield!(o, Symbol("loadBalancer"), loadBalancer) - o - end -end # type IoK8sApiNetworkingV1beta1IngressStatus - -const _property_map_IoK8sApiNetworkingV1beta1IngressStatus = Dict{Symbol,Symbol}(Symbol("loadBalancer")=>Symbol("loadBalancer")) -const _property_types_IoK8sApiNetworkingV1beta1IngressStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1IngressStatus }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1IngressStatus)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1IngressStatus }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1IngressStatus[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1IngressStatus) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressTLS.jl b/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressTLS.jl deleted file mode 100644 index 7af19666..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNetworkingV1beta1IngressTLS.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IngressTLS describes the transport layer security associated with an Ingress. - - IoK8sApiNetworkingV1beta1IngressTLS(; - hosts=nothing, - secretName=nothing, - ) - - - hosts::Vector{String} : Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. - - secretName::String : SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. -""" -mutable struct IoK8sApiNetworkingV1beta1IngressTLS <: SwaggerModel - hosts::Any # spec type: Union{ Nothing, Vector{String} } # spec name: hosts - secretName::Any # spec type: Union{ Nothing, String } # spec name: secretName - - function IoK8sApiNetworkingV1beta1IngressTLS(;hosts=nothing, secretName=nothing) - o = new() - validate_property(IoK8sApiNetworkingV1beta1IngressTLS, Symbol("hosts"), hosts) - setfield!(o, Symbol("hosts"), hosts) - validate_property(IoK8sApiNetworkingV1beta1IngressTLS, Symbol("secretName"), secretName) - setfield!(o, Symbol("secretName"), secretName) - o - end -end # type IoK8sApiNetworkingV1beta1IngressTLS - -const _property_map_IoK8sApiNetworkingV1beta1IngressTLS = Dict{Symbol,Symbol}(Symbol("hosts")=>Symbol("hosts"), Symbol("secretName")=>Symbol("secretName")) -const _property_types_IoK8sApiNetworkingV1beta1IngressTLS = Dict{Symbol,String}(Symbol("hosts")=>"Vector{String}", Symbol("secretName")=>"String") -Base.propertynames(::Type{ IoK8sApiNetworkingV1beta1IngressTLS }) = collect(keys(_property_map_IoK8sApiNetworkingV1beta1IngressTLS)) -Swagger.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressTLS }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressTLS[name]))} -Swagger.field_name(::Type{ IoK8sApiNetworkingV1beta1IngressTLS }, property_name::Symbol) = _property_map_IoK8sApiNetworkingV1beta1IngressTLS[property_name] - -function check_required(o::IoK8sApiNetworkingV1beta1IngressTLS) - true -end - -function validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressTLS }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1Overhead.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1Overhead.jl deleted file mode 100644 index f60ad0fc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1Overhead.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Overhead structure represents the resource overhead associated with running a pod. - - IoK8sApiNodeV1alpha1Overhead(; - podFixed=nothing, - ) - - - podFixed::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : PodFixed represents the fixed resource overhead associated with running a pod. -""" -mutable struct IoK8sApiNodeV1alpha1Overhead <: SwaggerModel - podFixed::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: podFixed - - function IoK8sApiNodeV1alpha1Overhead(;podFixed=nothing) - o = new() - validate_property(IoK8sApiNodeV1alpha1Overhead, Symbol("podFixed"), podFixed) - setfield!(o, Symbol("podFixed"), podFixed) - o - end -end # type IoK8sApiNodeV1alpha1Overhead - -const _property_map_IoK8sApiNodeV1alpha1Overhead = Dict{Symbol,Symbol}(Symbol("podFixed")=>Symbol("podFixed")) -const _property_types_IoK8sApiNodeV1alpha1Overhead = Dict{Symbol,String}(Symbol("podFixed")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}") -Base.propertynames(::Type{ IoK8sApiNodeV1alpha1Overhead }) = collect(keys(_property_map_IoK8sApiNodeV1alpha1Overhead)) -Swagger.property_type(::Type{ IoK8sApiNodeV1alpha1Overhead }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1Overhead[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1alpha1Overhead }, property_name::Symbol) = _property_map_IoK8sApiNodeV1alpha1Overhead[property_name] - -function check_required(o::IoK8sApiNodeV1alpha1Overhead) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1alpha1Overhead }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClass.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClass.jl deleted file mode 100644 index e08be227..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClass.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md - - IoK8sApiNodeV1alpha1RuntimeClass(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiNodeV1alpha1RuntimeClassSpec : Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApiNodeV1alpha1RuntimeClass <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiNodeV1alpha1RuntimeClassSpec } # spec name: spec - - function IoK8sApiNodeV1alpha1RuntimeClass(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiNodeV1alpha1RuntimeClass - -const _property_map_IoK8sApiNodeV1alpha1RuntimeClass = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiNodeV1alpha1RuntimeClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiNodeV1alpha1RuntimeClassSpec") -Base.propertynames(::Type{ IoK8sApiNodeV1alpha1RuntimeClass }) = collect(keys(_property_map_IoK8sApiNodeV1alpha1RuntimeClass)) -Swagger.property_type(::Type{ IoK8sApiNodeV1alpha1RuntimeClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1RuntimeClass[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1alpha1RuntimeClass }, property_name::Symbol) = _property_map_IoK8sApiNodeV1alpha1RuntimeClass[property_name] - -function check_required(o::IoK8sApiNodeV1alpha1RuntimeClass) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1alpha1RuntimeClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl deleted file mode 100644 index 49caa0ea..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClassList is a list of RuntimeClass objects. - - IoK8sApiNodeV1alpha1RuntimeClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiNodeV1alpha1RuntimeClass} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiNodeV1alpha1RuntimeClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiNodeV1alpha1RuntimeClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiNodeV1alpha1RuntimeClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiNodeV1alpha1RuntimeClassList - -const _property_map_IoK8sApiNodeV1alpha1RuntimeClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiNodeV1alpha1RuntimeClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNodeV1alpha1RuntimeClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiNodeV1alpha1RuntimeClassList }) = collect(keys(_property_map_IoK8sApiNodeV1alpha1RuntimeClassList)) -Swagger.property_type(::Type{ IoK8sApiNodeV1alpha1RuntimeClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1RuntimeClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1alpha1RuntimeClassList }, property_name::Symbol) = _property_map_IoK8sApiNodeV1alpha1RuntimeClassList[property_name] - -function check_required(o::IoK8sApiNodeV1alpha1RuntimeClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1alpha1RuntimeClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl deleted file mode 100644 index b3a93729..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable. - - IoK8sApiNodeV1alpha1RuntimeClassSpec(; - overhead=nothing, - runtimeHandler=nothing, - scheduling=nothing, - ) - - - overhead::IoK8sApiNodeV1alpha1Overhead : Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. - - runtimeHandler::String : RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable. - - scheduling::IoK8sApiNodeV1alpha1Scheduling : Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes. -""" -mutable struct IoK8sApiNodeV1alpha1RuntimeClassSpec <: SwaggerModel - overhead::Any # spec type: Union{ Nothing, IoK8sApiNodeV1alpha1Overhead } # spec name: overhead - runtimeHandler::Any # spec type: Union{ Nothing, String } # spec name: runtimeHandler - scheduling::Any # spec type: Union{ Nothing, IoK8sApiNodeV1alpha1Scheduling } # spec name: scheduling - - function IoK8sApiNodeV1alpha1RuntimeClassSpec(;overhead=nothing, runtimeHandler=nothing, scheduling=nothing) - o = new() - validate_property(IoK8sApiNodeV1alpha1RuntimeClassSpec, Symbol("overhead"), overhead) - setfield!(o, Symbol("overhead"), overhead) - validate_property(IoK8sApiNodeV1alpha1RuntimeClassSpec, Symbol("runtimeHandler"), runtimeHandler) - setfield!(o, Symbol("runtimeHandler"), runtimeHandler) - validate_property(IoK8sApiNodeV1alpha1RuntimeClassSpec, Symbol("scheduling"), scheduling) - setfield!(o, Symbol("scheduling"), scheduling) - o - end -end # type IoK8sApiNodeV1alpha1RuntimeClassSpec - -const _property_map_IoK8sApiNodeV1alpha1RuntimeClassSpec = Dict{Symbol,Symbol}(Symbol("overhead")=>Symbol("overhead"), Symbol("runtimeHandler")=>Symbol("runtimeHandler"), Symbol("scheduling")=>Symbol("scheduling")) -const _property_types_IoK8sApiNodeV1alpha1RuntimeClassSpec = Dict{Symbol,String}(Symbol("overhead")=>"IoK8sApiNodeV1alpha1Overhead", Symbol("runtimeHandler")=>"String", Symbol("scheduling")=>"IoK8sApiNodeV1alpha1Scheduling") -Base.propertynames(::Type{ IoK8sApiNodeV1alpha1RuntimeClassSpec }) = collect(keys(_property_map_IoK8sApiNodeV1alpha1RuntimeClassSpec)) -Swagger.property_type(::Type{ IoK8sApiNodeV1alpha1RuntimeClassSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1RuntimeClassSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1alpha1RuntimeClassSpec }, property_name::Symbol) = _property_map_IoK8sApiNodeV1alpha1RuntimeClassSpec[property_name] - -function check_required(o::IoK8sApiNodeV1alpha1RuntimeClassSpec) - (getproperty(o, Symbol("runtimeHandler")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1alpha1RuntimeClassSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1Scheduling.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1Scheduling.jl deleted file mode 100644 index 49960531..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1alpha1Scheduling.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. - - IoK8sApiNodeV1alpha1Scheduling(; - nodeSelector=nothing, - tolerations=nothing, - ) - - - nodeSelector::Dict{String, String} : nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission. - - tolerations::Vector{IoK8sApiCoreV1Toleration} : tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. -""" -mutable struct IoK8sApiNodeV1alpha1Scheduling <: SwaggerModel - nodeSelector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: nodeSelector - tolerations::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Toleration} } # spec name: tolerations - - function IoK8sApiNodeV1alpha1Scheduling(;nodeSelector=nothing, tolerations=nothing) - o = new() - validate_property(IoK8sApiNodeV1alpha1Scheduling, Symbol("nodeSelector"), nodeSelector) - setfield!(o, Symbol("nodeSelector"), nodeSelector) - validate_property(IoK8sApiNodeV1alpha1Scheduling, Symbol("tolerations"), tolerations) - setfield!(o, Symbol("tolerations"), tolerations) - o - end -end # type IoK8sApiNodeV1alpha1Scheduling - -const _property_map_IoK8sApiNodeV1alpha1Scheduling = Dict{Symbol,Symbol}(Symbol("nodeSelector")=>Symbol("nodeSelector"), Symbol("tolerations")=>Symbol("tolerations")) -const _property_types_IoK8sApiNodeV1alpha1Scheduling = Dict{Symbol,String}(Symbol("nodeSelector")=>"Dict{String, String}", Symbol("tolerations")=>"Vector{IoK8sApiCoreV1Toleration}") -Base.propertynames(::Type{ IoK8sApiNodeV1alpha1Scheduling }) = collect(keys(_property_map_IoK8sApiNodeV1alpha1Scheduling)) -Swagger.property_type(::Type{ IoK8sApiNodeV1alpha1Scheduling }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1Scheduling[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1alpha1Scheduling }, property_name::Symbol) = _property_map_IoK8sApiNodeV1alpha1Scheduling[property_name] - -function check_required(o::IoK8sApiNodeV1alpha1Scheduling) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1alpha1Scheduling }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1Overhead.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1beta1Overhead.jl deleted file mode 100644 index 377445c6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1Overhead.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Overhead structure represents the resource overhead associated with running a pod. - - IoK8sApiNodeV1beta1Overhead(; - podFixed=nothing, - ) - - - podFixed::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : PodFixed represents the fixed resource overhead associated with running a pod. -""" -mutable struct IoK8sApiNodeV1beta1Overhead <: SwaggerModel - podFixed::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: podFixed - - function IoK8sApiNodeV1beta1Overhead(;podFixed=nothing) - o = new() - validate_property(IoK8sApiNodeV1beta1Overhead, Symbol("podFixed"), podFixed) - setfield!(o, Symbol("podFixed"), podFixed) - o - end -end # type IoK8sApiNodeV1beta1Overhead - -const _property_map_IoK8sApiNodeV1beta1Overhead = Dict{Symbol,Symbol}(Symbol("podFixed")=>Symbol("podFixed")) -const _property_types_IoK8sApiNodeV1beta1Overhead = Dict{Symbol,String}(Symbol("podFixed")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}") -Base.propertynames(::Type{ IoK8sApiNodeV1beta1Overhead }) = collect(keys(_property_map_IoK8sApiNodeV1beta1Overhead)) -Swagger.property_type(::Type{ IoK8sApiNodeV1beta1Overhead }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1Overhead[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1beta1Overhead }, property_name::Symbol) = _property_map_IoK8sApiNodeV1beta1Overhead[property_name] - -function check_required(o::IoK8sApiNodeV1beta1Overhead) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1beta1Overhead }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1RuntimeClass.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1beta1RuntimeClass.jl deleted file mode 100644 index 7cc31156..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1RuntimeClass.jl +++ /dev/null @@ -1,61 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md - - IoK8sApiNodeV1beta1RuntimeClass(; - apiVersion=nothing, - handler=nothing, - kind=nothing, - metadata=nothing, - overhead=nothing, - scheduling=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - handler::String : Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - overhead::IoK8sApiNodeV1beta1Overhead : Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. - - scheduling::IoK8sApiNodeV1beta1Scheduling : Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes. -""" -mutable struct IoK8sApiNodeV1beta1RuntimeClass <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - handler::Any # spec type: Union{ Nothing, String } # spec name: handler - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - overhead::Any # spec type: Union{ Nothing, IoK8sApiNodeV1beta1Overhead } # spec name: overhead - scheduling::Any # spec type: Union{ Nothing, IoK8sApiNodeV1beta1Scheduling } # spec name: scheduling - - function IoK8sApiNodeV1beta1RuntimeClass(;apiVersion=nothing, handler=nothing, kind=nothing, metadata=nothing, overhead=nothing, scheduling=nothing) - o = new() - validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("handler"), handler) - setfield!(o, Symbol("handler"), handler) - validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("overhead"), overhead) - setfield!(o, Symbol("overhead"), overhead) - validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("scheduling"), scheduling) - setfield!(o, Symbol("scheduling"), scheduling) - o - end -end # type IoK8sApiNodeV1beta1RuntimeClass - -const _property_map_IoK8sApiNodeV1beta1RuntimeClass = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("handler")=>Symbol("handler"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("overhead")=>Symbol("overhead"), Symbol("scheduling")=>Symbol("scheduling")) -const _property_types_IoK8sApiNodeV1beta1RuntimeClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("handler")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("overhead")=>"IoK8sApiNodeV1beta1Overhead", Symbol("scheduling")=>"IoK8sApiNodeV1beta1Scheduling") -Base.propertynames(::Type{ IoK8sApiNodeV1beta1RuntimeClass }) = collect(keys(_property_map_IoK8sApiNodeV1beta1RuntimeClass)) -Swagger.property_type(::Type{ IoK8sApiNodeV1beta1RuntimeClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1RuntimeClass[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1beta1RuntimeClass }, property_name::Symbol) = _property_map_IoK8sApiNodeV1beta1RuntimeClass[property_name] - -function check_required(o::IoK8sApiNodeV1beta1RuntimeClass) - (getproperty(o, Symbol("handler")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1beta1RuntimeClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1RuntimeClassList.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1beta1RuntimeClassList.jl deleted file mode 100644 index 5f271c22..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1RuntimeClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClassList is a list of RuntimeClass objects. - - IoK8sApiNodeV1beta1RuntimeClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiNodeV1beta1RuntimeClass} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiNodeV1beta1RuntimeClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiNodeV1beta1RuntimeClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiNodeV1beta1RuntimeClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiNodeV1beta1RuntimeClassList - -const _property_map_IoK8sApiNodeV1beta1RuntimeClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiNodeV1beta1RuntimeClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNodeV1beta1RuntimeClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiNodeV1beta1RuntimeClassList }) = collect(keys(_property_map_IoK8sApiNodeV1beta1RuntimeClassList)) -Swagger.property_type(::Type{ IoK8sApiNodeV1beta1RuntimeClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1RuntimeClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1beta1RuntimeClassList }, property_name::Symbol) = _property_map_IoK8sApiNodeV1beta1RuntimeClassList[property_name] - -function check_required(o::IoK8sApiNodeV1beta1RuntimeClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1beta1RuntimeClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1Scheduling.jl b/src/ApiImpl/api/model_IoK8sApiNodeV1beta1Scheduling.jl deleted file mode 100644 index f697d4f1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiNodeV1beta1Scheduling.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. - - IoK8sApiNodeV1beta1Scheduling(; - nodeSelector=nothing, - tolerations=nothing, - ) - - - nodeSelector::Dict{String, String} : nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission. - - tolerations::Vector{IoK8sApiCoreV1Toleration} : tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. -""" -mutable struct IoK8sApiNodeV1beta1Scheduling <: SwaggerModel - nodeSelector::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: nodeSelector - tolerations::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Toleration} } # spec name: tolerations - - function IoK8sApiNodeV1beta1Scheduling(;nodeSelector=nothing, tolerations=nothing) - o = new() - validate_property(IoK8sApiNodeV1beta1Scheduling, Symbol("nodeSelector"), nodeSelector) - setfield!(o, Symbol("nodeSelector"), nodeSelector) - validate_property(IoK8sApiNodeV1beta1Scheduling, Symbol("tolerations"), tolerations) - setfield!(o, Symbol("tolerations"), tolerations) - o - end -end # type IoK8sApiNodeV1beta1Scheduling - -const _property_map_IoK8sApiNodeV1beta1Scheduling = Dict{Symbol,Symbol}(Symbol("nodeSelector")=>Symbol("nodeSelector"), Symbol("tolerations")=>Symbol("tolerations")) -const _property_types_IoK8sApiNodeV1beta1Scheduling = Dict{Symbol,String}(Symbol("nodeSelector")=>"Dict{String, String}", Symbol("tolerations")=>"Vector{IoK8sApiCoreV1Toleration}") -Base.propertynames(::Type{ IoK8sApiNodeV1beta1Scheduling }) = collect(keys(_property_map_IoK8sApiNodeV1beta1Scheduling)) -Swagger.property_type(::Type{ IoK8sApiNodeV1beta1Scheduling }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1Scheduling[name]))} -Swagger.field_name(::Type{ IoK8sApiNodeV1beta1Scheduling }, property_name::Symbol) = _property_map_IoK8sApiNodeV1beta1Scheduling[property_name] - -function check_required(o::IoK8sApiNodeV1beta1Scheduling) - true -end - -function validate_property(::Type{ IoK8sApiNodeV1beta1Scheduling }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl deleted file mode 100644 index 3bab4b3d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used. - - IoK8sApiPolicyV1beta1AllowedCSIDriver(; - name=nothing, - ) - - - name::String : Name is the registered name of the CSI driver -""" -mutable struct IoK8sApiPolicyV1beta1AllowedCSIDriver <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiPolicyV1beta1AllowedCSIDriver(;name=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1AllowedCSIDriver, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiPolicyV1beta1AllowedCSIDriver - -const _property_map_IoK8sApiPolicyV1beta1AllowedCSIDriver = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiPolicyV1beta1AllowedCSIDriver = Dict{Symbol,String}(Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1AllowedCSIDriver }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1AllowedCSIDriver)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1AllowedCSIDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1AllowedCSIDriver[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1AllowedCSIDriver }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1AllowedCSIDriver[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1AllowedCSIDriver) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1AllowedCSIDriver }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl deleted file mode 100644 index 2d517284..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AllowedFlexVolume represents a single Flexvolume that is allowed to be used. - - IoK8sApiPolicyV1beta1AllowedFlexVolume(; - driver=nothing, - ) - - - driver::String : driver is the name of the Flexvolume driver. -""" -mutable struct IoK8sApiPolicyV1beta1AllowedFlexVolume <: SwaggerModel - driver::Any # spec type: Union{ Nothing, String } # spec name: driver - - function IoK8sApiPolicyV1beta1AllowedFlexVolume(;driver=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1AllowedFlexVolume, Symbol("driver"), driver) - setfield!(o, Symbol("driver"), driver) - o - end -end # type IoK8sApiPolicyV1beta1AllowedFlexVolume - -const _property_map_IoK8sApiPolicyV1beta1AllowedFlexVolume = Dict{Symbol,Symbol}(Symbol("driver")=>Symbol("driver")) -const _property_types_IoK8sApiPolicyV1beta1AllowedFlexVolume = Dict{Symbol,String}(Symbol("driver")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1AllowedFlexVolume }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1AllowedFlexVolume)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1AllowedFlexVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1AllowedFlexVolume[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1AllowedFlexVolume }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1AllowedFlexVolume[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1AllowedFlexVolume) - (getproperty(o, Symbol("driver")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1AllowedFlexVolume }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl deleted file mode 100644 index 800ef9b8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. - - IoK8sApiPolicyV1beta1AllowedHostPath(; - pathPrefix=nothing, - readOnly=nothing, - ) - - - pathPrefix::String : pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` - - readOnly::Bool : when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. -""" -mutable struct IoK8sApiPolicyV1beta1AllowedHostPath <: SwaggerModel - pathPrefix::Any # spec type: Union{ Nothing, String } # spec name: pathPrefix - readOnly::Any # spec type: Union{ Nothing, Bool } # spec name: readOnly - - function IoK8sApiPolicyV1beta1AllowedHostPath(;pathPrefix=nothing, readOnly=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1AllowedHostPath, Symbol("pathPrefix"), pathPrefix) - setfield!(o, Symbol("pathPrefix"), pathPrefix) - validate_property(IoK8sApiPolicyV1beta1AllowedHostPath, Symbol("readOnly"), readOnly) - setfield!(o, Symbol("readOnly"), readOnly) - o - end -end # type IoK8sApiPolicyV1beta1AllowedHostPath - -const _property_map_IoK8sApiPolicyV1beta1AllowedHostPath = Dict{Symbol,Symbol}(Symbol("pathPrefix")=>Symbol("pathPrefix"), Symbol("readOnly")=>Symbol("readOnly")) -const _property_types_IoK8sApiPolicyV1beta1AllowedHostPath = Dict{Symbol,String}(Symbol("pathPrefix")=>"String", Symbol("readOnly")=>"Bool") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1AllowedHostPath }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1AllowedHostPath)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1AllowedHostPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1AllowedHostPath[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1AllowedHostPath }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1AllowedHostPath[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1AllowedHostPath) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1AllowedHostPath }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1Eviction.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1Eviction.jl deleted file mode 100644 index c9ce7f4d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1Eviction.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions. - - IoK8sApiPolicyV1beta1Eviction(; - apiVersion=nothing, - deleteOptions=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - deleteOptions::IoK8sApimachineryPkgApisMetaV1DeleteOptions : DeleteOptions may be provided - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : ObjectMeta describes the pod that is being evicted. -""" -mutable struct IoK8sApiPolicyV1beta1Eviction <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - deleteOptions::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1DeleteOptions } # spec name: deleteOptions - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - - function IoK8sApiPolicyV1beta1Eviction(;apiVersion=nothing, deleteOptions=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("deleteOptions"), deleteOptions) - setfield!(o, Symbol("deleteOptions"), deleteOptions) - validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiPolicyV1beta1Eviction - -const _property_map_IoK8sApiPolicyV1beta1Eviction = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("deleteOptions")=>Symbol("deleteOptions"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiPolicyV1beta1Eviction = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("deleteOptions")=>"IoK8sApimachineryPkgApisMetaV1DeleteOptions", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1Eviction }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1Eviction)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1Eviction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1Eviction[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1Eviction }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1Eviction[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1Eviction) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1Eviction }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl deleted file mode 100644 index cabf534d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FSGroupStrategyOptions defines the strategy type and options used to create the strategy. - - IoK8sApiPolicyV1beta1FSGroupStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate what FSGroup is used in the SecurityContext. -""" -mutable struct IoK8sApiPolicyV1beta1FSGroupStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiPolicyV1beta1FSGroupStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1FSGroupStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiPolicyV1beta1FSGroupStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiPolicyV1beta1FSGroupStrategyOptions - -const _property_map_IoK8sApiPolicyV1beta1FSGroupStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiPolicyV1beta1FSGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1FSGroupStrategyOptions }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1FSGroupStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1FSGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1FSGroupStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1FSGroupStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1FSGroupStrategyOptions[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1FSGroupStrategyOptions) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1FSGroupStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1HostPortRange.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1HostPortRange.jl deleted file mode 100644 index d21ac5d5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1HostPortRange.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. - - IoK8sApiPolicyV1beta1HostPortRange(; - max=nothing, - min=nothing, - ) - - - max::Int32 : max is the end of the range, inclusive. - - min::Int32 : min is the start of the range, inclusive. -""" -mutable struct IoK8sApiPolicyV1beta1HostPortRange <: SwaggerModel - max::Any # spec type: Union{ Nothing, Int32 } # spec name: max - min::Any # spec type: Union{ Nothing, Int32 } # spec name: min - - function IoK8sApiPolicyV1beta1HostPortRange(;max=nothing, min=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1HostPortRange, Symbol("max"), max) - setfield!(o, Symbol("max"), max) - validate_property(IoK8sApiPolicyV1beta1HostPortRange, Symbol("min"), min) - setfield!(o, Symbol("min"), min) - o - end -end # type IoK8sApiPolicyV1beta1HostPortRange - -const _property_map_IoK8sApiPolicyV1beta1HostPortRange = Dict{Symbol,Symbol}(Symbol("max")=>Symbol("max"), Symbol("min")=>Symbol("min")) -const _property_types_IoK8sApiPolicyV1beta1HostPortRange = Dict{Symbol,String}(Symbol("max")=>"Int32", Symbol("min")=>"Int32") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1HostPortRange }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1HostPortRange)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1HostPortRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1HostPortRange[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1HostPortRange }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1HostPortRange[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1HostPortRange) - (getproperty(o, Symbol("max")) === nothing) && (return false) - (getproperty(o, Symbol("min")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1HostPortRange }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1IDRange.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1IDRange.jl deleted file mode 100644 index b53ae234..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1IDRange.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""IDRange provides a min/max of an allowed range of IDs. - - IoK8sApiPolicyV1beta1IDRange(; - max=nothing, - min=nothing, - ) - - - max::Int64 : max is the end of the range, inclusive. - - min::Int64 : min is the start of the range, inclusive. -""" -mutable struct IoK8sApiPolicyV1beta1IDRange <: SwaggerModel - max::Any # spec type: Union{ Nothing, Int64 } # spec name: max - min::Any # spec type: Union{ Nothing, Int64 } # spec name: min - - function IoK8sApiPolicyV1beta1IDRange(;max=nothing, min=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1IDRange, Symbol("max"), max) - setfield!(o, Symbol("max"), max) - validate_property(IoK8sApiPolicyV1beta1IDRange, Symbol("min"), min) - setfield!(o, Symbol("min"), min) - o - end -end # type IoK8sApiPolicyV1beta1IDRange - -const _property_map_IoK8sApiPolicyV1beta1IDRange = Dict{Symbol,Symbol}(Symbol("max")=>Symbol("max"), Symbol("min")=>Symbol("min")) -const _property_types_IoK8sApiPolicyV1beta1IDRange = Dict{Symbol,String}(Symbol("max")=>"Int64", Symbol("min")=>"Int64") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1IDRange }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1IDRange)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1IDRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1IDRange[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1IDRange }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1IDRange[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1IDRange) - (getproperty(o, Symbol("max")) === nothing) && (return false) - (getproperty(o, Symbol("min")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1IDRange }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl deleted file mode 100644 index d6265cc1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods - - IoK8sApiPolicyV1beta1PodDisruptionBudget(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec : Specification of the desired behavior of the PodDisruptionBudget. - - status::IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus : Most recently observed status of the PodDisruptionBudget. -""" -mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudget <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus } # spec name: status - - function IoK8sApiPolicyV1beta1PodDisruptionBudget(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiPolicyV1beta1PodDisruptionBudget - -const _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudget = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudget = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec", Symbol("status")=>"IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudget }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodDisruptionBudget)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudget }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudget[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudget }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudget[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudget) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudget }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl deleted file mode 100644 index b36395ad..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodDisruptionBudgetList is a collection of PodDisruptionBudgets. - - IoK8sApiPolicyV1beta1PodDisruptionBudgetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiPolicyV1beta1PodDisruptionBudget} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudgetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1PodDisruptionBudget} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiPolicyV1beta1PodDisruptionBudgetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiPolicyV1beta1PodDisruptionBudgetList - -const _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiPolicyV1beta1PodDisruptionBudget}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetList }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetList)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetList[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetList }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetList[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudgetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl deleted file mode 100644 index 11512bd3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. - - IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(; - maxUnavailable=nothing, - minAvailable=nothing, - selector=nothing, - ) - - - maxUnavailable::IoK8sApimachineryPkgUtilIntstrIntOrString : An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\". - - minAvailable::IoK8sApimachineryPkgUtilIntstrIntOrString : An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\". - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Label query over pods whose evictions are managed by the disruption budget. -""" -mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec <: SwaggerModel - maxUnavailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: maxUnavailable - minAvailable::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgUtilIntstrIntOrString } # spec name: minAvailable - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - - function IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(;maxUnavailable=nothing, minAvailable=nothing, selector=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec, Symbol("maxUnavailable"), maxUnavailable) - setfield!(o, Symbol("maxUnavailable"), maxUnavailable) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec, Symbol("minAvailable"), minAvailable) - setfield!(o, Symbol("minAvailable"), minAvailable) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - o - end -end # type IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec - -const _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec = Dict{Symbol,Symbol}(Symbol("maxUnavailable")=>Symbol("maxUnavailable"), Symbol("minAvailable")=>Symbol("minAvailable"), Symbol("selector")=>Symbol("selector")) -const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec = Dict{Symbol,String}(Symbol("maxUnavailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("minAvailable")=>"IoK8sApimachineryPkgUtilIntstrIntOrString", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl deleted file mode 100644 index dd354955..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl +++ /dev/null @@ -1,64 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system. - - IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus(; - currentHealthy=nothing, - desiredHealthy=nothing, - disruptedPods=nothing, - disruptionsAllowed=nothing, - expectedPods=nothing, - observedGeneration=nothing, - ) - - - currentHealthy::Int32 : current number of healthy pods - - desiredHealthy::Int32 : minimum desired number of healthy pods - - disruptedPods::Dict{String, IoK8sApimachineryPkgApisMetaV1Time} : DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. - - disruptionsAllowed::Int32 : Number of pod disruptions that are currently allowed. - - expectedPods::Int32 : total number of pods counted by this disruption budget - - observedGeneration::Int64 : Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. -""" -mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus <: SwaggerModel - currentHealthy::Any # spec type: Union{ Nothing, Int32 } # spec name: currentHealthy - desiredHealthy::Any # spec type: Union{ Nothing, Int32 } # spec name: desiredHealthy - disruptedPods::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApisMetaV1Time} } # spec name: disruptedPods - disruptionsAllowed::Any # spec type: Union{ Nothing, Int32 } # spec name: disruptionsAllowed - expectedPods::Any # spec type: Union{ Nothing, Int32 } # spec name: expectedPods - observedGeneration::Any # spec type: Union{ Nothing, Int64 } # spec name: observedGeneration - - function IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus(;currentHealthy=nothing, desiredHealthy=nothing, disruptedPods=nothing, disruptionsAllowed=nothing, expectedPods=nothing, observedGeneration=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("currentHealthy"), currentHealthy) - setfield!(o, Symbol("currentHealthy"), currentHealthy) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("desiredHealthy"), desiredHealthy) - setfield!(o, Symbol("desiredHealthy"), desiredHealthy) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("disruptedPods"), disruptedPods) - setfield!(o, Symbol("disruptedPods"), disruptedPods) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("disruptionsAllowed"), disruptionsAllowed) - setfield!(o, Symbol("disruptionsAllowed"), disruptionsAllowed) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("expectedPods"), expectedPods) - setfield!(o, Symbol("expectedPods"), expectedPods) - validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("observedGeneration"), observedGeneration) - setfield!(o, Symbol("observedGeneration"), observedGeneration) - o - end -end # type IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus - -const _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus = Dict{Symbol,Symbol}(Symbol("currentHealthy")=>Symbol("currentHealthy"), Symbol("desiredHealthy")=>Symbol("desiredHealthy"), Symbol("disruptedPods")=>Symbol("disruptedPods"), Symbol("disruptionsAllowed")=>Symbol("disruptionsAllowed"), Symbol("expectedPods")=>Symbol("expectedPods"), Symbol("observedGeneration")=>Symbol("observedGeneration")) -const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus = Dict{Symbol,String}(Symbol("currentHealthy")=>"Int32", Symbol("desiredHealthy")=>"Int32", Symbol("disruptedPods")=>"Dict{String, IoK8sApimachineryPkgApisMetaV1Time}", Symbol("disruptionsAllowed")=>"Int32", Symbol("expectedPods")=>"Int32", Symbol("observedGeneration")=>"Int64") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus) - (getproperty(o, Symbol("currentHealthy")) === nothing) && (return false) - (getproperty(o, Symbol("desiredHealthy")) === nothing) && (return false) - (getproperty(o, Symbol("disruptionsAllowed")) === nothing) && (return false) - (getproperty(o, Symbol("expectedPods")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl deleted file mode 100644 index ce6919d8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. - - IoK8sApiPolicyV1beta1PodSecurityPolicy(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiPolicyV1beta1PodSecurityPolicySpec : spec defines the policy enforced. -""" -mutable struct IoK8sApiPolicyV1beta1PodSecurityPolicy <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1PodSecurityPolicySpec } # spec name: spec - - function IoK8sApiPolicyV1beta1PodSecurityPolicy(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiPolicyV1beta1PodSecurityPolicy - -const _property_map_IoK8sApiPolicyV1beta1PodSecurityPolicy = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiPolicyV1beta1PodSecurityPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiPolicyV1beta1PodSecurityPolicySpec") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicy }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodSecurityPolicy)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodSecurityPolicy[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicy }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodSecurityPolicy[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodSecurityPolicy) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicy }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl deleted file mode 100644 index 2775b227..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityPolicyList is a list of PodSecurityPolicy objects. - - IoK8sApiPolicyV1beta1PodSecurityPolicyList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiPolicyV1beta1PodSecurityPolicy} : items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiPolicyV1beta1PodSecurityPolicyList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1PodSecurityPolicy} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiPolicyV1beta1PodSecurityPolicyList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiPolicyV1beta1PodSecurityPolicyList - -const _property_map_IoK8sApiPolicyV1beta1PodSecurityPolicyList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiPolicyV1beta1PodSecurityPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiPolicyV1beta1PodSecurityPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicyList }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodSecurityPolicyList)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodSecurityPolicyList[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicyList }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodSecurityPolicyList[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodSecurityPolicyList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicyList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl deleted file mode 100644 index a3f82d94..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl +++ /dev/null @@ -1,154 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodSecurityPolicySpec defines the policy enforced. - - IoK8sApiPolicyV1beta1PodSecurityPolicySpec(; - allowPrivilegeEscalation=nothing, - allowedCSIDrivers=nothing, - allowedCapabilities=nothing, - allowedFlexVolumes=nothing, - allowedHostPaths=nothing, - allowedProcMountTypes=nothing, - allowedUnsafeSysctls=nothing, - defaultAddCapabilities=nothing, - defaultAllowPrivilegeEscalation=nothing, - forbiddenSysctls=nothing, - fsGroup=nothing, - hostIPC=nothing, - hostNetwork=nothing, - hostPID=nothing, - hostPorts=nothing, - privileged=nothing, - readOnlyRootFilesystem=nothing, - requiredDropCapabilities=nothing, - runAsGroup=nothing, - runAsUser=nothing, - runtimeClass=nothing, - seLinux=nothing, - supplementalGroups=nothing, - volumes=nothing, - ) - - - allowPrivilegeEscalation::Bool : allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. - - allowedCSIDrivers::Vector{IoK8sApiPolicyV1beta1AllowedCSIDriver} : AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate. - - allowedCapabilities::Vector{String} : allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. - - allowedFlexVolumes::Vector{IoK8sApiPolicyV1beta1AllowedFlexVolume} : allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. - - allowedHostPaths::Vector{IoK8sApiPolicyV1beta1AllowedHostPath} : allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. - - allowedProcMountTypes::Vector{String} : AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. - - allowedUnsafeSysctls::Vector{String} : allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. - - defaultAddCapabilities::Vector{String} : defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. - - defaultAllowPrivilegeEscalation::Bool : defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. - - forbiddenSysctls::Vector{String} : forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. - - fsGroup::IoK8sApiPolicyV1beta1FSGroupStrategyOptions : fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. - - hostIPC::Bool : hostIPC determines if the policy allows the use of HostIPC in the pod spec. - - hostNetwork::Bool : hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. - - hostPID::Bool : hostPID determines if the policy allows the use of HostPID in the pod spec. - - hostPorts::Vector{IoK8sApiPolicyV1beta1HostPortRange} : hostPorts determines which host port ranges are allowed to be exposed. - - privileged::Bool : privileged determines if a pod can request to be run as privileged. - - readOnlyRootFilesystem::Bool : readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. - - requiredDropCapabilities::Vector{String} : requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. - - runAsGroup::IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions : RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. - - runAsUser::IoK8sApiPolicyV1beta1RunAsUserStrategyOptions : runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. - - runtimeClass::IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions : runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. - - seLinux::IoK8sApiPolicyV1beta1SELinuxStrategyOptions : seLinux is the strategy that will dictate the allowable labels that may be set. - - supplementalGroups::IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions : supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. - - volumes::Vector{String} : volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. -""" -mutable struct IoK8sApiPolicyV1beta1PodSecurityPolicySpec <: SwaggerModel - allowPrivilegeEscalation::Any # spec type: Union{ Nothing, Bool } # spec name: allowPrivilegeEscalation - allowedCSIDrivers::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1AllowedCSIDriver} } # spec name: allowedCSIDrivers - allowedCapabilities::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedCapabilities - allowedFlexVolumes::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1AllowedFlexVolume} } # spec name: allowedFlexVolumes - allowedHostPaths::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1AllowedHostPath} } # spec name: allowedHostPaths - allowedProcMountTypes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedProcMountTypes - allowedUnsafeSysctls::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedUnsafeSysctls - defaultAddCapabilities::Any # spec type: Union{ Nothing, Vector{String} } # spec name: defaultAddCapabilities - defaultAllowPrivilegeEscalation::Any # spec type: Union{ Nothing, Bool } # spec name: defaultAllowPrivilegeEscalation - forbiddenSysctls::Any # spec type: Union{ Nothing, Vector{String} } # spec name: forbiddenSysctls - fsGroup::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1FSGroupStrategyOptions } # spec name: fsGroup - hostIPC::Any # spec type: Union{ Nothing, Bool } # spec name: hostIPC - hostNetwork::Any # spec type: Union{ Nothing, Bool } # spec name: hostNetwork - hostPID::Any # spec type: Union{ Nothing, Bool } # spec name: hostPID - hostPorts::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1HostPortRange} } # spec name: hostPorts - privileged::Any # spec type: Union{ Nothing, Bool } # spec name: privileged - readOnlyRootFilesystem::Any # spec type: Union{ Nothing, Bool } # spec name: readOnlyRootFilesystem - requiredDropCapabilities::Any # spec type: Union{ Nothing, Vector{String} } # spec name: requiredDropCapabilities - runAsGroup::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions } # spec name: runAsGroup - runAsUser::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1RunAsUserStrategyOptions } # spec name: runAsUser - runtimeClass::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions } # spec name: runtimeClass - seLinux::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1SELinuxStrategyOptions } # spec name: seLinux - supplementalGroups::Any # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions } # spec name: supplementalGroups - volumes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: volumes - - function IoK8sApiPolicyV1beta1PodSecurityPolicySpec(;allowPrivilegeEscalation=nothing, allowedCSIDrivers=nothing, allowedCapabilities=nothing, allowedFlexVolumes=nothing, allowedHostPaths=nothing, allowedProcMountTypes=nothing, allowedUnsafeSysctls=nothing, defaultAddCapabilities=nothing, defaultAllowPrivilegeEscalation=nothing, forbiddenSysctls=nothing, fsGroup=nothing, hostIPC=nothing, hostNetwork=nothing, hostPID=nothing, hostPorts=nothing, privileged=nothing, readOnlyRootFilesystem=nothing, requiredDropCapabilities=nothing, runAsGroup=nothing, runAsUser=nothing, runtimeClass=nothing, seLinux=nothing, supplementalGroups=nothing, volumes=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) - setfield!(o, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedCSIDrivers"), allowedCSIDrivers) - setfield!(o, Symbol("allowedCSIDrivers"), allowedCSIDrivers) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedCapabilities"), allowedCapabilities) - setfield!(o, Symbol("allowedCapabilities"), allowedCapabilities) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedFlexVolumes"), allowedFlexVolumes) - setfield!(o, Symbol("allowedFlexVolumes"), allowedFlexVolumes) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedHostPaths"), allowedHostPaths) - setfield!(o, Symbol("allowedHostPaths"), allowedHostPaths) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedProcMountTypes"), allowedProcMountTypes) - setfield!(o, Symbol("allowedProcMountTypes"), allowedProcMountTypes) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedUnsafeSysctls"), allowedUnsafeSysctls) - setfield!(o, Symbol("allowedUnsafeSysctls"), allowedUnsafeSysctls) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("defaultAddCapabilities"), defaultAddCapabilities) - setfield!(o, Symbol("defaultAddCapabilities"), defaultAddCapabilities) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("defaultAllowPrivilegeEscalation"), defaultAllowPrivilegeEscalation) - setfield!(o, Symbol("defaultAllowPrivilegeEscalation"), defaultAllowPrivilegeEscalation) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("forbiddenSysctls"), forbiddenSysctls) - setfield!(o, Symbol("forbiddenSysctls"), forbiddenSysctls) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("fsGroup"), fsGroup) - setfield!(o, Symbol("fsGroup"), fsGroup) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostIPC"), hostIPC) - setfield!(o, Symbol("hostIPC"), hostIPC) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostNetwork"), hostNetwork) - setfield!(o, Symbol("hostNetwork"), hostNetwork) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostPID"), hostPID) - setfield!(o, Symbol("hostPID"), hostPID) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostPorts"), hostPorts) - setfield!(o, Symbol("hostPorts"), hostPorts) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("privileged"), privileged) - setfield!(o, Symbol("privileged"), privileged) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) - setfield!(o, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("requiredDropCapabilities"), requiredDropCapabilities) - setfield!(o, Symbol("requiredDropCapabilities"), requiredDropCapabilities) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("runAsGroup"), runAsGroup) - setfield!(o, Symbol("runAsGroup"), runAsGroup) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("runAsUser"), runAsUser) - setfield!(o, Symbol("runAsUser"), runAsUser) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("runtimeClass"), runtimeClass) - setfield!(o, Symbol("runtimeClass"), runtimeClass) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("seLinux"), seLinux) - setfield!(o, Symbol("seLinux"), seLinux) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("supplementalGroups"), supplementalGroups) - setfield!(o, Symbol("supplementalGroups"), supplementalGroups) - validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("volumes"), volumes) - setfield!(o, Symbol("volumes"), volumes) - o - end -end # type IoK8sApiPolicyV1beta1PodSecurityPolicySpec - -const _property_map_IoK8sApiPolicyV1beta1PodSecurityPolicySpec = Dict{Symbol,Symbol}(Symbol("allowPrivilegeEscalation")=>Symbol("allowPrivilegeEscalation"), Symbol("allowedCSIDrivers")=>Symbol("allowedCSIDrivers"), Symbol("allowedCapabilities")=>Symbol("allowedCapabilities"), Symbol("allowedFlexVolumes")=>Symbol("allowedFlexVolumes"), Symbol("allowedHostPaths")=>Symbol("allowedHostPaths"), Symbol("allowedProcMountTypes")=>Symbol("allowedProcMountTypes"), Symbol("allowedUnsafeSysctls")=>Symbol("allowedUnsafeSysctls"), Symbol("defaultAddCapabilities")=>Symbol("defaultAddCapabilities"), Symbol("defaultAllowPrivilegeEscalation")=>Symbol("defaultAllowPrivilegeEscalation"), Symbol("forbiddenSysctls")=>Symbol("forbiddenSysctls"), Symbol("fsGroup")=>Symbol("fsGroup"), Symbol("hostIPC")=>Symbol("hostIPC"), Symbol("hostNetwork")=>Symbol("hostNetwork"), Symbol("hostPID")=>Symbol("hostPID"), Symbol("hostPorts")=>Symbol("hostPorts"), Symbol("privileged")=>Symbol("privileged"), Symbol("readOnlyRootFilesystem")=>Symbol("readOnlyRootFilesystem"), Symbol("requiredDropCapabilities")=>Symbol("requiredDropCapabilities"), Symbol("runAsGroup")=>Symbol("runAsGroup"), Symbol("runAsUser")=>Symbol("runAsUser"), Symbol("runtimeClass")=>Symbol("runtimeClass"), Symbol("seLinux")=>Symbol("seLinux"), Symbol("supplementalGroups")=>Symbol("supplementalGroups"), Symbol("volumes")=>Symbol("volumes")) -const _property_types_IoK8sApiPolicyV1beta1PodSecurityPolicySpec = Dict{Symbol,String}(Symbol("allowPrivilegeEscalation")=>"Bool", Symbol("allowedCSIDrivers")=>"Vector{IoK8sApiPolicyV1beta1AllowedCSIDriver}", Symbol("allowedCapabilities")=>"Vector{String}", Symbol("allowedFlexVolumes")=>"Vector{IoK8sApiPolicyV1beta1AllowedFlexVolume}", Symbol("allowedHostPaths")=>"Vector{IoK8sApiPolicyV1beta1AllowedHostPath}", Symbol("allowedProcMountTypes")=>"Vector{String}", Symbol("allowedUnsafeSysctls")=>"Vector{String}", Symbol("defaultAddCapabilities")=>"Vector{String}", Symbol("defaultAllowPrivilegeEscalation")=>"Bool", Symbol("forbiddenSysctls")=>"Vector{String}", Symbol("fsGroup")=>"IoK8sApiPolicyV1beta1FSGroupStrategyOptions", Symbol("hostIPC")=>"Bool", Symbol("hostNetwork")=>"Bool", Symbol("hostPID")=>"Bool", Symbol("hostPorts")=>"Vector{IoK8sApiPolicyV1beta1HostPortRange}", Symbol("privileged")=>"Bool", Symbol("readOnlyRootFilesystem")=>"Bool", Symbol("requiredDropCapabilities")=>"Vector{String}", Symbol("runAsGroup")=>"IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions", Symbol("runAsUser")=>"IoK8sApiPolicyV1beta1RunAsUserStrategyOptions", Symbol("runtimeClass")=>"IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions", Symbol("seLinux")=>"IoK8sApiPolicyV1beta1SELinuxStrategyOptions", Symbol("supplementalGroups")=>"IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions", Symbol("volumes")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicySpec }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1PodSecurityPolicySpec)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodSecurityPolicySpec[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicySpec }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1PodSecurityPolicySpec[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1PodSecurityPolicySpec) - (getproperty(o, Symbol("fsGroup")) === nothing) && (return false) - (getproperty(o, Symbol("runAsUser")) === nothing) && (return false) - (getproperty(o, Symbol("seLinux")) === nothing) && (return false) - (getproperty(o, Symbol("supplementalGroups")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicySpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl deleted file mode 100644 index 873e01b4..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. - - IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate the allowable RunAsGroup values that may be set. -""" -mutable struct IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions - -const _property_map_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions) - (getproperty(o, Symbol("rule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl deleted file mode 100644 index 1e4a06f0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. - - IoK8sApiPolicyV1beta1RunAsUserStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate the allowable RunAsUser values that may be set. -""" -mutable struct IoK8sApiPolicyV1beta1RunAsUserStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiPolicyV1beta1RunAsUserStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1RunAsUserStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiPolicyV1beta1RunAsUserStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiPolicyV1beta1RunAsUserStrategyOptions - -const _property_map_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1RunAsUserStrategyOptions }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1RunAsUserStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1RunAsUserStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1RunAsUserStrategyOptions) - (getproperty(o, Symbol("rule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1RunAsUserStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl deleted file mode 100644 index b603c41c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod. - - IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions(; - allowedRuntimeClassNames=nothing, - defaultRuntimeClassName=nothing, - ) - - - allowedRuntimeClassNames::Vector{String} : allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset. - - defaultRuntimeClassName::String : defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. -""" -mutable struct IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions <: SwaggerModel - allowedRuntimeClassNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: allowedRuntimeClassNames - defaultRuntimeClassName::Any # spec type: Union{ Nothing, String } # spec name: defaultRuntimeClassName - - function IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions(;allowedRuntimeClassNames=nothing, defaultRuntimeClassName=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions, Symbol("allowedRuntimeClassNames"), allowedRuntimeClassNames) - setfield!(o, Symbol("allowedRuntimeClassNames"), allowedRuntimeClassNames) - validate_property(IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions, Symbol("defaultRuntimeClassName"), defaultRuntimeClassName) - setfield!(o, Symbol("defaultRuntimeClassName"), defaultRuntimeClassName) - o - end -end # type IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions - -const _property_map_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions = Dict{Symbol,Symbol}(Symbol("allowedRuntimeClassNames")=>Symbol("allowedRuntimeClassNames"), Symbol("defaultRuntimeClassName")=>Symbol("defaultRuntimeClassName")) -const _property_types_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions = Dict{Symbol,String}(Symbol("allowedRuntimeClassNames")=>"Vector{String}", Symbol("defaultRuntimeClassName")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions) - (getproperty(o, Symbol("allowedRuntimeClassNames")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl deleted file mode 100644 index 2da6c182..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. - - IoK8sApiPolicyV1beta1SELinuxStrategyOptions(; - rule=nothing, - seLinuxOptions=nothing, - ) - - - rule::String : rule is the strategy that will dictate the allowable labels that may be set. - - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions : seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -""" -mutable struct IoK8sApiPolicyV1beta1SELinuxStrategyOptions <: SwaggerModel - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - seLinuxOptions::Any # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } # spec name: seLinuxOptions - - function IoK8sApiPolicyV1beta1SELinuxStrategyOptions(;rule=nothing, seLinuxOptions=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1SELinuxStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - validate_property(IoK8sApiPolicyV1beta1SELinuxStrategyOptions, Symbol("seLinuxOptions"), seLinuxOptions) - setfield!(o, Symbol("seLinuxOptions"), seLinuxOptions) - o - end -end # type IoK8sApiPolicyV1beta1SELinuxStrategyOptions - -const _property_map_IoK8sApiPolicyV1beta1SELinuxStrategyOptions = Dict{Symbol,Symbol}(Symbol("rule")=>Symbol("rule"), Symbol("seLinuxOptions")=>Symbol("seLinuxOptions")) -const _property_types_IoK8sApiPolicyV1beta1SELinuxStrategyOptions = Dict{Symbol,String}(Symbol("rule")=>"String", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1SELinuxStrategyOptions }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1SELinuxStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1SELinuxStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1SELinuxStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1SELinuxStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1SELinuxStrategyOptions[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1SELinuxStrategyOptions) - (getproperty(o, Symbol("rule")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1SELinuxStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl b/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl deleted file mode 100644 index 8b854741..00000000 --- a/src/ApiImpl/api/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. - - IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions(; - ranges=nothing, - rule=nothing, - ) - - - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. - - rule::String : rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. -""" -mutable struct IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions <: SwaggerModel - ranges::Any # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } # spec name: ranges - rule::Any # spec type: Union{ Nothing, String } # spec name: rule - - function IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions(;ranges=nothing, rule=nothing) - o = new() - validate_property(IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions, Symbol("ranges"), ranges) - setfield!(o, Symbol("ranges"), ranges) - validate_property(IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions, Symbol("rule"), rule) - setfield!(o, Symbol("rule"), rule) - o - end -end # type IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions - -const _property_map_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions = Dict{Symbol,Symbol}(Symbol("ranges")=>Symbol("ranges"), Symbol("rule")=>Symbol("rule")) -const _property_types_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String") -Base.propertynames(::Type{ IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions }) = collect(keys(_property_map_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions)) -Swagger.property_type(::Type{ IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions[name]))} -Swagger.field_name(::Type{ IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions }, property_name::Symbol) = _property_map_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions[property_name] - -function check_required(o::IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions) - true -end - -function validate_property(::Type{ IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1AggregationRule.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1AggregationRule.jl deleted file mode 100644 index 8e94f6b8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1AggregationRule.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole - - IoK8sApiRbacV1AggregationRule(; - clusterRoleSelectors=nothing, - ) - - - clusterRoleSelectors::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} : ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added -""" -mutable struct IoK8sApiRbacV1AggregationRule <: SwaggerModel - clusterRoleSelectors::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} } # spec name: clusterRoleSelectors - - function IoK8sApiRbacV1AggregationRule(;clusterRoleSelectors=nothing) - o = new() - validate_property(IoK8sApiRbacV1AggregationRule, Symbol("clusterRoleSelectors"), clusterRoleSelectors) - setfield!(o, Symbol("clusterRoleSelectors"), clusterRoleSelectors) - o - end -end # type IoK8sApiRbacV1AggregationRule - -const _property_map_IoK8sApiRbacV1AggregationRule = Dict{Symbol,Symbol}(Symbol("clusterRoleSelectors")=>Symbol("clusterRoleSelectors")) -const _property_types_IoK8sApiRbacV1AggregationRule = Dict{Symbol,String}(Symbol("clusterRoleSelectors")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector}") -Base.propertynames(::Type{ IoK8sApiRbacV1AggregationRule }) = collect(keys(_property_map_IoK8sApiRbacV1AggregationRule)) -Swagger.property_type(::Type{ IoK8sApiRbacV1AggregationRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1AggregationRule[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1AggregationRule }, property_name::Symbol) = _property_map_IoK8sApiRbacV1AggregationRule[property_name] - -function check_required(o::IoK8sApiRbacV1AggregationRule) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1AggregationRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRole.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRole.jl deleted file mode 100644 index 767b76f8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRole.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. - - IoK8sApiRbacV1ClusterRole(; - aggregationRule=nothing, - apiVersion=nothing, - kind=nothing, - metadata=nothing, - rules=nothing, - ) - - - aggregationRule::IoK8sApiRbacV1AggregationRule : AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - rules::Vector{IoK8sApiRbacV1PolicyRule} : Rules holds all the PolicyRules for this ClusterRole -""" -mutable struct IoK8sApiRbacV1ClusterRole <: SwaggerModel - aggregationRule::Any # spec type: Union{ Nothing, IoK8sApiRbacV1AggregationRule } # spec name: aggregationRule - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1PolicyRule} } # spec name: rules - - function IoK8sApiRbacV1ClusterRole(;aggregationRule=nothing, apiVersion=nothing, kind=nothing, metadata=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiRbacV1ClusterRole, Symbol("aggregationRule"), aggregationRule) - setfield!(o, Symbol("aggregationRule"), aggregationRule) - validate_property(IoK8sApiRbacV1ClusterRole, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1ClusterRole, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1ClusterRole, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1ClusterRole, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiRbacV1ClusterRole - -const _property_map_IoK8sApiRbacV1ClusterRole = Dict{Symbol,Symbol}(Symbol("aggregationRule")=>Symbol("aggregationRule"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiRbacV1ClusterRole = Dict{Symbol,String}(Symbol("aggregationRule")=>"IoK8sApiRbacV1AggregationRule", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1PolicyRule}") -Base.propertynames(::Type{ IoK8sApiRbacV1ClusterRole }) = collect(keys(_property_map_IoK8sApiRbacV1ClusterRole)) -Swagger.property_type(::Type{ IoK8sApiRbacV1ClusterRole }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRole[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1ClusterRole }, property_name::Symbol) = _property_map_IoK8sApiRbacV1ClusterRole[property_name] - -function check_required(o::IoK8sApiRbacV1ClusterRole) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1ClusterRole }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleBinding.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleBinding.jl deleted file mode 100644 index 5ab179bc..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleBinding.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. - - IoK8sApiRbacV1ClusterRoleBinding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - roleRef=nothing, - subjects=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - roleRef::IoK8sApiRbacV1RoleRef : RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. - - subjects::Vector{IoK8sApiRbacV1Subject} : Subjects holds references to the objects the role applies to. -""" -mutable struct IoK8sApiRbacV1ClusterRoleBinding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - roleRef::Any # spec type: Union{ Nothing, IoK8sApiRbacV1RoleRef } # spec name: roleRef - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1Subject} } # spec name: subjects - - function IoK8sApiRbacV1ClusterRoleBinding(;apiVersion=nothing, kind=nothing, metadata=nothing, roleRef=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("roleRef"), roleRef) - setfield!(o, Symbol("roleRef"), roleRef) - validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiRbacV1ClusterRoleBinding - -const _property_map_IoK8sApiRbacV1ClusterRoleBinding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("roleRef")=>Symbol("roleRef"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiRbacV1ClusterRoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1Subject}") -Base.propertynames(::Type{ IoK8sApiRbacV1ClusterRoleBinding }) = collect(keys(_property_map_IoK8sApiRbacV1ClusterRoleBinding)) -Swagger.property_type(::Type{ IoK8sApiRbacV1ClusterRoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRoleBinding[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1ClusterRoleBinding }, property_name::Symbol) = _property_map_IoK8sApiRbacV1ClusterRoleBinding[property_name] - -function check_required(o::IoK8sApiRbacV1ClusterRoleBinding) - (getproperty(o, Symbol("roleRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1ClusterRoleBinding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleBindingList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleBindingList.jl deleted file mode 100644 index e186e032..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleBindingList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleBindingList is a collection of ClusterRoleBindings - - IoK8sApiRbacV1ClusterRoleBindingList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1ClusterRoleBinding} : Items is a list of ClusterRoleBindings - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1ClusterRoleBindingList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1ClusterRoleBinding} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1ClusterRoleBindingList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1ClusterRoleBindingList - -const _property_map_IoK8sApiRbacV1ClusterRoleBindingList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1ClusterRoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1ClusterRoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1ClusterRoleBindingList }) = collect(keys(_property_map_IoK8sApiRbacV1ClusterRoleBindingList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1ClusterRoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRoleBindingList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1ClusterRoleBindingList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1ClusterRoleBindingList[property_name] - -function check_required(o::IoK8sApiRbacV1ClusterRoleBindingList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1ClusterRoleBindingList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleList.jl deleted file mode 100644 index d0515b18..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1ClusterRoleList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleList is a collection of ClusterRoles - - IoK8sApiRbacV1ClusterRoleList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1ClusterRole} : Items is a list of ClusterRoles - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1ClusterRoleList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1ClusterRole} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1ClusterRoleList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1ClusterRoleList - -const _property_map_IoK8sApiRbacV1ClusterRoleList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1ClusterRoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1ClusterRole}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1ClusterRoleList }) = collect(keys(_property_map_IoK8sApiRbacV1ClusterRoleList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1ClusterRoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRoleList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1ClusterRoleList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1ClusterRoleList[property_name] - -function check_required(o::IoK8sApiRbacV1ClusterRoleList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1ClusterRoleList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1PolicyRule.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1PolicyRule.jl deleted file mode 100644 index cb29ad81..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1PolicyRule.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. - - IoK8sApiRbacV1PolicyRule(; - apiGroups=nothing, - nonResourceURLs=nothing, - resourceNames=nothing, - resources=nothing, - verbs=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. - - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. - - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. - - resources::Vector{String} : Resources is a list of resources this rule applies to. ResourceAll represents all resources. - - verbs::Vector{String} : Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. -""" -mutable struct IoK8sApiRbacV1PolicyRule <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - nonResourceURLs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nonResourceURLs - resourceNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resourceNames - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiRbacV1PolicyRule(;apiGroups=nothing, nonResourceURLs=nothing, resourceNames=nothing, resources=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiRbacV1PolicyRule, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiRbacV1PolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) - setfield!(o, Symbol("nonResourceURLs"), nonResourceURLs) - validate_property(IoK8sApiRbacV1PolicyRule, Symbol("resourceNames"), resourceNames) - setfield!(o, Symbol("resourceNames"), resourceNames) - validate_property(IoK8sApiRbacV1PolicyRule, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiRbacV1PolicyRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiRbacV1PolicyRule - -const _property_map_IoK8sApiRbacV1PolicyRule = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("nonResourceURLs")=>Symbol("nonResourceURLs"), Symbol("resourceNames")=>Symbol("resourceNames"), Symbol("resources")=>Symbol("resources"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiRbacV1PolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("nonResourceURLs")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiRbacV1PolicyRule }) = collect(keys(_property_map_IoK8sApiRbacV1PolicyRule)) -Swagger.property_type(::Type{ IoK8sApiRbacV1PolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1PolicyRule[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1PolicyRule }, property_name::Symbol) = _property_map_IoK8sApiRbacV1PolicyRule[property_name] - -function check_required(o::IoK8sApiRbacV1PolicyRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1PolicyRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1Role.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1Role.jl deleted file mode 100644 index c8664a8a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1Role.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. - - IoK8sApiRbacV1Role(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - rules=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - rules::Vector{IoK8sApiRbacV1PolicyRule} : Rules holds all the PolicyRules for this Role -""" -mutable struct IoK8sApiRbacV1Role <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1PolicyRule} } # spec name: rules - - function IoK8sApiRbacV1Role(;apiVersion=nothing, kind=nothing, metadata=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiRbacV1Role, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1Role, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1Role, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1Role, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiRbacV1Role - -const _property_map_IoK8sApiRbacV1Role = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiRbacV1Role = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1PolicyRule}") -Base.propertynames(::Type{ IoK8sApiRbacV1Role }) = collect(keys(_property_map_IoK8sApiRbacV1Role)) -Swagger.property_type(::Type{ IoK8sApiRbacV1Role }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1Role[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1Role }, property_name::Symbol) = _property_map_IoK8sApiRbacV1Role[property_name] - -function check_required(o::IoK8sApiRbacV1Role) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1Role }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleBinding.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1RoleBinding.jl deleted file mode 100644 index bf8b1a7c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleBinding.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. - - IoK8sApiRbacV1RoleBinding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - roleRef=nothing, - subjects=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - roleRef::IoK8sApiRbacV1RoleRef : RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. - - subjects::Vector{IoK8sApiRbacV1Subject} : Subjects holds references to the objects the role applies to. -""" -mutable struct IoK8sApiRbacV1RoleBinding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - roleRef::Any # spec type: Union{ Nothing, IoK8sApiRbacV1RoleRef } # spec name: roleRef - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1Subject} } # spec name: subjects - - function IoK8sApiRbacV1RoleBinding(;apiVersion=nothing, kind=nothing, metadata=nothing, roleRef=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiRbacV1RoleBinding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1RoleBinding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1RoleBinding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1RoleBinding, Symbol("roleRef"), roleRef) - setfield!(o, Symbol("roleRef"), roleRef) - validate_property(IoK8sApiRbacV1RoleBinding, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiRbacV1RoleBinding - -const _property_map_IoK8sApiRbacV1RoleBinding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("roleRef")=>Symbol("roleRef"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiRbacV1RoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1Subject}") -Base.propertynames(::Type{ IoK8sApiRbacV1RoleBinding }) = collect(keys(_property_map_IoK8sApiRbacV1RoleBinding)) -Swagger.property_type(::Type{ IoK8sApiRbacV1RoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleBinding[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1RoleBinding }, property_name::Symbol) = _property_map_IoK8sApiRbacV1RoleBinding[property_name] - -function check_required(o::IoK8sApiRbacV1RoleBinding) - (getproperty(o, Symbol("roleRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1RoleBinding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleBindingList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1RoleBindingList.jl deleted file mode 100644 index 43e76997..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleBindingList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleBindingList is a collection of RoleBindings - - IoK8sApiRbacV1RoleBindingList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1RoleBinding} : Items is a list of RoleBindings - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1RoleBindingList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1RoleBinding} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1RoleBindingList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1RoleBindingList - -const _property_map_IoK8sApiRbacV1RoleBindingList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1RoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1RoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1RoleBindingList }) = collect(keys(_property_map_IoK8sApiRbacV1RoleBindingList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1RoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleBindingList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1RoleBindingList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1RoleBindingList[property_name] - -function check_required(o::IoK8sApiRbacV1RoleBindingList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1RoleBindingList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1RoleList.jl deleted file mode 100644 index e7d7613f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleList is a collection of Roles - - IoK8sApiRbacV1RoleList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1Role} : Items is a list of Roles - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1RoleList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1Role} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1RoleList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1RoleList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1RoleList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1RoleList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1RoleList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1RoleList - -const _property_map_IoK8sApiRbacV1RoleList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1RoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1Role}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1RoleList }) = collect(keys(_property_map_IoK8sApiRbacV1RoleList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1RoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1RoleList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1RoleList[property_name] - -function check_required(o::IoK8sApiRbacV1RoleList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1RoleList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleRef.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1RoleRef.jl deleted file mode 100644 index af97c770..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1RoleRef.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleRef contains information that points to the role being used - - IoK8sApiRbacV1RoleRef(; - apiGroup=nothing, - kind=nothing, - name=nothing, - ) - - - apiGroup::String : APIGroup is the group for the resource being referenced - - kind::String : Kind is the type of resource being referenced - - name::String : Name is the name of resource being referenced -""" -mutable struct IoK8sApiRbacV1RoleRef <: SwaggerModel - apiGroup::Any # spec type: Union{ Nothing, String } # spec name: apiGroup - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiRbacV1RoleRef(;apiGroup=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiRbacV1RoleRef, Symbol("apiGroup"), apiGroup) - setfield!(o, Symbol("apiGroup"), apiGroup) - validate_property(IoK8sApiRbacV1RoleRef, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1RoleRef, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiRbacV1RoleRef - -const _property_map_IoK8sApiRbacV1RoleRef = Dict{Symbol,Symbol}(Symbol("apiGroup")=>Symbol("apiGroup"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiRbacV1RoleRef = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiRbacV1RoleRef }) = collect(keys(_property_map_IoK8sApiRbacV1RoleRef)) -Swagger.property_type(::Type{ IoK8sApiRbacV1RoleRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleRef[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1RoleRef }, property_name::Symbol) = _property_map_IoK8sApiRbacV1RoleRef[property_name] - -function check_required(o::IoK8sApiRbacV1RoleRef) - (getproperty(o, Symbol("apiGroup")) === nothing) && (return false) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1RoleRef }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1Subject.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1Subject.jl deleted file mode 100644 index e1204289..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1Subject.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. - - IoK8sApiRbacV1Subject(; - apiGroup=nothing, - kind=nothing, - name=nothing, - namespace=nothing, - ) - - - apiGroup::String : APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. - - kind::String : Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. - - name::String : Name of the object being referenced. - - namespace::String : Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. -""" -mutable struct IoK8sApiRbacV1Subject <: SwaggerModel - apiGroup::Any # spec type: Union{ Nothing, String } # spec name: apiGroup - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiRbacV1Subject(;apiGroup=nothing, kind=nothing, name=nothing, namespace=nothing) - o = new() - validate_property(IoK8sApiRbacV1Subject, Symbol("apiGroup"), apiGroup) - setfield!(o, Symbol("apiGroup"), apiGroup) - validate_property(IoK8sApiRbacV1Subject, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1Subject, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiRbacV1Subject, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiRbacV1Subject - -const _property_map_IoK8sApiRbacV1Subject = Dict{Symbol,Symbol}(Symbol("apiGroup")=>Symbol("apiGroup"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiRbacV1Subject = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiRbacV1Subject }) = collect(keys(_property_map_IoK8sApiRbacV1Subject)) -Swagger.property_type(::Type{ IoK8sApiRbacV1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1Subject[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1Subject }, property_name::Symbol) = _property_map_IoK8sApiRbacV1Subject[property_name] - -function check_required(o::IoK8sApiRbacV1Subject) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1Subject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1AggregationRule.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1AggregationRule.jl deleted file mode 100644 index 49449aca..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1AggregationRule.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole - - IoK8sApiRbacV1alpha1AggregationRule(; - clusterRoleSelectors=nothing, - ) - - - clusterRoleSelectors::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} : ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added -""" -mutable struct IoK8sApiRbacV1alpha1AggregationRule <: SwaggerModel - clusterRoleSelectors::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} } # spec name: clusterRoleSelectors - - function IoK8sApiRbacV1alpha1AggregationRule(;clusterRoleSelectors=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1AggregationRule, Symbol("clusterRoleSelectors"), clusterRoleSelectors) - setfield!(o, Symbol("clusterRoleSelectors"), clusterRoleSelectors) - o - end -end # type IoK8sApiRbacV1alpha1AggregationRule - -const _property_map_IoK8sApiRbacV1alpha1AggregationRule = Dict{Symbol,Symbol}(Symbol("clusterRoleSelectors")=>Symbol("clusterRoleSelectors")) -const _property_types_IoK8sApiRbacV1alpha1AggregationRule = Dict{Symbol,String}(Symbol("clusterRoleSelectors")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector}") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1AggregationRule }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1AggregationRule)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1AggregationRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1AggregationRule[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1AggregationRule }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1AggregationRule[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1AggregationRule) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1AggregationRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRole.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRole.jl deleted file mode 100644 index df94fd5e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRole.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1ClusterRole(; - aggregationRule=nothing, - apiVersion=nothing, - kind=nothing, - metadata=nothing, - rules=nothing, - ) - - - aggregationRule::IoK8sApiRbacV1alpha1AggregationRule : AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - rules::Vector{IoK8sApiRbacV1alpha1PolicyRule} : Rules holds all the PolicyRules for this ClusterRole -""" -mutable struct IoK8sApiRbacV1alpha1ClusterRole <: SwaggerModel - aggregationRule::Any # spec type: Union{ Nothing, IoK8sApiRbacV1alpha1AggregationRule } # spec name: aggregationRule - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1PolicyRule} } # spec name: rules - - function IoK8sApiRbacV1alpha1ClusterRole(;aggregationRule=nothing, apiVersion=nothing, kind=nothing, metadata=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("aggregationRule"), aggregationRule) - setfield!(o, Symbol("aggregationRule"), aggregationRule) - validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiRbacV1alpha1ClusterRole - -const _property_map_IoK8sApiRbacV1alpha1ClusterRole = Dict{Symbol,Symbol}(Symbol("aggregationRule")=>Symbol("aggregationRule"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiRbacV1alpha1ClusterRole = Dict{Symbol,String}(Symbol("aggregationRule")=>"IoK8sApiRbacV1alpha1AggregationRule", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1alpha1PolicyRule}") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1ClusterRole }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1ClusterRole)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRole }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRole[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1ClusterRole }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1ClusterRole[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1ClusterRole) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRole }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl deleted file mode 100644 index e0c33747..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1ClusterRoleBinding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - roleRef=nothing, - subjects=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - roleRef::IoK8sApiRbacV1alpha1RoleRef : RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. - - subjects::Vector{IoK8sApiRbacV1alpha1Subject} : Subjects holds references to the objects the role applies to. -""" -mutable struct IoK8sApiRbacV1alpha1ClusterRoleBinding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - roleRef::Any # spec type: Union{ Nothing, IoK8sApiRbacV1alpha1RoleRef } # spec name: roleRef - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1Subject} } # spec name: subjects - - function IoK8sApiRbacV1alpha1ClusterRoleBinding(;apiVersion=nothing, kind=nothing, metadata=nothing, roleRef=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("roleRef"), roleRef) - setfield!(o, Symbol("roleRef"), roleRef) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiRbacV1alpha1ClusterRoleBinding - -const _property_map_IoK8sApiRbacV1alpha1ClusterRoleBinding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("roleRef")=>Symbol("roleRef"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiRbacV1alpha1ClusterRoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1alpha1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1alpha1Subject}") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBinding }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1ClusterRoleBinding)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRoleBinding[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBinding }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1ClusterRoleBinding[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1ClusterRoleBinding) - (getproperty(o, Symbol("roleRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBinding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl deleted file mode 100644 index 491cad98..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1ClusterRoleBindingList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1alpha1ClusterRoleBinding} : Items is a list of ClusterRoleBindings - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1alpha1ClusterRoleBindingList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1ClusterRoleBinding} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1alpha1ClusterRoleBindingList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1alpha1ClusterRoleBindingList - -const _property_map_IoK8sApiRbacV1alpha1ClusterRoleBindingList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1alpha1ClusterRoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1ClusterRoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBindingList }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1ClusterRoleBindingList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRoleBindingList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBindingList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1ClusterRoleBindingList[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1ClusterRoleBindingList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBindingList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl deleted file mode 100644 index 9de883cf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1ClusterRoleList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1alpha1ClusterRole} : Items is a list of ClusterRoles - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1alpha1ClusterRoleList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1ClusterRole} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1alpha1ClusterRoleList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1alpha1ClusterRoleList - -const _property_map_IoK8sApiRbacV1alpha1ClusterRoleList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1alpha1ClusterRoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1ClusterRole}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1ClusterRoleList }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1ClusterRoleList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRoleList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1ClusterRoleList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1ClusterRoleList[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1ClusterRoleList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRoleList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1PolicyRule.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1PolicyRule.jl deleted file mode 100644 index d8dfac7f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1PolicyRule.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. - - IoK8sApiRbacV1alpha1PolicyRule(; - apiGroups=nothing, - nonResourceURLs=nothing, - resourceNames=nothing, - resources=nothing, - verbs=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. - - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. - - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. - - resources::Vector{String} : Resources is a list of resources this rule applies to. ResourceAll represents all resources. - - verbs::Vector{String} : Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. -""" -mutable struct IoK8sApiRbacV1alpha1PolicyRule <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - nonResourceURLs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nonResourceURLs - resourceNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resourceNames - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiRbacV1alpha1PolicyRule(;apiGroups=nothing, nonResourceURLs=nothing, resourceNames=nothing, resources=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) - setfield!(o, Symbol("nonResourceURLs"), nonResourceURLs) - validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("resourceNames"), resourceNames) - setfield!(o, Symbol("resourceNames"), resourceNames) - validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiRbacV1alpha1PolicyRule - -const _property_map_IoK8sApiRbacV1alpha1PolicyRule = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("nonResourceURLs")=>Symbol("nonResourceURLs"), Symbol("resourceNames")=>Symbol("resourceNames"), Symbol("resources")=>Symbol("resources"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiRbacV1alpha1PolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("nonResourceURLs")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1PolicyRule }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1PolicyRule)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1PolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1PolicyRule[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1PolicyRule }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1PolicyRule[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1PolicyRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1PolicyRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1Role.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1Role.jl deleted file mode 100644 index a4295ece..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1Role.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1Role(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - rules=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - rules::Vector{IoK8sApiRbacV1alpha1PolicyRule} : Rules holds all the PolicyRules for this Role -""" -mutable struct IoK8sApiRbacV1alpha1Role <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1PolicyRule} } # spec name: rules - - function IoK8sApiRbacV1alpha1Role(;apiVersion=nothing, kind=nothing, metadata=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1Role, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1Role, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1Role, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1alpha1Role, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiRbacV1alpha1Role - -const _property_map_IoK8sApiRbacV1alpha1Role = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiRbacV1alpha1Role = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1alpha1PolicyRule}") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1Role }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1Role)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1Role }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1Role[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1Role }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1Role[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1Role) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1Role }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleBinding.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleBinding.jl deleted file mode 100644 index 42817791..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleBinding.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1RoleBinding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - roleRef=nothing, - subjects=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - roleRef::IoK8sApiRbacV1alpha1RoleRef : RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. - - subjects::Vector{IoK8sApiRbacV1alpha1Subject} : Subjects holds references to the objects the role applies to. -""" -mutable struct IoK8sApiRbacV1alpha1RoleBinding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - roleRef::Any # spec type: Union{ Nothing, IoK8sApiRbacV1alpha1RoleRef } # spec name: roleRef - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1Subject} } # spec name: subjects - - function IoK8sApiRbacV1alpha1RoleBinding(;apiVersion=nothing, kind=nothing, metadata=nothing, roleRef=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("roleRef"), roleRef) - setfield!(o, Symbol("roleRef"), roleRef) - validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiRbacV1alpha1RoleBinding - -const _property_map_IoK8sApiRbacV1alpha1RoleBinding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("roleRef")=>Symbol("roleRef"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiRbacV1alpha1RoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1alpha1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1alpha1Subject}") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1RoleBinding }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1RoleBinding)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1RoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleBinding[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1RoleBinding }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1RoleBinding[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1RoleBinding) - (getproperty(o, Symbol("roleRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1RoleBinding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleBindingList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleBindingList.jl deleted file mode 100644 index c9515ab1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleBindingList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1RoleBindingList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1alpha1RoleBinding} : Items is a list of RoleBindings - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1alpha1RoleBindingList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1RoleBinding} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1alpha1RoleBindingList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1alpha1RoleBindingList - -const _property_map_IoK8sApiRbacV1alpha1RoleBindingList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1alpha1RoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1RoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1RoleBindingList }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1RoleBindingList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1RoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleBindingList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1RoleBindingList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1RoleBindingList[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1RoleBindingList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1RoleBindingList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleList.jl deleted file mode 100644 index a48d9b4f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20. - - IoK8sApiRbacV1alpha1RoleList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1alpha1Role} : Items is a list of Roles - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1alpha1RoleList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1Role} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1alpha1RoleList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1alpha1RoleList - -const _property_map_IoK8sApiRbacV1alpha1RoleList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1alpha1RoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1Role}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1RoleList }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1RoleList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1RoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1RoleList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1RoleList[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1RoleList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1RoleList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleRef.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleRef.jl deleted file mode 100644 index 6af7d6d3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1RoleRef.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleRef contains information that points to the role being used - - IoK8sApiRbacV1alpha1RoleRef(; - apiGroup=nothing, - kind=nothing, - name=nothing, - ) - - - apiGroup::String : APIGroup is the group for the resource being referenced - - kind::String : Kind is the type of resource being referenced - - name::String : Name is the name of resource being referenced -""" -mutable struct IoK8sApiRbacV1alpha1RoleRef <: SwaggerModel - apiGroup::Any # spec type: Union{ Nothing, String } # spec name: apiGroup - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiRbacV1alpha1RoleRef(;apiGroup=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1RoleRef, Symbol("apiGroup"), apiGroup) - setfield!(o, Symbol("apiGroup"), apiGroup) - validate_property(IoK8sApiRbacV1alpha1RoleRef, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1RoleRef, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiRbacV1alpha1RoleRef - -const _property_map_IoK8sApiRbacV1alpha1RoleRef = Dict{Symbol,Symbol}(Symbol("apiGroup")=>Symbol("apiGroup"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiRbacV1alpha1RoleRef = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1RoleRef }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1RoleRef)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1RoleRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleRef[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1RoleRef }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1RoleRef[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1RoleRef) - (getproperty(o, Symbol("apiGroup")) === nothing) && (return false) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1RoleRef }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1Subject.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1Subject.jl deleted file mode 100644 index 3e58c183..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1alpha1Subject.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. - - IoK8sApiRbacV1alpha1Subject(; - apiVersion=nothing, - kind=nothing, - name=nothing, - namespace=nothing, - ) - - - apiVersion::String : APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects. - - kind::String : Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. - - name::String : Name of the object being referenced. - - namespace::String : Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. -""" -mutable struct IoK8sApiRbacV1alpha1Subject <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiRbacV1alpha1Subject(;apiVersion=nothing, kind=nothing, name=nothing, namespace=nothing) - o = new() - validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiRbacV1alpha1Subject - -const _property_map_IoK8sApiRbacV1alpha1Subject = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiRbacV1alpha1Subject = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiRbacV1alpha1Subject }) = collect(keys(_property_map_IoK8sApiRbacV1alpha1Subject)) -Swagger.property_type(::Type{ IoK8sApiRbacV1alpha1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1Subject[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1alpha1Subject }, property_name::Symbol) = _property_map_IoK8sApiRbacV1alpha1Subject[property_name] - -function check_required(o::IoK8sApiRbacV1alpha1Subject) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1alpha1Subject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1AggregationRule.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1AggregationRule.jl deleted file mode 100644 index 5d5e0c2a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1AggregationRule.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole - - IoK8sApiRbacV1beta1AggregationRule(; - clusterRoleSelectors=nothing, - ) - - - clusterRoleSelectors::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} : ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added -""" -mutable struct IoK8sApiRbacV1beta1AggregationRule <: SwaggerModel - clusterRoleSelectors::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} } # spec name: clusterRoleSelectors - - function IoK8sApiRbacV1beta1AggregationRule(;clusterRoleSelectors=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1AggregationRule, Symbol("clusterRoleSelectors"), clusterRoleSelectors) - setfield!(o, Symbol("clusterRoleSelectors"), clusterRoleSelectors) - o - end -end # type IoK8sApiRbacV1beta1AggregationRule - -const _property_map_IoK8sApiRbacV1beta1AggregationRule = Dict{Symbol,Symbol}(Symbol("clusterRoleSelectors")=>Symbol("clusterRoleSelectors")) -const _property_types_IoK8sApiRbacV1beta1AggregationRule = Dict{Symbol,String}(Symbol("clusterRoleSelectors")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector}") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1AggregationRule }) = collect(keys(_property_map_IoK8sApiRbacV1beta1AggregationRule)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1AggregationRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1AggregationRule[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1AggregationRule }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1AggregationRule[property_name] - -function check_required(o::IoK8sApiRbacV1beta1AggregationRule) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1AggregationRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRole.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRole.jl deleted file mode 100644 index 2b04a99b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRole.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1ClusterRole(; - aggregationRule=nothing, - apiVersion=nothing, - kind=nothing, - metadata=nothing, - rules=nothing, - ) - - - aggregationRule::IoK8sApiRbacV1beta1AggregationRule : AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - rules::Vector{IoK8sApiRbacV1beta1PolicyRule} : Rules holds all the PolicyRules for this ClusterRole -""" -mutable struct IoK8sApiRbacV1beta1ClusterRole <: SwaggerModel - aggregationRule::Any # spec type: Union{ Nothing, IoK8sApiRbacV1beta1AggregationRule } # spec name: aggregationRule - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1PolicyRule} } # spec name: rules - - function IoK8sApiRbacV1beta1ClusterRole(;aggregationRule=nothing, apiVersion=nothing, kind=nothing, metadata=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("aggregationRule"), aggregationRule) - setfield!(o, Symbol("aggregationRule"), aggregationRule) - validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiRbacV1beta1ClusterRole - -const _property_map_IoK8sApiRbacV1beta1ClusterRole = Dict{Symbol,Symbol}(Symbol("aggregationRule")=>Symbol("aggregationRule"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiRbacV1beta1ClusterRole = Dict{Symbol,String}(Symbol("aggregationRule")=>"IoK8sApiRbacV1beta1AggregationRule", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1beta1PolicyRule}") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1ClusterRole }) = collect(keys(_property_map_IoK8sApiRbacV1beta1ClusterRole)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRole }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRole[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1ClusterRole }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1ClusterRole[property_name] - -function check_required(o::IoK8sApiRbacV1beta1ClusterRole) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRole }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl deleted file mode 100644 index 0ff5cfb7..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1ClusterRoleBinding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - roleRef=nothing, - subjects=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - roleRef::IoK8sApiRbacV1beta1RoleRef : RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. - - subjects::Vector{IoK8sApiRbacV1beta1Subject} : Subjects holds references to the objects the role applies to. -""" -mutable struct IoK8sApiRbacV1beta1ClusterRoleBinding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - roleRef::Any # spec type: Union{ Nothing, IoK8sApiRbacV1beta1RoleRef } # spec name: roleRef - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1Subject} } # spec name: subjects - - function IoK8sApiRbacV1beta1ClusterRoleBinding(;apiVersion=nothing, kind=nothing, metadata=nothing, roleRef=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("roleRef"), roleRef) - setfield!(o, Symbol("roleRef"), roleRef) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiRbacV1beta1ClusterRoleBinding - -const _property_map_IoK8sApiRbacV1beta1ClusterRoleBinding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("roleRef")=>Symbol("roleRef"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiRbacV1beta1ClusterRoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1beta1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1beta1Subject}") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1ClusterRoleBinding }) = collect(keys(_property_map_IoK8sApiRbacV1beta1ClusterRoleBinding)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRoleBinding[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1ClusterRoleBinding }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1ClusterRoleBinding[property_name] - -function check_required(o::IoK8sApiRbacV1beta1ClusterRoleBinding) - (getproperty(o, Symbol("roleRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRoleBinding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl deleted file mode 100644 index b9507977..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1ClusterRoleBindingList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1beta1ClusterRoleBinding} : Items is a list of ClusterRoleBindings - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1beta1ClusterRoleBindingList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1ClusterRoleBinding} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1beta1ClusterRoleBindingList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1beta1ClusterRoleBindingList - -const _property_map_IoK8sApiRbacV1beta1ClusterRoleBindingList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1beta1ClusterRoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1ClusterRoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1ClusterRoleBindingList }) = collect(keys(_property_map_IoK8sApiRbacV1beta1ClusterRoleBindingList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRoleBindingList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1ClusterRoleBindingList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1ClusterRoleBindingList[property_name] - -function check_required(o::IoK8sApiRbacV1beta1ClusterRoleBindingList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRoleBindingList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleList.jl deleted file mode 100644 index 81e451ab..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1ClusterRoleList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1ClusterRoleList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1beta1ClusterRole} : Items is a list of ClusterRoles - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1beta1ClusterRoleList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1ClusterRole} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1beta1ClusterRoleList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1beta1ClusterRoleList - -const _property_map_IoK8sApiRbacV1beta1ClusterRoleList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1beta1ClusterRoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1ClusterRole}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1ClusterRoleList }) = collect(keys(_property_map_IoK8sApiRbacV1beta1ClusterRoleList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRoleList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1ClusterRoleList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1ClusterRoleList[property_name] - -function check_required(o::IoK8sApiRbacV1beta1ClusterRoleList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRoleList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1PolicyRule.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1PolicyRule.jl deleted file mode 100644 index 9053393c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1PolicyRule.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. - - IoK8sApiRbacV1beta1PolicyRule(; - apiGroups=nothing, - nonResourceURLs=nothing, - resourceNames=nothing, - resources=nothing, - verbs=nothing, - ) - - - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. - - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. - - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. - - resources::Vector{String} : Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. - - verbs::Vector{String} : Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. -""" -mutable struct IoK8sApiRbacV1beta1PolicyRule <: SwaggerModel - apiGroups::Any # spec type: Union{ Nothing, Vector{String} } # spec name: apiGroups - nonResourceURLs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: nonResourceURLs - resourceNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resourceNames - resources::Any # spec type: Union{ Nothing, Vector{String} } # spec name: resources - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - - function IoK8sApiRbacV1beta1PolicyRule(;apiGroups=nothing, nonResourceURLs=nothing, resourceNames=nothing, resources=nothing, verbs=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("apiGroups"), apiGroups) - setfield!(o, Symbol("apiGroups"), apiGroups) - validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) - setfield!(o, Symbol("nonResourceURLs"), nonResourceURLs) - validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("resourceNames"), resourceNames) - setfield!(o, Symbol("resourceNames"), resourceNames) - validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - o - end -end # type IoK8sApiRbacV1beta1PolicyRule - -const _property_map_IoK8sApiRbacV1beta1PolicyRule = Dict{Symbol,Symbol}(Symbol("apiGroups")=>Symbol("apiGroups"), Symbol("nonResourceURLs")=>Symbol("nonResourceURLs"), Symbol("resourceNames")=>Symbol("resourceNames"), Symbol("resources")=>Symbol("resources"), Symbol("verbs")=>Symbol("verbs")) -const _property_types_IoK8sApiRbacV1beta1PolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("nonResourceURLs")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1PolicyRule }) = collect(keys(_property_map_IoK8sApiRbacV1beta1PolicyRule)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1PolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1PolicyRule[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1PolicyRule }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1PolicyRule[property_name] - -function check_required(o::IoK8sApiRbacV1beta1PolicyRule) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1PolicyRule }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1Role.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1Role.jl deleted file mode 100644 index 505519de..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1Role.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1Role(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - rules=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - rules::Vector{IoK8sApiRbacV1beta1PolicyRule} : Rules holds all the PolicyRules for this Role -""" -mutable struct IoK8sApiRbacV1beta1Role <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - rules::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1PolicyRule} } # spec name: rules - - function IoK8sApiRbacV1beta1Role(;apiVersion=nothing, kind=nothing, metadata=nothing, rules=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1Role, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1Role, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1Role, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1beta1Role, Symbol("rules"), rules) - setfield!(o, Symbol("rules"), rules) - o - end -end # type IoK8sApiRbacV1beta1Role - -const _property_map_IoK8sApiRbacV1beta1Role = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("rules")=>Symbol("rules")) -const _property_types_IoK8sApiRbacV1beta1Role = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1beta1PolicyRule}") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1Role }) = collect(keys(_property_map_IoK8sApiRbacV1beta1Role)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1Role }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1Role[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1Role }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1Role[property_name] - -function check_required(o::IoK8sApiRbacV1beta1Role) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1Role }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleBinding.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleBinding.jl deleted file mode 100644 index 7eb3f18d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleBinding.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1RoleBinding(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - roleRef=nothing, - subjects=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. - - roleRef::IoK8sApiRbacV1beta1RoleRef : RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. - - subjects::Vector{IoK8sApiRbacV1beta1Subject} : Subjects holds references to the objects the role applies to. -""" -mutable struct IoK8sApiRbacV1beta1RoleBinding <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - roleRef::Any # spec type: Union{ Nothing, IoK8sApiRbacV1beta1RoleRef } # spec name: roleRef - subjects::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1Subject} } # spec name: subjects - - function IoK8sApiRbacV1beta1RoleBinding(;apiVersion=nothing, kind=nothing, metadata=nothing, roleRef=nothing, subjects=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("roleRef"), roleRef) - setfield!(o, Symbol("roleRef"), roleRef) - validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("subjects"), subjects) - setfield!(o, Symbol("subjects"), subjects) - o - end -end # type IoK8sApiRbacV1beta1RoleBinding - -const _property_map_IoK8sApiRbacV1beta1RoleBinding = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("roleRef")=>Symbol("roleRef"), Symbol("subjects")=>Symbol("subjects")) -const _property_types_IoK8sApiRbacV1beta1RoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1beta1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1beta1Subject}") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1RoleBinding }) = collect(keys(_property_map_IoK8sApiRbacV1beta1RoleBinding)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1RoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleBinding[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1RoleBinding }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1RoleBinding[property_name] - -function check_required(o::IoK8sApiRbacV1beta1RoleBinding) - (getproperty(o, Symbol("roleRef")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1RoleBinding }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleBindingList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleBindingList.jl deleted file mode 100644 index bc531e67..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleBindingList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1RoleBindingList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1beta1RoleBinding} : Items is a list of RoleBindings - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1beta1RoleBindingList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1RoleBinding} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1beta1RoleBindingList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1beta1RoleBindingList - -const _property_map_IoK8sApiRbacV1beta1RoleBindingList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1beta1RoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1RoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1RoleBindingList }) = collect(keys(_property_map_IoK8sApiRbacV1beta1RoleBindingList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1RoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleBindingList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1RoleBindingList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1RoleBindingList[property_name] - -function check_required(o::IoK8sApiRbacV1beta1RoleBindingList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1RoleBindingList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleList.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleList.jl deleted file mode 100644 index 284cb807..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20. - - IoK8sApiRbacV1beta1RoleList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiRbacV1beta1Role} : Items is a list of Roles - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard object's metadata. -""" -mutable struct IoK8sApiRbacV1beta1RoleList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1Role} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiRbacV1beta1RoleList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiRbacV1beta1RoleList - -const _property_map_IoK8sApiRbacV1beta1RoleList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiRbacV1beta1RoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1Role}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1RoleList }) = collect(keys(_property_map_IoK8sApiRbacV1beta1RoleList)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1RoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleList[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1RoleList }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1RoleList[property_name] - -function check_required(o::IoK8sApiRbacV1beta1RoleList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1RoleList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleRef.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleRef.jl deleted file mode 100644 index 07780001..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1RoleRef.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RoleRef contains information that points to the role being used - - IoK8sApiRbacV1beta1RoleRef(; - apiGroup=nothing, - kind=nothing, - name=nothing, - ) - - - apiGroup::String : APIGroup is the group for the resource being referenced - - kind::String : Kind is the type of resource being referenced - - name::String : Name is the name of resource being referenced -""" -mutable struct IoK8sApiRbacV1beta1RoleRef <: SwaggerModel - apiGroup::Any # spec type: Union{ Nothing, String } # spec name: apiGroup - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - - function IoK8sApiRbacV1beta1RoleRef(;apiGroup=nothing, kind=nothing, name=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1RoleRef, Symbol("apiGroup"), apiGroup) - setfield!(o, Symbol("apiGroup"), apiGroup) - validate_property(IoK8sApiRbacV1beta1RoleRef, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1RoleRef, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - o - end -end # type IoK8sApiRbacV1beta1RoleRef - -const _property_map_IoK8sApiRbacV1beta1RoleRef = Dict{Symbol,Symbol}(Symbol("apiGroup")=>Symbol("apiGroup"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name")) -const _property_types_IoK8sApiRbacV1beta1RoleRef = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1RoleRef }) = collect(keys(_property_map_IoK8sApiRbacV1beta1RoleRef)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1RoleRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleRef[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1RoleRef }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1RoleRef[property_name] - -function check_required(o::IoK8sApiRbacV1beta1RoleRef) - (getproperty(o, Symbol("apiGroup")) === nothing) && (return false) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1RoleRef }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1Subject.jl b/src/ApiImpl/api/model_IoK8sApiRbacV1beta1Subject.jl deleted file mode 100644 index a2bfb7ee..00000000 --- a/src/ApiImpl/api/model_IoK8sApiRbacV1beta1Subject.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. - - IoK8sApiRbacV1beta1Subject(; - apiGroup=nothing, - kind=nothing, - name=nothing, - namespace=nothing, - ) - - - apiGroup::String : APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. - - kind::String : Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. - - name::String : Name of the object being referenced. - - namespace::String : Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. -""" -mutable struct IoK8sApiRbacV1beta1Subject <: SwaggerModel - apiGroup::Any # spec type: Union{ Nothing, String } # spec name: apiGroup - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - - function IoK8sApiRbacV1beta1Subject(;apiGroup=nothing, kind=nothing, name=nothing, namespace=nothing) - o = new() - validate_property(IoK8sApiRbacV1beta1Subject, Symbol("apiGroup"), apiGroup) - setfield!(o, Symbol("apiGroup"), apiGroup) - validate_property(IoK8sApiRbacV1beta1Subject, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiRbacV1beta1Subject, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiRbacV1beta1Subject, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - o - end -end # type IoK8sApiRbacV1beta1Subject - -const _property_map_IoK8sApiRbacV1beta1Subject = Dict{Symbol,Symbol}(Symbol("apiGroup")=>Symbol("apiGroup"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace")) -const _property_types_IoK8sApiRbacV1beta1Subject = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String") -Base.propertynames(::Type{ IoK8sApiRbacV1beta1Subject }) = collect(keys(_property_map_IoK8sApiRbacV1beta1Subject)) -Swagger.property_type(::Type{ IoK8sApiRbacV1beta1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1Subject[name]))} -Swagger.field_name(::Type{ IoK8sApiRbacV1beta1Subject }, property_name::Symbol) = _property_map_IoK8sApiRbacV1beta1Subject[property_name] - -function check_required(o::IoK8sApiRbacV1beta1Subject) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiRbacV1beta1Subject }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSchedulingV1PriorityClass.jl b/src/ApiImpl/api/model_IoK8sApiSchedulingV1PriorityClass.jl deleted file mode 100644 index e05060da..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSchedulingV1PriorityClass.jl +++ /dev/null @@ -1,66 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. - - IoK8sApiSchedulingV1PriorityClass(; - apiVersion=nothing, - description=nothing, - globalDefault=nothing, - kind=nothing, - metadata=nothing, - preemptionPolicy=nothing, - value=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - description::String : description is an arbitrary string that usually provides guidelines on when this priority class should be used. - - globalDefault::Bool : globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. - - value::Int32 : The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. -""" -mutable struct IoK8sApiSchedulingV1PriorityClass <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - description::Any # spec type: Union{ Nothing, String } # spec name: description - globalDefault::Any # spec type: Union{ Nothing, Bool } # spec name: globalDefault - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - preemptionPolicy::Any # spec type: Union{ Nothing, String } # spec name: preemptionPolicy - value::Any # spec type: Union{ Nothing, Int32 } # spec name: value - - function IoK8sApiSchedulingV1PriorityClass(;apiVersion=nothing, description=nothing, globalDefault=nothing, kind=nothing, metadata=nothing, preemptionPolicy=nothing, value=nothing) - o = new() - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("globalDefault"), globalDefault) - setfield!(o, Symbol("globalDefault"), globalDefault) - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("preemptionPolicy"), preemptionPolicy) - setfield!(o, Symbol("preemptionPolicy"), preemptionPolicy) - validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiSchedulingV1PriorityClass - -const _property_map_IoK8sApiSchedulingV1PriorityClass = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("description")=>Symbol("description"), Symbol("globalDefault")=>Symbol("globalDefault"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("preemptionPolicy")=>Symbol("preemptionPolicy"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiSchedulingV1PriorityClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("description")=>"String", Symbol("globalDefault")=>"Bool", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("preemptionPolicy")=>"String", Symbol("value")=>"Int32") -Base.propertynames(::Type{ IoK8sApiSchedulingV1PriorityClass }) = collect(keys(_property_map_IoK8sApiSchedulingV1PriorityClass)) -Swagger.property_type(::Type{ IoK8sApiSchedulingV1PriorityClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1PriorityClass[name]))} -Swagger.field_name(::Type{ IoK8sApiSchedulingV1PriorityClass }, property_name::Symbol) = _property_map_IoK8sApiSchedulingV1PriorityClass[property_name] - -function check_required(o::IoK8sApiSchedulingV1PriorityClass) - (getproperty(o, Symbol("value")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSchedulingV1PriorityClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSchedulingV1PriorityClassList.jl b/src/ApiImpl/api/model_IoK8sApiSchedulingV1PriorityClassList.jl deleted file mode 100644 index 62336b78..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSchedulingV1PriorityClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityClassList is a collection of priority classes. - - IoK8sApiSchedulingV1PriorityClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiSchedulingV1PriorityClass} : items is the list of PriorityClasses - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiSchedulingV1PriorityClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiSchedulingV1PriorityClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiSchedulingV1PriorityClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiSchedulingV1PriorityClassList - -const _property_map_IoK8sApiSchedulingV1PriorityClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiSchedulingV1PriorityClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSchedulingV1PriorityClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiSchedulingV1PriorityClassList }) = collect(keys(_property_map_IoK8sApiSchedulingV1PriorityClassList)) -Swagger.property_type(::Type{ IoK8sApiSchedulingV1PriorityClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1PriorityClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiSchedulingV1PriorityClassList }, property_name::Symbol) = _property_map_IoK8sApiSchedulingV1PriorityClassList[property_name] - -function check_required(o::IoK8sApiSchedulingV1PriorityClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSchedulingV1PriorityClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl b/src/ApiImpl/api/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl deleted file mode 100644 index 09c5fd1d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl +++ /dev/null @@ -1,66 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. - - IoK8sApiSchedulingV1alpha1PriorityClass(; - apiVersion=nothing, - description=nothing, - globalDefault=nothing, - kind=nothing, - metadata=nothing, - preemptionPolicy=nothing, - value=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - description::String : description is an arbitrary string that usually provides guidelines on when this priority class should be used. - - globalDefault::Bool : globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. - - value::Int32 : The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. -""" -mutable struct IoK8sApiSchedulingV1alpha1PriorityClass <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - description::Any # spec type: Union{ Nothing, String } # spec name: description - globalDefault::Any # spec type: Union{ Nothing, Bool } # spec name: globalDefault - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - preemptionPolicy::Any # spec type: Union{ Nothing, String } # spec name: preemptionPolicy - value::Any # spec type: Union{ Nothing, Int32 } # spec name: value - - function IoK8sApiSchedulingV1alpha1PriorityClass(;apiVersion=nothing, description=nothing, globalDefault=nothing, kind=nothing, metadata=nothing, preemptionPolicy=nothing, value=nothing) - o = new() - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("globalDefault"), globalDefault) - setfield!(o, Symbol("globalDefault"), globalDefault) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("preemptionPolicy"), preemptionPolicy) - setfield!(o, Symbol("preemptionPolicy"), preemptionPolicy) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiSchedulingV1alpha1PriorityClass - -const _property_map_IoK8sApiSchedulingV1alpha1PriorityClass = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("description")=>Symbol("description"), Symbol("globalDefault")=>Symbol("globalDefault"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("preemptionPolicy")=>Symbol("preemptionPolicy"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiSchedulingV1alpha1PriorityClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("description")=>"String", Symbol("globalDefault")=>"Bool", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("preemptionPolicy")=>"String", Symbol("value")=>"Int32") -Base.propertynames(::Type{ IoK8sApiSchedulingV1alpha1PriorityClass }) = collect(keys(_property_map_IoK8sApiSchedulingV1alpha1PriorityClass)) -Swagger.property_type(::Type{ IoK8sApiSchedulingV1alpha1PriorityClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1alpha1PriorityClass[name]))} -Swagger.field_name(::Type{ IoK8sApiSchedulingV1alpha1PriorityClass }, property_name::Symbol) = _property_map_IoK8sApiSchedulingV1alpha1PriorityClass[property_name] - -function check_required(o::IoK8sApiSchedulingV1alpha1PriorityClass) - (getproperty(o, Symbol("value")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSchedulingV1alpha1PriorityClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl b/src/ApiImpl/api/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl deleted file mode 100644 index 7f0568b6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityClassList is a collection of priority classes. - - IoK8sApiSchedulingV1alpha1PriorityClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiSchedulingV1alpha1PriorityClass} : items is the list of PriorityClasses - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiSchedulingV1alpha1PriorityClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiSchedulingV1alpha1PriorityClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiSchedulingV1alpha1PriorityClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiSchedulingV1alpha1PriorityClassList - -const _property_map_IoK8sApiSchedulingV1alpha1PriorityClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiSchedulingV1alpha1PriorityClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSchedulingV1alpha1PriorityClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiSchedulingV1alpha1PriorityClassList }) = collect(keys(_property_map_IoK8sApiSchedulingV1alpha1PriorityClassList)) -Swagger.property_type(::Type{ IoK8sApiSchedulingV1alpha1PriorityClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1alpha1PriorityClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiSchedulingV1alpha1PriorityClassList }, property_name::Symbol) = _property_map_IoK8sApiSchedulingV1alpha1PriorityClassList[property_name] - -function check_required(o::IoK8sApiSchedulingV1alpha1PriorityClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSchedulingV1alpha1PriorityClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSchedulingV1beta1PriorityClass.jl b/src/ApiImpl/api/model_IoK8sApiSchedulingV1beta1PriorityClass.jl deleted file mode 100644 index 30c437da..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSchedulingV1beta1PriorityClass.jl +++ /dev/null @@ -1,66 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. - - IoK8sApiSchedulingV1beta1PriorityClass(; - apiVersion=nothing, - description=nothing, - globalDefault=nothing, - kind=nothing, - metadata=nothing, - preemptionPolicy=nothing, - value=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - description::String : description is an arbitrary string that usually provides guidelines on when this priority class should be used. - - globalDefault::Bool : globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. - - value::Int32 : The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. -""" -mutable struct IoK8sApiSchedulingV1beta1PriorityClass <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - description::Any # spec type: Union{ Nothing, String } # spec name: description - globalDefault::Any # spec type: Union{ Nothing, Bool } # spec name: globalDefault - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - preemptionPolicy::Any # spec type: Union{ Nothing, String } # spec name: preemptionPolicy - value::Any # spec type: Union{ Nothing, Int32 } # spec name: value - - function IoK8sApiSchedulingV1beta1PriorityClass(;apiVersion=nothing, description=nothing, globalDefault=nothing, kind=nothing, metadata=nothing, preemptionPolicy=nothing, value=nothing) - o = new() - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("globalDefault"), globalDefault) - setfield!(o, Symbol("globalDefault"), globalDefault) - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("preemptionPolicy"), preemptionPolicy) - setfield!(o, Symbol("preemptionPolicy"), preemptionPolicy) - validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("value"), value) - setfield!(o, Symbol("value"), value) - o - end -end # type IoK8sApiSchedulingV1beta1PriorityClass - -const _property_map_IoK8sApiSchedulingV1beta1PriorityClass = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("description")=>Symbol("description"), Symbol("globalDefault")=>Symbol("globalDefault"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("preemptionPolicy")=>Symbol("preemptionPolicy"), Symbol("value")=>Symbol("value")) -const _property_types_IoK8sApiSchedulingV1beta1PriorityClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("description")=>"String", Symbol("globalDefault")=>"Bool", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("preemptionPolicy")=>"String", Symbol("value")=>"Int32") -Base.propertynames(::Type{ IoK8sApiSchedulingV1beta1PriorityClass }) = collect(keys(_property_map_IoK8sApiSchedulingV1beta1PriorityClass)) -Swagger.property_type(::Type{ IoK8sApiSchedulingV1beta1PriorityClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1beta1PriorityClass[name]))} -Swagger.field_name(::Type{ IoK8sApiSchedulingV1beta1PriorityClass }, property_name::Symbol) = _property_map_IoK8sApiSchedulingV1beta1PriorityClass[property_name] - -function check_required(o::IoK8sApiSchedulingV1beta1PriorityClass) - (getproperty(o, Symbol("value")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSchedulingV1beta1PriorityClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl b/src/ApiImpl/api/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl deleted file mode 100644 index 75c29749..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PriorityClassList is a collection of priority classes. - - IoK8sApiSchedulingV1beta1PriorityClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiSchedulingV1beta1PriorityClass} : items is the list of PriorityClasses - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiSchedulingV1beta1PriorityClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiSchedulingV1beta1PriorityClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiSchedulingV1beta1PriorityClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiSchedulingV1beta1PriorityClassList - -const _property_map_IoK8sApiSchedulingV1beta1PriorityClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiSchedulingV1beta1PriorityClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSchedulingV1beta1PriorityClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiSchedulingV1beta1PriorityClassList }) = collect(keys(_property_map_IoK8sApiSchedulingV1beta1PriorityClassList)) -Swagger.property_type(::Type{ IoK8sApiSchedulingV1beta1PriorityClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1beta1PriorityClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiSchedulingV1beta1PriorityClassList }, property_name::Symbol) = _property_map_IoK8sApiSchedulingV1beta1PriorityClassList[property_name] - -function check_required(o::IoK8sApiSchedulingV1beta1PriorityClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSchedulingV1beta1PriorityClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPreset.jl b/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPreset.jl deleted file mode 100644 index 29b2639a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPreset.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodPreset is a policy resource that defines additional runtime requirements for a Pod. - - IoK8sApiSettingsV1alpha1PodPreset(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiSettingsV1alpha1PodPresetSpec -""" -mutable struct IoK8sApiSettingsV1alpha1PodPreset <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiSettingsV1alpha1PodPresetSpec } # spec name: spec - - function IoK8sApiSettingsV1alpha1PodPreset(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiSettingsV1alpha1PodPreset - -const _property_map_IoK8sApiSettingsV1alpha1PodPreset = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiSettingsV1alpha1PodPreset = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiSettingsV1alpha1PodPresetSpec") -Base.propertynames(::Type{ IoK8sApiSettingsV1alpha1PodPreset }) = collect(keys(_property_map_IoK8sApiSettingsV1alpha1PodPreset)) -Swagger.property_type(::Type{ IoK8sApiSettingsV1alpha1PodPreset }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSettingsV1alpha1PodPreset[name]))} -Swagger.field_name(::Type{ IoK8sApiSettingsV1alpha1PodPreset }, property_name::Symbol) = _property_map_IoK8sApiSettingsV1alpha1PodPreset[property_name] - -function check_required(o::IoK8sApiSettingsV1alpha1PodPreset) - true -end - -function validate_property(::Type{ IoK8sApiSettingsV1alpha1PodPreset }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPresetList.jl b/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPresetList.jl deleted file mode 100644 index 3b2f4c39..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPresetList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodPresetList is a list of PodPreset objects. - - IoK8sApiSettingsV1alpha1PodPresetList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiSettingsV1alpha1PodPreset} : Items is a list of schema objects. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiSettingsV1alpha1PodPresetList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiSettingsV1alpha1PodPreset} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiSettingsV1alpha1PodPresetList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiSettingsV1alpha1PodPresetList - -const _property_map_IoK8sApiSettingsV1alpha1PodPresetList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiSettingsV1alpha1PodPresetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSettingsV1alpha1PodPreset}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiSettingsV1alpha1PodPresetList }) = collect(keys(_property_map_IoK8sApiSettingsV1alpha1PodPresetList)) -Swagger.property_type(::Type{ IoK8sApiSettingsV1alpha1PodPresetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSettingsV1alpha1PodPresetList[name]))} -Swagger.field_name(::Type{ IoK8sApiSettingsV1alpha1PodPresetList }, property_name::Symbol) = _property_map_IoK8sApiSettingsV1alpha1PodPresetList[property_name] - -function check_required(o::IoK8sApiSettingsV1alpha1PodPresetList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiSettingsV1alpha1PodPresetList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl b/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl deleted file mode 100644 index f9107455..00000000 --- a/src/ApiImpl/api/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""PodPresetSpec is a description of a pod preset. - - IoK8sApiSettingsV1alpha1PodPresetSpec(; - env=nothing, - envFrom=nothing, - selector=nothing, - volumeMounts=nothing, - volumes=nothing, - ) - - - env::Vector{IoK8sApiCoreV1EnvVar} : Env defines the collection of EnvVar to inject into containers. - - envFrom::Vector{IoK8sApiCoreV1EnvFromSource} : EnvFrom defines the collection of EnvFromSource to inject into containers. - - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector : Selector is a label query over a set of resources, in this case pods. Required. - - volumeMounts::Vector{IoK8sApiCoreV1VolumeMount} : VolumeMounts defines the collection of VolumeMount to inject into containers. - - volumes::Vector{IoK8sApiCoreV1Volume} : Volumes defines the collection of Volume to inject into the pod. -""" -mutable struct IoK8sApiSettingsV1alpha1PodPresetSpec <: SwaggerModel - env::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvVar} } # spec name: env - envFrom::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvFromSource} } # spec name: envFrom - selector::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } # spec name: selector - volumeMounts::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeMount} } # spec name: volumeMounts - volumes::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Volume} } # spec name: volumes - - function IoK8sApiSettingsV1alpha1PodPresetSpec(;env=nothing, envFrom=nothing, selector=nothing, volumeMounts=nothing, volumes=nothing) - o = new() - validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("env"), env) - setfield!(o, Symbol("env"), env) - validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("envFrom"), envFrom) - setfield!(o, Symbol("envFrom"), envFrom) - validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("selector"), selector) - setfield!(o, Symbol("selector"), selector) - validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("volumeMounts"), volumeMounts) - setfield!(o, Symbol("volumeMounts"), volumeMounts) - validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("volumes"), volumes) - setfield!(o, Symbol("volumes"), volumes) - o - end -end # type IoK8sApiSettingsV1alpha1PodPresetSpec - -const _property_map_IoK8sApiSettingsV1alpha1PodPresetSpec = Dict{Symbol,Symbol}(Symbol("env")=>Symbol("env"), Symbol("envFrom")=>Symbol("envFrom"), Symbol("selector")=>Symbol("selector"), Symbol("volumeMounts")=>Symbol("volumeMounts"), Symbol("volumes")=>Symbol("volumes")) -const _property_types_IoK8sApiSettingsV1alpha1PodPresetSpec = Dict{Symbol,String}(Symbol("env")=>"Vector{IoK8sApiCoreV1EnvVar}", Symbol("envFrom")=>"Vector{IoK8sApiCoreV1EnvFromSource}", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("volumeMounts")=>"Vector{IoK8sApiCoreV1VolumeMount}", Symbol("volumes")=>"Vector{IoK8sApiCoreV1Volume}") -Base.propertynames(::Type{ IoK8sApiSettingsV1alpha1PodPresetSpec }) = collect(keys(_property_map_IoK8sApiSettingsV1alpha1PodPresetSpec)) -Swagger.property_type(::Type{ IoK8sApiSettingsV1alpha1PodPresetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSettingsV1alpha1PodPresetSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiSettingsV1alpha1PodPresetSpec }, property_name::Symbol) = _property_map_IoK8sApiSettingsV1alpha1PodPresetSpec[property_name] - -function check_required(o::IoK8sApiSettingsV1alpha1PodPresetSpec) - true -end - -function validate_property(::Type{ IoK8sApiSettingsV1alpha1PodPresetSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINode.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1CSINode.jl deleted file mode 100644 index 1d38b4ac..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINode.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. - - IoK8sApiStorageV1CSINode(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : metadata.name must be the Kubernetes node name. - - spec::IoK8sApiStorageV1CSINodeSpec : spec is the specification of CSINode -""" -mutable struct IoK8sApiStorageV1CSINode <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiStorageV1CSINodeSpec } # spec name: spec - - function IoK8sApiStorageV1CSINode(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiStorageV1CSINode, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1CSINode, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1CSINode, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1CSINode, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiStorageV1CSINode - -const _property_map_IoK8sApiStorageV1CSINode = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiStorageV1CSINode = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1CSINodeSpec") -Base.propertynames(::Type{ IoK8sApiStorageV1CSINode }) = collect(keys(_property_map_IoK8sApiStorageV1CSINode)) -Swagger.property_type(::Type{ IoK8sApiStorageV1CSINode }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINode[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1CSINode }, property_name::Symbol) = _property_map_IoK8sApiStorageV1CSINode[property_name] - -function check_required(o::IoK8sApiStorageV1CSINode) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1CSINode }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeDriver.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeDriver.jl deleted file mode 100644 index 7c75734e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeDriver.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINodeDriver holds information about the specification of one CSI driver installed on a node - - IoK8sApiStorageV1CSINodeDriver(; - allocatable=nothing, - name=nothing, - nodeID=nothing, - topologyKeys=nothing, - ) - - - allocatable::IoK8sApiStorageV1VolumeNodeResources : allocatable represents the volume resources of a node that are available for scheduling. This field is beta. - - name::String : This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. - - nodeID::String : nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. - - topologyKeys::Vector{String} : topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. -""" -mutable struct IoK8sApiStorageV1CSINodeDriver <: SwaggerModel - allocatable::Any # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeNodeResources } # spec name: allocatable - name::Any # spec type: Union{ Nothing, String } # spec name: name - nodeID::Any # spec type: Union{ Nothing, String } # spec name: nodeID - topologyKeys::Any # spec type: Union{ Nothing, Vector{String} } # spec name: topologyKeys - - function IoK8sApiStorageV1CSINodeDriver(;allocatable=nothing, name=nothing, nodeID=nothing, topologyKeys=nothing) - o = new() - validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("allocatable"), allocatable) - setfield!(o, Symbol("allocatable"), allocatable) - validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("nodeID"), nodeID) - setfield!(o, Symbol("nodeID"), nodeID) - validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("topologyKeys"), topologyKeys) - setfield!(o, Symbol("topologyKeys"), topologyKeys) - o - end -end # type IoK8sApiStorageV1CSINodeDriver - -const _property_map_IoK8sApiStorageV1CSINodeDriver = Dict{Symbol,Symbol}(Symbol("allocatable")=>Symbol("allocatable"), Symbol("name")=>Symbol("name"), Symbol("nodeID")=>Symbol("nodeID"), Symbol("topologyKeys")=>Symbol("topologyKeys")) -const _property_types_IoK8sApiStorageV1CSINodeDriver = Dict{Symbol,String}(Symbol("allocatable")=>"IoK8sApiStorageV1VolumeNodeResources", Symbol("name")=>"String", Symbol("nodeID")=>"String", Symbol("topologyKeys")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiStorageV1CSINodeDriver }) = collect(keys(_property_map_IoK8sApiStorageV1CSINodeDriver)) -Swagger.property_type(::Type{ IoK8sApiStorageV1CSINodeDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINodeDriver[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1CSINodeDriver }, property_name::Symbol) = _property_map_IoK8sApiStorageV1CSINodeDriver[property_name] - -function check_required(o::IoK8sApiStorageV1CSINodeDriver) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("nodeID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1CSINodeDriver }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeList.jl deleted file mode 100644 index 47b81199..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINodeList is a collection of CSINode objects. - - IoK8sApiStorageV1CSINodeList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1CSINode} : items is the list of CSINode - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1CSINodeList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1CSINode} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1CSINodeList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1CSINodeList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1CSINodeList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1CSINodeList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1CSINodeList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1CSINodeList - -const _property_map_IoK8sApiStorageV1CSINodeList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1CSINodeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1CSINode}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1CSINodeList }) = collect(keys(_property_map_IoK8sApiStorageV1CSINodeList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1CSINodeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINodeList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1CSINodeList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1CSINodeList[property_name] - -function check_required(o::IoK8sApiStorageV1CSINodeList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1CSINodeList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeSpec.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeSpec.jl deleted file mode 100644 index cc0d701b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1CSINodeSpec.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINodeSpec holds information about the specification of all CSI drivers installed on a node - - IoK8sApiStorageV1CSINodeSpec(; - drivers=nothing, - ) - - - drivers::Vector{IoK8sApiStorageV1CSINodeDriver} : drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. -""" -mutable struct IoK8sApiStorageV1CSINodeSpec <: SwaggerModel - drivers::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1CSINodeDriver} } # spec name: drivers - - function IoK8sApiStorageV1CSINodeSpec(;drivers=nothing) - o = new() - validate_property(IoK8sApiStorageV1CSINodeSpec, Symbol("drivers"), drivers) - setfield!(o, Symbol("drivers"), drivers) - o - end -end # type IoK8sApiStorageV1CSINodeSpec - -const _property_map_IoK8sApiStorageV1CSINodeSpec = Dict{Symbol,Symbol}(Symbol("drivers")=>Symbol("drivers")) -const _property_types_IoK8sApiStorageV1CSINodeSpec = Dict{Symbol,String}(Symbol("drivers")=>"Vector{IoK8sApiStorageV1CSINodeDriver}") -Base.propertynames(::Type{ IoK8sApiStorageV1CSINodeSpec }) = collect(keys(_property_map_IoK8sApiStorageV1CSINodeSpec)) -Swagger.property_type(::Type{ IoK8sApiStorageV1CSINodeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINodeSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1CSINodeSpec }, property_name::Symbol) = _property_map_IoK8sApiStorageV1CSINodeSpec[property_name] - -function check_required(o::IoK8sApiStorageV1CSINodeSpec) - (getproperty(o, Symbol("drivers")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1CSINodeSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1StorageClass.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1StorageClass.jl deleted file mode 100644 index 5c5f16bd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1StorageClass.jl +++ /dev/null @@ -1,81 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. - - IoK8sApiStorageV1StorageClass(; - allowVolumeExpansion=nothing, - allowedTopologies=nothing, - apiVersion=nothing, - kind=nothing, - metadata=nothing, - mountOptions=nothing, - parameters=nothing, - provisioner=nothing, - reclaimPolicy=nothing, - volumeBindingMode=nothing, - ) - - - allowVolumeExpansion::Bool : AllowVolumeExpansion shows whether the storage class allow volume expand - - allowedTopologies::Vector{IoK8sApiCoreV1TopologySelectorTerm} : Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - mountOptions::Vector{String} : Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. - - parameters::Dict{String, String} : Parameters holds the parameters for the provisioner that should create volumes of this storage class. - - provisioner::String : Provisioner indicates the type of the provisioner. - - reclaimPolicy::String : Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. - - volumeBindingMode::String : VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. -""" -mutable struct IoK8sApiStorageV1StorageClass <: SwaggerModel - allowVolumeExpansion::Any # spec type: Union{ Nothing, Bool } # spec name: allowVolumeExpansion - allowedTopologies::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySelectorTerm} } # spec name: allowedTopologies - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - mountOptions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: mountOptions - parameters::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: parameters - provisioner::Any # spec type: Union{ Nothing, String } # spec name: provisioner - reclaimPolicy::Any # spec type: Union{ Nothing, String } # spec name: reclaimPolicy - volumeBindingMode::Any # spec type: Union{ Nothing, String } # spec name: volumeBindingMode - - function IoK8sApiStorageV1StorageClass(;allowVolumeExpansion=nothing, allowedTopologies=nothing, apiVersion=nothing, kind=nothing, metadata=nothing, mountOptions=nothing, parameters=nothing, provisioner=nothing, reclaimPolicy=nothing, volumeBindingMode=nothing) - o = new() - validate_property(IoK8sApiStorageV1StorageClass, Symbol("allowVolumeExpansion"), allowVolumeExpansion) - setfield!(o, Symbol("allowVolumeExpansion"), allowVolumeExpansion) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("allowedTopologies"), allowedTopologies) - setfield!(o, Symbol("allowedTopologies"), allowedTopologies) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("mountOptions"), mountOptions) - setfield!(o, Symbol("mountOptions"), mountOptions) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("parameters"), parameters) - setfield!(o, Symbol("parameters"), parameters) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("provisioner"), provisioner) - setfield!(o, Symbol("provisioner"), provisioner) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("reclaimPolicy"), reclaimPolicy) - setfield!(o, Symbol("reclaimPolicy"), reclaimPolicy) - validate_property(IoK8sApiStorageV1StorageClass, Symbol("volumeBindingMode"), volumeBindingMode) - setfield!(o, Symbol("volumeBindingMode"), volumeBindingMode) - o - end -end # type IoK8sApiStorageV1StorageClass - -const _property_map_IoK8sApiStorageV1StorageClass = Dict{Symbol,Symbol}(Symbol("allowVolumeExpansion")=>Symbol("allowVolumeExpansion"), Symbol("allowedTopologies")=>Symbol("allowedTopologies"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("mountOptions")=>Symbol("mountOptions"), Symbol("parameters")=>Symbol("parameters"), Symbol("provisioner")=>Symbol("provisioner"), Symbol("reclaimPolicy")=>Symbol("reclaimPolicy"), Symbol("volumeBindingMode")=>Symbol("volumeBindingMode")) -const _property_types_IoK8sApiStorageV1StorageClass = Dict{Symbol,String}(Symbol("allowVolumeExpansion")=>"Bool", Symbol("allowedTopologies")=>"Vector{IoK8sApiCoreV1TopologySelectorTerm}", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("mountOptions")=>"Vector{String}", Symbol("parameters")=>"Dict{String, String}", Symbol("provisioner")=>"String", Symbol("reclaimPolicy")=>"String", Symbol("volumeBindingMode")=>"String") -Base.propertynames(::Type{ IoK8sApiStorageV1StorageClass }) = collect(keys(_property_map_IoK8sApiStorageV1StorageClass)) -Swagger.property_type(::Type{ IoK8sApiStorageV1StorageClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1StorageClass[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1StorageClass }, property_name::Symbol) = _property_map_IoK8sApiStorageV1StorageClass[property_name] - -function check_required(o::IoK8sApiStorageV1StorageClass) - (getproperty(o, Symbol("provisioner")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1StorageClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1StorageClassList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1StorageClassList.jl deleted file mode 100644 index 01cfa401..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1StorageClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StorageClassList is a collection of storage classes. - - IoK8sApiStorageV1StorageClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1StorageClass} : Items is the list of StorageClasses - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1StorageClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1StorageClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1StorageClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1StorageClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1StorageClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1StorageClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1StorageClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1StorageClassList - -const _property_map_IoK8sApiStorageV1StorageClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1StorageClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1StorageClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1StorageClassList }) = collect(keys(_property_map_IoK8sApiStorageV1StorageClassList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1StorageClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1StorageClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1StorageClassList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1StorageClassList[property_name] - -function check_required(o::IoK8sApiStorageV1StorageClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1StorageClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachment.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachment.jl deleted file mode 100644 index 4913a0ff..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachment.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. - - IoK8sApiStorageV1VolumeAttachment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiStorageV1VolumeAttachmentSpec : Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. - - status::IoK8sApiStorageV1VolumeAttachmentStatus : Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. -""" -mutable struct IoK8sApiStorageV1VolumeAttachment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeAttachmentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeAttachmentStatus } # spec name: status - - function IoK8sApiStorageV1VolumeAttachment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiStorageV1VolumeAttachment - -const _property_map_IoK8sApiStorageV1VolumeAttachment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiStorageV1VolumeAttachment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1VolumeAttachmentSpec", Symbol("status")=>"IoK8sApiStorageV1VolumeAttachmentStatus") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeAttachment }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeAttachment)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeAttachment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachment[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeAttachment }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeAttachment[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeAttachment) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeAttachment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentList.jl deleted file mode 100644 index 98f78b93..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentList is a collection of VolumeAttachment objects. - - IoK8sApiStorageV1VolumeAttachmentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1VolumeAttachment} : Items is the list of VolumeAttachments - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1VolumeAttachmentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1VolumeAttachment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1VolumeAttachmentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1VolumeAttachmentList - -const _property_map_IoK8sApiStorageV1VolumeAttachmentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1VolumeAttachmentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1VolumeAttachment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeAttachmentList }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeAttachmentList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeAttachmentList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeAttachmentList[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeAttachmentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentSource.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentSource.jl deleted file mode 100644 index b1076d5f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. - - IoK8sApiStorageV1VolumeAttachmentSource(; - inlineVolumeSpec=nothing, - persistentVolumeName=nothing, - ) - - - inlineVolumeSpec::IoK8sApiCoreV1PersistentVolumeSpec : inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature. - - persistentVolumeName::String : Name of the persistent volume to attach. -""" -mutable struct IoK8sApiStorageV1VolumeAttachmentSource <: SwaggerModel - inlineVolumeSpec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } # spec name: inlineVolumeSpec - persistentVolumeName::Any # spec type: Union{ Nothing, String } # spec name: persistentVolumeName - - function IoK8sApiStorageV1VolumeAttachmentSource(;inlineVolumeSpec=nothing, persistentVolumeName=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeAttachmentSource, Symbol("inlineVolumeSpec"), inlineVolumeSpec) - setfield!(o, Symbol("inlineVolumeSpec"), inlineVolumeSpec) - validate_property(IoK8sApiStorageV1VolumeAttachmentSource, Symbol("persistentVolumeName"), persistentVolumeName) - setfield!(o, Symbol("persistentVolumeName"), persistentVolumeName) - o - end -end # type IoK8sApiStorageV1VolumeAttachmentSource - -const _property_map_IoK8sApiStorageV1VolumeAttachmentSource = Dict{Symbol,Symbol}(Symbol("inlineVolumeSpec")=>Symbol("inlineVolumeSpec"), Symbol("persistentVolumeName")=>Symbol("persistentVolumeName")) -const _property_types_IoK8sApiStorageV1VolumeAttachmentSource = Dict{Symbol,String}(Symbol("inlineVolumeSpec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("persistentVolumeName")=>"String") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeAttachmentSource }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeAttachmentSource)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentSource[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeAttachmentSource }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeAttachmentSource[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeAttachmentSource) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl deleted file mode 100644 index a6c4cc6a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentSpec is the specification of a VolumeAttachment request. - - IoK8sApiStorageV1VolumeAttachmentSpec(; - attacher=nothing, - nodeName=nothing, - source=nothing, - ) - - - attacher::String : Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). - - nodeName::String : The node that the volume should be attached to. - - source::IoK8sApiStorageV1VolumeAttachmentSource : Source represents the volume that should be attached. -""" -mutable struct IoK8sApiStorageV1VolumeAttachmentSpec <: SwaggerModel - attacher::Any # spec type: Union{ Nothing, String } # spec name: attacher - nodeName::Any # spec type: Union{ Nothing, String } # spec name: nodeName - source::Any # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeAttachmentSource } # spec name: source - - function IoK8sApiStorageV1VolumeAttachmentSpec(;attacher=nothing, nodeName=nothing, source=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeAttachmentSpec, Symbol("attacher"), attacher) - setfield!(o, Symbol("attacher"), attacher) - validate_property(IoK8sApiStorageV1VolumeAttachmentSpec, Symbol("nodeName"), nodeName) - setfield!(o, Symbol("nodeName"), nodeName) - validate_property(IoK8sApiStorageV1VolumeAttachmentSpec, Symbol("source"), source) - setfield!(o, Symbol("source"), source) - o - end -end # type IoK8sApiStorageV1VolumeAttachmentSpec - -const _property_map_IoK8sApiStorageV1VolumeAttachmentSpec = Dict{Symbol,Symbol}(Symbol("attacher")=>Symbol("attacher"), Symbol("nodeName")=>Symbol("nodeName"), Symbol("source")=>Symbol("source")) -const _property_types_IoK8sApiStorageV1VolumeAttachmentSpec = Dict{Symbol,String}(Symbol("attacher")=>"String", Symbol("nodeName")=>"String", Symbol("source")=>"IoK8sApiStorageV1VolumeAttachmentSource") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeAttachmentSpec }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeAttachmentSpec)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeAttachmentSpec }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeAttachmentSpec[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeAttachmentSpec) - (getproperty(o, Symbol("attacher")) === nothing) && (return false) - (getproperty(o, Symbol("nodeName")) === nothing) && (return false) - (getproperty(o, Symbol("source")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl deleted file mode 100644 index 36a7a83a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentStatus is the status of a VolumeAttachment request. - - IoK8sApiStorageV1VolumeAttachmentStatus(; - attachError=nothing, - attached=nothing, - attachmentMetadata=nothing, - detachError=nothing, - ) - - - attachError::IoK8sApiStorageV1VolumeError : The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - attached::Bool : Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - attachmentMetadata::Dict{String, String} : Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - detachError::IoK8sApiStorageV1VolumeError : The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. -""" -mutable struct IoK8sApiStorageV1VolumeAttachmentStatus <: SwaggerModel - attachError::Any # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeError } # spec name: attachError - attached::Any # spec type: Union{ Nothing, Bool } # spec name: attached - attachmentMetadata::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: attachmentMetadata - detachError::Any # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeError } # spec name: detachError - - function IoK8sApiStorageV1VolumeAttachmentStatus(;attachError=nothing, attached=nothing, attachmentMetadata=nothing, detachError=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("attachError"), attachError) - setfield!(o, Symbol("attachError"), attachError) - validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("attached"), attached) - setfield!(o, Symbol("attached"), attached) - validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("attachmentMetadata"), attachmentMetadata) - setfield!(o, Symbol("attachmentMetadata"), attachmentMetadata) - validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("detachError"), detachError) - setfield!(o, Symbol("detachError"), detachError) - o - end -end # type IoK8sApiStorageV1VolumeAttachmentStatus - -const _property_map_IoK8sApiStorageV1VolumeAttachmentStatus = Dict{Symbol,Symbol}(Symbol("attachError")=>Symbol("attachError"), Symbol("attached")=>Symbol("attached"), Symbol("attachmentMetadata")=>Symbol("attachmentMetadata"), Symbol("detachError")=>Symbol("detachError")) -const _property_types_IoK8sApiStorageV1VolumeAttachmentStatus = Dict{Symbol,String}(Symbol("attachError")=>"IoK8sApiStorageV1VolumeError", Symbol("attached")=>"Bool", Symbol("attachmentMetadata")=>"Dict{String, String}", Symbol("detachError")=>"IoK8sApiStorageV1VolumeError") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeAttachmentStatus }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeAttachmentStatus)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeAttachmentStatus }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeAttachmentStatus[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeAttachmentStatus) - (getproperty(o, Symbol("attached")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeError.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeError.jl deleted file mode 100644 index d2eefe69..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeError.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeError captures an error encountered during a volume operation. - - IoK8sApiStorageV1VolumeError(; - message=nothing, - time=nothing, - ) - - - message::String : String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. - - time::IoK8sApimachineryPkgApisMetaV1Time : Time the error was encountered. -""" -mutable struct IoK8sApiStorageV1VolumeError <: SwaggerModel - message::Any # spec type: Union{ Nothing, String } # spec name: message - time::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: time - - function IoK8sApiStorageV1VolumeError(;message=nothing, time=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeError, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiStorageV1VolumeError, Symbol("time"), time) - setfield!(o, Symbol("time"), time) - o - end -end # type IoK8sApiStorageV1VolumeError - -const _property_map_IoK8sApiStorageV1VolumeError = Dict{Symbol,Symbol}(Symbol("message")=>Symbol("message"), Symbol("time")=>Symbol("time")) -const _property_types_IoK8sApiStorageV1VolumeError = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("time")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeError }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeError)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeError[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeError }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeError[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeError) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeError }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeNodeResources.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeNodeResources.jl deleted file mode 100644 index bb505747..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1VolumeNodeResources.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeNodeResources is a set of resource limits for scheduling of volumes. - - IoK8sApiStorageV1VolumeNodeResources(; - count=nothing, - ) - - - count::Int32 : Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded. -""" -mutable struct IoK8sApiStorageV1VolumeNodeResources <: SwaggerModel - count::Any # spec type: Union{ Nothing, Int32 } # spec name: count - - function IoK8sApiStorageV1VolumeNodeResources(;count=nothing) - o = new() - validate_property(IoK8sApiStorageV1VolumeNodeResources, Symbol("count"), count) - setfield!(o, Symbol("count"), count) - o - end -end # type IoK8sApiStorageV1VolumeNodeResources - -const _property_map_IoK8sApiStorageV1VolumeNodeResources = Dict{Symbol,Symbol}(Symbol("count")=>Symbol("count")) -const _property_types_IoK8sApiStorageV1VolumeNodeResources = Dict{Symbol,String}(Symbol("count")=>"Int32") -Base.propertynames(::Type{ IoK8sApiStorageV1VolumeNodeResources }) = collect(keys(_property_map_IoK8sApiStorageV1VolumeNodeResources)) -Swagger.property_type(::Type{ IoK8sApiStorageV1VolumeNodeResources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeNodeResources[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1VolumeNodeResources }, property_name::Symbol) = _property_map_IoK8sApiStorageV1VolumeNodeResources[property_name] - -function check_required(o::IoK8sApiStorageV1VolumeNodeResources) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1VolumeNodeResources }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl deleted file mode 100644 index 0adf1c14..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. - - IoK8sApiStorageV1alpha1VolumeAttachment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiStorageV1alpha1VolumeAttachmentSpec : Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. - - status::IoK8sApiStorageV1alpha1VolumeAttachmentStatus : Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. -""" -mutable struct IoK8sApiStorageV1alpha1VolumeAttachment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeAttachmentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeAttachmentStatus } # spec name: status - - function IoK8sApiStorageV1alpha1VolumeAttachment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiStorageV1alpha1VolumeAttachment - -const _property_map_IoK8sApiStorageV1alpha1VolumeAttachment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiStorageV1alpha1VolumeAttachment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1alpha1VolumeAttachmentSpec", Symbol("status")=>"IoK8sApiStorageV1alpha1VolumeAttachmentStatus") -Base.propertynames(::Type{ IoK8sApiStorageV1alpha1VolumeAttachment }) = collect(keys(_property_map_IoK8sApiStorageV1alpha1VolumeAttachment)) -Swagger.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachment[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1alpha1VolumeAttachment }, property_name::Symbol) = _property_map_IoK8sApiStorageV1alpha1VolumeAttachment[property_name] - -function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachment) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl deleted file mode 100644 index e655543d..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentList is a collection of VolumeAttachment objects. - - IoK8sApiStorageV1alpha1VolumeAttachmentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1alpha1VolumeAttachment} : Items is the list of VolumeAttachments - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1alpha1VolumeAttachment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1alpha1VolumeAttachmentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1alpha1VolumeAttachmentList - -const _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1alpha1VolumeAttachment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentList }) = collect(keys(_property_map_IoK8sApiStorageV1alpha1VolumeAttachmentList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentList[property_name] - -function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl deleted file mode 100644 index 656d2a3c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. - - IoK8sApiStorageV1alpha1VolumeAttachmentSource(; - inlineVolumeSpec=nothing, - persistentVolumeName=nothing, - ) - - - inlineVolumeSpec::IoK8sApiCoreV1PersistentVolumeSpec : inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature. - - persistentVolumeName::String : Name of the persistent volume to attach. -""" -mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentSource <: SwaggerModel - inlineVolumeSpec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } # spec name: inlineVolumeSpec - persistentVolumeName::Any # spec type: Union{ Nothing, String } # spec name: persistentVolumeName - - function IoK8sApiStorageV1alpha1VolumeAttachmentSource(;inlineVolumeSpec=nothing, persistentVolumeName=nothing) - o = new() - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSource, Symbol("inlineVolumeSpec"), inlineVolumeSpec) - setfield!(o, Symbol("inlineVolumeSpec"), inlineVolumeSpec) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSource, Symbol("persistentVolumeName"), persistentVolumeName) - setfield!(o, Symbol("persistentVolumeName"), persistentVolumeName) - o - end -end # type IoK8sApiStorageV1alpha1VolumeAttachmentSource - -const _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentSource = Dict{Symbol,Symbol}(Symbol("inlineVolumeSpec")=>Symbol("inlineVolumeSpec"), Symbol("persistentVolumeName")=>Symbol("persistentVolumeName")) -const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSource = Dict{Symbol,String}(Symbol("inlineVolumeSpec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("persistentVolumeName")=>"String") -Base.propertynames(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSource }) = collect(keys(_property_map_IoK8sApiStorageV1alpha1VolumeAttachmentSource)) -Swagger.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSource[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSource }, property_name::Symbol) = _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentSource[property_name] - -function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentSource) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl deleted file mode 100644 index 13d065bf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentSpec is the specification of a VolumeAttachment request. - - IoK8sApiStorageV1alpha1VolumeAttachmentSpec(; - attacher=nothing, - nodeName=nothing, - source=nothing, - ) - - - attacher::String : Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). - - nodeName::String : The node that the volume should be attached to. - - source::IoK8sApiStorageV1alpha1VolumeAttachmentSource : Source represents the volume that should be attached. -""" -mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentSpec <: SwaggerModel - attacher::Any # spec type: Union{ Nothing, String } # spec name: attacher - nodeName::Any # spec type: Union{ Nothing, String } # spec name: nodeName - source::Any # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeAttachmentSource } # spec name: source - - function IoK8sApiStorageV1alpha1VolumeAttachmentSpec(;attacher=nothing, nodeName=nothing, source=nothing) - o = new() - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSpec, Symbol("attacher"), attacher) - setfield!(o, Symbol("attacher"), attacher) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSpec, Symbol("nodeName"), nodeName) - setfield!(o, Symbol("nodeName"), nodeName) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSpec, Symbol("source"), source) - setfield!(o, Symbol("source"), source) - o - end -end # type IoK8sApiStorageV1alpha1VolumeAttachmentSpec - -const _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentSpec = Dict{Symbol,Symbol}(Symbol("attacher")=>Symbol("attacher"), Symbol("nodeName")=>Symbol("nodeName"), Symbol("source")=>Symbol("source")) -const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSpec = Dict{Symbol,String}(Symbol("attacher")=>"String", Symbol("nodeName")=>"String", Symbol("source")=>"IoK8sApiStorageV1alpha1VolumeAttachmentSource") -Base.propertynames(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSpec }) = collect(keys(_property_map_IoK8sApiStorageV1alpha1VolumeAttachmentSpec)) -Swagger.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSpec }, property_name::Symbol) = _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentSpec[property_name] - -function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentSpec) - (getproperty(o, Symbol("attacher")) === nothing) && (return false) - (getproperty(o, Symbol("nodeName")) === nothing) && (return false) - (getproperty(o, Symbol("source")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl deleted file mode 100644 index 75a78a60..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentStatus is the status of a VolumeAttachment request. - - IoK8sApiStorageV1alpha1VolumeAttachmentStatus(; - attachError=nothing, - attached=nothing, - attachmentMetadata=nothing, - detachError=nothing, - ) - - - attachError::IoK8sApiStorageV1alpha1VolumeError : The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - attached::Bool : Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - attachmentMetadata::Dict{String, String} : Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - detachError::IoK8sApiStorageV1alpha1VolumeError : The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. -""" -mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentStatus <: SwaggerModel - attachError::Any # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeError } # spec name: attachError - attached::Any # spec type: Union{ Nothing, Bool } # spec name: attached - attachmentMetadata::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: attachmentMetadata - detachError::Any # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeError } # spec name: detachError - - function IoK8sApiStorageV1alpha1VolumeAttachmentStatus(;attachError=nothing, attached=nothing, attachmentMetadata=nothing, detachError=nothing) - o = new() - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("attachError"), attachError) - setfield!(o, Symbol("attachError"), attachError) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("attached"), attached) - setfield!(o, Symbol("attached"), attached) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("attachmentMetadata"), attachmentMetadata) - setfield!(o, Symbol("attachmentMetadata"), attachmentMetadata) - validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("detachError"), detachError) - setfield!(o, Symbol("detachError"), detachError) - o - end -end # type IoK8sApiStorageV1alpha1VolumeAttachmentStatus - -const _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentStatus = Dict{Symbol,Symbol}(Symbol("attachError")=>Symbol("attachError"), Symbol("attached")=>Symbol("attached"), Symbol("attachmentMetadata")=>Symbol("attachmentMetadata"), Symbol("detachError")=>Symbol("detachError")) -const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentStatus = Dict{Symbol,String}(Symbol("attachError")=>"IoK8sApiStorageV1alpha1VolumeError", Symbol("attached")=>"Bool", Symbol("attachmentMetadata")=>"Dict{String, String}", Symbol("detachError")=>"IoK8sApiStorageV1alpha1VolumeError") -Base.propertynames(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentStatus }) = collect(keys(_property_map_IoK8sApiStorageV1alpha1VolumeAttachmentStatus)) -Swagger.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentStatus }, property_name::Symbol) = _property_map_IoK8sApiStorageV1alpha1VolumeAttachmentStatus[property_name] - -function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentStatus) - (getproperty(o, Symbol("attached")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeError.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeError.jl deleted file mode 100644 index 87e7b632..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1alpha1VolumeError.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeError captures an error encountered during a volume operation. - - IoK8sApiStorageV1alpha1VolumeError(; - message=nothing, - time=nothing, - ) - - - message::String : String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. - - time::IoK8sApimachineryPkgApisMetaV1Time : Time the error was encountered. -""" -mutable struct IoK8sApiStorageV1alpha1VolumeError <: SwaggerModel - message::Any # spec type: Union{ Nothing, String } # spec name: message - time::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: time - - function IoK8sApiStorageV1alpha1VolumeError(;message=nothing, time=nothing) - o = new() - validate_property(IoK8sApiStorageV1alpha1VolumeError, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiStorageV1alpha1VolumeError, Symbol("time"), time) - setfield!(o, Symbol("time"), time) - o - end -end # type IoK8sApiStorageV1alpha1VolumeError - -const _property_map_IoK8sApiStorageV1alpha1VolumeError = Dict{Symbol,Symbol}(Symbol("message")=>Symbol("message"), Symbol("time")=>Symbol("time")) -const _property_types_IoK8sApiStorageV1alpha1VolumeError = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("time")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiStorageV1alpha1VolumeError }) = collect(keys(_property_map_IoK8sApiStorageV1alpha1VolumeError)) -Swagger.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeError[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1alpha1VolumeError }, property_name::Symbol) = _property_map_IoK8sApiStorageV1alpha1VolumeError[property_name] - -function check_required(o::IoK8sApiStorageV1alpha1VolumeError) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeError }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriver.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriver.jl deleted file mode 100644 index 06908726..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriver.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced. - - IoK8sApiStorageV1beta1CSIDriver(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiStorageV1beta1CSIDriverSpec : Specification of the CSI Driver. -""" -mutable struct IoK8sApiStorageV1beta1CSIDriver <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1CSIDriverSpec } # spec name: spec - - function IoK8sApiStorageV1beta1CSIDriver(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiStorageV1beta1CSIDriver - -const _property_map_IoK8sApiStorageV1beta1CSIDriver = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiStorageV1beta1CSIDriver = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1beta1CSIDriverSpec") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSIDriver }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSIDriver)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSIDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSIDriver[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSIDriver }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSIDriver[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSIDriver) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSIDriver }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriverList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriverList.jl deleted file mode 100644 index 4b1c65ff..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriverList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSIDriverList is a collection of CSIDriver objects. - - IoK8sApiStorageV1beta1CSIDriverList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1beta1CSIDriver} : items is the list of CSIDriver - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1beta1CSIDriverList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1CSIDriver} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1beta1CSIDriverList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1beta1CSIDriverList - -const _property_map_IoK8sApiStorageV1beta1CSIDriverList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1beta1CSIDriverList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1CSIDriver}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSIDriverList }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSIDriverList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSIDriverList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSIDriverList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSIDriverList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSIDriverList[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSIDriverList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSIDriverList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl deleted file mode 100644 index 32350bb8..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSIDriverSpec is the specification of a CSIDriver. - - IoK8sApiStorageV1beta1CSIDriverSpec(; - attachRequired=nothing, - podInfoOnMount=nothing, - volumeLifecycleModes=nothing, - ) - - - attachRequired::Bool : attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. - - podInfoOnMount::Bool : If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. - - volumeLifecycleModes::Vector{String} : VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. -""" -mutable struct IoK8sApiStorageV1beta1CSIDriverSpec <: SwaggerModel - attachRequired::Any # spec type: Union{ Nothing, Bool } # spec name: attachRequired - podInfoOnMount::Any # spec type: Union{ Nothing, Bool } # spec name: podInfoOnMount - volumeLifecycleModes::Any # spec type: Union{ Nothing, Vector{String} } # spec name: volumeLifecycleModes - - function IoK8sApiStorageV1beta1CSIDriverSpec(;attachRequired=nothing, podInfoOnMount=nothing, volumeLifecycleModes=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSIDriverSpec, Symbol("attachRequired"), attachRequired) - setfield!(o, Symbol("attachRequired"), attachRequired) - validate_property(IoK8sApiStorageV1beta1CSIDriverSpec, Symbol("podInfoOnMount"), podInfoOnMount) - setfield!(o, Symbol("podInfoOnMount"), podInfoOnMount) - validate_property(IoK8sApiStorageV1beta1CSIDriverSpec, Symbol("volumeLifecycleModes"), volumeLifecycleModes) - setfield!(o, Symbol("volumeLifecycleModes"), volumeLifecycleModes) - o - end -end # type IoK8sApiStorageV1beta1CSIDriverSpec - -const _property_map_IoK8sApiStorageV1beta1CSIDriverSpec = Dict{Symbol,Symbol}(Symbol("attachRequired")=>Symbol("attachRequired"), Symbol("podInfoOnMount")=>Symbol("podInfoOnMount"), Symbol("volumeLifecycleModes")=>Symbol("volumeLifecycleModes")) -const _property_types_IoK8sApiStorageV1beta1CSIDriverSpec = Dict{Symbol,String}(Symbol("attachRequired")=>"Bool", Symbol("podInfoOnMount")=>"Bool", Symbol("volumeLifecycleModes")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSIDriverSpec }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSIDriverSpec)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSIDriverSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSIDriverSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSIDriverSpec }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSIDriverSpec[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSIDriverSpec) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSIDriverSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINode.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINode.jl deleted file mode 100644 index d1bb9ad6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINode.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. - - IoK8sApiStorageV1beta1CSINode(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : metadata.name must be the Kubernetes node name. - - spec::IoK8sApiStorageV1beta1CSINodeSpec : spec is the specification of CSINode -""" -mutable struct IoK8sApiStorageV1beta1CSINode <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1CSINodeSpec } # spec name: spec - - function IoK8sApiStorageV1beta1CSINode(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - o - end -end # type IoK8sApiStorageV1beta1CSINode - -const _property_map_IoK8sApiStorageV1beta1CSINode = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec")) -const _property_types_IoK8sApiStorageV1beta1CSINode = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1beta1CSINodeSpec") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSINode }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSINode)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSINode }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINode[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSINode }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSINode[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSINode) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSINode }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeDriver.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeDriver.jl deleted file mode 100644 index f110648b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeDriver.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINodeDriver holds information about the specification of one CSI driver installed on a node - - IoK8sApiStorageV1beta1CSINodeDriver(; - allocatable=nothing, - name=nothing, - nodeID=nothing, - topologyKeys=nothing, - ) - - - allocatable::IoK8sApiStorageV1beta1VolumeNodeResources : allocatable represents the volume resources of a node that are available for scheduling. - - name::String : This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. - - nodeID::String : nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. - - topologyKeys::Vector{String} : topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. -""" -mutable struct IoK8sApiStorageV1beta1CSINodeDriver <: SwaggerModel - allocatable::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeNodeResources } # spec name: allocatable - name::Any # spec type: Union{ Nothing, String } # spec name: name - nodeID::Any # spec type: Union{ Nothing, String } # spec name: nodeID - topologyKeys::Any # spec type: Union{ Nothing, Vector{String} } # spec name: topologyKeys - - function IoK8sApiStorageV1beta1CSINodeDriver(;allocatable=nothing, name=nothing, nodeID=nothing, topologyKeys=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("allocatable"), allocatable) - setfield!(o, Symbol("allocatable"), allocatable) - validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("nodeID"), nodeID) - setfield!(o, Symbol("nodeID"), nodeID) - validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("topologyKeys"), topologyKeys) - setfield!(o, Symbol("topologyKeys"), topologyKeys) - o - end -end # type IoK8sApiStorageV1beta1CSINodeDriver - -const _property_map_IoK8sApiStorageV1beta1CSINodeDriver = Dict{Symbol,Symbol}(Symbol("allocatable")=>Symbol("allocatable"), Symbol("name")=>Symbol("name"), Symbol("nodeID")=>Symbol("nodeID"), Symbol("topologyKeys")=>Symbol("topologyKeys")) -const _property_types_IoK8sApiStorageV1beta1CSINodeDriver = Dict{Symbol,String}(Symbol("allocatable")=>"IoK8sApiStorageV1beta1VolumeNodeResources", Symbol("name")=>"String", Symbol("nodeID")=>"String", Symbol("topologyKeys")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSINodeDriver }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSINodeDriver)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSINodeDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINodeDriver[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSINodeDriver }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSINodeDriver[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSINodeDriver) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("nodeID")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSINodeDriver }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeList.jl deleted file mode 100644 index e6545304..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINodeList is a collection of CSINode objects. - - IoK8sApiStorageV1beta1CSINodeList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1beta1CSINode} : items is the list of CSINode - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1beta1CSINodeList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1CSINode} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1beta1CSINodeList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1beta1CSINodeList - -const _property_map_IoK8sApiStorageV1beta1CSINodeList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1beta1CSINodeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1CSINode}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSINodeList }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSINodeList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSINodeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINodeList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSINodeList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSINodeList[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSINodeList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSINodeList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeSpec.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeSpec.jl deleted file mode 100644 index ab4af45b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1CSINodeSpec.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CSINodeSpec holds information about the specification of all CSI drivers installed on a node - - IoK8sApiStorageV1beta1CSINodeSpec(; - drivers=nothing, - ) - - - drivers::Vector{IoK8sApiStorageV1beta1CSINodeDriver} : drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. -""" -mutable struct IoK8sApiStorageV1beta1CSINodeSpec <: SwaggerModel - drivers::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1CSINodeDriver} } # spec name: drivers - - function IoK8sApiStorageV1beta1CSINodeSpec(;drivers=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1CSINodeSpec, Symbol("drivers"), drivers) - setfield!(o, Symbol("drivers"), drivers) - o - end -end # type IoK8sApiStorageV1beta1CSINodeSpec - -const _property_map_IoK8sApiStorageV1beta1CSINodeSpec = Dict{Symbol,Symbol}(Symbol("drivers")=>Symbol("drivers")) -const _property_types_IoK8sApiStorageV1beta1CSINodeSpec = Dict{Symbol,String}(Symbol("drivers")=>"Vector{IoK8sApiStorageV1beta1CSINodeDriver}") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1CSINodeSpec }) = collect(keys(_property_map_IoK8sApiStorageV1beta1CSINodeSpec)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1CSINodeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINodeSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1CSINodeSpec }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1CSINodeSpec[property_name] - -function check_required(o::IoK8sApiStorageV1beta1CSINodeSpec) - (getproperty(o, Symbol("drivers")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1CSINodeSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1StorageClass.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1StorageClass.jl deleted file mode 100644 index b53dde56..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1StorageClass.jl +++ /dev/null @@ -1,81 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. - - IoK8sApiStorageV1beta1StorageClass(; - allowVolumeExpansion=nothing, - allowedTopologies=nothing, - apiVersion=nothing, - kind=nothing, - metadata=nothing, - mountOptions=nothing, - parameters=nothing, - provisioner=nothing, - reclaimPolicy=nothing, - volumeBindingMode=nothing, - ) - - - allowVolumeExpansion::Bool : AllowVolumeExpansion shows whether the storage class allow volume expand - - allowedTopologies::Vector{IoK8sApiCoreV1TopologySelectorTerm} : Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - mountOptions::Vector{String} : Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. - - parameters::Dict{String, String} : Parameters holds the parameters for the provisioner that should create volumes of this storage class. - - provisioner::String : Provisioner indicates the type of the provisioner. - - reclaimPolicy::String : Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. - - volumeBindingMode::String : VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. -""" -mutable struct IoK8sApiStorageV1beta1StorageClass <: SwaggerModel - allowVolumeExpansion::Any # spec type: Union{ Nothing, Bool } # spec name: allowVolumeExpansion - allowedTopologies::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySelectorTerm} } # spec name: allowedTopologies - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - mountOptions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: mountOptions - parameters::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: parameters - provisioner::Any # spec type: Union{ Nothing, String } # spec name: provisioner - reclaimPolicy::Any # spec type: Union{ Nothing, String } # spec name: reclaimPolicy - volumeBindingMode::Any # spec type: Union{ Nothing, String } # spec name: volumeBindingMode - - function IoK8sApiStorageV1beta1StorageClass(;allowVolumeExpansion=nothing, allowedTopologies=nothing, apiVersion=nothing, kind=nothing, metadata=nothing, mountOptions=nothing, parameters=nothing, provisioner=nothing, reclaimPolicy=nothing, volumeBindingMode=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("allowVolumeExpansion"), allowVolumeExpansion) - setfield!(o, Symbol("allowVolumeExpansion"), allowVolumeExpansion) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("allowedTopologies"), allowedTopologies) - setfield!(o, Symbol("allowedTopologies"), allowedTopologies) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("mountOptions"), mountOptions) - setfield!(o, Symbol("mountOptions"), mountOptions) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("parameters"), parameters) - setfield!(o, Symbol("parameters"), parameters) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("provisioner"), provisioner) - setfield!(o, Symbol("provisioner"), provisioner) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("reclaimPolicy"), reclaimPolicy) - setfield!(o, Symbol("reclaimPolicy"), reclaimPolicy) - validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("volumeBindingMode"), volumeBindingMode) - setfield!(o, Symbol("volumeBindingMode"), volumeBindingMode) - o - end -end # type IoK8sApiStorageV1beta1StorageClass - -const _property_map_IoK8sApiStorageV1beta1StorageClass = Dict{Symbol,Symbol}(Symbol("allowVolumeExpansion")=>Symbol("allowVolumeExpansion"), Symbol("allowedTopologies")=>Symbol("allowedTopologies"), Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("mountOptions")=>Symbol("mountOptions"), Symbol("parameters")=>Symbol("parameters"), Symbol("provisioner")=>Symbol("provisioner"), Symbol("reclaimPolicy")=>Symbol("reclaimPolicy"), Symbol("volumeBindingMode")=>Symbol("volumeBindingMode")) -const _property_types_IoK8sApiStorageV1beta1StorageClass = Dict{Symbol,String}(Symbol("allowVolumeExpansion")=>"Bool", Symbol("allowedTopologies")=>"Vector{IoK8sApiCoreV1TopologySelectorTerm}", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("mountOptions")=>"Vector{String}", Symbol("parameters")=>"Dict{String, String}", Symbol("provisioner")=>"String", Symbol("reclaimPolicy")=>"String", Symbol("volumeBindingMode")=>"String") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1StorageClass }) = collect(keys(_property_map_IoK8sApiStorageV1beta1StorageClass)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1StorageClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1StorageClass[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1StorageClass }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1StorageClass[property_name] - -function check_required(o::IoK8sApiStorageV1beta1StorageClass) - (getproperty(o, Symbol("provisioner")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1StorageClass }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1StorageClassList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1StorageClassList.jl deleted file mode 100644 index 14a6109c..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1StorageClassList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StorageClassList is a collection of storage classes. - - IoK8sApiStorageV1beta1StorageClassList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1beta1StorageClass} : Items is the list of StorageClasses - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1beta1StorageClassList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1StorageClass} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1beta1StorageClassList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1beta1StorageClassList - -const _property_map_IoK8sApiStorageV1beta1StorageClassList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1beta1StorageClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1StorageClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1StorageClassList }) = collect(keys(_property_map_IoK8sApiStorageV1beta1StorageClassList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1StorageClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1StorageClassList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1StorageClassList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1StorageClassList[property_name] - -function check_required(o::IoK8sApiStorageV1beta1StorageClassList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1StorageClassList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachment.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachment.jl deleted file mode 100644 index 50bac657..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachment.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. - - IoK8sApiStorageV1beta1VolumeAttachment(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta : Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - spec::IoK8sApiStorageV1beta1VolumeAttachmentSpec : Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. - - status::IoK8sApiStorageV1beta1VolumeAttachmentStatus : Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. -""" -mutable struct IoK8sApiStorageV1beta1VolumeAttachment <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeAttachmentSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeAttachmentStatus } # spec name: status - - function IoK8sApiStorageV1beta1VolumeAttachment(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiStorageV1beta1VolumeAttachment - -const _property_map_IoK8sApiStorageV1beta1VolumeAttachment = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiStorageV1beta1VolumeAttachment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1beta1VolumeAttachmentSpec", Symbol("status")=>"IoK8sApiStorageV1beta1VolumeAttachmentStatus") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeAttachment }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeAttachment)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachment[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeAttachment }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeAttachment[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeAttachment) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachment }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl deleted file mode 100644 index 14c41047..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentList is a collection of VolumeAttachment objects. - - IoK8sApiStorageV1beta1VolumeAttachmentList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiStorageV1beta1VolumeAttachment} : Items is the list of VolumeAttachments - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -""" -mutable struct IoK8sApiStorageV1beta1VolumeAttachmentList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1VolumeAttachment} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiStorageV1beta1VolumeAttachmentList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiStorageV1beta1VolumeAttachmentList - -const _property_map_IoK8sApiStorageV1beta1VolumeAttachmentList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1VolumeAttachment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentList }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeAttachmentList)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentList[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentList }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeAttachmentList[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl deleted file mode 100644 index b54ed9de..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. - - IoK8sApiStorageV1beta1VolumeAttachmentSource(; - inlineVolumeSpec=nothing, - persistentVolumeName=nothing, - ) - - - inlineVolumeSpec::IoK8sApiCoreV1PersistentVolumeSpec : inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature. - - persistentVolumeName::String : Name of the persistent volume to attach. -""" -mutable struct IoK8sApiStorageV1beta1VolumeAttachmentSource <: SwaggerModel - inlineVolumeSpec::Any # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } # spec name: inlineVolumeSpec - persistentVolumeName::Any # spec type: Union{ Nothing, String } # spec name: persistentVolumeName - - function IoK8sApiStorageV1beta1VolumeAttachmentSource(;inlineVolumeSpec=nothing, persistentVolumeName=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSource, Symbol("inlineVolumeSpec"), inlineVolumeSpec) - setfield!(o, Symbol("inlineVolumeSpec"), inlineVolumeSpec) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSource, Symbol("persistentVolumeName"), persistentVolumeName) - setfield!(o, Symbol("persistentVolumeName"), persistentVolumeName) - o - end -end # type IoK8sApiStorageV1beta1VolumeAttachmentSource - -const _property_map_IoK8sApiStorageV1beta1VolumeAttachmentSource = Dict{Symbol,Symbol}(Symbol("inlineVolumeSpec")=>Symbol("inlineVolumeSpec"), Symbol("persistentVolumeName")=>Symbol("persistentVolumeName")) -const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentSource = Dict{Symbol,String}(Symbol("inlineVolumeSpec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("persistentVolumeName")=>"String") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSource }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeAttachmentSource)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentSource[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSource }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeAttachmentSource[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentSource) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl deleted file mode 100644 index efd9ac6f..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentSpec is the specification of a VolumeAttachment request. - - IoK8sApiStorageV1beta1VolumeAttachmentSpec(; - attacher=nothing, - nodeName=nothing, - source=nothing, - ) - - - attacher::String : Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). - - nodeName::String : The node that the volume should be attached to. - - source::IoK8sApiStorageV1beta1VolumeAttachmentSource : Source represents the volume that should be attached. -""" -mutable struct IoK8sApiStorageV1beta1VolumeAttachmentSpec <: SwaggerModel - attacher::Any # spec type: Union{ Nothing, String } # spec name: attacher - nodeName::Any # spec type: Union{ Nothing, String } # spec name: nodeName - source::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeAttachmentSource } # spec name: source - - function IoK8sApiStorageV1beta1VolumeAttachmentSpec(;attacher=nothing, nodeName=nothing, source=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSpec, Symbol("attacher"), attacher) - setfield!(o, Symbol("attacher"), attacher) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSpec, Symbol("nodeName"), nodeName) - setfield!(o, Symbol("nodeName"), nodeName) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSpec, Symbol("source"), source) - setfield!(o, Symbol("source"), source) - o - end -end # type IoK8sApiStorageV1beta1VolumeAttachmentSpec - -const _property_map_IoK8sApiStorageV1beta1VolumeAttachmentSpec = Dict{Symbol,Symbol}(Symbol("attacher")=>Symbol("attacher"), Symbol("nodeName")=>Symbol("nodeName"), Symbol("source")=>Symbol("source")) -const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentSpec = Dict{Symbol,String}(Symbol("attacher")=>"String", Symbol("nodeName")=>"String", Symbol("source")=>"IoK8sApiStorageV1beta1VolumeAttachmentSource") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSpec }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeAttachmentSpec)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSpec }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeAttachmentSpec[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentSpec) - (getproperty(o, Symbol("attacher")) === nothing) && (return false) - (getproperty(o, Symbol("nodeName")) === nothing) && (return false) - (getproperty(o, Symbol("source")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl deleted file mode 100644 index 3b0154a6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeAttachmentStatus is the status of a VolumeAttachment request. - - IoK8sApiStorageV1beta1VolumeAttachmentStatus(; - attachError=nothing, - attached=nothing, - attachmentMetadata=nothing, - detachError=nothing, - ) - - - attachError::IoK8sApiStorageV1beta1VolumeError : The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - attached::Bool : Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - attachmentMetadata::Dict{String, String} : Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. - - detachError::IoK8sApiStorageV1beta1VolumeError : The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. -""" -mutable struct IoK8sApiStorageV1beta1VolumeAttachmentStatus <: SwaggerModel - attachError::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeError } # spec name: attachError - attached::Any # spec type: Union{ Nothing, Bool } # spec name: attached - attachmentMetadata::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: attachmentMetadata - detachError::Any # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeError } # spec name: detachError - - function IoK8sApiStorageV1beta1VolumeAttachmentStatus(;attachError=nothing, attached=nothing, attachmentMetadata=nothing, detachError=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("attachError"), attachError) - setfield!(o, Symbol("attachError"), attachError) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("attached"), attached) - setfield!(o, Symbol("attached"), attached) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("attachmentMetadata"), attachmentMetadata) - setfield!(o, Symbol("attachmentMetadata"), attachmentMetadata) - validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("detachError"), detachError) - setfield!(o, Symbol("detachError"), detachError) - o - end -end # type IoK8sApiStorageV1beta1VolumeAttachmentStatus - -const _property_map_IoK8sApiStorageV1beta1VolumeAttachmentStatus = Dict{Symbol,Symbol}(Symbol("attachError")=>Symbol("attachError"), Symbol("attached")=>Symbol("attached"), Symbol("attachmentMetadata")=>Symbol("attachmentMetadata"), Symbol("detachError")=>Symbol("detachError")) -const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentStatus = Dict{Symbol,String}(Symbol("attachError")=>"IoK8sApiStorageV1beta1VolumeError", Symbol("attached")=>"Bool", Symbol("attachmentMetadata")=>"Dict{String, String}", Symbol("detachError")=>"IoK8sApiStorageV1beta1VolumeError") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentStatus }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeAttachmentStatus)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentStatus }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeAttachmentStatus[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentStatus) - (getproperty(o, Symbol("attached")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeError.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeError.jl deleted file mode 100644 index 77ade223..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeError.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeError captures an error encountered during a volume operation. - - IoK8sApiStorageV1beta1VolumeError(; - message=nothing, - time=nothing, - ) - - - message::String : String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. - - time::IoK8sApimachineryPkgApisMetaV1Time : Time the error was encountered. -""" -mutable struct IoK8sApiStorageV1beta1VolumeError <: SwaggerModel - message::Any # spec type: Union{ Nothing, String } # spec name: message - time::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: time - - function IoK8sApiStorageV1beta1VolumeError(;message=nothing, time=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeError, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiStorageV1beta1VolumeError, Symbol("time"), time) - setfield!(o, Symbol("time"), time) - o - end -end # type IoK8sApiStorageV1beta1VolumeError - -const _property_map_IoK8sApiStorageV1beta1VolumeError = Dict{Symbol,Symbol}(Symbol("message")=>Symbol("message"), Symbol("time")=>Symbol("time")) -const _property_types_IoK8sApiStorageV1beta1VolumeError = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("time")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeError }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeError)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeError[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeError }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeError[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeError) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeError }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl b/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl deleted file mode 100644 index 6fa92b92..00000000 --- a/src/ApiImpl/api/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""VolumeNodeResources is a set of resource limits for scheduling of volumes. - - IoK8sApiStorageV1beta1VolumeNodeResources(; - count=nothing, - ) - - - count::Int32 : Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded. -""" -mutable struct IoK8sApiStorageV1beta1VolumeNodeResources <: SwaggerModel - count::Any # spec type: Union{ Nothing, Int32 } # spec name: count - - function IoK8sApiStorageV1beta1VolumeNodeResources(;count=nothing) - o = new() - validate_property(IoK8sApiStorageV1beta1VolumeNodeResources, Symbol("count"), count) - setfield!(o, Symbol("count"), count) - o - end -end # type IoK8sApiStorageV1beta1VolumeNodeResources - -const _property_map_IoK8sApiStorageV1beta1VolumeNodeResources = Dict{Symbol,Symbol}(Symbol("count")=>Symbol("count")) -const _property_types_IoK8sApiStorageV1beta1VolumeNodeResources = Dict{Symbol,String}(Symbol("count")=>"Int32") -Base.propertynames(::Type{ IoK8sApiStorageV1beta1VolumeNodeResources }) = collect(keys(_property_map_IoK8sApiStorageV1beta1VolumeNodeResources)) -Swagger.property_type(::Type{ IoK8sApiStorageV1beta1VolumeNodeResources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeNodeResources[name]))} -Swagger.field_name(::Type{ IoK8sApiStorageV1beta1VolumeNodeResources }, property_name::Symbol) = _property_map_IoK8sApiStorageV1beta1VolumeNodeResources[property_name] - -function check_required(o::IoK8sApiStorageV1beta1VolumeNodeResources) - true -end - -function validate_property(::Type{ IoK8sApiStorageV1beta1VolumeNodeResources }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl deleted file mode 100644 index 9b400bf9..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceColumnDefinition specifies a column for server side printing. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition(; - description=nothing, - format=nothing, - jsonPath=nothing, - name=nothing, - priority=nothing, - type=nothing, - ) - - - description::String : description is a human readable description of this column. - - format::String : format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. - - jsonPath::String : jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. - - name::String : name is a human readable name for the column. - - priority::Int32 : priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. - - type::String : type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition <: SwaggerModel - description::Any # spec type: Union{ Nothing, String } # spec name: description - format::Any # spec type: Union{ Nothing, String } # spec name: format - jsonPath::Any # spec type: Union{ Nothing, String } # spec name: jsonPath - name::Any # spec type: Union{ Nothing, String } # spec name: name - priority::Any # spec type: Union{ Nothing, Int32 } # spec name: priority - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition(;description=nothing, format=nothing, jsonPath=nothing, name=nothing, priority=nothing, type=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("format"), format) - setfield!(o, Symbol("format"), format) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("jsonPath"), jsonPath) - setfield!(o, Symbol("jsonPath"), jsonPath) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("priority"), priority) - setfield!(o, Symbol("priority"), priority) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition = Dict{Symbol,Symbol}(Symbol("description")=>Symbol("description"), Symbol("format")=>Symbol("format"), Symbol("jsonPath")=>Symbol("jsonPath"), Symbol("name")=>Symbol("name"), Symbol("priority")=>Symbol("priority"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("format")=>"String", Symbol("jsonPath")=>"String", Symbol("name")=>"String", Symbol("priority")=>"Int32", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition) - (getproperty(o, Symbol("jsonPath")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl deleted file mode 100644 index 86037523..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceConversion describes how to convert different versions of a CR. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion(; - strategy=nothing, - webhook=nothing, - ) - - - strategy::String : strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set. - - webhook::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion : webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion <: SwaggerModel - strategy::Any # spec type: Union{ Nothing, String } # spec name: strategy - webhook::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion } # spec name: webhook - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion(;strategy=nothing, webhook=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion, Symbol("strategy"), strategy) - setfield!(o, Symbol("strategy"), strategy) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion, Symbol("webhook"), webhook) - setfield!(o, Symbol("webhook"), webhook) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion = Dict{Symbol,Symbol}(Symbol("strategy")=>Symbol("strategy"), Symbol("webhook")=>Symbol("webhook")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion = Dict{Symbol,String}(Symbol("strategy")=>"String", Symbol("webhook")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion) - (getproperty(o, Symbol("strategy")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl deleted file mode 100644 index b33d1d3e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec : spec describes how the user wants the resources to appear - - status::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus : status indicates the actual state of the CustomResourceDefinition -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus } # spec name: status - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec", Symbol("status")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl deleted file mode 100644 index 5e2947e5..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionCondition contains details for the current condition of this pod. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : lastTransitionTime last time the condition transitioned from one status to another. - - message::String : message is a human-readable message indicating details about last transition. - - reason::String : reason is a unique, one-word, CamelCase reason for the condition's last transition. - - status::String : status is the status of the condition. Can be True, False, Unknown. - - type::String : type is the type of the condition. Types include Established, NamesAccepted and Terminating. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl deleted file mode 100644 index 737b9eee..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionList is a list of CustomResourceDefinition objects. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition} : items list individual CustomResourceDefinition objects - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl deleted file mode 100644 index 7733921a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames(; - categories=nothing, - kind=nothing, - listKind=nothing, - plural=nothing, - shortNames=nothing, - singular=nothing, - ) - - - categories::Vector{String} : categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. - - kind::String : kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. - - listKind::String : listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". - - plural::String : plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase. - - shortNames::Vector{String} : shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase. - - singular::String : singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames <: SwaggerModel - categories::Any # spec type: Union{ Nothing, Vector{String} } # spec name: categories - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - listKind::Any # spec type: Union{ Nothing, String } # spec name: listKind - plural::Any # spec type: Union{ Nothing, String } # spec name: plural - shortNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: shortNames - singular::Any # spec type: Union{ Nothing, String } # spec name: singular - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames(;categories=nothing, kind=nothing, listKind=nothing, plural=nothing, shortNames=nothing, singular=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("categories"), categories) - setfield!(o, Symbol("categories"), categories) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("listKind"), listKind) - setfield!(o, Symbol("listKind"), listKind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("plural"), plural) - setfield!(o, Symbol("plural"), plural) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("shortNames"), shortNames) - setfield!(o, Symbol("shortNames"), shortNames) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("singular"), singular) - setfield!(o, Symbol("singular"), singular) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames = Dict{Symbol,Symbol}(Symbol("categories")=>Symbol("categories"), Symbol("kind")=>Symbol("kind"), Symbol("listKind")=>Symbol("listKind"), Symbol("plural")=>Symbol("plural"), Symbol("shortNames")=>Symbol("shortNames"), Symbol("singular")=>Symbol("singular")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames = Dict{Symbol,String}(Symbol("categories")=>"Vector{String}", Symbol("kind")=>"String", Symbol("listKind")=>"String", Symbol("plural")=>"String", Symbol("shortNames")=>"Vector{String}", Symbol("singular")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("plural")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl deleted file mode 100644 index d95ebeaf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl +++ /dev/null @@ -1,64 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionSpec describes how a user wants their resource to appear - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec(; - conversion=nothing, - group=nothing, - names=nothing, - preserveUnknownFields=nothing, - scope=nothing, - versions=nothing, - ) - - - conversion::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion : conversion defines conversion settings for the CRD. - - group::String : group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). - - names::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames : names specify the resource and kind names for the custom resource. - - preserveUnknownFields::Bool : preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. - - scope::String : scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. - - versions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion} : versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec <: SwaggerModel - conversion::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion } # spec name: conversion - group::Any # spec type: Union{ Nothing, String } # spec name: group - names::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames } # spec name: names - preserveUnknownFields::Any # spec type: Union{ Nothing, Bool } # spec name: preserveUnknownFields - scope::Any # spec type: Union{ Nothing, String } # spec name: scope - versions::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion} } # spec name: versions - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec(;conversion=nothing, group=nothing, names=nothing, preserveUnknownFields=nothing, scope=nothing, versions=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("conversion"), conversion) - setfield!(o, Symbol("conversion"), conversion) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("names"), names) - setfield!(o, Symbol("names"), names) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("preserveUnknownFields"), preserveUnknownFields) - setfield!(o, Symbol("preserveUnknownFields"), preserveUnknownFields) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("scope"), scope) - setfield!(o, Symbol("scope"), scope) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("versions"), versions) - setfield!(o, Symbol("versions"), versions) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec = Dict{Symbol,Symbol}(Symbol("conversion")=>Symbol("conversion"), Symbol("group")=>Symbol("group"), Symbol("names")=>Symbol("names"), Symbol("preserveUnknownFields")=>Symbol("preserveUnknownFields"), Symbol("scope")=>Symbol("scope"), Symbol("versions")=>Symbol("versions")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec = Dict{Symbol,String}(Symbol("conversion")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion", Symbol("group")=>"String", Symbol("names")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames", Symbol("preserveUnknownFields")=>"Bool", Symbol("scope")=>"String", Symbol("versions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion}") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec) - (getproperty(o, Symbol("group")) === nothing) && (return false) - (getproperty(o, Symbol("names")) === nothing) && (return false) - (getproperty(o, Symbol("scope")) === nothing) && (return false) - (getproperty(o, Symbol("versions")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl deleted file mode 100644 index 25c8bedb..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus(; - acceptedNames=nothing, - conditions=nothing, - storedVersions=nothing, - ) - - - acceptedNames::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames : acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec. - - conditions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition} : conditions indicate state for particular aspects of a CustomResourceDefinition - - storedVersions::Vector{String} : storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus <: SwaggerModel - acceptedNames::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames } # spec name: acceptedNames - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition} } # spec name: conditions - storedVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: storedVersions - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus(;acceptedNames=nothing, conditions=nothing, storedVersions=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus, Symbol("acceptedNames"), acceptedNames) - setfield!(o, Symbol("acceptedNames"), acceptedNames) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus, Symbol("storedVersions"), storedVersions) - setfield!(o, Symbol("storedVersions"), storedVersions) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus = Dict{Symbol,Symbol}(Symbol("acceptedNames")=>Symbol("acceptedNames"), Symbol("conditions")=>Symbol("conditions"), Symbol("storedVersions")=>Symbol("storedVersions")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus = Dict{Symbol,String}(Symbol("acceptedNames")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames", Symbol("conditions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition}", Symbol("storedVersions")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus) - (getproperty(o, Symbol("acceptedNames")) === nothing) && (return false) - (getproperty(o, Symbol("storedVersions")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl deleted file mode 100644 index 4e1e0577..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionVersion describes a version for CRD. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion(; - additionalPrinterColumns=nothing, - name=nothing, - schema=nothing, - served=nothing, - storage=nothing, - subresources=nothing, - ) - - - additionalPrinterColumns::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition} : additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used. - - name::String : name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. - - schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation : schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource. - - served::Bool : served is a flag enabling/disabling this version from being served via REST APIs - - storage::Bool : storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. - - subresources::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources : subresources specify what subresources this version of the defined custom resource have. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion <: SwaggerModel - additionalPrinterColumns::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition} } # spec name: additionalPrinterColumns - name::Any # spec type: Union{ Nothing, String } # spec name: name - schema::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation } # spec name: schema - served::Any # spec type: Union{ Nothing, Bool } # spec name: served - storage::Any # spec type: Union{ Nothing, Bool } # spec name: storage - subresources::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources } # spec name: subresources - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion(;additionalPrinterColumns=nothing, name=nothing, schema=nothing, served=nothing, storage=nothing, subresources=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("additionalPrinterColumns"), additionalPrinterColumns) - setfield!(o, Symbol("additionalPrinterColumns"), additionalPrinterColumns) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("schema"), schema) - setfield!(o, Symbol("schema"), schema) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("served"), served) - setfield!(o, Symbol("served"), served) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("storage"), storage) - setfield!(o, Symbol("storage"), storage) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("subresources"), subresources) - setfield!(o, Symbol("subresources"), subresources) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion = Dict{Symbol,Symbol}(Symbol("additionalPrinterColumns")=>Symbol("additionalPrinterColumns"), Symbol("name")=>Symbol("name"), Symbol("schema")=>Symbol("schema"), Symbol("served")=>Symbol("served"), Symbol("storage")=>Symbol("storage"), Symbol("subresources")=>Symbol("subresources")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion = Dict{Symbol,String}(Symbol("additionalPrinterColumns")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition}", Symbol("name")=>"String", Symbol("schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation", Symbol("served")=>"Bool", Symbol("storage")=>"Bool", Symbol("subresources")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("served")) === nothing) && (return false) - (getproperty(o, Symbol("storage")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl deleted file mode 100644 index cd2c6448..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale(; - labelSelectorPath=nothing, - specReplicasPath=nothing, - statusReplicasPath=nothing, - ) - - - labelSelectorPath::String : labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. - - specReplicasPath::String : specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. - - statusReplicasPath::String : statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale <: SwaggerModel - labelSelectorPath::Any # spec type: Union{ Nothing, String } # spec name: labelSelectorPath - specReplicasPath::Any # spec type: Union{ Nothing, String } # spec name: specReplicasPath - statusReplicasPath::Any # spec type: Union{ Nothing, String } # spec name: statusReplicasPath - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale(;labelSelectorPath=nothing, specReplicasPath=nothing, statusReplicasPath=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale, Symbol("labelSelectorPath"), labelSelectorPath) - setfield!(o, Symbol("labelSelectorPath"), labelSelectorPath) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale, Symbol("specReplicasPath"), specReplicasPath) - setfield!(o, Symbol("specReplicasPath"), specReplicasPath) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale, Symbol("statusReplicasPath"), statusReplicasPath) - setfield!(o, Symbol("statusReplicasPath"), statusReplicasPath) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale = Dict{Symbol,Symbol}(Symbol("labelSelectorPath")=>Symbol("labelSelectorPath"), Symbol("specReplicasPath")=>Symbol("specReplicasPath"), Symbol("statusReplicasPath")=>Symbol("statusReplicasPath")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale = Dict{Symbol,String}(Symbol("labelSelectorPath")=>"String", Symbol("specReplicasPath")=>"String", Symbol("statusReplicasPath")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale) - (getproperty(o, Symbol("specReplicasPath")) === nothing) && (return false) - (getproperty(o, Symbol("statusReplicasPath")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus.jl deleted file mode 100644 index cbfc3296..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl deleted file mode 100644 index a32ae919..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceSubresources defines the status and scale subresources for CustomResources. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources(; - scale=nothing, - status=nothing, - ) - - - scale::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale : scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object. - - status::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus : status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources <: SwaggerModel - scale::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale } # spec name: scale - status::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus } # spec name: status - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources(;scale=nothing, status=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources, Symbol("scale"), scale) - setfield!(o, Symbol("scale"), scale) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources = Dict{Symbol,Symbol}(Symbol("scale")=>Symbol("scale"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources = Dict{Symbol,String}(Symbol("scale")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale", Symbol("status")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl deleted file mode 100644 index 331d77d1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceValidation is a list of validation methods for CustomResources. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation(; - openAPIV3Schema=nothing, - ) - - - openAPIV3Schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps : openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation <: SwaggerModel - openAPIV3Schema::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps } # spec name: openAPIV3Schema - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation(;openAPIV3Schema=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation, Symbol("openAPIV3Schema"), openAPIV3Schema) - setfield!(o, Symbol("openAPIV3Schema"), openAPIV3Schema) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation = Dict{Symbol,Symbol}(Symbol("openAPIV3Schema")=>Symbol("openAPIV3Schema")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation = Dict{Symbol,String}(Symbol("openAPIV3Schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl deleted file mode 100644 index 21b56e52..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExternalDocumentation allows referencing an external resource for extended documentation. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation(; - description=nothing, - url=nothing, - ) - - - description::String - - url::String -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation <: SwaggerModel - description::Any # spec type: Union{ Nothing, String } # spec name: description - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation(;description=nothing, url=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation = Dict{Symbol,Symbol}(Symbol("description")=>Symbol("description"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON.jl deleted file mode 100644 index 1a04f6b2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl deleted file mode 100644 index 681b09cf..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl +++ /dev/null @@ -1,245 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps(; - ref=nothing, - schema=nothing, - additionalItems=nothing, - additionalProperties=nothing, - allOf=nothing, - anyOf=nothing, - default=nothing, - definitions=nothing, - dependencies=nothing, - description=nothing, - enum=nothing, - example=nothing, - exclusiveMaximum=nothing, - exclusiveMinimum=nothing, - externalDocs=nothing, - format=nothing, - id=nothing, - items=nothing, - maxItems=nothing, - maxLength=nothing, - maxProperties=nothing, - maximum=nothing, - minItems=nothing, - minLength=nothing, - minProperties=nothing, - minimum=nothing, - multipleOf=nothing, - not=nothing, - nullable=nothing, - oneOf=nothing, - pattern=nothing, - patternProperties=nothing, - properties=nothing, - required=nothing, - title=nothing, - type=nothing, - uniqueItems=nothing, - x_kubernetes_embedded_resource=nothing, - x_kubernetes_int_or_string=nothing, - x_kubernetes_list_map_keys=nothing, - x_kubernetes_list_type=nothing, - x_kubernetes_map_type=nothing, - x_kubernetes_preserve_unknown_fields=nothing, - ) - - - ref::String - - schema::String - - additionalItems::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool - - additionalProperties::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool - - allOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} - - anyOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} - - default::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON : default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false. - - definitions::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} - - dependencies::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray} - - description::String - - enum::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON} - - example::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON - - exclusiveMaximum::Bool - - exclusiveMinimum::Bool - - externalDocs::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation - - format::String : format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. - - id::String - - items::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray - - maxItems::Int64 - - maxLength::Int64 - - maxProperties::Int64 - - maximum::Float64 - - minItems::Int64 - - minLength::Int64 - - minProperties::Int64 - - minimum::Float64 - - multipleOf::Float64 - - not::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps - - nullable::Bool - - oneOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} - - pattern::String - - patternProperties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} - - properties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} - - required::Vector{String} - - title::String - - type::String - - uniqueItems::Bool - - x_kubernetes_embedded_resource::Bool : x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata). - - x_kubernetes_int_or_string::Bool : x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more - - x_kubernetes_list_map_keys::Vector{String} : x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). - - x_kubernetes_list_type::String : x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. - - x_kubernetes_map_type::String : x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. - - x_kubernetes_preserve_unknown_fields::Bool : x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps <: SwaggerModel - ref::Any # spec type: Union{ Nothing, String } # spec name: \$ref - schema::Any # spec type: Union{ Nothing, String } # spec name: \$schema - additionalItems::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool } # spec name: additionalItems - additionalProperties::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool } # spec name: additionalProperties - allOf::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } # spec name: allOf - anyOf::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } # spec name: anyOf - default::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON } # spec name: default - definitions::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } # spec name: definitions - dependencies::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray} } # spec name: dependencies - description::Any # spec type: Union{ Nothing, String } # spec name: description - enum::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON} } # spec name: enum - example::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON } # spec name: example - exclusiveMaximum::Any # spec type: Union{ Nothing, Bool } # spec name: exclusiveMaximum - exclusiveMinimum::Any # spec type: Union{ Nothing, Bool } # spec name: exclusiveMinimum - externalDocs::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation } # spec name: externalDocs - format::Any # spec type: Union{ Nothing, String } # spec name: format - id::Any # spec type: Union{ Nothing, String } # spec name: id - items::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray } # spec name: items - maxItems::Any # spec type: Union{ Nothing, Int64 } # spec name: maxItems - maxLength::Any # spec type: Union{ Nothing, Int64 } # spec name: maxLength - maxProperties::Any # spec type: Union{ Nothing, Int64 } # spec name: maxProperties - maximum::Any # spec type: Union{ Nothing, Float64 } # spec name: maximum - minItems::Any # spec type: Union{ Nothing, Int64 } # spec name: minItems - minLength::Any # spec type: Union{ Nothing, Int64 } # spec name: minLength - minProperties::Any # spec type: Union{ Nothing, Int64 } # spec name: minProperties - minimum::Any # spec type: Union{ Nothing, Float64 } # spec name: minimum - multipleOf::Any # spec type: Union{ Nothing, Float64 } # spec name: multipleOf - not::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps } # spec name: not - nullable::Any # spec type: Union{ Nothing, Bool } # spec name: nullable - oneOf::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } # spec name: oneOf - pattern::Any # spec type: Union{ Nothing, String } # spec name: pattern - patternProperties::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } # spec name: patternProperties - properties::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } # spec name: properties - required::Any # spec type: Union{ Nothing, Vector{String} } # spec name: required - title::Any # spec type: Union{ Nothing, String } # spec name: title - type::Any # spec type: Union{ Nothing, String } # spec name: type - uniqueItems::Any # spec type: Union{ Nothing, Bool } # spec name: uniqueItems - x_kubernetes_embedded_resource::Any # spec type: Union{ Nothing, Bool } # spec name: x-kubernetes-embedded-resource - x_kubernetes_int_or_string::Any # spec type: Union{ Nothing, Bool } # spec name: x-kubernetes-int-or-string - x_kubernetes_list_map_keys::Any # spec type: Union{ Nothing, Vector{String} } # spec name: x-kubernetes-list-map-keys - x_kubernetes_list_type::Any # spec type: Union{ Nothing, String } # spec name: x-kubernetes-list-type - x_kubernetes_map_type::Any # spec type: Union{ Nothing, String } # spec name: x-kubernetes-map-type - x_kubernetes_preserve_unknown_fields::Any # spec type: Union{ Nothing, Bool } # spec name: x-kubernetes-preserve-unknown-fields - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps(;ref=nothing, schema=nothing, additionalItems=nothing, additionalProperties=nothing, allOf=nothing, anyOf=nothing, default=nothing, definitions=nothing, dependencies=nothing, description=nothing, enum=nothing, example=nothing, exclusiveMaximum=nothing, exclusiveMinimum=nothing, externalDocs=nothing, format=nothing, id=nothing, items=nothing, maxItems=nothing, maxLength=nothing, maxProperties=nothing, maximum=nothing, minItems=nothing, minLength=nothing, minProperties=nothing, minimum=nothing, multipleOf=nothing, not=nothing, nullable=nothing, oneOf=nothing, pattern=nothing, patternProperties=nothing, properties=nothing, required=nothing, title=nothing, type=nothing, uniqueItems=nothing, x_kubernetes_embedded_resource=nothing, x_kubernetes_int_or_string=nothing, x_kubernetes_list_map_keys=nothing, x_kubernetes_list_type=nothing, x_kubernetes_map_type=nothing, x_kubernetes_preserve_unknown_fields=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("\$ref"), ref) - setfield!(o, Symbol("ref"), ref) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("\$schema"), schema) - setfield!(o, Symbol("schema"), schema) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("additionalItems"), additionalItems) - setfield!(o, Symbol("additionalItems"), additionalItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("additionalProperties"), additionalProperties) - setfield!(o, Symbol("additionalProperties"), additionalProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("allOf"), allOf) - setfield!(o, Symbol("allOf"), allOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("anyOf"), anyOf) - setfield!(o, Symbol("anyOf"), anyOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("default"), default) - setfield!(o, Symbol("default"), default) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("definitions"), definitions) - setfield!(o, Symbol("definitions"), definitions) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("dependencies"), dependencies) - setfield!(o, Symbol("dependencies"), dependencies) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("enum"), enum) - setfield!(o, Symbol("enum"), enum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("example"), example) - setfield!(o, Symbol("example"), example) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("exclusiveMaximum"), exclusiveMaximum) - setfield!(o, Symbol("exclusiveMaximum"), exclusiveMaximum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("exclusiveMinimum"), exclusiveMinimum) - setfield!(o, Symbol("exclusiveMinimum"), exclusiveMinimum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("externalDocs"), externalDocs) - setfield!(o, Symbol("externalDocs"), externalDocs) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("format"), format) - setfield!(o, Symbol("format"), format) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("id"), id) - setfield!(o, Symbol("id"), id) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maxItems"), maxItems) - setfield!(o, Symbol("maxItems"), maxItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maxLength"), maxLength) - setfield!(o, Symbol("maxLength"), maxLength) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maxProperties"), maxProperties) - setfield!(o, Symbol("maxProperties"), maxProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maximum"), maximum) - setfield!(o, Symbol("maximum"), maximum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minItems"), minItems) - setfield!(o, Symbol("minItems"), minItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minLength"), minLength) - setfield!(o, Symbol("minLength"), minLength) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minProperties"), minProperties) - setfield!(o, Symbol("minProperties"), minProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minimum"), minimum) - setfield!(o, Symbol("minimum"), minimum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("multipleOf"), multipleOf) - setfield!(o, Symbol("multipleOf"), multipleOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("not"), not) - setfield!(o, Symbol("not"), not) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("nullable"), nullable) - setfield!(o, Symbol("nullable"), nullable) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("oneOf"), oneOf) - setfield!(o, Symbol("oneOf"), oneOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("pattern"), pattern) - setfield!(o, Symbol("pattern"), pattern) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("patternProperties"), patternProperties) - setfield!(o, Symbol("patternProperties"), patternProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("properties"), properties) - setfield!(o, Symbol("properties"), properties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("required"), required) - setfield!(o, Symbol("required"), required) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("title"), title) - setfield!(o, Symbol("title"), title) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("uniqueItems"), uniqueItems) - setfield!(o, Symbol("uniqueItems"), uniqueItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-embedded-resource"), x_kubernetes_embedded_resource) - setfield!(o, Symbol("x_kubernetes_embedded_resource"), x_kubernetes_embedded_resource) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-int-or-string"), x_kubernetes_int_or_string) - setfield!(o, Symbol("x_kubernetes_int_or_string"), x_kubernetes_int_or_string) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-list-map-keys"), x_kubernetes_list_map_keys) - setfield!(o, Symbol("x_kubernetes_list_map_keys"), x_kubernetes_list_map_keys) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-list-type"), x_kubernetes_list_type) - setfield!(o, Symbol("x_kubernetes_list_type"), x_kubernetes_list_type) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-map-type"), x_kubernetes_map_type) - setfield!(o, Symbol("x_kubernetes_map_type"), x_kubernetes_map_type) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-preserve-unknown-fields"), x_kubernetes_preserve_unknown_fields) - setfield!(o, Symbol("x_kubernetes_preserve_unknown_fields"), x_kubernetes_preserve_unknown_fields) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps = Dict{Symbol,Symbol}(Symbol("\$ref")=>Symbol("ref"), Symbol("\$schema")=>Symbol("schema"), Symbol("additionalItems")=>Symbol("additionalItems"), Symbol("additionalProperties")=>Symbol("additionalProperties"), Symbol("allOf")=>Symbol("allOf"), Symbol("anyOf")=>Symbol("anyOf"), Symbol("default")=>Symbol("default"), Symbol("definitions")=>Symbol("definitions"), Symbol("dependencies")=>Symbol("dependencies"), Symbol("description")=>Symbol("description"), Symbol("enum")=>Symbol("enum"), Symbol("example")=>Symbol("example"), Symbol("exclusiveMaximum")=>Symbol("exclusiveMaximum"), Symbol("exclusiveMinimum")=>Symbol("exclusiveMinimum"), Symbol("externalDocs")=>Symbol("externalDocs"), Symbol("format")=>Symbol("format"), Symbol("id")=>Symbol("id"), Symbol("items")=>Symbol("items"), Symbol("maxItems")=>Symbol("maxItems"), Symbol("maxLength")=>Symbol("maxLength"), Symbol("maxProperties")=>Symbol("maxProperties"), Symbol("maximum")=>Symbol("maximum"), Symbol("minItems")=>Symbol("minItems"), Symbol("minLength")=>Symbol("minLength"), Symbol("minProperties")=>Symbol("minProperties"), Symbol("minimum")=>Symbol("minimum"), Symbol("multipleOf")=>Symbol("multipleOf"), Symbol("not")=>Symbol("not"), Symbol("nullable")=>Symbol("nullable"), Symbol("oneOf")=>Symbol("oneOf"), Symbol("pattern")=>Symbol("pattern"), Symbol("patternProperties")=>Symbol("patternProperties"), Symbol("properties")=>Symbol("properties"), Symbol("required")=>Symbol("required"), Symbol("title")=>Symbol("title"), Symbol("type")=>Symbol("type"), Symbol("uniqueItems")=>Symbol("uniqueItems"), Symbol("x-kubernetes-embedded-resource")=>Symbol("x_kubernetes_embedded_resource"), Symbol("x-kubernetes-int-or-string")=>Symbol("x_kubernetes_int_or_string"), Symbol("x-kubernetes-list-map-keys")=>Symbol("x_kubernetes_list_map_keys"), Symbol("x-kubernetes-list-type")=>Symbol("x_kubernetes_list_type"), Symbol("x-kubernetes-map-type")=>Symbol("x_kubernetes_map_type"), Symbol("x-kubernetes-preserve-unknown-fields")=>Symbol("x_kubernetes_preserve_unknown_fields")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps = Dict{Symbol,String}(Symbol("\$ref")=>"String", Symbol("\$schema")=>"String", Symbol("additionalItems")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool", Symbol("additionalProperties")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool", Symbol("allOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("anyOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("default")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON", Symbol("definitions")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("dependencies")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray}", Symbol("description")=>"String", Symbol("enum")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON}", Symbol("example")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON", Symbol("exclusiveMaximum")=>"Bool", Symbol("exclusiveMinimum")=>"Bool", Symbol("externalDocs")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation", Symbol("format")=>"String", Symbol("id")=>"String", Symbol("items")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray", Symbol("maxItems")=>"Int64", Symbol("maxLength")=>"Int64", Symbol("maxProperties")=>"Int64", Symbol("maximum")=>"Float64", Symbol("minItems")=>"Int64", Symbol("minLength")=>"Int64", Symbol("minProperties")=>"Int64", Symbol("minimum")=>"Float64", Symbol("multipleOf")=>"Float64", Symbol("not")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", Symbol("nullable")=>"Bool", Symbol("oneOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("pattern")=>"String", Symbol("patternProperties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("properties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("required")=>"Vector{String}", Symbol("title")=>"String", Symbol("type")=>"String", Symbol("uniqueItems")=>"Bool", Symbol("x-kubernetes-embedded-resource")=>"Bool", Symbol("x-kubernetes-int-or-string")=>"Bool", Symbol("x-kubernetes-list-map-keys")=>"Vector{String}", Symbol("x-kubernetes-list-type")=>"String", Symbol("x-kubernetes-map-type")=>"String", Symbol("x-kubernetes-preserve-unknown-fields")=>"Bool") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray.jl deleted file mode 100644 index 028f0ac3..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool.jl deleted file mode 100644 index a34c802b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray.jl deleted file mode 100644 index 0113d878..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl deleted file mode 100644 index e4310db6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference(; - name=nothing, - namespace=nothing, - path=nothing, - port=nothing, - ) - - - name::String : name is the name of the service. Required - - namespace::String : namespace is the namespace of the service. Required - - path::String : path is an optional URL path at which the webhook will be contacted. - - port::Int32 : port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - path::Any # spec type: Union{ Nothing, String } # spec name: path - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference(;name=nothing, namespace=nothing, path=nothing, port=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("path")=>Symbol("path"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl deleted file mode 100644 index a6fd3b95..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookClientConfig contains the information to make a TLS connection with the webhook. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig(; - caBundle=nothing, - service=nothing, - url=nothing, - ) - - - caBundle::Vector{UInt8} : caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - - service::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference : service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. - - url::String : url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - service::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference } # spec name: service - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig(;caBundle=nothing, service=nothing, url=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("service")=>Symbol("service"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl deleted file mode 100644 index b007f0f2..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookConversion describes how to call a conversion webhook - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion(; - clientConfig=nothing, - conversionReviewVersions=nothing, - ) - - - clientConfig::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig : clientConfig is the instructions for how to call the webhook if strategy is `Webhook`. - - conversionReviewVersions::Vector{String} : conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion <: SwaggerModel - clientConfig::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig } # spec name: clientConfig - conversionReviewVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: conversionReviewVersions - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion(;clientConfig=nothing, conversionReviewVersions=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion, Symbol("clientConfig"), clientConfig) - setfield!(o, Symbol("clientConfig"), clientConfig) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion, Symbol("conversionReviewVersions"), conversionReviewVersions) - setfield!(o, Symbol("conversionReviewVersions"), conversionReviewVersions) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion = Dict{Symbol,Symbol}(Symbol("clientConfig")=>Symbol("clientConfig"), Symbol("conversionReviewVersions")=>Symbol("conversionReviewVersions")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion = Dict{Symbol,String}(Symbol("clientConfig")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig", Symbol("conversionReviewVersions")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion) - (getproperty(o, Symbol("conversionReviewVersions")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl deleted file mode 100644 index 581f04dd..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceColumnDefinition specifies a column for server side printing. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition(; - JSONPath=nothing, - description=nothing, - format=nothing, - name=nothing, - priority=nothing, - type=nothing, - ) - - - JSONPath::String : JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. - - description::String : description is a human readable description of this column. - - format::String : format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. - - name::String : name is a human readable name for the column. - - priority::Int32 : priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. - - type::String : type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition <: SwaggerModel - JSONPath::Any # spec type: Union{ Nothing, String } # spec name: JSONPath - description::Any # spec type: Union{ Nothing, String } # spec name: description - format::Any # spec type: Union{ Nothing, String } # spec name: format - name::Any # spec type: Union{ Nothing, String } # spec name: name - priority::Any # spec type: Union{ Nothing, Int32 } # spec name: priority - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition(;JSONPath=nothing, description=nothing, format=nothing, name=nothing, priority=nothing, type=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("JSONPath"), JSONPath) - setfield!(o, Symbol("JSONPath"), JSONPath) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("format"), format) - setfield!(o, Symbol("format"), format) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("priority"), priority) - setfield!(o, Symbol("priority"), priority) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition = Dict{Symbol,Symbol}(Symbol("JSONPath")=>Symbol("JSONPath"), Symbol("description")=>Symbol("description"), Symbol("format")=>Symbol("format"), Symbol("name")=>Symbol("name"), Symbol("priority")=>Symbol("priority"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition = Dict{Symbol,String}(Symbol("JSONPath")=>"String", Symbol("description")=>"String", Symbol("format")=>"String", Symbol("name")=>"String", Symbol("priority")=>"Int32", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition) - (getproperty(o, Symbol("JSONPath")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl deleted file mode 100644 index faa0601b..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceConversion describes how to convert different versions of a CR. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion(; - conversionReviewVersions=nothing, - strategy=nothing, - webhookClientConfig=nothing, - ) - - - conversionReviewVersions::Vector{String} : conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`. - - strategy::String : strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set. - - webhookClientConfig::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig : webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion <: SwaggerModel - conversionReviewVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: conversionReviewVersions - strategy::Any # spec type: Union{ Nothing, String } # spec name: strategy - webhookClientConfig::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig } # spec name: webhookClientConfig - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion(;conversionReviewVersions=nothing, strategy=nothing, webhookClientConfig=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion, Symbol("conversionReviewVersions"), conversionReviewVersions) - setfield!(o, Symbol("conversionReviewVersions"), conversionReviewVersions) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion, Symbol("strategy"), strategy) - setfield!(o, Symbol("strategy"), strategy) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion, Symbol("webhookClientConfig"), webhookClientConfig) - setfield!(o, Symbol("webhookClientConfig"), webhookClientConfig) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion = Dict{Symbol,Symbol}(Symbol("conversionReviewVersions")=>Symbol("conversionReviewVersions"), Symbol("strategy")=>Symbol("strategy"), Symbol("webhookClientConfig")=>Symbol("webhookClientConfig")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion = Dict{Symbol,String}(Symbol("conversionReviewVersions")=>"Vector{String}", Symbol("strategy")=>"String", Symbol("webhookClientConfig")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion) - (getproperty(o, Symbol("strategy")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl deleted file mode 100644 index 94450a12..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec : spec describes how the user wants the resources to appear - - status::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus : status indicates the actual state of the CustomResourceDefinition -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus } # spec name: status - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec", Symbol("status")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition) - (getproperty(o, Symbol("spec")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl deleted file mode 100644 index 3e411d67..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionCondition contains details for the current condition of this pod. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : lastTransitionTime last time the condition transitioned from one status to another. - - message::String : message is a human-readable message indicating details about last transition. - - reason::String : reason is a unique, one-word, CamelCase reason for the condition's last transition. - - status::String : status is the status of the condition. Can be True, False, Unknown. - - type::String : type is the type of the condition. Types include Established, NamesAccepted and Terminating. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl deleted file mode 100644 index 7aed4218..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionList is a list of CustomResourceDefinition objects. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition} : items list individual CustomResourceDefinition objects - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl deleted file mode 100644 index 7317a0b6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames(; - categories=nothing, - kind=nothing, - listKind=nothing, - plural=nothing, - shortNames=nothing, - singular=nothing, - ) - - - categories::Vector{String} : categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. - - kind::String : kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. - - listKind::String : listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". - - plural::String : plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase. - - shortNames::Vector{String} : shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase. - - singular::String : singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames <: SwaggerModel - categories::Any # spec type: Union{ Nothing, Vector{String} } # spec name: categories - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - listKind::Any # spec type: Union{ Nothing, String } # spec name: listKind - plural::Any # spec type: Union{ Nothing, String } # spec name: plural - shortNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: shortNames - singular::Any # spec type: Union{ Nothing, String } # spec name: singular - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames(;categories=nothing, kind=nothing, listKind=nothing, plural=nothing, shortNames=nothing, singular=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("categories"), categories) - setfield!(o, Symbol("categories"), categories) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("listKind"), listKind) - setfield!(o, Symbol("listKind"), listKind) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("plural"), plural) - setfield!(o, Symbol("plural"), plural) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("shortNames"), shortNames) - setfield!(o, Symbol("shortNames"), shortNames) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("singular"), singular) - setfield!(o, Symbol("singular"), singular) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames = Dict{Symbol,Symbol}(Symbol("categories")=>Symbol("categories"), Symbol("kind")=>Symbol("kind"), Symbol("listKind")=>Symbol("listKind"), Symbol("plural")=>Symbol("plural"), Symbol("shortNames")=>Symbol("shortNames"), Symbol("singular")=>Symbol("singular")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames = Dict{Symbol,String}(Symbol("categories")=>"Vector{String}", Symbol("kind")=>"String", Symbol("listKind")=>"String", Symbol("plural")=>"String", Symbol("shortNames")=>"Vector{String}", Symbol("singular")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("plural")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl deleted file mode 100644 index 4a75c262..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl +++ /dev/null @@ -1,83 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionSpec describes how a user wants their resource to appear - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec(; - additionalPrinterColumns=nothing, - conversion=nothing, - group=nothing, - names=nothing, - preserveUnknownFields=nothing, - scope=nothing, - subresources=nothing, - validation=nothing, - version=nothing, - versions=nothing, - ) - - - additionalPrinterColumns::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} : additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. - - conversion::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion : conversion defines conversion settings for the CRD. - - group::String : group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). - - names::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames : names specify the resource and kind names for the custom resource. - - preserveUnknownFields::Bool : preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. - - scope::String : scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`. - - subresources::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources : subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. - - validation::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation : validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. - - version::String : version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. - - versions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion} : versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec <: SwaggerModel - additionalPrinterColumns::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} } # spec name: additionalPrinterColumns - conversion::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion } # spec name: conversion - group::Any # spec type: Union{ Nothing, String } # spec name: group - names::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames } # spec name: names - preserveUnknownFields::Any # spec type: Union{ Nothing, Bool } # spec name: preserveUnknownFields - scope::Any # spec type: Union{ Nothing, String } # spec name: scope - subresources::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources } # spec name: subresources - validation::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation } # spec name: validation - version::Any # spec type: Union{ Nothing, String } # spec name: version - versions::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion} } # spec name: versions - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec(;additionalPrinterColumns=nothing, conversion=nothing, group=nothing, names=nothing, preserveUnknownFields=nothing, scope=nothing, subresources=nothing, validation=nothing, version=nothing, versions=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("additionalPrinterColumns"), additionalPrinterColumns) - setfield!(o, Symbol("additionalPrinterColumns"), additionalPrinterColumns) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("conversion"), conversion) - setfield!(o, Symbol("conversion"), conversion) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("names"), names) - setfield!(o, Symbol("names"), names) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("preserveUnknownFields"), preserveUnknownFields) - setfield!(o, Symbol("preserveUnknownFields"), preserveUnknownFields) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("scope"), scope) - setfield!(o, Symbol("scope"), scope) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("subresources"), subresources) - setfield!(o, Symbol("subresources"), subresources) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("validation"), validation) - setfield!(o, Symbol("validation"), validation) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("versions"), versions) - setfield!(o, Symbol("versions"), versions) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec = Dict{Symbol,Symbol}(Symbol("additionalPrinterColumns")=>Symbol("additionalPrinterColumns"), Symbol("conversion")=>Symbol("conversion"), Symbol("group")=>Symbol("group"), Symbol("names")=>Symbol("names"), Symbol("preserveUnknownFields")=>Symbol("preserveUnknownFields"), Symbol("scope")=>Symbol("scope"), Symbol("subresources")=>Symbol("subresources"), Symbol("validation")=>Symbol("validation"), Symbol("version")=>Symbol("version"), Symbol("versions")=>Symbol("versions")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec = Dict{Symbol,String}(Symbol("additionalPrinterColumns")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition}", Symbol("conversion")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion", Symbol("group")=>"String", Symbol("names")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames", Symbol("preserveUnknownFields")=>"Bool", Symbol("scope")=>"String", Symbol("subresources")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources", Symbol("validation")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation", Symbol("version")=>"String", Symbol("versions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion}") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec) - (getproperty(o, Symbol("group")) === nothing) && (return false) - (getproperty(o, Symbol("names")) === nothing) && (return false) - (getproperty(o, Symbol("scope")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl deleted file mode 100644 index 60de7812..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus(; - acceptedNames=nothing, - conditions=nothing, - storedVersions=nothing, - ) - - - acceptedNames::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames : acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec. - - conditions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition} : conditions indicate state for particular aspects of a CustomResourceDefinition - - storedVersions::Vector{String} : storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus <: SwaggerModel - acceptedNames::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames } # spec name: acceptedNames - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition} } # spec name: conditions - storedVersions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: storedVersions - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus(;acceptedNames=nothing, conditions=nothing, storedVersions=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus, Symbol("acceptedNames"), acceptedNames) - setfield!(o, Symbol("acceptedNames"), acceptedNames) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus, Symbol("storedVersions"), storedVersions) - setfield!(o, Symbol("storedVersions"), storedVersions) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus = Dict{Symbol,Symbol}(Symbol("acceptedNames")=>Symbol("acceptedNames"), Symbol("conditions")=>Symbol("conditions"), Symbol("storedVersions")=>Symbol("storedVersions")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus = Dict{Symbol,String}(Symbol("acceptedNames")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames", Symbol("conditions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition}", Symbol("storedVersions")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus) - (getproperty(o, Symbol("acceptedNames")) === nothing) && (return false) - (getproperty(o, Symbol("storedVersions")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl deleted file mode 100644 index d96707de..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceDefinitionVersion describes a version for CRD. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion(; - additionalPrinterColumns=nothing, - name=nothing, - schema=nothing, - served=nothing, - storage=nothing, - subresources=nothing, - ) - - - additionalPrinterColumns::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} : additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. - - name::String : name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. - - schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation : schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead). - - served::Bool : served is a flag enabling/disabling this version from being served via REST APIs - - storage::Bool : storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. - - subresources::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources : subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead). -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion <: SwaggerModel - additionalPrinterColumns::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} } # spec name: additionalPrinterColumns - name::Any # spec type: Union{ Nothing, String } # spec name: name - schema::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation } # spec name: schema - served::Any # spec type: Union{ Nothing, Bool } # spec name: served - storage::Any # spec type: Union{ Nothing, Bool } # spec name: storage - subresources::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources } # spec name: subresources - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion(;additionalPrinterColumns=nothing, name=nothing, schema=nothing, served=nothing, storage=nothing, subresources=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("additionalPrinterColumns"), additionalPrinterColumns) - setfield!(o, Symbol("additionalPrinterColumns"), additionalPrinterColumns) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("schema"), schema) - setfield!(o, Symbol("schema"), schema) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("served"), served) - setfield!(o, Symbol("served"), served) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("storage"), storage) - setfield!(o, Symbol("storage"), storage) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("subresources"), subresources) - setfield!(o, Symbol("subresources"), subresources) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion = Dict{Symbol,Symbol}(Symbol("additionalPrinterColumns")=>Symbol("additionalPrinterColumns"), Symbol("name")=>Symbol("name"), Symbol("schema")=>Symbol("schema"), Symbol("served")=>Symbol("served"), Symbol("storage")=>Symbol("storage"), Symbol("subresources")=>Symbol("subresources")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion = Dict{Symbol,String}(Symbol("additionalPrinterColumns")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition}", Symbol("name")=>"String", Symbol("schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation", Symbol("served")=>"Bool", Symbol("storage")=>"Bool", Symbol("subresources")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("served")) === nothing) && (return false) - (getproperty(o, Symbol("storage")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl deleted file mode 100644 index bcdd3f4e..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale(; - labelSelectorPath=nothing, - specReplicasPath=nothing, - statusReplicasPath=nothing, - ) - - - labelSelectorPath::String : labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. - - specReplicasPath::String : specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. - - statusReplicasPath::String : statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale <: SwaggerModel - labelSelectorPath::Any # spec type: Union{ Nothing, String } # spec name: labelSelectorPath - specReplicasPath::Any # spec type: Union{ Nothing, String } # spec name: specReplicasPath - statusReplicasPath::Any # spec type: Union{ Nothing, String } # spec name: statusReplicasPath - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale(;labelSelectorPath=nothing, specReplicasPath=nothing, statusReplicasPath=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale, Symbol("labelSelectorPath"), labelSelectorPath) - setfield!(o, Symbol("labelSelectorPath"), labelSelectorPath) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale, Symbol("specReplicasPath"), specReplicasPath) - setfield!(o, Symbol("specReplicasPath"), specReplicasPath) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale, Symbol("statusReplicasPath"), statusReplicasPath) - setfield!(o, Symbol("statusReplicasPath"), statusReplicasPath) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale = Dict{Symbol,Symbol}(Symbol("labelSelectorPath")=>Symbol("labelSelectorPath"), Symbol("specReplicasPath")=>Symbol("specReplicasPath"), Symbol("statusReplicasPath")=>Symbol("statusReplicasPath")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale = Dict{Symbol,String}(Symbol("labelSelectorPath")=>"String", Symbol("specReplicasPath")=>"String", Symbol("statusReplicasPath")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale) - (getproperty(o, Symbol("specReplicasPath")) === nothing) && (return false) - (getproperty(o, Symbol("statusReplicasPath")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus.jl deleted file mode 100644 index e67d63db..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl deleted file mode 100644 index b78d0b67..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceSubresources defines the status and scale subresources for CustomResources. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources(; - scale=nothing, - status=nothing, - ) - - - scale::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale : scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object. - - status::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus : status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources <: SwaggerModel - scale::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale } # spec name: scale - status::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus } # spec name: status - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources(;scale=nothing, status=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources, Symbol("scale"), scale) - setfield!(o, Symbol("scale"), scale) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources = Dict{Symbol,Symbol}(Symbol("scale")=>Symbol("scale"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources = Dict{Symbol,String}(Symbol("scale")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale", Symbol("status")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl deleted file mode 100644 index 5d321c9a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""CustomResourceValidation is a list of validation methods for CustomResources. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation(; - openAPIV3Schema=nothing, - ) - - - openAPIV3Schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps : openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation <: SwaggerModel - openAPIV3Schema::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps } # spec name: openAPIV3Schema - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation(;openAPIV3Schema=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation, Symbol("openAPIV3Schema"), openAPIV3Schema) - setfield!(o, Symbol("openAPIV3Schema"), openAPIV3Schema) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation = Dict{Symbol,Symbol}(Symbol("openAPIV3Schema")=>Symbol("openAPIV3Schema")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation = Dict{Symbol,String}(Symbol("openAPIV3Schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl deleted file mode 100644 index 2579dcc6..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ExternalDocumentation allows referencing an external resource for extended documentation. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation(; - description=nothing, - url=nothing, - ) - - - description::String - - url::String -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation <: SwaggerModel - description::Any # spec type: Union{ Nothing, String } # spec name: description - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation(;description=nothing, url=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation = Dict{Symbol,Symbol}(Symbol("description")=>Symbol("description"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON.jl deleted file mode 100644 index 4fe50703..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl deleted file mode 100644 index ce7403d0..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl +++ /dev/null @@ -1,245 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps(; - ref=nothing, - schema=nothing, - additionalItems=nothing, - additionalProperties=nothing, - allOf=nothing, - anyOf=nothing, - default=nothing, - definitions=nothing, - dependencies=nothing, - description=nothing, - enum=nothing, - example=nothing, - exclusiveMaximum=nothing, - exclusiveMinimum=nothing, - externalDocs=nothing, - format=nothing, - id=nothing, - items=nothing, - maxItems=nothing, - maxLength=nothing, - maxProperties=nothing, - maximum=nothing, - minItems=nothing, - minLength=nothing, - minProperties=nothing, - minimum=nothing, - multipleOf=nothing, - not=nothing, - nullable=nothing, - oneOf=nothing, - pattern=nothing, - patternProperties=nothing, - properties=nothing, - required=nothing, - title=nothing, - type=nothing, - uniqueItems=nothing, - x_kubernetes_embedded_resource=nothing, - x_kubernetes_int_or_string=nothing, - x_kubernetes_list_map_keys=nothing, - x_kubernetes_list_type=nothing, - x_kubernetes_map_type=nothing, - x_kubernetes_preserve_unknown_fields=nothing, - ) - - - ref::String - - schema::String - - additionalItems::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool - - additionalProperties::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool - - allOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} - - anyOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} - - default::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON : default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API. - - definitions::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} - - dependencies::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray} - - description::String - - enum::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON} - - example::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON - - exclusiveMaximum::Bool - - exclusiveMinimum::Bool - - externalDocs::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation - - format::String : format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. - - id::String - - items::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray - - maxItems::Int64 - - maxLength::Int64 - - maxProperties::Int64 - - maximum::Float64 - - minItems::Int64 - - minLength::Int64 - - minProperties::Int64 - - minimum::Float64 - - multipleOf::Float64 - - not::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps - - nullable::Bool - - oneOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} - - pattern::String - - patternProperties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} - - properties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} - - required::Vector{String} - - title::String - - type::String - - uniqueItems::Bool - - x_kubernetes_embedded_resource::Bool : x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata). - - x_kubernetes_int_or_string::Bool : x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more - - x_kubernetes_list_map_keys::Vector{String} : x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). - - x_kubernetes_list_type::String : x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. - - x_kubernetes_map_type::String : x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. - - x_kubernetes_preserve_unknown_fields::Bool : x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps <: SwaggerModel - ref::Any # spec type: Union{ Nothing, String } # spec name: \$ref - schema::Any # spec type: Union{ Nothing, String } # spec name: \$schema - additionalItems::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool } # spec name: additionalItems - additionalProperties::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool } # spec name: additionalProperties - allOf::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } # spec name: allOf - anyOf::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } # spec name: anyOf - default::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON } # spec name: default - definitions::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } # spec name: definitions - dependencies::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray} } # spec name: dependencies - description::Any # spec type: Union{ Nothing, String } # spec name: description - enum::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON} } # spec name: enum - example::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON } # spec name: example - exclusiveMaximum::Any # spec type: Union{ Nothing, Bool } # spec name: exclusiveMaximum - exclusiveMinimum::Any # spec type: Union{ Nothing, Bool } # spec name: exclusiveMinimum - externalDocs::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation } # spec name: externalDocs - format::Any # spec type: Union{ Nothing, String } # spec name: format - id::Any # spec type: Union{ Nothing, String } # spec name: id - items::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray } # spec name: items - maxItems::Any # spec type: Union{ Nothing, Int64 } # spec name: maxItems - maxLength::Any # spec type: Union{ Nothing, Int64 } # spec name: maxLength - maxProperties::Any # spec type: Union{ Nothing, Int64 } # spec name: maxProperties - maximum::Any # spec type: Union{ Nothing, Float64 } # spec name: maximum - minItems::Any # spec type: Union{ Nothing, Int64 } # spec name: minItems - minLength::Any # spec type: Union{ Nothing, Int64 } # spec name: minLength - minProperties::Any # spec type: Union{ Nothing, Int64 } # spec name: minProperties - minimum::Any # spec type: Union{ Nothing, Float64 } # spec name: minimum - multipleOf::Any # spec type: Union{ Nothing, Float64 } # spec name: multipleOf - not::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps } # spec name: not - nullable::Any # spec type: Union{ Nothing, Bool } # spec name: nullable - oneOf::Any # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } # spec name: oneOf - pattern::Any # spec type: Union{ Nothing, String } # spec name: pattern - patternProperties::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } # spec name: patternProperties - properties::Any # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } # spec name: properties - required::Any # spec type: Union{ Nothing, Vector{String} } # spec name: required - title::Any # spec type: Union{ Nothing, String } # spec name: title - type::Any # spec type: Union{ Nothing, String } # spec name: type - uniqueItems::Any # spec type: Union{ Nothing, Bool } # spec name: uniqueItems - x_kubernetes_embedded_resource::Any # spec type: Union{ Nothing, Bool } # spec name: x-kubernetes-embedded-resource - x_kubernetes_int_or_string::Any # spec type: Union{ Nothing, Bool } # spec name: x-kubernetes-int-or-string - x_kubernetes_list_map_keys::Any # spec type: Union{ Nothing, Vector{String} } # spec name: x-kubernetes-list-map-keys - x_kubernetes_list_type::Any # spec type: Union{ Nothing, String } # spec name: x-kubernetes-list-type - x_kubernetes_map_type::Any # spec type: Union{ Nothing, String } # spec name: x-kubernetes-map-type - x_kubernetes_preserve_unknown_fields::Any # spec type: Union{ Nothing, Bool } # spec name: x-kubernetes-preserve-unknown-fields - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps(;ref=nothing, schema=nothing, additionalItems=nothing, additionalProperties=nothing, allOf=nothing, anyOf=nothing, default=nothing, definitions=nothing, dependencies=nothing, description=nothing, enum=nothing, example=nothing, exclusiveMaximum=nothing, exclusiveMinimum=nothing, externalDocs=nothing, format=nothing, id=nothing, items=nothing, maxItems=nothing, maxLength=nothing, maxProperties=nothing, maximum=nothing, minItems=nothing, minLength=nothing, minProperties=nothing, minimum=nothing, multipleOf=nothing, not=nothing, nullable=nothing, oneOf=nothing, pattern=nothing, patternProperties=nothing, properties=nothing, required=nothing, title=nothing, type=nothing, uniqueItems=nothing, x_kubernetes_embedded_resource=nothing, x_kubernetes_int_or_string=nothing, x_kubernetes_list_map_keys=nothing, x_kubernetes_list_type=nothing, x_kubernetes_map_type=nothing, x_kubernetes_preserve_unknown_fields=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("\$ref"), ref) - setfield!(o, Symbol("ref"), ref) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("\$schema"), schema) - setfield!(o, Symbol("schema"), schema) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("additionalItems"), additionalItems) - setfield!(o, Symbol("additionalItems"), additionalItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("additionalProperties"), additionalProperties) - setfield!(o, Symbol("additionalProperties"), additionalProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("allOf"), allOf) - setfield!(o, Symbol("allOf"), allOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("anyOf"), anyOf) - setfield!(o, Symbol("anyOf"), anyOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("default"), default) - setfield!(o, Symbol("default"), default) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("definitions"), definitions) - setfield!(o, Symbol("definitions"), definitions) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("dependencies"), dependencies) - setfield!(o, Symbol("dependencies"), dependencies) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("description"), description) - setfield!(o, Symbol("description"), description) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("enum"), enum) - setfield!(o, Symbol("enum"), enum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("example"), example) - setfield!(o, Symbol("example"), example) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("exclusiveMaximum"), exclusiveMaximum) - setfield!(o, Symbol("exclusiveMaximum"), exclusiveMaximum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("exclusiveMinimum"), exclusiveMinimum) - setfield!(o, Symbol("exclusiveMinimum"), exclusiveMinimum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("externalDocs"), externalDocs) - setfield!(o, Symbol("externalDocs"), externalDocs) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("format"), format) - setfield!(o, Symbol("format"), format) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("id"), id) - setfield!(o, Symbol("id"), id) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maxItems"), maxItems) - setfield!(o, Symbol("maxItems"), maxItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maxLength"), maxLength) - setfield!(o, Symbol("maxLength"), maxLength) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maxProperties"), maxProperties) - setfield!(o, Symbol("maxProperties"), maxProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maximum"), maximum) - setfield!(o, Symbol("maximum"), maximum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minItems"), minItems) - setfield!(o, Symbol("minItems"), minItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minLength"), minLength) - setfield!(o, Symbol("minLength"), minLength) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minProperties"), minProperties) - setfield!(o, Symbol("minProperties"), minProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minimum"), minimum) - setfield!(o, Symbol("minimum"), minimum) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("multipleOf"), multipleOf) - setfield!(o, Symbol("multipleOf"), multipleOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("not"), not) - setfield!(o, Symbol("not"), not) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("nullable"), nullable) - setfield!(o, Symbol("nullable"), nullable) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("oneOf"), oneOf) - setfield!(o, Symbol("oneOf"), oneOf) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("pattern"), pattern) - setfield!(o, Symbol("pattern"), pattern) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("patternProperties"), patternProperties) - setfield!(o, Symbol("patternProperties"), patternProperties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("properties"), properties) - setfield!(o, Symbol("properties"), properties) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("required"), required) - setfield!(o, Symbol("required"), required) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("title"), title) - setfield!(o, Symbol("title"), title) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("uniqueItems"), uniqueItems) - setfield!(o, Symbol("uniqueItems"), uniqueItems) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-embedded-resource"), x_kubernetes_embedded_resource) - setfield!(o, Symbol("x_kubernetes_embedded_resource"), x_kubernetes_embedded_resource) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-int-or-string"), x_kubernetes_int_or_string) - setfield!(o, Symbol("x_kubernetes_int_or_string"), x_kubernetes_int_or_string) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-list-map-keys"), x_kubernetes_list_map_keys) - setfield!(o, Symbol("x_kubernetes_list_map_keys"), x_kubernetes_list_map_keys) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-list-type"), x_kubernetes_list_type) - setfield!(o, Symbol("x_kubernetes_list_type"), x_kubernetes_list_type) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-map-type"), x_kubernetes_map_type) - setfield!(o, Symbol("x_kubernetes_map_type"), x_kubernetes_map_type) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-preserve-unknown-fields"), x_kubernetes_preserve_unknown_fields) - setfield!(o, Symbol("x_kubernetes_preserve_unknown_fields"), x_kubernetes_preserve_unknown_fields) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps = Dict{Symbol,Symbol}(Symbol("\$ref")=>Symbol("ref"), Symbol("\$schema")=>Symbol("schema"), Symbol("additionalItems")=>Symbol("additionalItems"), Symbol("additionalProperties")=>Symbol("additionalProperties"), Symbol("allOf")=>Symbol("allOf"), Symbol("anyOf")=>Symbol("anyOf"), Symbol("default")=>Symbol("default"), Symbol("definitions")=>Symbol("definitions"), Symbol("dependencies")=>Symbol("dependencies"), Symbol("description")=>Symbol("description"), Symbol("enum")=>Symbol("enum"), Symbol("example")=>Symbol("example"), Symbol("exclusiveMaximum")=>Symbol("exclusiveMaximum"), Symbol("exclusiveMinimum")=>Symbol("exclusiveMinimum"), Symbol("externalDocs")=>Symbol("externalDocs"), Symbol("format")=>Symbol("format"), Symbol("id")=>Symbol("id"), Symbol("items")=>Symbol("items"), Symbol("maxItems")=>Symbol("maxItems"), Symbol("maxLength")=>Symbol("maxLength"), Symbol("maxProperties")=>Symbol("maxProperties"), Symbol("maximum")=>Symbol("maximum"), Symbol("minItems")=>Symbol("minItems"), Symbol("minLength")=>Symbol("minLength"), Symbol("minProperties")=>Symbol("minProperties"), Symbol("minimum")=>Symbol("minimum"), Symbol("multipleOf")=>Symbol("multipleOf"), Symbol("not")=>Symbol("not"), Symbol("nullable")=>Symbol("nullable"), Symbol("oneOf")=>Symbol("oneOf"), Symbol("pattern")=>Symbol("pattern"), Symbol("patternProperties")=>Symbol("patternProperties"), Symbol("properties")=>Symbol("properties"), Symbol("required")=>Symbol("required"), Symbol("title")=>Symbol("title"), Symbol("type")=>Symbol("type"), Symbol("uniqueItems")=>Symbol("uniqueItems"), Symbol("x-kubernetes-embedded-resource")=>Symbol("x_kubernetes_embedded_resource"), Symbol("x-kubernetes-int-or-string")=>Symbol("x_kubernetes_int_or_string"), Symbol("x-kubernetes-list-map-keys")=>Symbol("x_kubernetes_list_map_keys"), Symbol("x-kubernetes-list-type")=>Symbol("x_kubernetes_list_type"), Symbol("x-kubernetes-map-type")=>Symbol("x_kubernetes_map_type"), Symbol("x-kubernetes-preserve-unknown-fields")=>Symbol("x_kubernetes_preserve_unknown_fields")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps = Dict{Symbol,String}(Symbol("\$ref")=>"String", Symbol("\$schema")=>"String", Symbol("additionalItems")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool", Symbol("additionalProperties")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool", Symbol("allOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("anyOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("default")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON", Symbol("definitions")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("dependencies")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray}", Symbol("description")=>"String", Symbol("enum")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON}", Symbol("example")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON", Symbol("exclusiveMaximum")=>"Bool", Symbol("exclusiveMinimum")=>"Bool", Symbol("externalDocs")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation", Symbol("format")=>"String", Symbol("id")=>"String", Symbol("items")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray", Symbol("maxItems")=>"Int64", Symbol("maxLength")=>"Int64", Symbol("maxProperties")=>"Int64", Symbol("maximum")=>"Float64", Symbol("minItems")=>"Int64", Symbol("minLength")=>"Int64", Symbol("minProperties")=>"Int64", Symbol("minimum")=>"Float64", Symbol("multipleOf")=>"Float64", Symbol("not")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", Symbol("nullable")=>"Bool", Symbol("oneOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("pattern")=>"String", Symbol("patternProperties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("properties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("required")=>"Vector{String}", Symbol("title")=>"String", Symbol("type")=>"String", Symbol("uniqueItems")=>"Bool", Symbol("x-kubernetes-embedded-resource")=>"Bool", Symbol("x-kubernetes-int-or-string")=>"Bool", Symbol("x-kubernetes-list-map-keys")=>"Vector{String}", Symbol("x-kubernetes-list-type")=>"String", Symbol("x-kubernetes-map-type")=>"String", Symbol("x-kubernetes-preserve-unknown-fields")=>"Bool") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray.jl deleted file mode 100644 index 18a65431..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool.jl deleted file mode 100644 index b741d14a..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray.jl deleted file mode 100644 index 03d144d1..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray(; - ) - -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray <: SwaggerModel - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray(;) - o = new() - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray = Dict{Symbol,Symbol}() -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl deleted file mode 100644 index 7497b9da..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference(; - name=nothing, - namespace=nothing, - path=nothing, - port=nothing, - ) - - - name::String : name is the name of the service. Required - - namespace::String : namespace is the namespace of the service. Required - - path::String : path is an optional URL path at which the webhook will be contacted. - - port::Int32 : port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - path::Any # spec type: Union{ Nothing, String } # spec name: path - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference(;name=nothing, namespace=nothing, path=nothing, port=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("path"), path) - setfield!(o, Symbol("path"), path) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("path")=>Symbol("path"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespace")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl b/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl deleted file mode 100644 index 9edf8515..00000000 --- a/src/ApiImpl/api/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""WebhookClientConfig contains the information to make a TLS connection with the webhook. - - IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig(; - caBundle=nothing, - service=nothing, - url=nothing, - ) - - - caBundle::Vector{UInt8} : caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - - service::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference : service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. - - url::String : url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. -""" -mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - service::Any # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference } # spec name: service - url::Any # spec type: Union{ Nothing, String } # spec name: url - - function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig(;caBundle=nothing, service=nothing, url=nothing) - o = new() - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig, Symbol("url"), url) - setfield!(o, Symbol("url"), url) - o - end -end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig - -const _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("service")=>Symbol("service"), Symbol("url")=>Symbol("url")) -const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference", Symbol("url")=>"String") -Base.propertynames(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig }) = collect(keys(_property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig)) -Swagger.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig[name]))} -Swagger.field_name(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig }, property_name::Symbol) = _property_map_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig[property_name] - -function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig) - true -end - -function validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApiResourceQuantity.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApiResourceQuantity.jl deleted file mode 100644 index 7906e36e..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApiResourceQuantity.jl +++ /dev/null @@ -1,9 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgApiResourceQuantity) - const IoK8sApimachineryPkgApiResourceQuantity = String -else - @warn("Skipping redefinition of IoK8sApimachineryPkgApiResourceQuantity to String") -end - diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl deleted file mode 100644 index 9bdfc413..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIGroup contains the name, the supported versions, and the preferred version of a group. - - IoK8sApimachineryPkgApisMetaV1APIGroup(; - apiVersion=nothing, - kind=nothing, - name=nothing, - preferredVersion=nothing, - serverAddressByClientCIDRs=nothing, - versions=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - name::String : name is the name of the group. - - preferredVersion::IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery : preferredVersion is the version preferred by the API server, which probably is the storage version. - - serverAddressByClientCIDRs::Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} : a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. - - versions::Vector{IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery} : versions are the versions supported in this group. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1APIGroup <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - preferredVersion::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery } # spec name: preferredVersion - serverAddressByClientCIDRs::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} } # spec name: serverAddressByClientCIDRs - versions::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery} } # spec name: versions - - function IoK8sApimachineryPkgApisMetaV1APIGroup(;apiVersion=nothing, kind=nothing, name=nothing, preferredVersion=nothing, serverAddressByClientCIDRs=nothing, versions=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("preferredVersion"), preferredVersion) - setfield!(o, Symbol("preferredVersion"), preferredVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("serverAddressByClientCIDRs"), serverAddressByClientCIDRs) - setfield!(o, Symbol("serverAddressByClientCIDRs"), serverAddressByClientCIDRs) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("versions"), versions) - setfield!(o, Symbol("versions"), versions) - o - end -end # type IoK8sApimachineryPkgApisMetaV1APIGroup - -const _property_map_IoK8sApimachineryPkgApisMetaV1APIGroup = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("preferredVersion")=>Symbol("preferredVersion"), Symbol("serverAddressByClientCIDRs")=>Symbol("serverAddressByClientCIDRs"), Symbol("versions")=>Symbol("versions")) -const _property_types_IoK8sApimachineryPkgApisMetaV1APIGroup = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("preferredVersion")=>"IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery", Symbol("serverAddressByClientCIDRs")=>"Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR}", Symbol("versions")=>"Vector{IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery}") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroup }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1APIGroup)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIGroup[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroup }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1APIGroup[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1APIGroup) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("versions")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroup }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl deleted file mode 100644 index d59ff4e1..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis. - - IoK8sApimachineryPkgApisMetaV1APIGroupList(; - apiVersion=nothing, - groups=nothing, - kind=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - groups::Vector{IoK8sApimachineryPkgApisMetaV1APIGroup} : groups is a list of APIGroup. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds -""" -mutable struct IoK8sApimachineryPkgApisMetaV1APIGroupList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - groups::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1APIGroup} } # spec name: groups - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - - function IoK8sApimachineryPkgApisMetaV1APIGroupList(;apiVersion=nothing, groups=nothing, kind=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroupList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroupList, Symbol("groups"), groups) - setfield!(o, Symbol("groups"), groups) - validate_property(IoK8sApimachineryPkgApisMetaV1APIGroupList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - o - end -end # type IoK8sApimachineryPkgApisMetaV1APIGroupList - -const _property_map_IoK8sApimachineryPkgApisMetaV1APIGroupList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("groups")=>Symbol("groups"), Symbol("kind")=>Symbol("kind")) -const _property_types_IoK8sApimachineryPkgApisMetaV1APIGroupList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("groups")=>"Vector{IoK8sApimachineryPkgApisMetaV1APIGroup}", Symbol("kind")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroupList }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1APIGroupList)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroupList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIGroupList[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroupList }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1APIGroupList[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1APIGroupList) - (getproperty(o, Symbol("groups")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroupList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl deleted file mode 100644 index 9ed9c30c..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl +++ /dev/null @@ -1,85 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIResource specifies the name of a resource and whether it is namespaced. - - IoK8sApimachineryPkgApisMetaV1APIResource(; - categories=nothing, - group=nothing, - kind=nothing, - name=nothing, - namespaced=nothing, - shortNames=nothing, - singularName=nothing, - storageVersionHash=nothing, - verbs=nothing, - version=nothing, - ) - - - categories::Vector{String} : categories is a list of the grouped resources this resource belongs to (e.g. 'all') - - group::String : group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\". - - kind::String : kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') - - name::String : name is the plural name of the resource. - - namespaced::Bool : namespaced indicates if a resource is namespaced or not. - - shortNames::Vector{String} : shortNames is a list of suggested short names of the resource. - - singularName::String : singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. - - storageVersionHash::String : The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. - - verbs::Vector{String} : verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) - - version::String : version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". -""" -mutable struct IoK8sApimachineryPkgApisMetaV1APIResource <: SwaggerModel - categories::Any # spec type: Union{ Nothing, Vector{String} } # spec name: categories - group::Any # spec type: Union{ Nothing, String } # spec name: group - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespaced::Any # spec type: Union{ Nothing, Bool } # spec name: namespaced - shortNames::Any # spec type: Union{ Nothing, Vector{String} } # spec name: shortNames - singularName::Any # spec type: Union{ Nothing, String } # spec name: singularName - storageVersionHash::Any # spec type: Union{ Nothing, String } # spec name: storageVersionHash - verbs::Any # spec type: Union{ Nothing, Vector{String} } # spec name: verbs - version::Any # spec type: Union{ Nothing, String } # spec name: version - - function IoK8sApimachineryPkgApisMetaV1APIResource(;categories=nothing, group=nothing, kind=nothing, name=nothing, namespaced=nothing, shortNames=nothing, singularName=nothing, storageVersionHash=nothing, verbs=nothing, version=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("categories"), categories) - setfield!(o, Symbol("categories"), categories) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("namespaced"), namespaced) - setfield!(o, Symbol("namespaced"), namespaced) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("shortNames"), shortNames) - setfield!(o, Symbol("shortNames"), shortNames) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("singularName"), singularName) - setfield!(o, Symbol("singularName"), singularName) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("storageVersionHash"), storageVersionHash) - setfield!(o, Symbol("storageVersionHash"), storageVersionHash) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("verbs"), verbs) - setfield!(o, Symbol("verbs"), verbs) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - o - end -end # type IoK8sApimachineryPkgApisMetaV1APIResource - -const _property_map_IoK8sApimachineryPkgApisMetaV1APIResource = Dict{Symbol,Symbol}(Symbol("categories")=>Symbol("categories"), Symbol("group")=>Symbol("group"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("namespaced")=>Symbol("namespaced"), Symbol("shortNames")=>Symbol("shortNames"), Symbol("singularName")=>Symbol("singularName"), Symbol("storageVersionHash")=>Symbol("storageVersionHash"), Symbol("verbs")=>Symbol("verbs"), Symbol("version")=>Symbol("version")) -const _property_types_IoK8sApimachineryPkgApisMetaV1APIResource = Dict{Symbol,String}(Symbol("categories")=>"Vector{String}", Symbol("group")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespaced")=>"Bool", Symbol("shortNames")=>"Vector{String}", Symbol("singularName")=>"String", Symbol("storageVersionHash")=>"String", Symbol("verbs")=>"Vector{String}", Symbol("version")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1APIResource }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1APIResource)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIResource[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1APIResource }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1APIResource[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1APIResource) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("namespaced")) === nothing) && (return false) - (getproperty(o, Symbol("singularName")) === nothing) && (return false) - (getproperty(o, Symbol("verbs")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIResource }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl deleted file mode 100644 index 3a8d6a1c..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced. - - IoK8sApimachineryPkgApisMetaV1APIResourceList(; - apiVersion=nothing, - groupVersion=nothing, - kind=nothing, - resources=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - groupVersion::String : groupVersion is the group and version this APIResourceList is for. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - resources::Vector{IoK8sApimachineryPkgApisMetaV1APIResource} : resources contains the name of the resources and if they are namespaced. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1APIResourceList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - groupVersion::Any # spec type: Union{ Nothing, String } # spec name: groupVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - resources::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1APIResource} } # spec name: resources - - function IoK8sApimachineryPkgApisMetaV1APIResourceList(;apiVersion=nothing, groupVersion=nothing, kind=nothing, resources=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("groupVersion"), groupVersion) - setfield!(o, Symbol("groupVersion"), groupVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("resources"), resources) - setfield!(o, Symbol("resources"), resources) - o - end -end # type IoK8sApimachineryPkgApisMetaV1APIResourceList - -const _property_map_IoK8sApimachineryPkgApisMetaV1APIResourceList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("groupVersion")=>Symbol("groupVersion"), Symbol("kind")=>Symbol("kind"), Symbol("resources")=>Symbol("resources")) -const _property_types_IoK8sApimachineryPkgApisMetaV1APIResourceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("groupVersion")=>"String", Symbol("kind")=>"String", Symbol("resources")=>"Vector{IoK8sApimachineryPkgApisMetaV1APIResource}") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1APIResourceList }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1APIResourceList)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIResourceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIResourceList[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1APIResourceList }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1APIResourceList[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1APIResourceList) - (getproperty(o, Symbol("groupVersion")) === nothing) && (return false) - (getproperty(o, Symbol("resources")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIResourceList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl deleted file mode 100644 index 75b6748c..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API. - - IoK8sApimachineryPkgApisMetaV1APIVersions(; - apiVersion=nothing, - kind=nothing, - serverAddressByClientCIDRs=nothing, - versions=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - serverAddressByClientCIDRs::Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} : a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. - - versions::Vector{String} : versions are the api versions that are available. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1APIVersions <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - serverAddressByClientCIDRs::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} } # spec name: serverAddressByClientCIDRs - versions::Any # spec type: Union{ Nothing, Vector{String} } # spec name: versions - - function IoK8sApimachineryPkgApisMetaV1APIVersions(;apiVersion=nothing, kind=nothing, serverAddressByClientCIDRs=nothing, versions=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("serverAddressByClientCIDRs"), serverAddressByClientCIDRs) - setfield!(o, Symbol("serverAddressByClientCIDRs"), serverAddressByClientCIDRs) - validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("versions"), versions) - setfield!(o, Symbol("versions"), versions) - o - end -end # type IoK8sApimachineryPkgApisMetaV1APIVersions - -const _property_map_IoK8sApimachineryPkgApisMetaV1APIVersions = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("serverAddressByClientCIDRs")=>Symbol("serverAddressByClientCIDRs"), Symbol("versions")=>Symbol("versions")) -const _property_types_IoK8sApimachineryPkgApisMetaV1APIVersions = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("serverAddressByClientCIDRs")=>"Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR}", Symbol("versions")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1APIVersions }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1APIVersions)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIVersions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIVersions[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1APIVersions }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1APIVersions[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1APIVersions) - (getproperty(o, Symbol("serverAddressByClientCIDRs")) === nothing) && (return false) - (getproperty(o, Symbol("versions")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIVersions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl deleted file mode 100644 index f349521b..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl +++ /dev/null @@ -1,65 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""DeleteOptions may be provided when deleting an API object. - - IoK8sApimachineryPkgApisMetaV1DeleteOptions(; - apiVersion=nothing, - dryRun=nothing, - gracePeriodSeconds=nothing, - kind=nothing, - orphanDependents=nothing, - preconditions=nothing, - propagationPolicy=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - dryRun::Vector{String} : When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - - gracePeriodSeconds::Int64 : The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - orphanDependents::Bool : Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - - preconditions::IoK8sApimachineryPkgApisMetaV1Preconditions : Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. - - propagationPolicy::String : Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1DeleteOptions <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - dryRun::Any # spec type: Union{ Nothing, Vector{String} } # spec name: dryRun - gracePeriodSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: gracePeriodSeconds - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - orphanDependents::Any # spec type: Union{ Nothing, Bool } # spec name: orphanDependents - preconditions::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Preconditions } # spec name: preconditions - propagationPolicy::Any # spec type: Union{ Nothing, String } # spec name: propagationPolicy - - function IoK8sApimachineryPkgApisMetaV1DeleteOptions(;apiVersion=nothing, dryRun=nothing, gracePeriodSeconds=nothing, kind=nothing, orphanDependents=nothing, preconditions=nothing, propagationPolicy=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("dryRun"), dryRun) - setfield!(o, Symbol("dryRun"), dryRun) - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("gracePeriodSeconds"), gracePeriodSeconds) - setfield!(o, Symbol("gracePeriodSeconds"), gracePeriodSeconds) - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("orphanDependents"), orphanDependents) - setfield!(o, Symbol("orphanDependents"), orphanDependents) - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("preconditions"), preconditions) - setfield!(o, Symbol("preconditions"), preconditions) - validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("propagationPolicy"), propagationPolicy) - setfield!(o, Symbol("propagationPolicy"), propagationPolicy) - o - end -end # type IoK8sApimachineryPkgApisMetaV1DeleteOptions - -const _property_map_IoK8sApimachineryPkgApisMetaV1DeleteOptions = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("dryRun")=>Symbol("dryRun"), Symbol("gracePeriodSeconds")=>Symbol("gracePeriodSeconds"), Symbol("kind")=>Symbol("kind"), Symbol("orphanDependents")=>Symbol("orphanDependents"), Symbol("preconditions")=>Symbol("preconditions"), Symbol("propagationPolicy")=>Symbol("propagationPolicy")) -const _property_types_IoK8sApimachineryPkgApisMetaV1DeleteOptions = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("dryRun")=>"Vector{String}", Symbol("gracePeriodSeconds")=>"Int64", Symbol("kind")=>"String", Symbol("orphanDependents")=>"Bool", Symbol("preconditions")=>"IoK8sApimachineryPkgApisMetaV1Preconditions", Symbol("propagationPolicy")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptions }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1DeleteOptions)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1DeleteOptions[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptions }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1DeleteOptions[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1DeleteOptions) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Duration.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Duration.jl deleted file mode 100644 index aa344eb6..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Duration.jl +++ /dev/null @@ -1,9 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgApisMetaV1Duration) - const IoK8sApimachineryPkgApisMetaV1Duration = String -else - @warn("Skipping redefinition of IoK8sApimachineryPkgApisMetaV1Duration to String") -end - diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1FieldsV1.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1FieldsV1.jl deleted file mode 100644 index ae7e3113..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1FieldsV1.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. The exact format is defined in sigs.k8s.io/structured-merge-diff - - IoK8sApimachineryPkgApisMetaV1FieldsV1(; - ) - -""" -mutable struct IoK8sApimachineryPkgApisMetaV1FieldsV1 <: SwaggerModel - - function IoK8sApimachineryPkgApisMetaV1FieldsV1(;) - o = new() - o - end -end # type IoK8sApimachineryPkgApisMetaV1FieldsV1 - -const _property_map_IoK8sApimachineryPkgApisMetaV1FieldsV1 = Dict{Symbol,Symbol}() -const _property_types_IoK8sApimachineryPkgApisMetaV1FieldsV1 = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1FieldsV1 }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1FieldsV1)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1FieldsV1 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1FieldsV1[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1FieldsV1 }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1FieldsV1[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1FieldsV1) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1FieldsV1 }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl deleted file mode 100644 index bb42407c..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility. - - IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery(; - groupVersion=nothing, - version=nothing, - ) - - - groupVersion::String : groupVersion specifies the API group and version in the form \"group/version\" - - version::String : version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery <: SwaggerModel - groupVersion::Any # spec type: Union{ Nothing, String } # spec name: groupVersion - version::Any # spec type: Union{ Nothing, String } # spec name: version - - function IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery(;groupVersion=nothing, version=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery, Symbol("groupVersion"), groupVersion) - setfield!(o, Symbol("groupVersion"), groupVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - o - end -end # type IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery - -const _property_map_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery = Dict{Symbol,Symbol}(Symbol("groupVersion")=>Symbol("groupVersion"), Symbol("version")=>Symbol("version")) -const _property_types_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery = Dict{Symbol,String}(Symbol("groupVersion")=>"String", Symbol("version")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery) - (getproperty(o, Symbol("groupVersion")) === nothing) && (return false) - (getproperty(o, Symbol("version")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl deleted file mode 100644 index 36ce8f0e..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. - - IoK8sApimachineryPkgApisMetaV1LabelSelector(; - matchExpressions=nothing, - matchLabels=nothing, - ) - - - matchExpressions::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement} : matchExpressions is a list of label selector requirements. The requirements are ANDed. - - matchLabels::Dict{String, String} : matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1LabelSelector <: SwaggerModel - matchExpressions::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement} } # spec name: matchExpressions - matchLabels::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: matchLabels - - function IoK8sApimachineryPkgApisMetaV1LabelSelector(;matchExpressions=nothing, matchLabels=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelector, Symbol("matchExpressions"), matchExpressions) - setfield!(o, Symbol("matchExpressions"), matchExpressions) - validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelector, Symbol("matchLabels"), matchLabels) - setfield!(o, Symbol("matchLabels"), matchLabels) - o - end -end # type IoK8sApimachineryPkgApisMetaV1LabelSelector - -const _property_map_IoK8sApimachineryPkgApisMetaV1LabelSelector = Dict{Symbol,Symbol}(Symbol("matchExpressions")=>Symbol("matchExpressions"), Symbol("matchLabels")=>Symbol("matchLabels")) -const _property_types_IoK8sApimachineryPkgApisMetaV1LabelSelector = Dict{Symbol,String}(Symbol("matchExpressions")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement}", Symbol("matchLabels")=>"Dict{String, String}") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelector }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1LabelSelector)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1LabelSelector[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelector }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1LabelSelector[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1LabelSelector) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelector }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl deleted file mode 100644 index e311d773..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement(; - key=nothing, - operator=nothing, - values=nothing, - ) - - - key::String : key is the label key that the selector applies to. - - operator::String : operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. - - values::Vector{String} : values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement <: SwaggerModel - key::Any # spec type: Union{ Nothing, String } # spec name: key - operator::Any # spec type: Union{ Nothing, String } # spec name: operator - values::Any # spec type: Union{ Nothing, Vector{String} } # spec name: values - - function IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement(;key=nothing, operator=nothing, values=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, Symbol("key"), key) - setfield!(o, Symbol("key"), key) - validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, Symbol("operator"), operator) - setfield!(o, Symbol("operator"), operator) - validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, Symbol("values"), values) - setfield!(o, Symbol("values"), values) - o - end -end # type IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement - -const _property_map_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement = Dict{Symbol,Symbol}(Symbol("key")=>Symbol("key"), Symbol("operator")=>Symbol("operator"), Symbol("values")=>Symbol("values")) -const _property_types_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("values")=>"Vector{String}") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement) - (getproperty(o, Symbol("key")) === nothing) && (return false) - (getproperty(o, Symbol("operator")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl deleted file mode 100644 index 43163c7e..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. - - IoK8sApimachineryPkgApisMetaV1ListMeta(; - __continue__=nothing, - remainingItemCount=nothing, - resourceVersion=nothing, - selfLink=nothing, - ) - - - __continue__::String : continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message. - - remainingItemCount::Int64 : remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. - - resourceVersion::String : String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency - - selfLink::String : selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1ListMeta <: SwaggerModel - __continue__::Any # spec type: Union{ Nothing, String } # spec name: continue - remainingItemCount::Any # spec type: Union{ Nothing, Int64 } # spec name: remainingItemCount - resourceVersion::Any # spec type: Union{ Nothing, String } # spec name: resourceVersion - selfLink::Any # spec type: Union{ Nothing, String } # spec name: selfLink - - function IoK8sApimachineryPkgApisMetaV1ListMeta(;__continue__=nothing, remainingItemCount=nothing, resourceVersion=nothing, selfLink=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("continue"), __continue__) - setfield!(o, Symbol("__continue__"), __continue__) - validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("remainingItemCount"), remainingItemCount) - setfield!(o, Symbol("remainingItemCount"), remainingItemCount) - validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("resourceVersion"), resourceVersion) - setfield!(o, Symbol("resourceVersion"), resourceVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("selfLink"), selfLink) - setfield!(o, Symbol("selfLink"), selfLink) - o - end -end # type IoK8sApimachineryPkgApisMetaV1ListMeta - -const _property_map_IoK8sApimachineryPkgApisMetaV1ListMeta = Dict{Symbol,Symbol}(Symbol("continue")=>Symbol("__continue__"), Symbol("remainingItemCount")=>Symbol("remainingItemCount"), Symbol("resourceVersion")=>Symbol("resourceVersion"), Symbol("selfLink")=>Symbol("selfLink")) -const _property_types_IoK8sApimachineryPkgApisMetaV1ListMeta = Dict{Symbol,String}(Symbol("continue")=>"String", Symbol("remainingItemCount")=>"Int64", Symbol("resourceVersion")=>"String", Symbol("selfLink")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1ListMeta }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1ListMeta)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ListMeta }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ListMeta[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1ListMeta }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1ListMeta[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1ListMeta) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ListMeta }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl deleted file mode 100644 index f91ff880..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. - - IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry(; - apiVersion=nothing, - fieldsType=nothing, - fieldsV1=nothing, - manager=nothing, - operation=nothing, - time=nothing, - ) - - - apiVersion::String : APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted. - - fieldsType::String : FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\" - - fieldsV1::IoK8sApimachineryPkgApisMetaV1FieldsV1 : FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type. - - manager::String : Manager is an identifier of the workflow managing these fields. - - operation::String : Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'. - - time::IoK8sApimachineryPkgApisMetaV1Time : Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply' -""" -mutable struct IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - fieldsType::Any # spec type: Union{ Nothing, String } # spec name: fieldsType - fieldsV1::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1FieldsV1 } # spec name: fieldsV1 - manager::Any # spec type: Union{ Nothing, String } # spec name: manager - operation::Any # spec type: Union{ Nothing, String } # spec name: operation - time::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: time - - function IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry(;apiVersion=nothing, fieldsType=nothing, fieldsV1=nothing, manager=nothing, operation=nothing, time=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("fieldsType"), fieldsType) - setfield!(o, Symbol("fieldsType"), fieldsType) - validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("fieldsV1"), fieldsV1) - setfield!(o, Symbol("fieldsV1"), fieldsV1) - validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("manager"), manager) - setfield!(o, Symbol("manager"), manager) - validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("operation"), operation) - setfield!(o, Symbol("operation"), operation) - validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("time"), time) - setfield!(o, Symbol("time"), time) - o - end -end # type IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry - -const _property_map_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("fieldsType")=>Symbol("fieldsType"), Symbol("fieldsV1")=>Symbol("fieldsV1"), Symbol("manager")=>Symbol("manager"), Symbol("operation")=>Symbol("operation"), Symbol("time")=>Symbol("time")) -const _property_types_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("fieldsType")=>"String", Symbol("fieldsV1")=>"IoK8sApimachineryPkgApisMetaV1FieldsV1", Symbol("manager")=>"String", Symbol("operation")=>"String", Symbol("time")=>"IoK8sApimachineryPkgApisMetaV1Time") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1MicroTime.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1MicroTime.jl deleted file mode 100644 index 3cddb802..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1MicroTime.jl +++ /dev/null @@ -1,9 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgApisMetaV1MicroTime) - const IoK8sApimachineryPkgApisMetaV1MicroTime = DateTime -else - @warn("Skipping redefinition of IoK8sApimachineryPkgApisMetaV1MicroTime to DateTime") -end - diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl deleted file mode 100644 index 19847624..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl +++ /dev/null @@ -1,110 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. - - IoK8sApimachineryPkgApisMetaV1ObjectMeta(; - annotations=nothing, - clusterName=nothing, - creationTimestamp=nothing, - deletionGracePeriodSeconds=nothing, - deletionTimestamp=nothing, - finalizers=nothing, - generateName=nothing, - generation=nothing, - labels=nothing, - managedFields=nothing, - name=nothing, - namespace=nothing, - ownerReferences=nothing, - resourceVersion=nothing, - selfLink=nothing, - uid=nothing, - ) - - - annotations::Dict{String, String} : Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations - - clusterName::String : The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. - - creationTimestamp::IoK8sApimachineryPkgApisMetaV1Time : CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - deletionGracePeriodSeconds::Int64 : Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. - - deletionTimestamp::IoK8sApimachineryPkgApisMetaV1Time : DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - - finalizers::Vector{String} : Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. - - generateName::String : GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency - - generation::Int64 : A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. - - labels::Dict{String, String} : Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels - - managedFields::Vector{IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry} : ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object. - - name::String : Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names - - namespace::String : Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces - - ownerReferences::Vector{IoK8sApimachineryPkgApisMetaV1OwnerReference} : List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. - - resourceVersion::String : An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency - - selfLink::String : SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. - - uid::String : UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids -""" -mutable struct IoK8sApimachineryPkgApisMetaV1ObjectMeta <: SwaggerModel - annotations::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: annotations - clusterName::Any # spec type: Union{ Nothing, String } # spec name: clusterName - creationTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: creationTimestamp - deletionGracePeriodSeconds::Any # spec type: Union{ Nothing, Int64 } # spec name: deletionGracePeriodSeconds - deletionTimestamp::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: deletionTimestamp - finalizers::Any # spec type: Union{ Nothing, Vector{String} } # spec name: finalizers - generateName::Any # spec type: Union{ Nothing, String } # spec name: generateName - generation::Any # spec type: Union{ Nothing, Int64 } # spec name: generation - labels::Any # spec type: Union{ Nothing, Dict{String, String} } # spec name: labels - managedFields::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry} } # spec name: managedFields - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - ownerReferences::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1OwnerReference} } # spec name: ownerReferences - resourceVersion::Any # spec type: Union{ Nothing, String } # spec name: resourceVersion - selfLink::Any # spec type: Union{ Nothing, String } # spec name: selfLink - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApimachineryPkgApisMetaV1ObjectMeta(;annotations=nothing, clusterName=nothing, creationTimestamp=nothing, deletionGracePeriodSeconds=nothing, deletionTimestamp=nothing, finalizers=nothing, generateName=nothing, generation=nothing, labels=nothing, managedFields=nothing, name=nothing, namespace=nothing, ownerReferences=nothing, resourceVersion=nothing, selfLink=nothing, uid=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("annotations"), annotations) - setfield!(o, Symbol("annotations"), annotations) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("clusterName"), clusterName) - setfield!(o, Symbol("clusterName"), clusterName) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("creationTimestamp"), creationTimestamp) - setfield!(o, Symbol("creationTimestamp"), creationTimestamp) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("deletionGracePeriodSeconds"), deletionGracePeriodSeconds) - setfield!(o, Symbol("deletionGracePeriodSeconds"), deletionGracePeriodSeconds) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("deletionTimestamp"), deletionTimestamp) - setfield!(o, Symbol("deletionTimestamp"), deletionTimestamp) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("finalizers"), finalizers) - setfield!(o, Symbol("finalizers"), finalizers) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("generateName"), generateName) - setfield!(o, Symbol("generateName"), generateName) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("generation"), generation) - setfield!(o, Symbol("generation"), generation) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("labels"), labels) - setfield!(o, Symbol("labels"), labels) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("managedFields"), managedFields) - setfield!(o, Symbol("managedFields"), managedFields) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("ownerReferences"), ownerReferences) - setfield!(o, Symbol("ownerReferences"), ownerReferences) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("resourceVersion"), resourceVersion) - setfield!(o, Symbol("resourceVersion"), resourceVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("selfLink"), selfLink) - setfield!(o, Symbol("selfLink"), selfLink) - validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApimachineryPkgApisMetaV1ObjectMeta - -const _property_map_IoK8sApimachineryPkgApisMetaV1ObjectMeta = Dict{Symbol,Symbol}(Symbol("annotations")=>Symbol("annotations"), Symbol("clusterName")=>Symbol("clusterName"), Symbol("creationTimestamp")=>Symbol("creationTimestamp"), Symbol("deletionGracePeriodSeconds")=>Symbol("deletionGracePeriodSeconds"), Symbol("deletionTimestamp")=>Symbol("deletionTimestamp"), Symbol("finalizers")=>Symbol("finalizers"), Symbol("generateName")=>Symbol("generateName"), Symbol("generation")=>Symbol("generation"), Symbol("labels")=>Symbol("labels"), Symbol("managedFields")=>Symbol("managedFields"), Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("ownerReferences")=>Symbol("ownerReferences"), Symbol("resourceVersion")=>Symbol("resourceVersion"), Symbol("selfLink")=>Symbol("selfLink"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApimachineryPkgApisMetaV1ObjectMeta = Dict{Symbol,String}(Symbol("annotations")=>"Dict{String, String}", Symbol("clusterName")=>"String", Symbol("creationTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("deletionGracePeriodSeconds")=>"Int64", Symbol("deletionTimestamp")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("finalizers")=>"Vector{String}", Symbol("generateName")=>"String", Symbol("generation")=>"Int64", Symbol("labels")=>"Dict{String, String}", Symbol("managedFields")=>"Vector{IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry}", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("ownerReferences")=>"Vector{IoK8sApimachineryPkgApisMetaV1OwnerReference}", Symbol("resourceVersion")=>"String", Symbol("selfLink")=>"String", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1ObjectMeta }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1ObjectMeta)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ObjectMeta }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ObjectMeta[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1ObjectMeta }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1ObjectMeta[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1ObjectMeta) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ObjectMeta }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl deleted file mode 100644 index 53fd7e19..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl +++ /dev/null @@ -1,64 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. - - IoK8sApimachineryPkgApisMetaV1OwnerReference(; - apiVersion=nothing, - blockOwnerDeletion=nothing, - controller=nothing, - kind=nothing, - name=nothing, - uid=nothing, - ) - - - apiVersion::String : API version of the referent. - - blockOwnerDeletion::Bool : If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. - - controller::Bool : If true, this reference points to the managing controller. - - kind::String : Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - name::String : Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names - - uid::String : UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids -""" -mutable struct IoK8sApimachineryPkgApisMetaV1OwnerReference <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - blockOwnerDeletion::Any # spec type: Union{ Nothing, Bool } # spec name: blockOwnerDeletion - controller::Any # spec type: Union{ Nothing, Bool } # spec name: controller - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApimachineryPkgApisMetaV1OwnerReference(;apiVersion=nothing, blockOwnerDeletion=nothing, controller=nothing, kind=nothing, name=nothing, uid=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("blockOwnerDeletion"), blockOwnerDeletion) - setfield!(o, Symbol("blockOwnerDeletion"), blockOwnerDeletion) - validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("controller"), controller) - setfield!(o, Symbol("controller"), controller) - validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApimachineryPkgApisMetaV1OwnerReference - -const _property_map_IoK8sApimachineryPkgApisMetaV1OwnerReference = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("blockOwnerDeletion")=>Symbol("blockOwnerDeletion"), Symbol("controller")=>Symbol("controller"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApimachineryPkgApisMetaV1OwnerReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("blockOwnerDeletion")=>"Bool", Symbol("controller")=>"Bool", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1OwnerReference }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1OwnerReference)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1OwnerReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1OwnerReference[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1OwnerReference }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1OwnerReference[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1OwnerReference) - (getproperty(o, Symbol("apiVersion")) === nothing) && (return false) - (getproperty(o, Symbol("kind")) === nothing) && (return false) - (getproperty(o, Symbol("name")) === nothing) && (return false) - (getproperty(o, Symbol("uid")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1OwnerReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Patch.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Patch.jl deleted file mode 100644 index a4d2c610..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Patch.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Patch is provided to give a concrete name and type to the Kubernetes PATCH request body. - - IoK8sApimachineryPkgApisMetaV1Patch(; - ) - -""" -mutable struct IoK8sApimachineryPkgApisMetaV1Patch <: SwaggerModel - - function IoK8sApimachineryPkgApisMetaV1Patch(;) - o = new() - o - end -end # type IoK8sApimachineryPkgApisMetaV1Patch - -const _property_map_IoK8sApimachineryPkgApisMetaV1Patch = Dict{Symbol,Symbol}() -const _property_types_IoK8sApimachineryPkgApisMetaV1Patch = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1Patch }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1Patch)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1Patch }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1Patch[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1Patch }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1Patch[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1Patch) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1Patch }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl deleted file mode 100644 index 287fa0ac..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. - - IoK8sApimachineryPkgApisMetaV1Preconditions(; - resourceVersion=nothing, - uid=nothing, - ) - - - resourceVersion::String : Specifies the target ResourceVersion - - uid::String : Specifies the target UID. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1Preconditions <: SwaggerModel - resourceVersion::Any # spec type: Union{ Nothing, String } # spec name: resourceVersion - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApimachineryPkgApisMetaV1Preconditions(;resourceVersion=nothing, uid=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1Preconditions, Symbol("resourceVersion"), resourceVersion) - setfield!(o, Symbol("resourceVersion"), resourceVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1Preconditions, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApimachineryPkgApisMetaV1Preconditions - -const _property_map_IoK8sApimachineryPkgApisMetaV1Preconditions = Dict{Symbol,Symbol}(Symbol("resourceVersion")=>Symbol("resourceVersion"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApimachineryPkgApisMetaV1Preconditions = Dict{Symbol,String}(Symbol("resourceVersion")=>"String", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1Preconditions }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1Preconditions)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1Preconditions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1Preconditions[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1Preconditions }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1Preconditions[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1Preconditions) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1Preconditions }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl deleted file mode 100644 index 64f28029..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. - - IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR(; - clientCIDR=nothing, - serverAddress=nothing, - ) - - - clientCIDR::String : The CIDR with which clients can match their IP to figure out the server address that they should use. - - serverAddress::String : Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR <: SwaggerModel - clientCIDR::Any # spec type: Union{ Nothing, String } # spec name: clientCIDR - serverAddress::Any # spec type: Union{ Nothing, String } # spec name: serverAddress - - function IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR(;clientCIDR=nothing, serverAddress=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR, Symbol("clientCIDR"), clientCIDR) - setfield!(o, Symbol("clientCIDR"), clientCIDR) - validate_property(IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR, Symbol("serverAddress"), serverAddress) - setfield!(o, Symbol("serverAddress"), serverAddress) - o - end -end # type IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR - -const _property_map_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR = Dict{Symbol,Symbol}(Symbol("clientCIDR")=>Symbol("clientCIDR"), Symbol("serverAddress")=>Symbol("serverAddress")) -const _property_types_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR = Dict{Symbol,String}(Symbol("clientCIDR")=>"String", Symbol("serverAddress")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR) - (getproperty(o, Symbol("clientCIDR")) === nothing) && (return false) - (getproperty(o, Symbol("serverAddress")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Status.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Status.jl deleted file mode 100644 index 08a0c99f..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Status.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Status is a return value for calls that don't return other objects. - - IoK8sApimachineryPkgApisMetaV1Status(; - apiVersion=nothing, - code=nothing, - details=nothing, - kind=nothing, - message=nothing, - metadata=nothing, - reason=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - code::Int32 : Suggested HTTP return code for this status, 0 if not set. - - details::IoK8sApimachineryPkgApisMetaV1StatusDetails : Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - message::String : A human-readable description of the status of this operation. - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta : Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - reason::String : A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. - - status::String : Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -""" -mutable struct IoK8sApimachineryPkgApisMetaV1Status <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - code::Any # spec type: Union{ Nothing, Int32 } # spec name: code - details::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1StatusDetails } # spec name: details - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - message::Any # spec type: Union{ Nothing, String } # spec name: message - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - - function IoK8sApimachineryPkgApisMetaV1Status(;apiVersion=nothing, code=nothing, details=nothing, kind=nothing, message=nothing, metadata=nothing, reason=nothing, status=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("code"), code) - setfield!(o, Symbol("code"), code) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("details"), details) - setfield!(o, Symbol("details"), details) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sApimachineryPkgApisMetaV1Status - -const _property_map_IoK8sApimachineryPkgApisMetaV1Status = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("code")=>Symbol("code"), Symbol("details")=>Symbol("details"), Symbol("kind")=>Symbol("kind"), Symbol("message")=>Symbol("message"), Symbol("metadata")=>Symbol("metadata"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sApimachineryPkgApisMetaV1Status = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("code")=>"Int32", Symbol("details")=>"IoK8sApimachineryPkgApisMetaV1StatusDetails", Symbol("kind")=>"String", Symbol("message")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", Symbol("reason")=>"String", Symbol("status")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1Status }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1Status)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1Status }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1Status[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1Status }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1Status[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1Status) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1Status }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl deleted file mode 100644 index 3cedbfbc..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. - - IoK8sApimachineryPkgApisMetaV1StatusCause(; - field=nothing, - message=nothing, - reason=nothing, - ) - - - field::String : The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" - - message::String : A human-readable description of the cause of the error. This field may be presented as-is to a reader. - - reason::String : A machine-readable description of the cause of the error. If this value is empty there is no information available. -""" -mutable struct IoK8sApimachineryPkgApisMetaV1StatusCause <: SwaggerModel - field::Any # spec type: Union{ Nothing, String } # spec name: field - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - - function IoK8sApimachineryPkgApisMetaV1StatusCause(;field=nothing, message=nothing, reason=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1StatusCause, Symbol("field"), field) - setfield!(o, Symbol("field"), field) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusCause, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusCause, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - o - end -end # type IoK8sApimachineryPkgApisMetaV1StatusCause - -const _property_map_IoK8sApimachineryPkgApisMetaV1StatusCause = Dict{Symbol,Symbol}(Symbol("field")=>Symbol("field"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason")) -const _property_types_IoK8sApimachineryPkgApisMetaV1StatusCause = Dict{Symbol,String}(Symbol("field")=>"String", Symbol("message")=>"String", Symbol("reason")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1StatusCause }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1StatusCause)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1StatusCause }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1StatusCause[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1StatusCause }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1StatusCause[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1StatusCause) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1StatusCause }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl deleted file mode 100644 index 4751adc2..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. - - IoK8sApimachineryPkgApisMetaV1StatusDetails(; - causes=nothing, - group=nothing, - kind=nothing, - name=nothing, - retryAfterSeconds=nothing, - uid=nothing, - ) - - - causes::Vector{IoK8sApimachineryPkgApisMetaV1StatusCause} : The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. - - group::String : The group attribute of the resource associated with the status StatusReason. - - kind::String : The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - name::String : The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). - - retryAfterSeconds::Int32 : If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. - - uid::String : UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids -""" -mutable struct IoK8sApimachineryPkgApisMetaV1StatusDetails <: SwaggerModel - causes::Any # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1StatusCause} } # spec name: causes - group::Any # spec type: Union{ Nothing, String } # spec name: group - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - name::Any # spec type: Union{ Nothing, String } # spec name: name - retryAfterSeconds::Any # spec type: Union{ Nothing, Int32 } # spec name: retryAfterSeconds - uid::Any # spec type: Union{ Nothing, String } # spec name: uid - - function IoK8sApimachineryPkgApisMetaV1StatusDetails(;causes=nothing, group=nothing, kind=nothing, name=nothing, retryAfterSeconds=nothing, uid=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("causes"), causes) - setfield!(o, Symbol("causes"), causes) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("retryAfterSeconds"), retryAfterSeconds) - setfield!(o, Symbol("retryAfterSeconds"), retryAfterSeconds) - validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("uid"), uid) - setfield!(o, Symbol("uid"), uid) - o - end -end # type IoK8sApimachineryPkgApisMetaV1StatusDetails - -const _property_map_IoK8sApimachineryPkgApisMetaV1StatusDetails = Dict{Symbol,Symbol}(Symbol("causes")=>Symbol("causes"), Symbol("group")=>Symbol("group"), Symbol("kind")=>Symbol("kind"), Symbol("name")=>Symbol("name"), Symbol("retryAfterSeconds")=>Symbol("retryAfterSeconds"), Symbol("uid")=>Symbol("uid")) -const _property_types_IoK8sApimachineryPkgApisMetaV1StatusDetails = Dict{Symbol,String}(Symbol("causes")=>"Vector{IoK8sApimachineryPkgApisMetaV1StatusCause}", Symbol("group")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("retryAfterSeconds")=>"Int32", Symbol("uid")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetails }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1StatusDetails)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1StatusDetails[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetails }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1StatusDetails[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1StatusDetails) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetails }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Time.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Time.jl deleted file mode 100644 index 5a85565f..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1Time.jl +++ /dev/null @@ -1,5 +0,0 @@ -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgApisMetaV1Time) - const IoK8sApimachineryPkgApisMetaV1Time = String -else - @warn("Skipping redefinition of IoK8sApimachineryPkgApisMetaV1Time to DateTime") -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl deleted file mode 100644 index f952a87a..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl +++ /dev/null @@ -1,32 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -mutable struct IoK8sApimachineryPkgApisMetaV1WatchEvent <: SwaggerModel - object::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgRuntimeRawExtension } # spec name: object - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sApimachineryPkgApisMetaV1WatchEvent(;object=nothing, type=nothing) - o = new() - validate_property(IoK8sApimachineryPkgApisMetaV1WatchEvent, Symbol("object"), object) - setfield!(o, Symbol("object"), object) - validate_property(IoK8sApimachineryPkgApisMetaV1WatchEvent, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sApimachineryPkgApisMetaV1WatchEvent - -const _property_map_IoK8sApimachineryPkgApisMetaV1WatchEvent = Dict{Symbol,Symbol}(Symbol("object")=>Symbol("object"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sApimachineryPkgApisMetaV1WatchEvent = Dict{Symbol,String}(Symbol("object")=>"Dict{String,Any}", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }) = collect(keys(_property_map_IoK8sApimachineryPkgApisMetaV1WatchEvent)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1WatchEvent[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgApisMetaV1WatchEvent[property_name] - -function check_required(o::IoK8sApimachineryPkgApisMetaV1WatchEvent) - (getproperty(o, Symbol("object")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgRuntimeRawExtension.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgRuntimeRawExtension.jl deleted file mode 100644 index 86290c83..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgRuntimeRawExtension.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""RawExtension is used to hold extensions in external versions. To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. // Internal package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // On the wire, the JSON will look something like this: { \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, } So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) - - IoK8sApimachineryPkgRuntimeRawExtension(; - ) - -""" -mutable struct IoK8sApimachineryPkgRuntimeRawExtension <: SwaggerModel - - function IoK8sApimachineryPkgRuntimeRawExtension(;) - o = new() - o - end -end # type IoK8sApimachineryPkgRuntimeRawExtension - -const _property_map_IoK8sApimachineryPkgRuntimeRawExtension = Dict{Symbol,Symbol}() -const _property_types_IoK8sApimachineryPkgRuntimeRawExtension = Dict{Symbol,String}() -Base.propertynames(::Type{ IoK8sApimachineryPkgRuntimeRawExtension }) = collect(keys(_property_map_IoK8sApimachineryPkgRuntimeRawExtension)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgRuntimeRawExtension }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgRuntimeRawExtension[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgRuntimeRawExtension }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgRuntimeRawExtension[property_name] - -function check_required(o::IoK8sApimachineryPkgRuntimeRawExtension) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgRuntimeRawExtension }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl deleted file mode 100644 index 24c71750..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl +++ /dev/null @@ -1,6 +0,0 @@ -if !isdefined(@__MODULE__, :IoK8sApimachineryPkgUtilIntstrIntOrString) - const IoK8sApimachineryPkgUtilIntstrIntOrString = String - convert(::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T) where {T<:Integer} = string(v) -else - @warn("Skipping redefinition of IoK8sApimachineryPkgUtilIntstrIntOrString to String") -end diff --git a/src/ApiImpl/api/model_IoK8sApimachineryPkgVersionInfo.jl b/src/ApiImpl/api/model_IoK8sApimachineryPkgVersionInfo.jl deleted file mode 100644 index 300e6c17..00000000 --- a/src/ApiImpl/api/model_IoK8sApimachineryPkgVersionInfo.jl +++ /dev/null @@ -1,84 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""Info contains versioning information. how we'll want to distribute that information. - - IoK8sApimachineryPkgVersionInfo(; - buildDate=nothing, - compiler=nothing, - gitCommit=nothing, - gitTreeState=nothing, - gitVersion=nothing, - goVersion=nothing, - major=nothing, - minor=nothing, - platform=nothing, - ) - - - buildDate::String - - compiler::String - - gitCommit::String - - gitTreeState::String - - gitVersion::String - - goVersion::String - - major::String - - minor::String - - platform::String -""" -mutable struct IoK8sApimachineryPkgVersionInfo <: SwaggerModel - buildDate::Any # spec type: Union{ Nothing, String } # spec name: buildDate - compiler::Any # spec type: Union{ Nothing, String } # spec name: compiler - gitCommit::Any # spec type: Union{ Nothing, String } # spec name: gitCommit - gitTreeState::Any # spec type: Union{ Nothing, String } # spec name: gitTreeState - gitVersion::Any # spec type: Union{ Nothing, String } # spec name: gitVersion - goVersion::Any # spec type: Union{ Nothing, String } # spec name: goVersion - major::Any # spec type: Union{ Nothing, String } # spec name: major - minor::Any # spec type: Union{ Nothing, String } # spec name: minor - platform::Any # spec type: Union{ Nothing, String } # spec name: platform - - function IoK8sApimachineryPkgVersionInfo(;buildDate=nothing, compiler=nothing, gitCommit=nothing, gitTreeState=nothing, gitVersion=nothing, goVersion=nothing, major=nothing, minor=nothing, platform=nothing) - o = new() - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("buildDate"), buildDate) - setfield!(o, Symbol("buildDate"), buildDate) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("compiler"), compiler) - setfield!(o, Symbol("compiler"), compiler) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("gitCommit"), gitCommit) - setfield!(o, Symbol("gitCommit"), gitCommit) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("gitTreeState"), gitTreeState) - setfield!(o, Symbol("gitTreeState"), gitTreeState) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("gitVersion"), gitVersion) - setfield!(o, Symbol("gitVersion"), gitVersion) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("goVersion"), goVersion) - setfield!(o, Symbol("goVersion"), goVersion) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("major"), major) - setfield!(o, Symbol("major"), major) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("minor"), minor) - setfield!(o, Symbol("minor"), minor) - validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("platform"), platform) - setfield!(o, Symbol("platform"), platform) - o - end -end # type IoK8sApimachineryPkgVersionInfo - -const _property_map_IoK8sApimachineryPkgVersionInfo = Dict{Symbol,Symbol}(Symbol("buildDate")=>Symbol("buildDate"), Symbol("compiler")=>Symbol("compiler"), Symbol("gitCommit")=>Symbol("gitCommit"), Symbol("gitTreeState")=>Symbol("gitTreeState"), Symbol("gitVersion")=>Symbol("gitVersion"), Symbol("goVersion")=>Symbol("goVersion"), Symbol("major")=>Symbol("major"), Symbol("minor")=>Symbol("minor"), Symbol("platform")=>Symbol("platform")) -const _property_types_IoK8sApimachineryPkgVersionInfo = Dict{Symbol,String}(Symbol("buildDate")=>"String", Symbol("compiler")=>"String", Symbol("gitCommit")=>"String", Symbol("gitTreeState")=>"String", Symbol("gitVersion")=>"String", Symbol("goVersion")=>"String", Symbol("major")=>"String", Symbol("minor")=>"String", Symbol("platform")=>"String") -Base.propertynames(::Type{ IoK8sApimachineryPkgVersionInfo }) = collect(keys(_property_map_IoK8sApimachineryPkgVersionInfo)) -Swagger.property_type(::Type{ IoK8sApimachineryPkgVersionInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgVersionInfo[name]))} -Swagger.field_name(::Type{ IoK8sApimachineryPkgVersionInfo }, property_name::Symbol) = _property_map_IoK8sApimachineryPkgVersionInfo[property_name] - -function check_required(o::IoK8sApimachineryPkgVersionInfo) - (getproperty(o, Symbol("buildDate")) === nothing) && (return false) - (getproperty(o, Symbol("compiler")) === nothing) && (return false) - (getproperty(o, Symbol("gitCommit")) === nothing) && (return false) - (getproperty(o, Symbol("gitTreeState")) === nothing) && (return false) - (getproperty(o, Symbol("gitVersion")) === nothing) && (return false) - (getproperty(o, Symbol("goVersion")) === nothing) && (return false) - (getproperty(o, Symbol("major")) === nothing) && (return false) - (getproperty(o, Symbol("minor")) === nothing) && (return false) - (getproperty(o, Symbol("platform")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sApimachineryPkgVersionInfo }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl deleted file mode 100644 index e1431cac..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIService represents a server for a particular GroupVersion. Name must be \"version.group\". - - IoK8sKubeAggregatorPkgApisApiregistrationV1APIService(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec : Spec contains information for locating and communicating with a server - - status::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus : Status contains derived information about an API server -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIService <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus } # spec name: status - - function IoK8sKubeAggregatorPkgApisApiregistrationV1APIService(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIService - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", Symbol("status")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIService }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIService }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIService }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl deleted file mode 100644 index 01eb442b..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceCondition describes the state of an APIService at a particular point - - IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : Human-readable message indicating details about last transition. - - reason::String : Unique, one-word, CamelCase reason for the condition's last transition. - - status::String : Status is the status of the condition. Can be True, False, Unknown. - - type::String : Type is the type of the condition. -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl deleted file mode 100644 index bf7371db..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceList is a list of APIService objects. - - IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIService} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIService} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIService}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl deleted file mode 100644 index b6d61a20..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. - - IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec(; - caBundle=nothing, - group=nothing, - groupPriorityMinimum=nothing, - insecureSkipTLSVerify=nothing, - service=nothing, - version=nothing, - versionPriority=nothing, - ) - - - caBundle::Vector{UInt8} : CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. - - group::String : Group is the API group name this server hosts - - groupPriorityMinimum::Int32 : GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s - - insecureSkipTLSVerify::Bool : InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. - - service::IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference : Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. - - version::String : Version is the API version this server hosts. For example, \"v1\" - - versionPriority::Int32 : VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - group::Any # spec type: Union{ Nothing, String } # spec name: group - groupPriorityMinimum::Any # spec type: Union{ Nothing, Int32 } # spec name: groupPriorityMinimum - insecureSkipTLSVerify::Any # spec type: Union{ Nothing, Bool } # spec name: insecureSkipTLSVerify - service::Any # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference } # spec name: service - version::Any # spec type: Union{ Nothing, String } # spec name: version - versionPriority::Any # spec type: Union{ Nothing, Int32 } # spec name: versionPriority - - function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec(;caBundle=nothing, group=nothing, groupPriorityMinimum=nothing, insecureSkipTLSVerify=nothing, service=nothing, version=nothing, versionPriority=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("groupPriorityMinimum"), groupPriorityMinimum) - setfield!(o, Symbol("groupPriorityMinimum"), groupPriorityMinimum) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("insecureSkipTLSVerify"), insecureSkipTLSVerify) - setfield!(o, Symbol("insecureSkipTLSVerify"), insecureSkipTLSVerify) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("versionPriority"), versionPriority) - setfield!(o, Symbol("versionPriority"), versionPriority) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("group")=>Symbol("group"), Symbol("groupPriorityMinimum")=>Symbol("groupPriorityMinimum"), Symbol("insecureSkipTLSVerify")=>Symbol("insecureSkipTLSVerify"), Symbol("service")=>Symbol("service"), Symbol("version")=>Symbol("version"), Symbol("versionPriority")=>Symbol("versionPriority")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("group")=>"String", Symbol("groupPriorityMinimum")=>"Int32", Symbol("insecureSkipTLSVerify")=>"Bool", Symbol("service")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference", Symbol("version")=>"String", Symbol("versionPriority")=>"Int32") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec) - (getproperty(o, Symbol("groupPriorityMinimum")) === nothing) && (return false) - (getproperty(o, Symbol("service")) === nothing) && (return false) - (getproperty(o, Symbol("versionPriority")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl deleted file mode 100644 index f23e6b14..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceStatus contains derived information about an API server - - IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus(; - conditions=nothing, - ) - - - conditions::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition} : Current service state of apiService. -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition} } # spec name: conditions - - function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus(;conditions=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition}") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl deleted file mode 100644 index 5ec0f91e..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference(; - name=nothing, - namespace=nothing, - port=nothing, - ) - - - name::String : Name is the name of the service - - namespace::String : Namespace is the namespace of the service - - port::Int32 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference(;name=nothing, namespace=nothing, port=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl deleted file mode 100644 index ec7d0f43..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl +++ /dev/null @@ -1,55 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIService represents a server for a particular GroupVersion. Name must be \"version.group\". - - IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService(; - apiVersion=nothing, - kind=nothing, - metadata=nothing, - spec=nothing, - status=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta - - spec::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec : Spec contains information for locating and communicating with a server - - status::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus : Status contains derived information about an API server -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata - spec::Any # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec } # spec name: spec - status::Any # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus } # spec name: status - - function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("spec"), spec) - setfield!(o, Symbol("spec"), spec) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec", Symbol("status")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl deleted file mode 100644 index 70ae0cb3..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceCondition describes the state of an APIService at a particular point - - IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition(; - lastTransitionTime=nothing, - message=nothing, - reason=nothing, - status=nothing, - type=nothing, - ) - - - lastTransitionTime::IoK8sApimachineryPkgApisMetaV1Time : Last time the condition transitioned from one status to another. - - message::String : Human-readable message indicating details about last transition. - - reason::String : Unique, one-word, CamelCase reason for the condition's last transition. - - status::String : Status is the status of the condition. Can be True, False, Unknown. - - type::String : Type is the type of the condition. -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition <: SwaggerModel - lastTransitionTime::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Time } # spec name: lastTransitionTime - message::Any # spec type: Union{ Nothing, String } # spec name: message - reason::Any # spec type: Union{ Nothing, String } # spec name: reason - status::Any # spec type: Union{ Nothing, String } # spec name: status - type::Any # spec type: Union{ Nothing, String } # spec name: type - - function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition(;lastTransitionTime=nothing, message=nothing, reason=nothing, status=nothing, type=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("lastTransitionTime"), lastTransitionTime) - setfield!(o, Symbol("lastTransitionTime"), lastTransitionTime) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("message"), message) - setfield!(o, Symbol("message"), message) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("reason"), reason) - setfield!(o, Symbol("reason"), reason) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("status"), status) - setfield!(o, Symbol("status"), status) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("type"), type) - setfield!(o, Symbol("type"), type) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition = Dict{Symbol,Symbol}(Symbol("lastTransitionTime")=>Symbol("lastTransitionTime"), Symbol("message")=>Symbol("message"), Symbol("reason")=>Symbol("reason"), Symbol("status")=>Symbol("status"), Symbol("type")=>Symbol("type")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"IoK8sApimachineryPkgApisMetaV1Time", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition) - (getproperty(o, Symbol("status")) === nothing) && (return false) - (getproperty(o, Symbol("type")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl deleted file mode 100644 index 1f9f7463..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceList is a list of APIService objects. - - IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList(; - apiVersion=nothing, - items=nothing, - kind=nothing, - metadata=nothing, - ) - - - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - - items::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService} - - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList <: SwaggerModel - apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion - items::Any # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService} } # spec name: items - kind::Any # spec type: Union{ Nothing, String } # spec name: kind - metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } # spec name: metadata - - function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList(;apiVersion=nothing, items=nothing, kind=nothing, metadata=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("apiVersion"), apiVersion) - setfield!(o, Symbol("apiVersion"), apiVersion) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("items"), items) - setfield!(o, Symbol("items"), items) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("kind"), kind) - setfield!(o, Symbol("kind"), kind) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("metadata"), metadata) - setfield!(o, Symbol("metadata"), metadata) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("items")=>Symbol("items"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList) - (getproperty(o, Symbol("items")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl deleted file mode 100644 index b5325ead..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl +++ /dev/null @@ -1,70 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. - - IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec(; - caBundle=nothing, - group=nothing, - groupPriorityMinimum=nothing, - insecureSkipTLSVerify=nothing, - service=nothing, - version=nothing, - versionPriority=nothing, - ) - - - caBundle::Vector{UInt8} : CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. - - group::String : Group is the API group name this server hosts - - groupPriorityMinimum::Int32 : GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s - - insecureSkipTLSVerify::Bool : InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. - - service::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference : Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. - - version::String : Version is the API version this server hosts. For example, \"v1\" - - versionPriority::Int32 : VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec <: SwaggerModel - caBundle::Any # spec type: Union{ Nothing, Vector{UInt8} } # spec name: caBundle - group::Any # spec type: Union{ Nothing, String } # spec name: group - groupPriorityMinimum::Any # spec type: Union{ Nothing, Int32 } # spec name: groupPriorityMinimum - insecureSkipTLSVerify::Any # spec type: Union{ Nothing, Bool } # spec name: insecureSkipTLSVerify - service::Any # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference } # spec name: service - version::Any # spec type: Union{ Nothing, String } # spec name: version - versionPriority::Any # spec type: Union{ Nothing, Int32 } # spec name: versionPriority - - function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec(;caBundle=nothing, group=nothing, groupPriorityMinimum=nothing, insecureSkipTLSVerify=nothing, service=nothing, version=nothing, versionPriority=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("caBundle"), caBundle) - setfield!(o, Symbol("caBundle"), caBundle) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("group"), group) - setfield!(o, Symbol("group"), group) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("groupPriorityMinimum"), groupPriorityMinimum) - setfield!(o, Symbol("groupPriorityMinimum"), groupPriorityMinimum) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("insecureSkipTLSVerify"), insecureSkipTLSVerify) - setfield!(o, Symbol("insecureSkipTLSVerify"), insecureSkipTLSVerify) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("service"), service) - setfield!(o, Symbol("service"), service) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("version"), version) - setfield!(o, Symbol("version"), version) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("versionPriority"), versionPriority) - setfield!(o, Symbol("versionPriority"), versionPriority) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec = Dict{Symbol,Symbol}(Symbol("caBundle")=>Symbol("caBundle"), Symbol("group")=>Symbol("group"), Symbol("groupPriorityMinimum")=>Symbol("groupPriorityMinimum"), Symbol("insecureSkipTLSVerify")=>Symbol("insecureSkipTLSVerify"), Symbol("service")=>Symbol("service"), Symbol("version")=>Symbol("version"), Symbol("versionPriority")=>Symbol("versionPriority")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("group")=>"String", Symbol("groupPriorityMinimum")=>"Int32", Symbol("insecureSkipTLSVerify")=>"Bool", Symbol("service")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference", Symbol("version")=>"String", Symbol("versionPriority")=>"Int32") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec) - (getproperty(o, Symbol("groupPriorityMinimum")) === nothing) && (return false) - (getproperty(o, Symbol("service")) === nothing) && (return false) - (getproperty(o, Symbol("versionPriority")) === nothing) && (return false) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec }, name::Symbol, val) - if name === Symbol("caBundle") - end -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl deleted file mode 100644 index c49b89e4..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""APIServiceStatus contains derived information about an API server - - IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus(; - conditions=nothing, - ) - - - conditions::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition} : Current service state of apiService. -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus <: SwaggerModel - conditions::Any # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition} } # spec name: conditions - - function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus(;conditions=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus, Symbol("conditions"), conditions) - setfield!(o, Symbol("conditions"), conditions) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus = Dict{Symbol,Symbol}(Symbol("conditions")=>Symbol("conditions")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition}") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl b/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl deleted file mode 100644 index 19cc5ae2..00000000 --- a/src/ApiImpl/api/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl +++ /dev/null @@ -1,45 +0,0 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. - - -@doc raw"""ServiceReference holds a reference to Service.legacy.k8s.io - - IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference(; - name=nothing, - namespace=nothing, - port=nothing, - ) - - - name::String : Name is the name of the service - - namespace::String : Namespace is the namespace of the service - - port::Int32 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). -""" -mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference <: SwaggerModel - name::Any # spec type: Union{ Nothing, String } # spec name: name - namespace::Any # spec type: Union{ Nothing, String } # spec name: namespace - port::Any # spec type: Union{ Nothing, Int32 } # spec name: port - - function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference(;name=nothing, namespace=nothing, port=nothing) - o = new() - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference, Symbol("name"), name) - setfield!(o, Symbol("name"), name) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference, Symbol("namespace"), namespace) - setfield!(o, Symbol("namespace"), namespace) - validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference, Symbol("port"), port) - setfield!(o, Symbol("port"), port) - o - end -end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference - -const _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("namespace")=>Symbol("namespace"), Symbol("port")=>Symbol("port")) -const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("port")=>"Int32") -Base.propertynames(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference }) = collect(keys(_property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference)) -Swagger.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference[name]))} -Swagger.field_name(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference }, property_name::Symbol) = _property_map_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference[property_name] - -function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference) - true -end - -function validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference }, name::Symbol, val) -end diff --git a/src/ApiImpl/api/modelincludes.jl b/src/ApiImpl/api/modelincludes.jl index 0a4e30de..c7ee9c96 100644 --- a/src/ApiImpl/api/modelincludes.jl +++ b/src/ApiImpl/api/modelincludes.jl @@ -1,700 +1,701 @@ -# This file was generated by the Julia Swagger Code Generator -# Do not modify this file directly. Modify the swagger specification instead. +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. -include("model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl") -include("model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl") -include("model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl") -include("model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl") -include("model_IoK8sApiAdmissionregistrationV1ServiceReference.jl") -include("model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl") -include("model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl") -include("model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl") -include("model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl") -include("model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl") -include("model_IoK8sApiAppsV1ControllerRevision.jl") -include("model_IoK8sApiAppsV1ControllerRevisionList.jl") -include("model_IoK8sApiAppsV1DaemonSet.jl") -include("model_IoK8sApiAppsV1DaemonSetCondition.jl") -include("model_IoK8sApiAppsV1DaemonSetList.jl") -include("model_IoK8sApiAppsV1DaemonSetSpec.jl") -include("model_IoK8sApiAppsV1DaemonSetStatus.jl") -include("model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl") -include("model_IoK8sApiAppsV1Deployment.jl") -include("model_IoK8sApiAppsV1DeploymentCondition.jl") -include("model_IoK8sApiAppsV1DeploymentList.jl") -include("model_IoK8sApiAppsV1DeploymentSpec.jl") -include("model_IoK8sApiAppsV1DeploymentStatus.jl") -include("model_IoK8sApiAppsV1DeploymentStrategy.jl") -include("model_IoK8sApiAppsV1ReplicaSet.jl") -include("model_IoK8sApiAppsV1ReplicaSetCondition.jl") -include("model_IoK8sApiAppsV1ReplicaSetList.jl") -include("model_IoK8sApiAppsV1ReplicaSetSpec.jl") -include("model_IoK8sApiAppsV1ReplicaSetStatus.jl") -include("model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl") -include("model_IoK8sApiAppsV1RollingUpdateDeployment.jl") -include("model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl") -include("model_IoK8sApiAppsV1StatefulSet.jl") -include("model_IoK8sApiAppsV1StatefulSetCondition.jl") -include("model_IoK8sApiAppsV1StatefulSetList.jl") -include("model_IoK8sApiAppsV1StatefulSetSpec.jl") -include("model_IoK8sApiAppsV1StatefulSetStatus.jl") -include("model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl") -include("model_IoK8sApiAppsV1beta1ControllerRevision.jl") -include("model_IoK8sApiAppsV1beta1ControllerRevisionList.jl") -include("model_IoK8sApiAppsV1beta1Deployment.jl") -include("model_IoK8sApiAppsV1beta1DeploymentCondition.jl") -include("model_IoK8sApiAppsV1beta1DeploymentList.jl") -include("model_IoK8sApiAppsV1beta1DeploymentRollback.jl") -include("model_IoK8sApiAppsV1beta1DeploymentSpec.jl") -include("model_IoK8sApiAppsV1beta1DeploymentStatus.jl") -include("model_IoK8sApiAppsV1beta1DeploymentStrategy.jl") -include("model_IoK8sApiAppsV1beta1RollbackConfig.jl") -include("model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl") -include("model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl") -include("model_IoK8sApiAppsV1beta1Scale.jl") -include("model_IoK8sApiAppsV1beta1ScaleSpec.jl") -include("model_IoK8sApiAppsV1beta1ScaleStatus.jl") -include("model_IoK8sApiAppsV1beta1StatefulSet.jl") -include("model_IoK8sApiAppsV1beta1StatefulSetCondition.jl") -include("model_IoK8sApiAppsV1beta1StatefulSetList.jl") -include("model_IoK8sApiAppsV1beta1StatefulSetSpec.jl") -include("model_IoK8sApiAppsV1beta1StatefulSetStatus.jl") -include("model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl") -include("model_IoK8sApiAppsV1beta2ControllerRevision.jl") -include("model_IoK8sApiAppsV1beta2ControllerRevisionList.jl") -include("model_IoK8sApiAppsV1beta2DaemonSet.jl") -include("model_IoK8sApiAppsV1beta2DaemonSetCondition.jl") -include("model_IoK8sApiAppsV1beta2DaemonSetList.jl") -include("model_IoK8sApiAppsV1beta2DaemonSetSpec.jl") -include("model_IoK8sApiAppsV1beta2DaemonSetStatus.jl") -include("model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl") -include("model_IoK8sApiAppsV1beta2Deployment.jl") -include("model_IoK8sApiAppsV1beta2DeploymentCondition.jl") -include("model_IoK8sApiAppsV1beta2DeploymentList.jl") -include("model_IoK8sApiAppsV1beta2DeploymentSpec.jl") -include("model_IoK8sApiAppsV1beta2DeploymentStatus.jl") -include("model_IoK8sApiAppsV1beta2DeploymentStrategy.jl") -include("model_IoK8sApiAppsV1beta2ReplicaSet.jl") -include("model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl") -include("model_IoK8sApiAppsV1beta2ReplicaSetList.jl") -include("model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl") -include("model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl") -include("model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl") -include("model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl") -include("model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl") -include("model_IoK8sApiAppsV1beta2Scale.jl") -include("model_IoK8sApiAppsV1beta2ScaleSpec.jl") -include("model_IoK8sApiAppsV1beta2ScaleStatus.jl") -include("model_IoK8sApiAppsV1beta2StatefulSet.jl") -include("model_IoK8sApiAppsV1beta2StatefulSetCondition.jl") -include("model_IoK8sApiAppsV1beta2StatefulSetList.jl") -include("model_IoK8sApiAppsV1beta2StatefulSetSpec.jl") -include("model_IoK8sApiAppsV1beta2StatefulSetStatus.jl") -include("model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl") -include("model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl") -include("model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl") -include("model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl") -include("model_IoK8sApiAuditregistrationV1alpha1Policy.jl") -include("model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl") -include("model_IoK8sApiAuditregistrationV1alpha1Webhook.jl") -include("model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl") -include("model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl") -include("model_IoK8sApiAuthenticationV1BoundObjectReference.jl") -include("model_IoK8sApiAuthenticationV1TokenRequest.jl") -include("model_IoK8sApiAuthenticationV1TokenRequestSpec.jl") -include("model_IoK8sApiAuthenticationV1TokenRequestStatus.jl") -include("model_IoK8sApiAuthenticationV1TokenReview.jl") -include("model_IoK8sApiAuthenticationV1TokenReviewSpec.jl") -include("model_IoK8sApiAuthenticationV1TokenReviewStatus.jl") -include("model_IoK8sApiAuthenticationV1UserInfo.jl") -include("model_IoK8sApiAuthenticationV1beta1TokenReview.jl") -include("model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl") -include("model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl") -include("model_IoK8sApiAuthenticationV1beta1UserInfo.jl") -include("model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl") -include("model_IoK8sApiAuthorizationV1NonResourceAttributes.jl") -include("model_IoK8sApiAuthorizationV1NonResourceRule.jl") -include("model_IoK8sApiAuthorizationV1ResourceAttributes.jl") -include("model_IoK8sApiAuthorizationV1ResourceRule.jl") -include("model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl") -include("model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl") -include("model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl") -include("model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl") -include("model_IoK8sApiAuthorizationV1SubjectAccessReview.jl") -include("model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl") -include("model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl") -include("model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl") -include("model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl") -include("model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl") -include("model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl") -include("model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl") -include("model_IoK8sApiAuthorizationV1beta1ResourceRule.jl") -include("model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl") -include("model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl") -include("model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl") -include("model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl") -include("model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl") -include("model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl") -include("model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl") -include("model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl") -include("model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl") -include("model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl") -include("model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl") -include("model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl") -include("model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl") -include("model_IoK8sApiAutoscalingV1Scale.jl") -include("model_IoK8sApiAutoscalingV1ScaleSpec.jl") -include("model_IoK8sApiAutoscalingV1ScaleStatus.jl") -include("model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl") -include("model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl") -include("model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl") -include("model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl") -include("model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl") -include("model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl") -include("model_IoK8sApiAutoscalingV2beta1MetricSpec.jl") -include("model_IoK8sApiAutoscalingV2beta1MetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl") -include("model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl") -include("model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl") -include("model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl") -include("model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl") -include("model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl") -include("model_IoK8sApiAutoscalingV2beta2MetricSpec.jl") -include("model_IoK8sApiAutoscalingV2beta2MetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2MetricTarget.jl") -include("model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl") -include("model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl") -include("model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl") -include("model_IoK8sApiBatchV1Job.jl") -include("model_IoK8sApiBatchV1JobCondition.jl") -include("model_IoK8sApiBatchV1JobList.jl") -include("model_IoK8sApiBatchV1JobSpec.jl") -include("model_IoK8sApiBatchV1JobStatus.jl") -include("model_IoK8sApiBatchV1beta1CronJob.jl") -include("model_IoK8sApiBatchV1beta1CronJobList.jl") -include("model_IoK8sApiBatchV1beta1CronJobSpec.jl") -include("model_IoK8sApiBatchV1beta1CronJobStatus.jl") -include("model_IoK8sApiBatchV1beta1JobTemplateSpec.jl") -include("model_IoK8sApiBatchV2alpha1CronJob.jl") -include("model_IoK8sApiBatchV2alpha1CronJobList.jl") -include("model_IoK8sApiBatchV2alpha1CronJobSpec.jl") -include("model_IoK8sApiBatchV2alpha1CronJobStatus.jl") -include("model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl") -include("model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl") -include("model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl") -include("model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl") -include("model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl") -include("model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl") -include("model_IoK8sApiCoordinationV1Lease.jl") -include("model_IoK8sApiCoordinationV1LeaseList.jl") -include("model_IoK8sApiCoordinationV1LeaseSpec.jl") -include("model_IoK8sApiCoordinationV1beta1Lease.jl") -include("model_IoK8sApiCoordinationV1beta1LeaseList.jl") -include("model_IoK8sApiCoordinationV1beta1LeaseSpec.jl") -include("model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl") -include("model_IoK8sApiCoreV1Affinity.jl") -include("model_IoK8sApiCoreV1AttachedVolume.jl") -include("model_IoK8sApiCoreV1AzureDiskVolumeSource.jl") -include("model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1AzureFileVolumeSource.jl") -include("model_IoK8sApiCoreV1Binding.jl") -include("model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1CSIVolumeSource.jl") -include("model_IoK8sApiCoreV1Capabilities.jl") -include("model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1CephFSVolumeSource.jl") -include("model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1CinderVolumeSource.jl") -include("model_IoK8sApiCoreV1ClientIPConfig.jl") -include("model_IoK8sApiCoreV1ComponentCondition.jl") -include("model_IoK8sApiCoreV1ComponentStatus.jl") -include("model_IoK8sApiCoreV1ComponentStatusList.jl") -include("model_IoK8sApiCoreV1ConfigMap.jl") -include("model_IoK8sApiCoreV1ConfigMapEnvSource.jl") -include("model_IoK8sApiCoreV1ConfigMapKeySelector.jl") -include("model_IoK8sApiCoreV1ConfigMapList.jl") -include("model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl") -include("model_IoK8sApiCoreV1ConfigMapProjection.jl") -include("model_IoK8sApiCoreV1ConfigMapVolumeSource.jl") -include("model_IoK8sApiCoreV1Container.jl") -include("model_IoK8sApiCoreV1ContainerImage.jl") -include("model_IoK8sApiCoreV1ContainerPort.jl") -include("model_IoK8sApiCoreV1ContainerState.jl") -include("model_IoK8sApiCoreV1ContainerStateRunning.jl") -include("model_IoK8sApiCoreV1ContainerStateTerminated.jl") -include("model_IoK8sApiCoreV1ContainerStateWaiting.jl") -include("model_IoK8sApiCoreV1ContainerStatus.jl") -include("model_IoK8sApiCoreV1DaemonEndpoint.jl") -include("model_IoK8sApiCoreV1DownwardAPIProjection.jl") -include("model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl") -include("model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl") -include("model_IoK8sApiCoreV1EmptyDirVolumeSource.jl") -include("model_IoK8sApiCoreV1EndpointAddress.jl") -include("model_IoK8sApiCoreV1EndpointPort.jl") -include("model_IoK8sApiCoreV1EndpointSubset.jl") -include("model_IoK8sApiCoreV1Endpoints.jl") -include("model_IoK8sApiCoreV1EndpointsList.jl") -include("model_IoK8sApiCoreV1EnvFromSource.jl") -include("model_IoK8sApiCoreV1EnvVar.jl") -include("model_IoK8sApiCoreV1EnvVarSource.jl") -include("model_IoK8sApiCoreV1EphemeralContainer.jl") -include("model_IoK8sApiCoreV1Event.jl") -include("model_IoK8sApiCoreV1EventList.jl") -include("model_IoK8sApiCoreV1EventSeries.jl") -include("model_IoK8sApiCoreV1EventSource.jl") -include("model_IoK8sApiCoreV1ExecAction.jl") -include("model_IoK8sApiCoreV1FCVolumeSource.jl") -include("model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1FlexVolumeSource.jl") -include("model_IoK8sApiCoreV1FlockerVolumeSource.jl") -include("model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl") -include("model_IoK8sApiCoreV1GitRepoVolumeSource.jl") -include("model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1GlusterfsVolumeSource.jl") -include("model_IoK8sApiCoreV1HTTPGetAction.jl") -include("model_IoK8sApiCoreV1HTTPHeader.jl") -include("model_IoK8sApiCoreV1Handler.jl") -include("model_IoK8sApiCoreV1HostAlias.jl") -include("model_IoK8sApiCoreV1HostPathVolumeSource.jl") -include("model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1ISCSIVolumeSource.jl") -include("model_IoK8sApiCoreV1KeyToPath.jl") -include("model_IoK8sApiCoreV1Lifecycle.jl") -include("model_IoK8sApiCoreV1LimitRange.jl") -include("model_IoK8sApiCoreV1LimitRangeItem.jl") -include("model_IoK8sApiCoreV1LimitRangeList.jl") -include("model_IoK8sApiCoreV1LimitRangeSpec.jl") -include("model_IoK8sApiCoreV1LoadBalancerIngress.jl") -include("model_IoK8sApiCoreV1LoadBalancerStatus.jl") -include("model_IoK8sApiCoreV1LocalObjectReference.jl") -include("model_IoK8sApiCoreV1LocalVolumeSource.jl") -include("model_IoK8sApiCoreV1NFSVolumeSource.jl") -include("model_IoK8sApiCoreV1Namespace.jl") -include("model_IoK8sApiCoreV1NamespaceCondition.jl") -include("model_IoK8sApiCoreV1NamespaceList.jl") -include("model_IoK8sApiCoreV1NamespaceSpec.jl") -include("model_IoK8sApiCoreV1NamespaceStatus.jl") -include("model_IoK8sApiCoreV1Node.jl") -include("model_IoK8sApiCoreV1NodeAddress.jl") -include("model_IoK8sApiCoreV1NodeAffinity.jl") -include("model_IoK8sApiCoreV1NodeCondition.jl") -include("model_IoK8sApiCoreV1NodeConfigSource.jl") -include("model_IoK8sApiCoreV1NodeConfigStatus.jl") -include("model_IoK8sApiCoreV1NodeDaemonEndpoints.jl") -include("model_IoK8sApiCoreV1NodeList.jl") -include("model_IoK8sApiCoreV1NodeSelector.jl") -include("model_IoK8sApiCoreV1NodeSelectorRequirement.jl") -include("model_IoK8sApiCoreV1NodeSelectorTerm.jl") -include("model_IoK8sApiCoreV1NodeSpec.jl") -include("model_IoK8sApiCoreV1NodeStatus.jl") -include("model_IoK8sApiCoreV1NodeSystemInfo.jl") -include("model_IoK8sApiCoreV1ObjectFieldSelector.jl") -include("model_IoK8sApiCoreV1ObjectReference.jl") -include("model_IoK8sApiCoreV1PersistentVolume.jl") -include("model_IoK8sApiCoreV1PersistentVolumeClaim.jl") -include("model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl") -include("model_IoK8sApiCoreV1PersistentVolumeClaimList.jl") -include("model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl") -include("model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl") -include("model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl") -include("model_IoK8sApiCoreV1PersistentVolumeList.jl") -include("model_IoK8sApiCoreV1PersistentVolumeSpec.jl") -include("model_IoK8sApiCoreV1PersistentVolumeStatus.jl") -include("model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl") -include("model_IoK8sApiCoreV1Pod.jl") -include("model_IoK8sApiCoreV1PodAffinity.jl") -include("model_IoK8sApiCoreV1PodAffinityTerm.jl") -include("model_IoK8sApiCoreV1PodAntiAffinity.jl") -include("model_IoK8sApiCoreV1PodCondition.jl") -include("model_IoK8sApiCoreV1PodDNSConfig.jl") -include("model_IoK8sApiCoreV1PodDNSConfigOption.jl") -include("model_IoK8sApiCoreV1PodIP.jl") -include("model_IoK8sApiCoreV1PodList.jl") -include("model_IoK8sApiCoreV1PodReadinessGate.jl") -include("model_IoK8sApiCoreV1PodSecurityContext.jl") -include("model_IoK8sApiCoreV1PodSpec.jl") -include("model_IoK8sApiCoreV1PodStatus.jl") -include("model_IoK8sApiCoreV1PodTemplate.jl") -include("model_IoK8sApiCoreV1PodTemplateList.jl") -include("model_IoK8sApiCoreV1PodTemplateSpec.jl") -include("model_IoK8sApiCoreV1PortworxVolumeSource.jl") -include("model_IoK8sApiCoreV1PreferredSchedulingTerm.jl") -include("model_IoK8sApiCoreV1Probe.jl") -include("model_IoK8sApiCoreV1ProjectedVolumeSource.jl") -include("model_IoK8sApiCoreV1QuobyteVolumeSource.jl") -include("model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1RBDVolumeSource.jl") -include("model_IoK8sApiCoreV1ReplicationController.jl") -include("model_IoK8sApiCoreV1ReplicationControllerCondition.jl") -include("model_IoK8sApiCoreV1ReplicationControllerList.jl") -include("model_IoK8sApiCoreV1ReplicationControllerSpec.jl") -include("model_IoK8sApiCoreV1ReplicationControllerStatus.jl") -include("model_IoK8sApiCoreV1ResourceFieldSelector.jl") -include("model_IoK8sApiCoreV1ResourceQuota.jl") -include("model_IoK8sApiCoreV1ResourceQuotaList.jl") -include("model_IoK8sApiCoreV1ResourceQuotaSpec.jl") -include("model_IoK8sApiCoreV1ResourceQuotaStatus.jl") -include("model_IoK8sApiCoreV1ResourceRequirements.jl") -include("model_IoK8sApiCoreV1SELinuxOptions.jl") -include("model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1ScaleIOVolumeSource.jl") -include("model_IoK8sApiCoreV1ScopeSelector.jl") -include("model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl") -include("model_IoK8sApiCoreV1Secret.jl") -include("model_IoK8sApiCoreV1SecretEnvSource.jl") -include("model_IoK8sApiCoreV1SecretKeySelector.jl") -include("model_IoK8sApiCoreV1SecretList.jl") -include("model_IoK8sApiCoreV1SecretProjection.jl") -include("model_IoK8sApiCoreV1SecretReference.jl") -include("model_IoK8sApiCoreV1SecretVolumeSource.jl") -include("model_IoK8sApiCoreV1SecurityContext.jl") -include("model_IoK8sApiCoreV1Service.jl") -include("model_IoK8sApiCoreV1ServiceAccount.jl") -include("model_IoK8sApiCoreV1ServiceAccountList.jl") -include("model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl") -include("model_IoK8sApiCoreV1ServiceList.jl") -include("model_IoK8sApiCoreV1ServicePort.jl") -include("model_IoK8sApiCoreV1ServiceSpec.jl") -include("model_IoK8sApiCoreV1ServiceStatus.jl") -include("model_IoK8sApiCoreV1SessionAffinityConfig.jl") -include("model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl") -include("model_IoK8sApiCoreV1StorageOSVolumeSource.jl") -include("model_IoK8sApiCoreV1Sysctl.jl") -include("model_IoK8sApiCoreV1TCPSocketAction.jl") -include("model_IoK8sApiCoreV1Taint.jl") -include("model_IoK8sApiCoreV1Toleration.jl") -include("model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl") -include("model_IoK8sApiCoreV1TopologySelectorTerm.jl") -include("model_IoK8sApiCoreV1TopologySpreadConstraint.jl") -include("model_IoK8sApiCoreV1TypedLocalObjectReference.jl") -include("model_IoK8sApiCoreV1Volume.jl") -include("model_IoK8sApiCoreV1VolumeDevice.jl") -include("model_IoK8sApiCoreV1VolumeMount.jl") -include("model_IoK8sApiCoreV1VolumeNodeAffinity.jl") -include("model_IoK8sApiCoreV1VolumeProjection.jl") -include("model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl") -include("model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl") -include("model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl") -include("model_IoK8sApiCustomMetricsV1beta1MetricValue.jl") -include("model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl") -include("model_IoK8sApiDiscoveryV1beta1Endpoint.jl") -include("model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl") -include("model_IoK8sApiDiscoveryV1beta1EndpointPort.jl") -include("model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl") -include("model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl") -include("model_IoK8sApiEventsV1beta1Event.jl") -include("model_IoK8sApiEventsV1beta1EventList.jl") -include("model_IoK8sApiEventsV1beta1EventSeries.jl") -include("model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl") -include("model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl") -include("model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl") -include("model_IoK8sApiExtensionsV1beta1DaemonSet.jl") -include("model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl") -include("model_IoK8sApiExtensionsV1beta1DaemonSetList.jl") -include("model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl") -include("model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl") -include("model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl") -include("model_IoK8sApiExtensionsV1beta1Deployment.jl") -include("model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl") -include("model_IoK8sApiExtensionsV1beta1DeploymentList.jl") -include("model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl") -include("model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl") -include("model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl") -include("model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl") -include("model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl") -include("model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl") -include("model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl") -include("model_IoK8sApiExtensionsV1beta1HostPortRange.jl") -include("model_IoK8sApiExtensionsV1beta1IDRange.jl") -include("model_IoK8sApiExtensionsV1beta1IPBlock.jl") -include("model_IoK8sApiExtensionsV1beta1Ingress.jl") -include("model_IoK8sApiExtensionsV1beta1IngressBackend.jl") -include("model_IoK8sApiExtensionsV1beta1IngressList.jl") -include("model_IoK8sApiExtensionsV1beta1IngressRule.jl") -include("model_IoK8sApiExtensionsV1beta1IngressSpec.jl") -include("model_IoK8sApiExtensionsV1beta1IngressStatus.jl") -include("model_IoK8sApiExtensionsV1beta1IngressTLS.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl") -include("model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl") -include("model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl") -include("model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl") -include("model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl") -include("model_IoK8sApiExtensionsV1beta1ReplicaSet.jl") -include("model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl") -include("model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl") -include("model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl") -include("model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl") -include("model_IoK8sApiExtensionsV1beta1RollbackConfig.jl") -include("model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl") -include("model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl") -include("model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl") -include("model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl") -include("model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl") -include("model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl") -include("model_IoK8sApiExtensionsV1beta1Scale.jl") -include("model_IoK8sApiExtensionsV1beta1ScaleSpec.jl") -include("model_IoK8sApiExtensionsV1beta1ScaleStatus.jl") -include("model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl") -include("model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl") -include("model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl") -include("model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl") -include("model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl") -include("model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl") -include("model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl") -include("model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl") -include("model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl") -include("model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl") -include("model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl") -include("model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl") -include("model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl") -include("model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl") -include("model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl") -include("model_IoK8sApiFlowcontrolV1alpha1Subject.jl") -include("model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl") -include("model_IoK8sApiMetricsV1beta1ContainerMetrics.jl") -include("model_IoK8sApiMetricsV1beta1NodeMetrics.jl") -include("model_IoK8sApiMetricsV1beta1NodeMetricsList.jl") -include("model_IoK8sApiMetricsV1beta1PodMetrics.jl") -include("model_IoK8sApiMetricsV1beta1PodMetricsList.jl") -include("model_IoK8sApiNetworkingV1IPBlock.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicy.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicyList.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicyPort.jl") -include("model_IoK8sApiNetworkingV1NetworkPolicySpec.jl") -include("model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl") -include("model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl") -include("model_IoK8sApiNetworkingV1beta1Ingress.jl") -include("model_IoK8sApiNetworkingV1beta1IngressBackend.jl") -include("model_IoK8sApiNetworkingV1beta1IngressList.jl") -include("model_IoK8sApiNetworkingV1beta1IngressRule.jl") -include("model_IoK8sApiNetworkingV1beta1IngressSpec.jl") -include("model_IoK8sApiNetworkingV1beta1IngressStatus.jl") -include("model_IoK8sApiNetworkingV1beta1IngressTLS.jl") -include("model_IoK8sApiNodeV1alpha1Overhead.jl") -include("model_IoK8sApiNodeV1alpha1RuntimeClass.jl") -include("model_IoK8sApiNodeV1alpha1RuntimeClassList.jl") -include("model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl") -include("model_IoK8sApiNodeV1alpha1Scheduling.jl") -include("model_IoK8sApiNodeV1beta1Overhead.jl") -include("model_IoK8sApiNodeV1beta1RuntimeClass.jl") -include("model_IoK8sApiNodeV1beta1RuntimeClassList.jl") -include("model_IoK8sApiNodeV1beta1Scheduling.jl") -include("model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl") -include("model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl") -include("model_IoK8sApiPolicyV1beta1AllowedHostPath.jl") -include("model_IoK8sApiPolicyV1beta1Eviction.jl") -include("model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl") -include("model_IoK8sApiPolicyV1beta1HostPortRange.jl") -include("model_IoK8sApiPolicyV1beta1IDRange.jl") -include("model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl") -include("model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl") -include("model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl") -include("model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl") -include("model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl") -include("model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl") -include("model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl") -include("model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl") -include("model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl") -include("model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl") -include("model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl") -include("model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl") -include("model_IoK8sApiRbacV1AggregationRule.jl") -include("model_IoK8sApiRbacV1ClusterRole.jl") -include("model_IoK8sApiRbacV1ClusterRoleBinding.jl") -include("model_IoK8sApiRbacV1ClusterRoleBindingList.jl") -include("model_IoK8sApiRbacV1ClusterRoleList.jl") -include("model_IoK8sApiRbacV1PolicyRule.jl") -include("model_IoK8sApiRbacV1Role.jl") -include("model_IoK8sApiRbacV1RoleBinding.jl") -include("model_IoK8sApiRbacV1RoleBindingList.jl") -include("model_IoK8sApiRbacV1RoleList.jl") -include("model_IoK8sApiRbacV1RoleRef.jl") -include("model_IoK8sApiRbacV1Subject.jl") -include("model_IoK8sApiRbacV1alpha1AggregationRule.jl") -include("model_IoK8sApiRbacV1alpha1ClusterRole.jl") -include("model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl") -include("model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl") -include("model_IoK8sApiRbacV1alpha1ClusterRoleList.jl") -include("model_IoK8sApiRbacV1alpha1PolicyRule.jl") -include("model_IoK8sApiRbacV1alpha1Role.jl") -include("model_IoK8sApiRbacV1alpha1RoleBinding.jl") -include("model_IoK8sApiRbacV1alpha1RoleBindingList.jl") -include("model_IoK8sApiRbacV1alpha1RoleList.jl") -include("model_IoK8sApiRbacV1alpha1RoleRef.jl") -include("model_IoK8sApiRbacV1alpha1Subject.jl") -include("model_IoK8sApiRbacV1beta1AggregationRule.jl") -include("model_IoK8sApiRbacV1beta1ClusterRole.jl") -include("model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl") -include("model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl") -include("model_IoK8sApiRbacV1beta1ClusterRoleList.jl") -include("model_IoK8sApiRbacV1beta1PolicyRule.jl") -include("model_IoK8sApiRbacV1beta1Role.jl") -include("model_IoK8sApiRbacV1beta1RoleBinding.jl") -include("model_IoK8sApiRbacV1beta1RoleBindingList.jl") -include("model_IoK8sApiRbacV1beta1RoleList.jl") -include("model_IoK8sApiRbacV1beta1RoleRef.jl") -include("model_IoK8sApiRbacV1beta1Subject.jl") -include("model_IoK8sApiSchedulingV1PriorityClass.jl") -include("model_IoK8sApiSchedulingV1PriorityClassList.jl") -include("model_IoK8sApiSchedulingV1alpha1PriorityClass.jl") -include("model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl") -include("model_IoK8sApiSchedulingV1beta1PriorityClass.jl") -include("model_IoK8sApiSchedulingV1beta1PriorityClassList.jl") -include("model_IoK8sApiSettingsV1alpha1PodPreset.jl") -include("model_IoK8sApiSettingsV1alpha1PodPresetList.jl") -include("model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl") -include("model_IoK8sApiStorageV1CSINode.jl") -include("model_IoK8sApiStorageV1CSINodeDriver.jl") -include("model_IoK8sApiStorageV1CSINodeList.jl") -include("model_IoK8sApiStorageV1CSINodeSpec.jl") -include("model_IoK8sApiStorageV1StorageClass.jl") -include("model_IoK8sApiStorageV1StorageClassList.jl") -include("model_IoK8sApiStorageV1VolumeAttachment.jl") -include("model_IoK8sApiStorageV1VolumeAttachmentList.jl") -include("model_IoK8sApiStorageV1VolumeAttachmentSource.jl") -include("model_IoK8sApiStorageV1VolumeAttachmentSpec.jl") -include("model_IoK8sApiStorageV1VolumeAttachmentStatus.jl") -include("model_IoK8sApiStorageV1VolumeError.jl") -include("model_IoK8sApiStorageV1VolumeNodeResources.jl") -include("model_IoK8sApiStorageV1alpha1VolumeAttachment.jl") -include("model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl") -include("model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl") -include("model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl") -include("model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl") -include("model_IoK8sApiStorageV1alpha1VolumeError.jl") -include("model_IoK8sApiStorageV1beta1CSIDriver.jl") -include("model_IoK8sApiStorageV1beta1CSIDriverList.jl") -include("model_IoK8sApiStorageV1beta1CSIDriverSpec.jl") -include("model_IoK8sApiStorageV1beta1CSINode.jl") -include("model_IoK8sApiStorageV1beta1CSINodeDriver.jl") -include("model_IoK8sApiStorageV1beta1CSINodeList.jl") -include("model_IoK8sApiStorageV1beta1CSINodeSpec.jl") -include("model_IoK8sApiStorageV1beta1StorageClass.jl") -include("model_IoK8sApiStorageV1beta1StorageClassList.jl") -include("model_IoK8sApiStorageV1beta1VolumeAttachment.jl") -include("model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl") -include("model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl") -include("model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl") -include("model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl") -include("model_IoK8sApiStorageV1beta1VolumeError.jl") -include("model_IoK8sApiStorageV1beta1VolumeNodeResources.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl") -include("model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl") -include("model_IoK8sApimachineryPkgApiResourceQuantity.jl") -include("model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl") -include("model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl") -include("model_IoK8sApimachineryPkgApisMetaV1APIResource.jl") -include("model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl") -include("model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl") -include("model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl") -include("model_IoK8sApimachineryPkgApisMetaV1Duration.jl") -include("model_IoK8sApimachineryPkgApisMetaV1FieldsV1.jl") -include("model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl") -include("model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl") -include("model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl") -include("model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl") -include("model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl") -include("model_IoK8sApimachineryPkgApisMetaV1MicroTime.jl") -include("model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl") -include("model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl") -include("model_IoK8sApimachineryPkgApisMetaV1Patch.jl") -include("model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl") -include("model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl") -include("model_IoK8sApimachineryPkgApisMetaV1Status.jl") -include("model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl") -include("model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl") -include("model_IoK8sApimachineryPkgApisMetaV1Time.jl") -include("model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl") -include("model_IoK8sApimachineryPkgRuntimeRawExtension.jl") -include("model_IoK8sApimachineryPkgUtilIntstrIntOrString.jl") -include("model_IoK8sApimachineryPkgVersionInfo.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl") -include("model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl") +include("models/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl") +include("models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl") +include("models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl") +include("models/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl") +include("models/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl") +include("models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl") +include("models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl") +include("models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl") +include("models/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl") +include("models/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl") +include("models/model_IoK8sApiAppsV1ControllerRevision.jl") +include("models/model_IoK8sApiAppsV1ControllerRevisionList.jl") +include("models/model_IoK8sApiAppsV1DaemonSet.jl") +include("models/model_IoK8sApiAppsV1DaemonSetCondition.jl") +include("models/model_IoK8sApiAppsV1DaemonSetList.jl") +include("models/model_IoK8sApiAppsV1DaemonSetSpec.jl") +include("models/model_IoK8sApiAppsV1DaemonSetStatus.jl") +include("models/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl") +include("models/model_IoK8sApiAppsV1Deployment.jl") +include("models/model_IoK8sApiAppsV1DeploymentCondition.jl") +include("models/model_IoK8sApiAppsV1DeploymentList.jl") +include("models/model_IoK8sApiAppsV1DeploymentSpec.jl") +include("models/model_IoK8sApiAppsV1DeploymentStatus.jl") +include("models/model_IoK8sApiAppsV1DeploymentStrategy.jl") +include("models/model_IoK8sApiAppsV1ReplicaSet.jl") +include("models/model_IoK8sApiAppsV1ReplicaSetCondition.jl") +include("models/model_IoK8sApiAppsV1ReplicaSetList.jl") +include("models/model_IoK8sApiAppsV1ReplicaSetSpec.jl") +include("models/model_IoK8sApiAppsV1ReplicaSetStatus.jl") +include("models/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl") +include("models/model_IoK8sApiAppsV1RollingUpdateDeployment.jl") +include("models/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl") +include("models/model_IoK8sApiAppsV1StatefulSet.jl") +include("models/model_IoK8sApiAppsV1StatefulSetCondition.jl") +include("models/model_IoK8sApiAppsV1StatefulSetList.jl") +include("models/model_IoK8sApiAppsV1StatefulSetSpec.jl") +include("models/model_IoK8sApiAppsV1StatefulSetStatus.jl") +include("models/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl") +include("models/model_IoK8sApiAppsV1beta1ControllerRevision.jl") +include("models/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl") +include("models/model_IoK8sApiAppsV1beta1Deployment.jl") +include("models/model_IoK8sApiAppsV1beta1DeploymentCondition.jl") +include("models/model_IoK8sApiAppsV1beta1DeploymentList.jl") +include("models/model_IoK8sApiAppsV1beta1DeploymentRollback.jl") +include("models/model_IoK8sApiAppsV1beta1DeploymentSpec.jl") +include("models/model_IoK8sApiAppsV1beta1DeploymentStatus.jl") +include("models/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl") +include("models/model_IoK8sApiAppsV1beta1RollbackConfig.jl") +include("models/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl") +include("models/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl") +include("models/model_IoK8sApiAppsV1beta1Scale.jl") +include("models/model_IoK8sApiAppsV1beta1ScaleSpec.jl") +include("models/model_IoK8sApiAppsV1beta1ScaleStatus.jl") +include("models/model_IoK8sApiAppsV1beta1StatefulSet.jl") +include("models/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl") +include("models/model_IoK8sApiAppsV1beta1StatefulSetList.jl") +include("models/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl") +include("models/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl") +include("models/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl") +include("models/model_IoK8sApiAppsV1beta2ControllerRevision.jl") +include("models/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl") +include("models/model_IoK8sApiAppsV1beta2DaemonSet.jl") +include("models/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl") +include("models/model_IoK8sApiAppsV1beta2DaemonSetList.jl") +include("models/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl") +include("models/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl") +include("models/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl") +include("models/model_IoK8sApiAppsV1beta2Deployment.jl") +include("models/model_IoK8sApiAppsV1beta2DeploymentCondition.jl") +include("models/model_IoK8sApiAppsV1beta2DeploymentList.jl") +include("models/model_IoK8sApiAppsV1beta2DeploymentSpec.jl") +include("models/model_IoK8sApiAppsV1beta2DeploymentStatus.jl") +include("models/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl") +include("models/model_IoK8sApiAppsV1beta2ReplicaSet.jl") +include("models/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl") +include("models/model_IoK8sApiAppsV1beta2ReplicaSetList.jl") +include("models/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl") +include("models/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl") +include("models/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl") +include("models/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl") +include("models/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl") +include("models/model_IoK8sApiAppsV1beta2Scale.jl") +include("models/model_IoK8sApiAppsV1beta2ScaleSpec.jl") +include("models/model_IoK8sApiAppsV1beta2ScaleStatus.jl") +include("models/model_IoK8sApiAppsV1beta2StatefulSet.jl") +include("models/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl") +include("models/model_IoK8sApiAppsV1beta2StatefulSetList.jl") +include("models/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl") +include("models/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl") +include("models/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1Policy.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl") +include("models/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl") +include("models/model_IoK8sApiAuthenticationV1BoundObjectReference.jl") +include("models/model_IoK8sApiAuthenticationV1TokenRequest.jl") +include("models/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl") +include("models/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl") +include("models/model_IoK8sApiAuthenticationV1TokenReview.jl") +include("models/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl") +include("models/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl") +include("models/model_IoK8sApiAuthenticationV1UserInfo.jl") +include("models/model_IoK8sApiAuthenticationV1beta1TokenReview.jl") +include("models/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl") +include("models/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl") +include("models/model_IoK8sApiAuthenticationV1beta1UserInfo.jl") +include("models/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl") +include("models/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl") +include("models/model_IoK8sApiAuthorizationV1NonResourceRule.jl") +include("models/model_IoK8sApiAuthorizationV1ResourceAttributes.jl") +include("models/model_IoK8sApiAuthorizationV1ResourceRule.jl") +include("models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl") +include("models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl") +include("models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl") +include("models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl") +include("models/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl") +include("models/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl") +include("models/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl") +include("models/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl") +include("models/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl") +include("models/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl") +include("models/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl") +include("models/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl") +include("models/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl") +include("models/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl") +include("models/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl") +include("models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl") +include("models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl") +include("models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl") +include("models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl") +include("models/model_IoK8sApiAutoscalingV1Scale.jl") +include("models/model_IoK8sApiAutoscalingV1ScaleSpec.jl") +include("models/model_IoK8sApiAutoscalingV1ScaleStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl") +include("models/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl") +include("models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl") +include("models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl") +include("models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl") +include("models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl") +include("models/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl") +include("models/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl") +include("models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl") +include("models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl") +include("models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl") +include("models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl") +include("models/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl") +include("models/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl") +include("models/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl") +include("models/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl") +include("models/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl") +include("models/model_IoK8sApiBatchV1CronJob.jl") +include("models/model_IoK8sApiBatchV1CronJobList.jl") +include("models/model_IoK8sApiBatchV1CronJobSpec.jl") +include("models/model_IoK8sApiBatchV1CronJobStatus.jl") +include("models/model_IoK8sApiBatchV1Job.jl") +include("models/model_IoK8sApiBatchV1JobCondition.jl") +include("models/model_IoK8sApiBatchV1JobList.jl") +include("models/model_IoK8sApiBatchV1JobSpec.jl") +include("models/model_IoK8sApiBatchV1JobStatus.jl") +include("models/model_IoK8sApiBatchV1JobTemplateSpec.jl") +include("models/model_IoK8sApiBatchV1beta1CronJob.jl") +include("models/model_IoK8sApiBatchV1beta1CronJobList.jl") +include("models/model_IoK8sApiBatchV1beta1CronJobSpec.jl") +include("models/model_IoK8sApiBatchV1beta1CronJobStatus.jl") +include("models/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl") +include("models/model_IoK8sApiBatchV2alpha1CronJob.jl") +include("models/model_IoK8sApiBatchV2alpha1CronJobList.jl") +include("models/model_IoK8sApiBatchV2alpha1CronJobSpec.jl") +include("models/model_IoK8sApiBatchV2alpha1CronJobStatus.jl") +include("models/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl") +include("models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl") +include("models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl") +include("models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl") +include("models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl") +include("models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl") +include("models/model_IoK8sApiCoordinationV1Lease.jl") +include("models/model_IoK8sApiCoordinationV1LeaseList.jl") +include("models/model_IoK8sApiCoordinationV1LeaseSpec.jl") +include("models/model_IoK8sApiCoordinationV1beta1Lease.jl") +include("models/model_IoK8sApiCoordinationV1beta1LeaseList.jl") +include("models/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl") +include("models/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Affinity.jl") +include("models/model_IoK8sApiCoreV1AttachedVolume.jl") +include("models/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl") +include("models/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1AzureFileVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Binding.jl") +include("models/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1CSIVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Capabilities.jl") +include("models/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1CephFSVolumeSource.jl") +include("models/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1CinderVolumeSource.jl") +include("models/model_IoK8sApiCoreV1ClientIPConfig.jl") +include("models/model_IoK8sApiCoreV1ComponentCondition.jl") +include("models/model_IoK8sApiCoreV1ComponentStatus.jl") +include("models/model_IoK8sApiCoreV1ComponentStatusList.jl") +include("models/model_IoK8sApiCoreV1ConfigMap.jl") +include("models/model_IoK8sApiCoreV1ConfigMapEnvSource.jl") +include("models/model_IoK8sApiCoreV1ConfigMapKeySelector.jl") +include("models/model_IoK8sApiCoreV1ConfigMapList.jl") +include("models/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl") +include("models/model_IoK8sApiCoreV1ConfigMapProjection.jl") +include("models/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Container.jl") +include("models/model_IoK8sApiCoreV1ContainerImage.jl") +include("models/model_IoK8sApiCoreV1ContainerPort.jl") +include("models/model_IoK8sApiCoreV1ContainerState.jl") +include("models/model_IoK8sApiCoreV1ContainerStateRunning.jl") +include("models/model_IoK8sApiCoreV1ContainerStateTerminated.jl") +include("models/model_IoK8sApiCoreV1ContainerStateWaiting.jl") +include("models/model_IoK8sApiCoreV1ContainerStatus.jl") +include("models/model_IoK8sApiCoreV1DaemonEndpoint.jl") +include("models/model_IoK8sApiCoreV1DownwardAPIProjection.jl") +include("models/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl") +include("models/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl") +include("models/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl") +include("models/model_IoK8sApiCoreV1EndpointAddress.jl") +include("models/model_IoK8sApiCoreV1EndpointPort.jl") +include("models/model_IoK8sApiCoreV1EndpointSubset.jl") +include("models/model_IoK8sApiCoreV1Endpoints.jl") +include("models/model_IoK8sApiCoreV1EndpointsList.jl") +include("models/model_IoK8sApiCoreV1EnvFromSource.jl") +include("models/model_IoK8sApiCoreV1EnvVar.jl") +include("models/model_IoK8sApiCoreV1EnvVarSource.jl") +include("models/model_IoK8sApiCoreV1EphemeralContainer.jl") +include("models/model_IoK8sApiCoreV1Event.jl") +include("models/model_IoK8sApiCoreV1EventList.jl") +include("models/model_IoK8sApiCoreV1EventSeries.jl") +include("models/model_IoK8sApiCoreV1EventSource.jl") +include("models/model_IoK8sApiCoreV1ExecAction.jl") +include("models/model_IoK8sApiCoreV1FCVolumeSource.jl") +include("models/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1FlexVolumeSource.jl") +include("models/model_IoK8sApiCoreV1FlockerVolumeSource.jl") +include("models/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl") +include("models/model_IoK8sApiCoreV1GitRepoVolumeSource.jl") +include("models/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl") +include("models/model_IoK8sApiCoreV1HTTPGetAction.jl") +include("models/model_IoK8sApiCoreV1HTTPHeader.jl") +include("models/model_IoK8sApiCoreV1Handler.jl") +include("models/model_IoK8sApiCoreV1HostAlias.jl") +include("models/model_IoK8sApiCoreV1HostPathVolumeSource.jl") +include("models/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1ISCSIVolumeSource.jl") +include("models/model_IoK8sApiCoreV1KeyToPath.jl") +include("models/model_IoK8sApiCoreV1Lifecycle.jl") +include("models/model_IoK8sApiCoreV1LimitRange.jl") +include("models/model_IoK8sApiCoreV1LimitRangeItem.jl") +include("models/model_IoK8sApiCoreV1LimitRangeList.jl") +include("models/model_IoK8sApiCoreV1LimitRangeSpec.jl") +include("models/model_IoK8sApiCoreV1LoadBalancerIngress.jl") +include("models/model_IoK8sApiCoreV1LoadBalancerStatus.jl") +include("models/model_IoK8sApiCoreV1LocalObjectReference.jl") +include("models/model_IoK8sApiCoreV1LocalVolumeSource.jl") +include("models/model_IoK8sApiCoreV1NFSVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Namespace.jl") +include("models/model_IoK8sApiCoreV1NamespaceCondition.jl") +include("models/model_IoK8sApiCoreV1NamespaceList.jl") +include("models/model_IoK8sApiCoreV1NamespaceSpec.jl") +include("models/model_IoK8sApiCoreV1NamespaceStatus.jl") +include("models/model_IoK8sApiCoreV1Node.jl") +include("models/model_IoK8sApiCoreV1NodeAddress.jl") +include("models/model_IoK8sApiCoreV1NodeAffinity.jl") +include("models/model_IoK8sApiCoreV1NodeCondition.jl") +include("models/model_IoK8sApiCoreV1NodeConfigSource.jl") +include("models/model_IoK8sApiCoreV1NodeConfigStatus.jl") +include("models/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl") +include("models/model_IoK8sApiCoreV1NodeList.jl") +include("models/model_IoK8sApiCoreV1NodeSelector.jl") +include("models/model_IoK8sApiCoreV1NodeSelectorRequirement.jl") +include("models/model_IoK8sApiCoreV1NodeSelectorTerm.jl") +include("models/model_IoK8sApiCoreV1NodeSpec.jl") +include("models/model_IoK8sApiCoreV1NodeStatus.jl") +include("models/model_IoK8sApiCoreV1NodeSystemInfo.jl") +include("models/model_IoK8sApiCoreV1ObjectFieldSelector.jl") +include("models/model_IoK8sApiCoreV1ObjectReference.jl") +include("models/model_IoK8sApiCoreV1PersistentVolume.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeClaim.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeList.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeSpec.jl") +include("models/model_IoK8sApiCoreV1PersistentVolumeStatus.jl") +include("models/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Pod.jl") +include("models/model_IoK8sApiCoreV1PodAffinity.jl") +include("models/model_IoK8sApiCoreV1PodAffinityTerm.jl") +include("models/model_IoK8sApiCoreV1PodAntiAffinity.jl") +include("models/model_IoK8sApiCoreV1PodCondition.jl") +include("models/model_IoK8sApiCoreV1PodDNSConfig.jl") +include("models/model_IoK8sApiCoreV1PodDNSConfigOption.jl") +include("models/model_IoK8sApiCoreV1PodIP.jl") +include("models/model_IoK8sApiCoreV1PodList.jl") +include("models/model_IoK8sApiCoreV1PodReadinessGate.jl") +include("models/model_IoK8sApiCoreV1PodSecurityContext.jl") +include("models/model_IoK8sApiCoreV1PodSpec.jl") +include("models/model_IoK8sApiCoreV1PodStatus.jl") +include("models/model_IoK8sApiCoreV1PodTemplate.jl") +include("models/model_IoK8sApiCoreV1PodTemplateList.jl") +include("models/model_IoK8sApiCoreV1PodTemplateSpec.jl") +include("models/model_IoK8sApiCoreV1PortworxVolumeSource.jl") +include("models/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl") +include("models/model_IoK8sApiCoreV1Probe.jl") +include("models/model_IoK8sApiCoreV1ProjectedVolumeSource.jl") +include("models/model_IoK8sApiCoreV1QuobyteVolumeSource.jl") +include("models/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1RBDVolumeSource.jl") +include("models/model_IoK8sApiCoreV1ReplicationController.jl") +include("models/model_IoK8sApiCoreV1ReplicationControllerCondition.jl") +include("models/model_IoK8sApiCoreV1ReplicationControllerList.jl") +include("models/model_IoK8sApiCoreV1ReplicationControllerSpec.jl") +include("models/model_IoK8sApiCoreV1ReplicationControllerStatus.jl") +include("models/model_IoK8sApiCoreV1ResourceFieldSelector.jl") +include("models/model_IoK8sApiCoreV1ResourceQuota.jl") +include("models/model_IoK8sApiCoreV1ResourceQuotaList.jl") +include("models/model_IoK8sApiCoreV1ResourceQuotaSpec.jl") +include("models/model_IoK8sApiCoreV1ResourceQuotaStatus.jl") +include("models/model_IoK8sApiCoreV1ResourceRequirements.jl") +include("models/model_IoK8sApiCoreV1SELinuxOptions.jl") +include("models/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl") +include("models/model_IoK8sApiCoreV1ScopeSelector.jl") +include("models/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl") +include("models/model_IoK8sApiCoreV1Secret.jl") +include("models/model_IoK8sApiCoreV1SecretEnvSource.jl") +include("models/model_IoK8sApiCoreV1SecretKeySelector.jl") +include("models/model_IoK8sApiCoreV1SecretList.jl") +include("models/model_IoK8sApiCoreV1SecretProjection.jl") +include("models/model_IoK8sApiCoreV1SecretReference.jl") +include("models/model_IoK8sApiCoreV1SecretVolumeSource.jl") +include("models/model_IoK8sApiCoreV1SecurityContext.jl") +include("models/model_IoK8sApiCoreV1Service.jl") +include("models/model_IoK8sApiCoreV1ServiceAccount.jl") +include("models/model_IoK8sApiCoreV1ServiceAccountList.jl") +include("models/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl") +include("models/model_IoK8sApiCoreV1ServiceList.jl") +include("models/model_IoK8sApiCoreV1ServicePort.jl") +include("models/model_IoK8sApiCoreV1ServiceSpec.jl") +include("models/model_IoK8sApiCoreV1ServiceStatus.jl") +include("models/model_IoK8sApiCoreV1SessionAffinityConfig.jl") +include("models/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl") +include("models/model_IoK8sApiCoreV1StorageOSVolumeSource.jl") +include("models/model_IoK8sApiCoreV1Sysctl.jl") +include("models/model_IoK8sApiCoreV1TCPSocketAction.jl") +include("models/model_IoK8sApiCoreV1Taint.jl") +include("models/model_IoK8sApiCoreV1Toleration.jl") +include("models/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl") +include("models/model_IoK8sApiCoreV1TopologySelectorTerm.jl") +include("models/model_IoK8sApiCoreV1TopologySpreadConstraint.jl") +include("models/model_IoK8sApiCoreV1TypedLocalObjectReference.jl") +include("models/model_IoK8sApiCoreV1Volume.jl") +include("models/model_IoK8sApiCoreV1VolumeDevice.jl") +include("models/model_IoK8sApiCoreV1VolumeMount.jl") +include("models/model_IoK8sApiCoreV1VolumeNodeAffinity.jl") +include("models/model_IoK8sApiCoreV1VolumeProjection.jl") +include("models/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl") +include("models/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl") +include("models/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl") +include("models/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl") +include("models/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl") +include("models/model_IoK8sApiDiscoveryV1beta1Endpoint.jl") +include("models/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl") +include("models/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl") +include("models/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl") +include("models/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl") +include("models/model_IoK8sApiEventsV1beta1Event.jl") +include("models/model_IoK8sApiEventsV1beta1EventList.jl") +include("models/model_IoK8sApiEventsV1beta1EventSeries.jl") +include("models/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl") +include("models/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl") +include("models/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl") +include("models/model_IoK8sApiExtensionsV1beta1DaemonSet.jl") +include("models/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl") +include("models/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl") +include("models/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl") +include("models/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl") +include("models/model_IoK8sApiExtensionsV1beta1Deployment.jl") +include("models/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl") +include("models/model_IoK8sApiExtensionsV1beta1DeploymentList.jl") +include("models/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl") +include("models/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl") +include("models/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl") +include("models/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl") +include("models/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl") +include("models/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl") +include("models/model_IoK8sApiExtensionsV1beta1HostPortRange.jl") +include("models/model_IoK8sApiExtensionsV1beta1IDRange.jl") +include("models/model_IoK8sApiExtensionsV1beta1IPBlock.jl") +include("models/model_IoK8sApiExtensionsV1beta1Ingress.jl") +include("models/model_IoK8sApiExtensionsV1beta1IngressBackend.jl") +include("models/model_IoK8sApiExtensionsV1beta1IngressList.jl") +include("models/model_IoK8sApiExtensionsV1beta1IngressRule.jl") +include("models/model_IoK8sApiExtensionsV1beta1IngressSpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1IngressStatus.jl") +include("models/model_IoK8sApiExtensionsV1beta1IngressTLS.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl") +include("models/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl") +include("models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl") +include("models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl") +include("models/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl") +include("models/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl") +include("models/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl") +include("models/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl") +include("models/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl") +include("models/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl") +include("models/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl") +include("models/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl") +include("models/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl") +include("models/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl") +include("models/model_IoK8sApiExtensionsV1beta1Scale.jl") +include("models/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl") +include("models/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl") +include("models/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1Subject.jl") +include("models/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl") +include("models/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl") +include("models/model_IoK8sApiMetricsV1beta1NodeMetrics.jl") +include("models/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl") +include("models/model_IoK8sApiMetricsV1beta1PodMetrics.jl") +include("models/model_IoK8sApiMetricsV1beta1PodMetricsList.jl") +include("models/model_IoK8sApiNetworkingV1IPBlock.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicy.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicyList.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl") +include("models/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl") +include("models/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl") +include("models/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl") +include("models/model_IoK8sApiNetworkingV1beta1Ingress.jl") +include("models/model_IoK8sApiNetworkingV1beta1IngressBackend.jl") +include("models/model_IoK8sApiNetworkingV1beta1IngressList.jl") +include("models/model_IoK8sApiNetworkingV1beta1IngressRule.jl") +include("models/model_IoK8sApiNetworkingV1beta1IngressSpec.jl") +include("models/model_IoK8sApiNetworkingV1beta1IngressStatus.jl") +include("models/model_IoK8sApiNetworkingV1beta1IngressTLS.jl") +include("models/model_IoK8sApiNodeV1alpha1Overhead.jl") +include("models/model_IoK8sApiNodeV1alpha1RuntimeClass.jl") +include("models/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl") +include("models/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl") +include("models/model_IoK8sApiNodeV1alpha1Scheduling.jl") +include("models/model_IoK8sApiNodeV1beta1Overhead.jl") +include("models/model_IoK8sApiNodeV1beta1RuntimeClass.jl") +include("models/model_IoK8sApiNodeV1beta1RuntimeClassList.jl") +include("models/model_IoK8sApiNodeV1beta1Scheduling.jl") +include("models/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl") +include("models/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl") +include("models/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl") +include("models/model_IoK8sApiPolicyV1beta1Eviction.jl") +include("models/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl") +include("models/model_IoK8sApiPolicyV1beta1HostPortRange.jl") +include("models/model_IoK8sApiPolicyV1beta1IDRange.jl") +include("models/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl") +include("models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl") +include("models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl") +include("models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl") +include("models/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl") +include("models/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl") +include("models/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl") +include("models/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl") +include("models/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl") +include("models/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl") +include("models/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl") +include("models/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl") +include("models/model_IoK8sApiRbacV1AggregationRule.jl") +include("models/model_IoK8sApiRbacV1ClusterRole.jl") +include("models/model_IoK8sApiRbacV1ClusterRoleBinding.jl") +include("models/model_IoK8sApiRbacV1ClusterRoleBindingList.jl") +include("models/model_IoK8sApiRbacV1ClusterRoleList.jl") +include("models/model_IoK8sApiRbacV1PolicyRule.jl") +include("models/model_IoK8sApiRbacV1Role.jl") +include("models/model_IoK8sApiRbacV1RoleBinding.jl") +include("models/model_IoK8sApiRbacV1RoleBindingList.jl") +include("models/model_IoK8sApiRbacV1RoleList.jl") +include("models/model_IoK8sApiRbacV1RoleRef.jl") +include("models/model_IoK8sApiRbacV1Subject.jl") +include("models/model_IoK8sApiRbacV1alpha1AggregationRule.jl") +include("models/model_IoK8sApiRbacV1alpha1ClusterRole.jl") +include("models/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl") +include("models/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl") +include("models/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl") +include("models/model_IoK8sApiRbacV1alpha1PolicyRule.jl") +include("models/model_IoK8sApiRbacV1alpha1Role.jl") +include("models/model_IoK8sApiRbacV1alpha1RoleBinding.jl") +include("models/model_IoK8sApiRbacV1alpha1RoleBindingList.jl") +include("models/model_IoK8sApiRbacV1alpha1RoleList.jl") +include("models/model_IoK8sApiRbacV1alpha1RoleRef.jl") +include("models/model_IoK8sApiRbacV1alpha1Subject.jl") +include("models/model_IoK8sApiRbacV1beta1AggregationRule.jl") +include("models/model_IoK8sApiRbacV1beta1ClusterRole.jl") +include("models/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl") +include("models/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl") +include("models/model_IoK8sApiRbacV1beta1ClusterRoleList.jl") +include("models/model_IoK8sApiRbacV1beta1PolicyRule.jl") +include("models/model_IoK8sApiRbacV1beta1Role.jl") +include("models/model_IoK8sApiRbacV1beta1RoleBinding.jl") +include("models/model_IoK8sApiRbacV1beta1RoleBindingList.jl") +include("models/model_IoK8sApiRbacV1beta1RoleList.jl") +include("models/model_IoK8sApiRbacV1beta1RoleRef.jl") +include("models/model_IoK8sApiRbacV1beta1Subject.jl") +include("models/model_IoK8sApiSchedulingV1PriorityClass.jl") +include("models/model_IoK8sApiSchedulingV1PriorityClassList.jl") +include("models/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl") +include("models/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl") +include("models/model_IoK8sApiSchedulingV1beta1PriorityClass.jl") +include("models/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl") +include("models/model_IoK8sApiSettingsV1alpha1PodPreset.jl") +include("models/model_IoK8sApiSettingsV1alpha1PodPresetList.jl") +include("models/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl") +include("models/model_IoK8sApiStorageV1CSINode.jl") +include("models/model_IoK8sApiStorageV1CSINodeDriver.jl") +include("models/model_IoK8sApiStorageV1CSINodeList.jl") +include("models/model_IoK8sApiStorageV1CSINodeSpec.jl") +include("models/model_IoK8sApiStorageV1StorageClass.jl") +include("models/model_IoK8sApiStorageV1StorageClassList.jl") +include("models/model_IoK8sApiStorageV1VolumeAttachment.jl") +include("models/model_IoK8sApiStorageV1VolumeAttachmentList.jl") +include("models/model_IoK8sApiStorageV1VolumeAttachmentSource.jl") +include("models/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl") +include("models/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl") +include("models/model_IoK8sApiStorageV1VolumeError.jl") +include("models/model_IoK8sApiStorageV1VolumeNodeResources.jl") +include("models/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl") +include("models/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl") +include("models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl") +include("models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl") +include("models/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl") +include("models/model_IoK8sApiStorageV1alpha1VolumeError.jl") +include("models/model_IoK8sApiStorageV1beta1CSIDriver.jl") +include("models/model_IoK8sApiStorageV1beta1CSIDriverList.jl") +include("models/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl") +include("models/model_IoK8sApiStorageV1beta1CSINode.jl") +include("models/model_IoK8sApiStorageV1beta1CSINodeDriver.jl") +include("models/model_IoK8sApiStorageV1beta1CSINodeList.jl") +include("models/model_IoK8sApiStorageV1beta1CSINodeSpec.jl") +include("models/model_IoK8sApiStorageV1beta1StorageClass.jl") +include("models/model_IoK8sApiStorageV1beta1StorageClassList.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeAttachment.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeError.jl") +include("models/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl") +include("models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1Status.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1StatusDetailsV2.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1StatusV2.jl") +include("models/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl") +include("models/model_IoK8sApimachineryPkgVersionInfo.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl") +include("models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl") +include("models/model_ShKarpenterV1alpha5Provisioner.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerList.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpec.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpecConsolidation.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpecLimits.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpecProviderRef.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpecRequirementsInner.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerStatus.jl") +include("models/model_ShKarpenterV1alpha5ProvisionerStatusConditionsInner.jl") diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl new file mode 100644 index 00000000..2577e762 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhook.jl @@ -0,0 +1,78 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.MutatingWebhook +MutatingWebhook describes an admission webhook and the resources and operations it applies to. + + IoK8sApiAdmissionregistrationV1MutatingWebhook(; + admissionReviewVersions=nothing, + clientConfig=nothing, + failurePolicy=nothing, + matchPolicy=nothing, + name=nothing, + namespaceSelector=nothing, + objectSelector=nothing, + reinvocationPolicy=nothing, + rules=nothing, + sideEffects=nothing, + timeoutSeconds=nothing, + ) + + - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. + - clientConfig::IoK8sApiAdmissionregistrationV1WebhookClientConfig + - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. + - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Equivalent\" + - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - reinvocationPolicy::String : reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\". Never: the webhook will not be called more than once in a single admission evaluation. IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to \"Never\". + - rules::Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. + - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. + - timeoutSeconds::Int64 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1MutatingWebhook <: OpenAPI.APIModel + admissionReviewVersions::Union{Nothing, Vector{String}} = nothing + clientConfig = nothing # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1WebhookClientConfig } + failurePolicy::Union{Nothing, String} = nothing + matchPolicy::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespaceSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + objectSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + reinvocationPolicy::Union{Nothing, String} = nothing + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} } + sideEffects::Union{Nothing, String} = nothing + timeoutSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiAdmissionregistrationV1MutatingWebhook(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, reinvocationPolicy, rules, sideEffects, timeoutSeconds, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("clientConfig"), clientConfig) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("failurePolicy"), failurePolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("matchPolicy"), matchPolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("namespaceSelector"), namespaceSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("objectSelector"), objectSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("reinvocationPolicy"), reinvocationPolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("rules"), rules) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("sideEffects"), sideEffects) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) + return new(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, reinvocationPolicy, rules, sideEffects, timeoutSeconds, ) + end +end # type IoK8sApiAdmissionregistrationV1MutatingWebhook + +const _property_types_IoK8sApiAdmissionregistrationV1MutatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("reinvocationPolicy")=>"String", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1MutatingWebhook[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1MutatingWebhook) + o.admissionReviewVersions === nothing && (return false) + o.clientConfig === nothing && (return false) + o.name === nothing && (return false) + o.sideEffects === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhook }, name::Symbol, val) + if name === Symbol("timeoutSeconds") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1MutatingWebhook", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl new file mode 100644 index 00000000..01e6088b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration +MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. + + IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + webhooks=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - webhooks::Vector{IoK8sApiAdmissionregistrationV1MutatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + webhooks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1MutatingWebhook} } + + function IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration(apiVersion, kind, metadata, webhooks, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration, Symbol("webhooks"), webhooks) + return new(apiVersion, kind, metadata, webhooks, ) + end +end # type IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration + +const _property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1MutatingWebhook}", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl new file mode 100644 index 00000000..257e1c9e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList +MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. + + IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration} : List of MutatingWebhookConfiguration. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList + +const _property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl new file mode 100644 index 00000000..d314ba5b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1RuleWithOperations.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.RuleWithOperations +RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. + + IoK8sApiAdmissionregistrationV1RuleWithOperations(; + apiGroups=nothing, + apiVersions=nothing, + operations=nothing, + resources=nothing, + scope=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. + - apiVersions::Vector{String} : APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. + - operations::Vector{String} : Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. + - resources::Vector{String} : Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. + - scope::String : scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\". +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1RuleWithOperations <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + apiVersions::Union{Nothing, Vector{String}} = nothing + operations::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + scope::Union{Nothing, String} = nothing + + function IoK8sApiAdmissionregistrationV1RuleWithOperations(apiGroups, apiVersions, operations, resources, scope, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("apiVersions"), apiVersions) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("operations"), operations) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1RuleWithOperations, Symbol("scope"), scope) + return new(apiGroups, apiVersions, operations, resources, scope, ) + end +end # type IoK8sApiAdmissionregistrationV1RuleWithOperations + +const _property_types_IoK8sApiAdmissionregistrationV1RuleWithOperations = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("apiVersions")=>"Vector{String}", Symbol("operations")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("scope")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1RuleWithOperations }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1RuleWithOperations[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1RuleWithOperations) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1RuleWithOperations }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl new file mode 100644 index 00000000..fd79c0a9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ServiceReference.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sApiAdmissionregistrationV1ServiceReference(; + name=nothing, + namespace=nothing, + path=nothing, + port=nothing, + ) + + - name::String : `name` is the name of the service. Required + - namespace::String : `namespace` is the namespace of the service. Required + - path::String : `path` is an optional URL path which will be sent in any request to this service. + - port::Int64 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sApiAdmissionregistrationV1ServiceReference(name, namespace, path, port, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ServiceReference, Symbol("port"), port) + return new(name, namespace, path, port, ) + end +end # type IoK8sApiAdmissionregistrationV1ServiceReference + +const _property_types_IoK8sApiAdmissionregistrationV1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ServiceReference[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1ServiceReference) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl new file mode 100644 index 00000000..4801dd1f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhook.jl @@ -0,0 +1,74 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.ValidatingWebhook +ValidatingWebhook describes an admission webhook and the resources and operations it applies to. + + IoK8sApiAdmissionregistrationV1ValidatingWebhook(; + admissionReviewVersions=nothing, + clientConfig=nothing, + failurePolicy=nothing, + matchPolicy=nothing, + name=nothing, + namespaceSelector=nothing, + objectSelector=nothing, + rules=nothing, + sideEffects=nothing, + timeoutSeconds=nothing, + ) + + - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. + - clientConfig::IoK8sApiAdmissionregistrationV1WebhookClientConfig + - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. + - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Equivalent\" + - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - rules::Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. + - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. + - timeoutSeconds::Int64 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1ValidatingWebhook <: OpenAPI.APIModel + admissionReviewVersions::Union{Nothing, Vector{String}} = nothing + clientConfig = nothing # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1WebhookClientConfig } + failurePolicy::Union{Nothing, String} = nothing + matchPolicy::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespaceSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + objectSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations} } + sideEffects::Union{Nothing, String} = nothing + timeoutSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiAdmissionregistrationV1ValidatingWebhook(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, rules, sideEffects, timeoutSeconds, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("clientConfig"), clientConfig) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("failurePolicy"), failurePolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("matchPolicy"), matchPolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("namespaceSelector"), namespaceSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("objectSelector"), objectSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("rules"), rules) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("sideEffects"), sideEffects) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) + return new(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, rules, sideEffects, timeoutSeconds, ) + end +end # type IoK8sApiAdmissionregistrationV1ValidatingWebhook + +const _property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhook[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1ValidatingWebhook) + o.admissionReviewVersions === nothing && (return false) + o.clientConfig === nothing && (return false) + o.name === nothing && (return false) + o.sideEffects === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhook }, name::Symbol, val) + if name === Symbol("timeoutSeconds") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1ValidatingWebhook", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl new file mode 100644 index 00000000..98c984a7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration +ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. + + IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + webhooks=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - webhooks::Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + webhooks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhook} } + + function IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration(apiVersion, kind, metadata, webhooks, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration, Symbol("webhooks"), webhooks) + return new(apiVersion, kind, metadata, webhooks, ) + end +end # type IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration + +const _property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhook}", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl new file mode 100644 index 00000000..22a46f85 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList +ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. + + IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration} : List of ValidatingWebhookConfiguration. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList + +const _property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl new file mode 100644 index 00000000..9957d603 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1WebhookClientConfig.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1.WebhookClientConfig +WebhookClientConfig contains the information to make a TLS connection with the webhook + + IoK8sApiAdmissionregistrationV1WebhookClientConfig(; + caBundle=nothing, + service=nothing, + url=nothing, + ) + + - caBundle::Vector{UInt8} : `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + - service::IoK8sApiAdmissionregistrationV1ServiceReference + - url::String : `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1WebhookClientConfig <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1ServiceReference } + url::Union{Nothing, String} = nothing + + function IoK8sApiAdmissionregistrationV1WebhookClientConfig(caBundle, service, url, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1WebhookClientConfig, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1WebhookClientConfig, Symbol("service"), service) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1WebhookClientConfig, Symbol("url"), url) + return new(caBundle, service, url, ) + end +end # type IoK8sApiAdmissionregistrationV1WebhookClientConfig + +const _property_types_IoK8sApiAdmissionregistrationV1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiAdmissionregistrationV1ServiceReference", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1WebhookClientConfig[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1WebhookClientConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1WebhookClientConfig }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1WebhookClientConfig", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1WebhookClientConfig", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl new file mode 100644 index 00000000..ad6c5b05 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.MutatingWebhook +MutatingWebhook describes an admission webhook and the resources and operations it applies to. + + IoK8sApiAdmissionregistrationV1beta1MutatingWebhook(; + admissionReviewVersions=nothing, + clientConfig=nothing, + failurePolicy=nothing, + matchPolicy=nothing, + name=nothing, + namespaceSelector=nothing, + objectSelector=nothing, + reinvocationPolicy=nothing, + rules=nothing, + sideEffects=nothing, + timeoutSeconds=nothing, + ) + + - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`. + - clientConfig::IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig + - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. + - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Exact\" + - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - reinvocationPolicy::String : reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\". Never: the webhook will not be called more than once in a single admission evaluation. IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to \"Never\". + - rules::Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. + - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown. + - timeoutSeconds::Int64 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1MutatingWebhook <: OpenAPI.APIModel + admissionReviewVersions::Union{Nothing, Vector{String}} = nothing + clientConfig = nothing # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig } + failurePolicy::Union{Nothing, String} = nothing + matchPolicy::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespaceSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + objectSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + reinvocationPolicy::Union{Nothing, String} = nothing + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} } + sideEffects::Union{Nothing, String} = nothing + timeoutSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiAdmissionregistrationV1beta1MutatingWebhook(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, reinvocationPolicy, rules, sideEffects, timeoutSeconds, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("clientConfig"), clientConfig) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("failurePolicy"), failurePolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("matchPolicy"), matchPolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("namespaceSelector"), namespaceSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("objectSelector"), objectSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("reinvocationPolicy"), reinvocationPolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("rules"), rules) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("sideEffects"), sideEffects) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) + return new(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, reinvocationPolicy, rules, sideEffects, timeoutSeconds, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1MutatingWebhook + +const _property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("reinvocationPolicy")=>"String", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhook[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1MutatingWebhook) + o.clientConfig === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhook }, name::Symbol, val) + if name === Symbol("timeoutSeconds") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1beta1MutatingWebhook", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl new file mode 100644 index 00000000..57e60dc4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration +MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead. + + IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + webhooks=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - webhooks::Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + webhooks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhook} } + + function IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration(apiVersion, kind, metadata, webhooks, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration, Symbol("webhooks"), webhooks) + return new(apiVersion, kind, metadata, webhooks, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration + +const _property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhook}", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl new file mode 100644 index 00000000..d9698f74 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList +MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. + + IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration} : List of MutatingWebhookConfiguration. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList + +const _property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl new file mode 100644 index 00000000..67bd6680 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.RuleWithOperations +RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. + + IoK8sApiAdmissionregistrationV1beta1RuleWithOperations(; + apiGroups=nothing, + apiVersions=nothing, + operations=nothing, + resources=nothing, + scope=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. + - apiVersions::Vector{String} : APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. + - operations::Vector{String} : Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. + - resources::Vector{String} : Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. + - scope::String : scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\". +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1RuleWithOperations <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + apiVersions::Union{Nothing, Vector{String}} = nothing + operations::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + scope::Union{Nothing, String} = nothing + + function IoK8sApiAdmissionregistrationV1beta1RuleWithOperations(apiGroups, apiVersions, operations, resources, scope, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("apiVersions"), apiVersions) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("operations"), operations) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1RuleWithOperations, Symbol("scope"), scope) + return new(apiGroups, apiVersions, operations, resources, scope, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1RuleWithOperations + +const _property_types_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("apiVersions")=>"Vector{String}", Symbol("operations")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("scope")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1RuleWithOperations }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1RuleWithOperations[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1RuleWithOperations) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1RuleWithOperations }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl new file mode 100644 index 00000000..43aab1b3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ServiceReference.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sApiAdmissionregistrationV1beta1ServiceReference(; + name=nothing, + namespace=nothing, + path=nothing, + port=nothing, + ) + + - name::String : `name` is the name of the service. Required + - namespace::String : `namespace` is the namespace of the service. Required + - path::String : `path` is an optional URL path which will be sent in any request to this service. + - port::Int64 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sApiAdmissionregistrationV1beta1ServiceReference(name, namespace, path, port, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ServiceReference, Symbol("port"), port) + return new(name, namespace, path, port, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1ServiceReference + +const _property_types_IoK8sApiAdmissionregistrationV1beta1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ServiceReference[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1ServiceReference) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1beta1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl new file mode 100644 index 00000000..bed203ec --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook +ValidatingWebhook describes an admission webhook and the resources and operations it applies to. + + IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook(; + admissionReviewVersions=nothing, + clientConfig=nothing, + failurePolicy=nothing, + matchPolicy=nothing, + name=nothing, + namespaceSelector=nothing, + objectSelector=nothing, + rules=nothing, + sideEffects=nothing, + timeoutSeconds=nothing, + ) + + - admissionReviewVersions::Vector{String} : AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`. + - clientConfig::IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig + - failurePolicy::String : FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. + - matchPolicy::String : matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Exact\" + - name::String : The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - objectSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - rules::Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} : Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. + - sideEffects::String : SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown. + - timeoutSeconds::Int64 : TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook <: OpenAPI.APIModel + admissionReviewVersions::Union{Nothing, Vector{String}} = nothing + clientConfig = nothing # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig } + failurePolicy::Union{Nothing, String} = nothing + matchPolicy::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespaceSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + objectSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations} } + sideEffects::Union{Nothing, String} = nothing + timeoutSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, rules, sideEffects, timeoutSeconds, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("admissionReviewVersions"), admissionReviewVersions) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("clientConfig"), clientConfig) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("failurePolicy"), failurePolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("matchPolicy"), matchPolicy) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("namespaceSelector"), namespaceSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("objectSelector"), objectSelector) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("rules"), rules) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("sideEffects"), sideEffects) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook, Symbol("timeoutSeconds"), timeoutSeconds) + return new(admissionReviewVersions, clientConfig, failurePolicy, matchPolicy, name, namespaceSelector, objectSelector, rules, sideEffects, timeoutSeconds, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook + +const _property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook = Dict{Symbol,String}(Symbol("admissionReviewVersions")=>"Vector{String}", Symbol("clientConfig")=>"IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig", Symbol("failurePolicy")=>"String", Symbol("matchPolicy")=>"String", Symbol("name")=>"String", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("objectSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("rules")=>"Vector{IoK8sApiAdmissionregistrationV1beta1RuleWithOperations}", Symbol("sideEffects")=>"String", Symbol("timeoutSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook) + o.clientConfig === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook }, name::Symbol, val) + if name === Symbol("timeoutSeconds") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl new file mode 100644 index 00000000..0295f018 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration +ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead. + + IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + webhooks=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - webhooks::Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook} : Webhooks is a list of webhooks and the affected resources and operations. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + webhooks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook} } + + function IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration(apiVersion, kind, metadata, webhooks, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration, Symbol("webhooks"), webhooks) + return new(apiVersion, kind, metadata, webhooks, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration + +const _property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("webhooks")=>"Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook}", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl new file mode 100644 index 00000000..990f44da --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList +ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. + + IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration} : List of ValidatingWebhookConfiguration. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList + +const _property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl new file mode 100644 index 00000000..218bc66e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig +WebhookClientConfig contains the information to make a TLS connection with the webhook + + IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig(; + caBundle=nothing, + service=nothing, + url=nothing, + ) + + - caBundle::Vector{UInt8} : `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + - service::IoK8sApiAdmissionregistrationV1beta1ServiceReference + - url::String : `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. +""" +Base.@kwdef mutable struct IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sApiAdmissionregistrationV1beta1ServiceReference } + url::Union{Nothing, String} = nothing + + function IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig(caBundle, service, url, ) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig, Symbol("service"), service) + OpenAPI.validate_property(IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig, Symbol("url"), url) + return new(caBundle, service, url, ) + end +end # type IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig + +const _property_types_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiAdmissionregistrationV1beta1ServiceReference", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig[name]))} + +function check_required(o::IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ControllerRevision.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ControllerRevision.jl new file mode 100644 index 00000000..01d8b058 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ControllerRevision.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ControllerRevision +ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + + IoK8sApiAppsV1ControllerRevision(; + apiVersion=nothing, + data=nothing, + kind=nothing, + metadata=nothing, + revision=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - data::Any : RawExtension is used to hold extensions in external versions. To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. // Internal package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // On the wire, the JSON will look something like this: { \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, } So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - revision::Int64 : Revision indicates the revision of the state represented by Data. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ControllerRevision <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + data::Union{Nothing, Any} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + revision::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1ControllerRevision(apiVersion, data, kind, metadata, revision, ) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("data"), data) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevision, Symbol("revision"), revision) + return new(apiVersion, data, kind, metadata, revision, ) + end +end # type IoK8sApiAppsV1ControllerRevision + +const _property_types_IoK8sApiAppsV1ControllerRevision = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"Any", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("revision")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ControllerRevision }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ControllerRevision[name]))} + +function check_required(o::IoK8sApiAppsV1ControllerRevision) + o.revision === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ControllerRevision }, name::Symbol, val) + if name === Symbol("revision") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ControllerRevision", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ControllerRevisionList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ControllerRevisionList.jl new file mode 100644 index 00000000..87c7536a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ControllerRevisionList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ControllerRevisionList +ControllerRevisionList is a resource containing a list of ControllerRevision objects. + + IoK8sApiAppsV1ControllerRevisionList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1ControllerRevision} : Items is the list of ControllerRevisions + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ControllerRevisionList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1ControllerRevision} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1ControllerRevisionList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1ControllerRevisionList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1ControllerRevisionList + +const _property_types_IoK8sApiAppsV1ControllerRevisionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1ControllerRevision}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ControllerRevisionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ControllerRevisionList[name]))} + +function check_required(o::IoK8sApiAppsV1ControllerRevisionList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ControllerRevisionList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSet.jl new file mode 100644 index 00000000..523f8f20 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DaemonSet +DaemonSet represents the configuration of a daemon set. + + IoK8sApiAppsV1DaemonSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1DaemonSetSpec + - status::IoK8sApiAppsV1DaemonSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DaemonSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1DaemonSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1DaemonSetStatus } + + function IoK8sApiAppsV1DaemonSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1DaemonSet + +const _property_types_IoK8sApiAppsV1DaemonSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1DaemonSetSpec", Symbol("status")=>"IoK8sApiAppsV1DaemonSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSet[name]))} + +function check_required(o::IoK8sApiAppsV1DaemonSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DaemonSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetCondition.jl new file mode 100644 index 00000000..49c11397 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DaemonSetCondition +DaemonSetCondition describes the state of a DaemonSet at a certain point. + + IoK8sApiAppsV1DaemonSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of DaemonSet condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DaemonSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1DaemonSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1DaemonSetCondition + +const _property_types_IoK8sApiAppsV1DaemonSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DaemonSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1DaemonSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DaemonSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetList.jl new file mode 100644 index 00000000..1a751505 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DaemonSetList +DaemonSetList is a collection of daemon sets. + + IoK8sApiAppsV1DaemonSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1DaemonSet} : A list of daemon sets. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DaemonSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1DaemonSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1DaemonSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1DaemonSetList + +const _property_types_IoK8sApiAppsV1DaemonSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1DaemonSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DaemonSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetList[name]))} + +function check_required(o::IoK8sApiAppsV1DaemonSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DaemonSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetSpec.jl new file mode 100644 index 00000000..a3b0b96c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetSpec.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DaemonSetSpec +DaemonSetSpec is the specification of a daemon set. + + IoK8sApiAppsV1DaemonSetSpec(; + minReadySeconds=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + template=nothing, + updateStrategy=nothing, + ) + + - minReadySeconds::Int64 : The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). + - revisionHistoryLimit::Int64 : The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec + - updateStrategy::IoK8sApiAppsV1DaemonSetUpdateStrategy +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DaemonSetSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + updateStrategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1DaemonSetUpdateStrategy } + + function IoK8sApiAppsV1DaemonSetSpec(minReadySeconds, revisionHistoryLimit, selector, template, updateStrategy, ) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetSpec, Symbol("updateStrategy"), updateStrategy) + return new(minReadySeconds, revisionHistoryLimit, selector, template, updateStrategy, ) + end +end # type IoK8sApiAppsV1DaemonSetSpec + +const _property_types_IoK8sApiAppsV1DaemonSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1DaemonSetUpdateStrategy", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DaemonSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1DaemonSetSpec) + o.selector === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DaemonSetSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetStatus.jl new file mode 100644 index 00000000..0a6fe883 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetStatus.jl @@ -0,0 +1,98 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DaemonSetStatus +DaemonSetStatus represents the current status of a daemon set. + + IoK8sApiAppsV1DaemonSetStatus(; + collisionCount=nothing, + conditions=nothing, + currentNumberScheduled=nothing, + desiredNumberScheduled=nothing, + numberAvailable=nothing, + numberMisscheduled=nothing, + numberReady=nothing, + numberUnavailable=nothing, + observedGeneration=nothing, + updatedNumberScheduled=nothing, + ) + + - collisionCount::Int64 : Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + - conditions::Vector{IoK8sApiAppsV1DaemonSetCondition} : Represents the latest available observations of a DaemonSet's current state. + - currentNumberScheduled::Int64 : The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - desiredNumberScheduled::Int64 : The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - numberAvailable::Int64 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) + - numberMisscheduled::Int64 : The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - numberReady::Int64 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. + - numberUnavailable::Int64 : The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) + - observedGeneration::Int64 : The most recent generation observed by the daemon set controller. + - updatedNumberScheduled::Int64 : The total number of nodes that are running updated daemon pod +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DaemonSetStatus <: OpenAPI.APIModel + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1DaemonSetCondition} } + currentNumberScheduled::Union{Nothing, Int64} = nothing + desiredNumberScheduled::Union{Nothing, Int64} = nothing + numberAvailable::Union{Nothing, Int64} = nothing + numberMisscheduled::Union{Nothing, Int64} = nothing + numberReady::Union{Nothing, Int64} = nothing + numberUnavailable::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + updatedNumberScheduled::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1DaemonSetStatus(collisionCount, conditions, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled, ) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("currentNumberScheduled"), currentNumberScheduled) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("desiredNumberScheduled"), desiredNumberScheduled) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberAvailable"), numberAvailable) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberMisscheduled"), numberMisscheduled) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberReady"), numberReady) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("numberUnavailable"), numberUnavailable) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetStatus, Symbol("updatedNumberScheduled"), updatedNumberScheduled) + return new(collisionCount, conditions, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled, ) + end +end # type IoK8sApiAppsV1DaemonSetStatus + +const _property_types_IoK8sApiAppsV1DaemonSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1DaemonSetCondition}", Symbol("currentNumberScheduled")=>"Int64", Symbol("desiredNumberScheduled")=>"Int64", Symbol("numberAvailable")=>"Int64", Symbol("numberMisscheduled")=>"Int64", Symbol("numberReady")=>"Int64", Symbol("numberUnavailable")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("updatedNumberScheduled")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DaemonSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1DaemonSetStatus) + o.currentNumberScheduled === nothing && (return false) + o.desiredNumberScheduled === nothing && (return false) + o.numberMisscheduled === nothing && (return false) + o.numberReady === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DaemonSetStatus }, name::Symbol, val) + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("currentNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("desiredNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberAvailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberMisscheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberReady") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int64") + end + if name === Symbol("updatedNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DaemonSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl new file mode 100644 index 00000000..45bf4f9b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DaemonSetUpdateStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DaemonSetUpdateStrategy +DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. + + IoK8sApiAppsV1DaemonSetUpdateStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1RollingUpdateDaemonSet + - type::String : Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DaemonSetUpdateStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1RollingUpdateDaemonSet } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1DaemonSetUpdateStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1DaemonSetUpdateStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1DaemonSetUpdateStrategy + +const _property_types_IoK8sApiAppsV1DaemonSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1RollingUpdateDaemonSet", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DaemonSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DaemonSetUpdateStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1DaemonSetUpdateStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DaemonSetUpdateStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1Deployment.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1Deployment.jl new file mode 100644 index 00000000..de4cc11c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1Deployment.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.Deployment +Deployment enables declarative updates for Pods and ReplicaSets. + + IoK8sApiAppsV1Deployment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1DeploymentSpec + - status::IoK8sApiAppsV1DeploymentStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1Deployment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1DeploymentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1DeploymentStatus } + + function IoK8sApiAppsV1Deployment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1Deployment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1Deployment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1Deployment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1Deployment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1Deployment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1Deployment + +const _property_types_IoK8sApiAppsV1Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1DeploymentSpec", Symbol("status")=>"IoK8sApiAppsV1DeploymentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1Deployment[name]))} + +function check_required(o::IoK8sApiAppsV1Deployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1Deployment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentCondition.jl new file mode 100644 index 00000000..255c7f84 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DeploymentCondition +DeploymentCondition describes the state of a deployment at a certain point. + + IoK8sApiAppsV1DeploymentCondition(; + lastTransitionTime=nothing, + lastUpdateTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastUpdateTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of deployment condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DeploymentCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + lastUpdateTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1DeploymentCondition(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentCondition, Symbol("type"), type) + return new(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1DeploymentCondition + +const _property_types_IoK8sApiAppsV1DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("lastUpdateTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentCondition[name]))} + +function check_required(o::IoK8sApiAppsV1DeploymentCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DeploymentCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentCondition", :format, val, "date-time") + end + if name === Symbol("lastUpdateTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentList.jl new file mode 100644 index 00000000..670c62f8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DeploymentList +DeploymentList is a list of Deployments. + + IoK8sApiAppsV1DeploymentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1Deployment} : Items is the list of Deployments. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DeploymentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1Deployment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1DeploymentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1DeploymentList + +const _property_types_IoK8sApiAppsV1DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentList[name]))} + +function check_required(o::IoK8sApiAppsV1DeploymentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DeploymentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentSpec.jl new file mode 100644 index 00000000..940c0d5b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentSpec.jl @@ -0,0 +1,73 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DeploymentSpec +DeploymentSpec is the specification of the desired behavior of the Deployment. + + IoK8sApiAppsV1DeploymentSpec(; + minReadySeconds=nothing, + paused=nothing, + progressDeadlineSeconds=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + strategy=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - paused::Bool : Indicates that the deployment is paused. + - progressDeadlineSeconds::Int64 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. + - replicas::Int64 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + - revisionHistoryLimit::Int64 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - strategy::IoK8sApiAppsV1DeploymentStrategy + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DeploymentSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + paused::Union{Nothing, Bool} = nothing + progressDeadlineSeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + strategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1DeploymentStrategy } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiAppsV1DeploymentSpec(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, selector, strategy, template, ) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("paused"), paused) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("strategy"), strategy) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentSpec, Symbol("template"), template) + return new(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, selector, strategy, template, ) + end +end # type IoK8sApiAppsV1DeploymentSpec + +const _property_types_IoK8sApiAppsV1DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiAppsV1DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentSpec[name]))} + +function check_required(o::IoK8sApiAppsV1DeploymentSpec) + o.selector === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DeploymentSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("progressDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentStatus.jl new file mode 100644 index 00000000..511d7cca --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentStatus.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DeploymentStatus +DeploymentStatus is the most recently observed status of the Deployment. + + IoK8sApiAppsV1DeploymentStatus(; + availableReplicas=nothing, + collisionCount=nothing, + conditions=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + unavailableReplicas=nothing, + updatedReplicas=nothing, + ) + + - availableReplicas::Int64 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + - collisionCount::Int64 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + - conditions::Vector{IoK8sApiAppsV1DeploymentCondition} : Represents the latest available observations of a deployment's current state. + - observedGeneration::Int64 : The generation observed by the deployment controller. + - readyReplicas::Int64 : Total number of ready pods targeted by this deployment. + - replicas::Int64 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). + - unavailableReplicas::Int64 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. + - updatedReplicas::Int64 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DeploymentStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1DeploymentCondition} } + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + unavailableReplicas::Union{Nothing, Int64} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1DeploymentStatus(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + end +end # type IoK8sApiAppsV1DeploymentStatus + +const _property_types_IoK8sApiAppsV1DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("unavailableReplicas")=>"Int64", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentStatus[name]))} + +function check_required(o::IoK8sApiAppsV1DeploymentStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DeploymentStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("unavailableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1DeploymentStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentStrategy.jl new file mode 100644 index 00000000..1a2b215c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1DeploymentStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.DeploymentStrategy +DeploymentStrategy describes how to replace existing pods with new ones. + + IoK8sApiAppsV1DeploymentStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1RollingUpdateDeployment + - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1DeploymentStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1RollingUpdateDeployment } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1DeploymentStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1DeploymentStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1DeploymentStrategy + +const _property_types_IoK8sApiAppsV1DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1RollingUpdateDeployment", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1DeploymentStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1DeploymentStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1DeploymentStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSet.jl new file mode 100644 index 00000000..f2809c74 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ReplicaSet +ReplicaSet ensures that a specified number of pod replicas are running at any given time. + + IoK8sApiAppsV1ReplicaSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1ReplicaSetSpec + - status::IoK8sApiAppsV1ReplicaSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ReplicaSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1ReplicaSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1ReplicaSetStatus } + + function IoK8sApiAppsV1ReplicaSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1ReplicaSet + +const _property_types_IoK8sApiAppsV1ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1ReplicaSetSpec", Symbol("status")=>"IoK8sApiAppsV1ReplicaSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSet[name]))} + +function check_required(o::IoK8sApiAppsV1ReplicaSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ReplicaSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetCondition.jl new file mode 100644 index 00000000..74e00b32 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ReplicaSetCondition +ReplicaSetCondition describes the state of a replica set at a certain point. + + IoK8sApiAppsV1ReplicaSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of replica set condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ReplicaSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1ReplicaSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1ReplicaSetCondition + +const _property_types_IoK8sApiAppsV1ReplicaSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ReplicaSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1ReplicaSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ReplicaSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetList.jl new file mode 100644 index 00000000..a493f201 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ReplicaSetList +ReplicaSetList is a collection of ReplicaSets. + + IoK8sApiAppsV1ReplicaSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1ReplicaSet} : List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ReplicaSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1ReplicaSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1ReplicaSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1ReplicaSetList + +const _property_types_IoK8sApiAppsV1ReplicaSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1ReplicaSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ReplicaSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetList[name]))} + +function check_required(o::IoK8sApiAppsV1ReplicaSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ReplicaSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetSpec.jl new file mode 100644 index 00000000..1fec428b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetSpec.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ReplicaSetSpec +ReplicaSetSpec is the specification of a ReplicaSet. + + IoK8sApiAppsV1ReplicaSetSpec(; + minReadySeconds=nothing, + replicas=nothing, + selector=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - replicas::Int64 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ReplicaSetSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiAppsV1ReplicaSetSpec(minReadySeconds, replicas, selector, template, ) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetSpec, Symbol("template"), template) + return new(minReadySeconds, replicas, selector, template, ) + end +end # type IoK8sApiAppsV1ReplicaSetSpec + +const _property_types_IoK8sApiAppsV1ReplicaSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ReplicaSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1ReplicaSetSpec) + o.selector === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ReplicaSetSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetStatus.jl new file mode 100644 index 00000000..f1db703b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1ReplicaSetStatus.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.ReplicaSetStatus +ReplicaSetStatus represents the current status of a ReplicaSet. + + IoK8sApiAppsV1ReplicaSetStatus(; + availableReplicas=nothing, + conditions=nothing, + fullyLabeledReplicas=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + ) + + - availableReplicas::Int64 : The number of available replicas (ready for at least minReadySeconds) for this replica set. + - conditions::Vector{IoK8sApiAppsV1ReplicaSetCondition} : Represents the latest available observations of a replica set's current state. + - fullyLabeledReplicas::Int64 : The number of pods that have labels matching the labels of the pod template of the replicaset. + - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + - readyReplicas::Int64 : The number of ready replicas for this replica set. + - replicas::Int64 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller +""" +Base.@kwdef mutable struct IoK8sApiAppsV1ReplicaSetStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1ReplicaSetCondition} } + fullyLabeledReplicas::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1ReplicaSetStatus(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1ReplicaSetStatus, Symbol("replicas"), replicas) + return new(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + end +end # type IoK8sApiAppsV1ReplicaSetStatus + +const _property_types_IoK8sApiAppsV1ReplicaSetStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1ReplicaSetCondition}", Symbol("fullyLabeledReplicas")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1ReplicaSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1ReplicaSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1ReplicaSetStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1ReplicaSetStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("fullyLabeledReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1ReplicaSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl new file mode 100644 index 00000000..766a3747 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateDaemonSet.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.RollingUpdateDaemonSet +Spec to control the desired behavior of daemon set rolling update. + + IoK8sApiAppsV1RollingUpdateDaemonSet(; + maxUnavailable=nothing, + ) + + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1RollingUpdateDaemonSet <: OpenAPI.APIModel + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiAppsV1RollingUpdateDaemonSet(maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiAppsV1RollingUpdateDaemonSet, Symbol("maxUnavailable"), maxUnavailable) + return new(maxUnavailable, ) + end +end # type IoK8sApiAppsV1RollingUpdateDaemonSet + +const _property_types_IoK8sApiAppsV1RollingUpdateDaemonSet = Dict{Symbol,String}(Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1RollingUpdateDaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1RollingUpdateDaemonSet[name]))} + +function check_required(o::IoK8sApiAppsV1RollingUpdateDaemonSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1RollingUpdateDaemonSet }, name::Symbol, val) + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1RollingUpdateDaemonSet", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateDeployment.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateDeployment.jl new file mode 100644 index 00000000..da8da453 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateDeployment.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.RollingUpdateDeployment +Spec to control the desired behavior of rolling update. + + IoK8sApiAppsV1RollingUpdateDeployment(; + maxSurge=nothing, + maxUnavailable=nothing, + ) + + - maxSurge::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1RollingUpdateDeployment <: OpenAPI.APIModel + maxSurge::Union{Nothing, Any} = nothing + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiAppsV1RollingUpdateDeployment(maxSurge, maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiAppsV1RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) + OpenAPI.validate_property(IoK8sApiAppsV1RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) + return new(maxSurge, maxUnavailable, ) + end +end # type IoK8sApiAppsV1RollingUpdateDeployment + +const _property_types_IoK8sApiAppsV1RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"Any", Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1RollingUpdateDeployment[name]))} + +function check_required(o::IoK8sApiAppsV1RollingUpdateDeployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1RollingUpdateDeployment }, name::Symbol, val) + if name === Symbol("maxSurge") + OpenAPI.validate_param(name, "IoK8sApiAppsV1RollingUpdateDeployment", :format, val, "int-or-string") + end + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1RollingUpdateDeployment", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl new file mode 100644 index 00000000..8a61c6a6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy +RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. + + IoK8sApiAppsV1RollingUpdateStatefulSetStrategy(; + partition=nothing, + ) + + - partition::Int64 : Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1RollingUpdateStatefulSetStrategy <: OpenAPI.APIModel + partition::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1RollingUpdateStatefulSetStrategy(partition, ) + OpenAPI.validate_property(IoK8sApiAppsV1RollingUpdateStatefulSetStrategy, Symbol("partition"), partition) + return new(partition, ) + end +end # type IoK8sApiAppsV1RollingUpdateStatefulSetStrategy + +const _property_types_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy = Dict{Symbol,String}(Symbol("partition")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1RollingUpdateStatefulSetStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1RollingUpdateStatefulSetStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1RollingUpdateStatefulSetStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1RollingUpdateStatefulSetStrategy }, name::Symbol, val) + if name === Symbol("partition") + OpenAPI.validate_param(name, "IoK8sApiAppsV1RollingUpdateStatefulSetStrategy", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSet.jl new file mode 100644 index 00000000..f327e694 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.StatefulSet +StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + + IoK8sApiAppsV1StatefulSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1StatefulSetSpec + - status::IoK8sApiAppsV1StatefulSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1StatefulSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1StatefulSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1StatefulSetStatus } + + function IoK8sApiAppsV1StatefulSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1StatefulSet + +const _property_types_IoK8sApiAppsV1StatefulSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1StatefulSetSpec", Symbol("status")=>"IoK8sApiAppsV1StatefulSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1StatefulSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSet[name]))} + +function check_required(o::IoK8sApiAppsV1StatefulSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1StatefulSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetCondition.jl new file mode 100644 index 00000000..4dd675e1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.StatefulSetCondition +StatefulSetCondition describes the state of a statefulset at a certain point. + + IoK8sApiAppsV1StatefulSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of statefulset condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1StatefulSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1StatefulSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1StatefulSetCondition + +const _property_types_IoK8sApiAppsV1StatefulSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1StatefulSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1StatefulSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1StatefulSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetList.jl new file mode 100644 index 00000000..7762e70e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.StatefulSetList +StatefulSetList is a collection of StatefulSets. + + IoK8sApiAppsV1StatefulSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1StatefulSet} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1StatefulSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1StatefulSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1StatefulSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1StatefulSetList + +const _property_types_IoK8sApiAppsV1StatefulSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1StatefulSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1StatefulSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetList[name]))} + +function check_required(o::IoK8sApiAppsV1StatefulSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1StatefulSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetSpec.jl new file mode 100644 index 00000000..4a1b87b5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetSpec.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.StatefulSetSpec +A StatefulSetSpec is the specification of a StatefulSet. + + IoK8sApiAppsV1StatefulSetSpec(; + podManagementPolicy=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + serviceName=nothing, + template=nothing, + updateStrategy=nothing, + volumeClaimTemplates=nothing, + ) + + - podManagementPolicy::String : podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. + - replicas::Int64 : replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. + - revisionHistoryLimit::Int64 : revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - serviceName::String : serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. + - template::IoK8sApiCoreV1PodTemplateSpec + - updateStrategy::IoK8sApiAppsV1StatefulSetUpdateStrategy + - volumeClaimTemplates::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1StatefulSetSpec <: OpenAPI.APIModel + podManagementPolicy::Union{Nothing, String} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + serviceName::Union{Nothing, String} = nothing + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + updateStrategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1StatefulSetUpdateStrategy } + volumeClaimTemplates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } + + function IoK8sApiAppsV1StatefulSetSpec(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates, ) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("podManagementPolicy"), podManagementPolicy) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("serviceName"), serviceName) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("updateStrategy"), updateStrategy) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetSpec, Symbol("volumeClaimTemplates"), volumeClaimTemplates) + return new(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates, ) + end +end # type IoK8sApiAppsV1StatefulSetSpec + +const _property_types_IoK8sApiAppsV1StatefulSetSpec = Dict{Symbol,String}(Symbol("podManagementPolicy")=>"String", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("serviceName")=>"String", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1StatefulSetUpdateStrategy", Symbol("volumeClaimTemplates")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1StatefulSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1StatefulSetSpec) + o.selector === nothing && (return false) + o.serviceName === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1StatefulSetSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetStatus.jl new file mode 100644 index 00000000..4b6f18a6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetStatus.jl @@ -0,0 +1,82 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.StatefulSetStatus +StatefulSetStatus represents the current state of a StatefulSet. + + IoK8sApiAppsV1StatefulSetStatus(; + collisionCount=nothing, + conditions=nothing, + currentReplicas=nothing, + currentRevision=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + updateRevision=nothing, + updatedReplicas=nothing, + ) + + - collisionCount::Int64 : collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + - conditions::Vector{IoK8sApiAppsV1StatefulSetCondition} : Represents the latest available observations of a statefulset's current state. + - currentReplicas::Int64 : currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. + - currentRevision::String : currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). + - observedGeneration::Int64 : observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. + - readyReplicas::Int64 : readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. + - replicas::Int64 : replicas is the number of Pods created by the StatefulSet controller. + - updateRevision::String : updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) + - updatedReplicas::Int64 : updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1StatefulSetStatus <: OpenAPI.APIModel + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1StatefulSetCondition} } + currentReplicas::Union{Nothing, Int64} = nothing + currentRevision::Union{Nothing, String} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + updateRevision::Union{Nothing, String} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1StatefulSetStatus(collisionCount, conditions, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("currentReplicas"), currentReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("currentRevision"), currentRevision) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("updateRevision"), updateRevision) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(collisionCount, conditions, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas, ) + end +end # type IoK8sApiAppsV1StatefulSetStatus + +const _property_types_IoK8sApiAppsV1StatefulSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1StatefulSetCondition}", Symbol("currentReplicas")=>"Int64", Symbol("currentRevision")=>"String", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("updateRevision")=>"String", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1StatefulSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1StatefulSetStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1StatefulSetStatus }, name::Symbol, val) + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("currentReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1StatefulSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl new file mode 100644 index 00000000..e2148fae --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1StatefulSetUpdateStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1.StatefulSetUpdateStrategy +StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. + + IoK8sApiAppsV1StatefulSetUpdateStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1RollingUpdateStatefulSetStrategy + - type::String : Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1StatefulSetUpdateStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1RollingUpdateStatefulSetStrategy } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1StatefulSetUpdateStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1StatefulSetUpdateStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1StatefulSetUpdateStrategy + +const _property_types_IoK8sApiAppsV1StatefulSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1RollingUpdateStatefulSetStrategy", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1StatefulSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1StatefulSetUpdateStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1StatefulSetUpdateStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1StatefulSetUpdateStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ControllerRevision.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ControllerRevision.jl new file mode 100644 index 00000000..88e47b71 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ControllerRevision.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.ControllerRevision +DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + + IoK8sApiAppsV1beta1ControllerRevision(; + apiVersion=nothing, + data=nothing, + kind=nothing, + metadata=nothing, + revision=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - data::Any : RawExtension is used to hold extensions in external versions. To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. // Internal package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // On the wire, the JSON will look something like this: { \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, } So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - revision::Int64 : Revision indicates the revision of the state represented by Data. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1ControllerRevision <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + data::Union{Nothing, Any} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + revision::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta1ControllerRevision(apiVersion, data, kind, metadata, revision, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("data"), data) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevision, Symbol("revision"), revision) + return new(apiVersion, data, kind, metadata, revision, ) + end +end # type IoK8sApiAppsV1beta1ControllerRevision + +const _property_types_IoK8sApiAppsV1beta1ControllerRevision = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"Any", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("revision")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1ControllerRevision }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ControllerRevision[name]))} + +function check_required(o::IoK8sApiAppsV1beta1ControllerRevision) + o.revision === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1ControllerRevision }, name::Symbol, val) + if name === Symbol("revision") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1ControllerRevision", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl new file mode 100644 index 00000000..ebc7bb76 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ControllerRevisionList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.ControllerRevisionList +ControllerRevisionList is a resource containing a list of ControllerRevision objects. + + IoK8sApiAppsV1beta1ControllerRevisionList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta1ControllerRevision} : Items is the list of ControllerRevisions + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1ControllerRevisionList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1ControllerRevision} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta1ControllerRevisionList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ControllerRevisionList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta1ControllerRevisionList + +const _property_types_IoK8sApiAppsV1beta1ControllerRevisionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta1ControllerRevision}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1ControllerRevisionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ControllerRevisionList[name]))} + +function check_required(o::IoK8sApiAppsV1beta1ControllerRevisionList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1ControllerRevisionList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1Deployment.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1Deployment.jl new file mode 100644 index 00000000..2b49e073 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1Deployment.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.Deployment +DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. + + IoK8sApiAppsV1beta1Deployment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta1DeploymentSpec + - status::IoK8sApiAppsV1beta1DeploymentStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1Deployment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1DeploymentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1DeploymentStatus } + + function IoK8sApiAppsV1beta1Deployment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Deployment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta1Deployment + +const _property_types_IoK8sApiAppsV1beta1Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta1DeploymentSpec", Symbol("status")=>"IoK8sApiAppsV1beta1DeploymentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1Deployment[name]))} + +function check_required(o::IoK8sApiAppsV1beta1Deployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1Deployment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentCondition.jl new file mode 100644 index 00000000..bc415e5d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.DeploymentCondition +DeploymentCondition describes the state of a deployment at a certain point. + + IoK8sApiAppsV1beta1DeploymentCondition(; + lastTransitionTime=nothing, + lastUpdateTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastUpdateTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of deployment condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1DeploymentCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + lastUpdateTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta1DeploymentCondition(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentCondition, Symbol("type"), type) + return new(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1beta1DeploymentCondition + +const _property_types_IoK8sApiAppsV1beta1DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("lastUpdateTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentCondition[name]))} + +function check_required(o::IoK8sApiAppsV1beta1DeploymentCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentCondition", :format, val, "date-time") + end + if name === Symbol("lastUpdateTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentList.jl new file mode 100644 index 00000000..32177fd2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.DeploymentList +DeploymentList is a list of Deployments. + + IoK8sApiAppsV1beta1DeploymentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta1Deployment} : Items is the list of Deployments. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1DeploymentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1Deployment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta1DeploymentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta1DeploymentList + +const _property_types_IoK8sApiAppsV1beta1DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta1Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentList[name]))} + +function check_required(o::IoK8sApiAppsV1beta1DeploymentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentRollback.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentRollback.jl new file mode 100644 index 00000000..71fd5fcb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentRollback.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.DeploymentRollback +DEPRECATED. DeploymentRollback stores the information required to rollback a deployment. + + IoK8sApiAppsV1beta1DeploymentRollback(; + apiVersion=nothing, + kind=nothing, + name=nothing, + rollbackTo=nothing, + updatedAnnotations=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : Required: This must match the Name of a deployment. + - rollbackTo::IoK8sApiAppsV1beta1RollbackConfig + - updatedAnnotations::Dict{String, String} : The annotations to be updated to a deployment +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1DeploymentRollback <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + rollbackTo = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollbackConfig } + updatedAnnotations::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiAppsV1beta1DeploymentRollback(apiVersion, kind, name, rollbackTo, updatedAnnotations, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("rollbackTo"), rollbackTo) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentRollback, Symbol("updatedAnnotations"), updatedAnnotations) + return new(apiVersion, kind, name, rollbackTo, updatedAnnotations, ) + end +end # type IoK8sApiAppsV1beta1DeploymentRollback + +const _property_types_IoK8sApiAppsV1beta1DeploymentRollback = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("rollbackTo")=>"IoK8sApiAppsV1beta1RollbackConfig", Symbol("updatedAnnotations")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentRollback }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentRollback[name]))} + +function check_required(o::IoK8sApiAppsV1beta1DeploymentRollback) + o.name === nothing && (return false) + o.rollbackTo === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentRollback }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentSpec.jl new file mode 100644 index 00000000..fa7c2569 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentSpec.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.DeploymentSpec +DeploymentSpec is the specification of the desired behavior of the Deployment. + + IoK8sApiAppsV1beta1DeploymentSpec(; + minReadySeconds=nothing, + paused=nothing, + progressDeadlineSeconds=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + rollbackTo=nothing, + selector=nothing, + strategy=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - paused::Bool : Indicates that the deployment is paused. + - progressDeadlineSeconds::Int64 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. + - replicas::Int64 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + - revisionHistoryLimit::Int64 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. + - rollbackTo::IoK8sApiAppsV1beta1RollbackConfig + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - strategy::IoK8sApiAppsV1beta1DeploymentStrategy + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1DeploymentSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + paused::Union{Nothing, Bool} = nothing + progressDeadlineSeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + rollbackTo = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollbackConfig } + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + strategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1DeploymentStrategy } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiAppsV1beta1DeploymentSpec(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, rollbackTo, selector, strategy, template, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("paused"), paused) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("rollbackTo"), rollbackTo) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("strategy"), strategy) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentSpec, Symbol("template"), template) + return new(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, rollbackTo, selector, strategy, template, ) + end +end # type IoK8sApiAppsV1beta1DeploymentSpec + +const _property_types_IoK8sApiAppsV1beta1DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("rollbackTo")=>"IoK8sApiAppsV1beta1RollbackConfig", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiAppsV1beta1DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta1DeploymentSpec) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("progressDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentStatus.jl new file mode 100644 index 00000000..c5b1429e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentStatus.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.DeploymentStatus +DeploymentStatus is the most recently observed status of the Deployment. + + IoK8sApiAppsV1beta1DeploymentStatus(; + availableReplicas=nothing, + collisionCount=nothing, + conditions=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + unavailableReplicas=nothing, + updatedReplicas=nothing, + ) + + - availableReplicas::Int64 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + - collisionCount::Int64 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + - conditions::Vector{IoK8sApiAppsV1beta1DeploymentCondition} : Represents the latest available observations of a deployment's current state. + - observedGeneration::Int64 : The generation observed by the deployment controller. + - readyReplicas::Int64 : Total number of ready pods targeted by this deployment. + - replicas::Int64 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). + - unavailableReplicas::Int64 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. + - updatedReplicas::Int64 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1DeploymentStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1DeploymentCondition} } + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + unavailableReplicas::Union{Nothing, Int64} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta1DeploymentStatus(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + end +end # type IoK8sApiAppsV1beta1DeploymentStatus + +const _property_types_IoK8sApiAppsV1beta1DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta1DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("unavailableReplicas")=>"Int64", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta1DeploymentStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("unavailableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1DeploymentStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl new file mode 100644 index 00000000..250d4b95 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1DeploymentStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.DeploymentStrategy +DeploymentStrategy describes how to replace existing pods with new ones. + + IoK8sApiAppsV1beta1DeploymentStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1beta1RollingUpdateDeployment + - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1DeploymentStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollingUpdateDeployment } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta1DeploymentStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1beta1DeploymentStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1beta1DeploymentStrategy + +const _property_types_IoK8sApiAppsV1beta1DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta1RollingUpdateDeployment", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1DeploymentStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta1DeploymentStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1DeploymentStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollbackConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollbackConfig.jl new file mode 100644 index 00000000..b8fd49fc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollbackConfig.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.RollbackConfig +DEPRECATED. + + IoK8sApiAppsV1beta1RollbackConfig(; + revision=nothing, + ) + + - revision::Int64 : The revision to rollback to. If set to 0, rollback to the last revision. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1RollbackConfig <: OpenAPI.APIModel + revision::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta1RollbackConfig(revision, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1RollbackConfig, Symbol("revision"), revision) + return new(revision, ) + end +end # type IoK8sApiAppsV1beta1RollbackConfig + +const _property_types_IoK8sApiAppsV1beta1RollbackConfig = Dict{Symbol,String}(Symbol("revision")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1RollbackConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1RollbackConfig[name]))} + +function check_required(o::IoK8sApiAppsV1beta1RollbackConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1RollbackConfig }, name::Symbol, val) + if name === Symbol("revision") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1RollbackConfig", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl new file mode 100644 index 00000000..00ba26b4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollingUpdateDeployment.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.RollingUpdateDeployment +Spec to control the desired behavior of rolling update. + + IoK8sApiAppsV1beta1RollingUpdateDeployment(; + maxSurge=nothing, + maxUnavailable=nothing, + ) + + - maxSurge::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1RollingUpdateDeployment <: OpenAPI.APIModel + maxSurge::Union{Nothing, Any} = nothing + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiAppsV1beta1RollingUpdateDeployment(maxSurge, maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) + OpenAPI.validate_property(IoK8sApiAppsV1beta1RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) + return new(maxSurge, maxUnavailable, ) + end +end # type IoK8sApiAppsV1beta1RollingUpdateDeployment + +const _property_types_IoK8sApiAppsV1beta1RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"Any", Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1RollingUpdateDeployment[name]))} + +function check_required(o::IoK8sApiAppsV1beta1RollingUpdateDeployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1RollingUpdateDeployment }, name::Symbol, val) + if name === Symbol("maxSurge") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1RollingUpdateDeployment", :format, val, "int-or-string") + end + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1RollingUpdateDeployment", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl new file mode 100644 index 00000000..ee0986a9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.RollingUpdateStatefulSetStrategy +RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. + + IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy(; + partition=nothing, + ) + + - partition::Int64 : Partition indicates the ordinal at which the StatefulSet should be partitioned. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy <: OpenAPI.APIModel + partition::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy(partition, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy, Symbol("partition"), partition) + return new(partition, ) + end +end # type IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy + +const _property_types_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy = Dict{Symbol,String}(Symbol("partition")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy }, name::Symbol, val) + if name === Symbol("partition") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1Scale.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1Scale.jl new file mode 100644 index 00000000..7f66f5b9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1Scale.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.Scale +Scale represents a scaling request for a resource. + + IoK8sApiAppsV1beta1Scale(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta1ScaleSpec + - status::IoK8sApiAppsV1beta1ScaleStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1Scale <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1ScaleSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1ScaleStatus } + + function IoK8sApiAppsV1beta1Scale(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Scale, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Scale, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Scale, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Scale, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta1Scale, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta1Scale + +const _property_types_IoK8sApiAppsV1beta1Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta1ScaleSpec", Symbol("status")=>"IoK8sApiAppsV1beta1ScaleStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1Scale[name]))} + +function check_required(o::IoK8sApiAppsV1beta1Scale) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1Scale }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ScaleSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ScaleSpec.jl new file mode 100644 index 00000000..31efbfde --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ScaleSpec.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.ScaleSpec +ScaleSpec describes the attributes of a scale subresource + + IoK8sApiAppsV1beta1ScaleSpec(; + replicas=nothing, + ) + + - replicas::Int64 : desired number of instances for the scaled object. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1ScaleSpec <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta1ScaleSpec(replicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ScaleSpec, Symbol("replicas"), replicas) + return new(replicas, ) + end +end # type IoK8sApiAppsV1beta1ScaleSpec + +const _property_types_IoK8sApiAppsV1beta1ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ScaleSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta1ScaleSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1ScaleSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1ScaleSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ScaleStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ScaleStatus.jl new file mode 100644 index 00000000..cd3abb1d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1ScaleStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.ScaleStatus +ScaleStatus represents the current status of a scale subresource. + + IoK8sApiAppsV1beta1ScaleStatus(; + replicas=nothing, + selector=nothing, + targetSelector=nothing, + ) + + - replicas::Int64 : actual number of observed instances of the scaled object. + - selector::Dict{String, String} : label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + - targetSelector::String : label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1ScaleStatus <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + selector::Union{Nothing, Dict{String, String}} = nothing + targetSelector::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta1ScaleStatus(replicas, selector, targetSelector, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ScaleStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ScaleStatus, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta1ScaleStatus, Symbol("targetSelector"), targetSelector) + return new(replicas, selector, targetSelector, ) + end +end # type IoK8sApiAppsV1beta1ScaleStatus + +const _property_types_IoK8sApiAppsV1beta1ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int64", Symbol("selector")=>"Dict{String, String}", Symbol("targetSelector")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1ScaleStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta1ScaleStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1ScaleStatus }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1ScaleStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSet.jl new file mode 100644 index 00000000..4b6a80bd --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.StatefulSet +DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + + IoK8sApiAppsV1beta1StatefulSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta1StatefulSetSpec + - status::IoK8sApiAppsV1beta1StatefulSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1StatefulSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1StatefulSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1StatefulSetStatus } + + function IoK8sApiAppsV1beta1StatefulSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta1StatefulSet + +const _property_types_IoK8sApiAppsV1beta1StatefulSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta1StatefulSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta1StatefulSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSet[name]))} + +function check_required(o::IoK8sApiAppsV1beta1StatefulSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl new file mode 100644 index 00000000..e0fd5337 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.StatefulSetCondition +StatefulSetCondition describes the state of a statefulset at a certain point. + + IoK8sApiAppsV1beta1StatefulSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of statefulset condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1StatefulSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta1StatefulSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1beta1StatefulSetCondition + +const _property_types_IoK8sApiAppsV1beta1StatefulSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1beta1StatefulSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetList.jl new file mode 100644 index 00000000..5eb8ddd3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.StatefulSetList +StatefulSetList is a collection of StatefulSets. + + IoK8sApiAppsV1beta1StatefulSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta1StatefulSet} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1StatefulSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1StatefulSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta1StatefulSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta1StatefulSetList + +const _property_types_IoK8sApiAppsV1beta1StatefulSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta1StatefulSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetList[name]))} + +function check_required(o::IoK8sApiAppsV1beta1StatefulSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl new file mode 100644 index 00000000..2803a062 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetSpec.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.StatefulSetSpec +A StatefulSetSpec is the specification of a StatefulSet. + + IoK8sApiAppsV1beta1StatefulSetSpec(; + podManagementPolicy=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + serviceName=nothing, + template=nothing, + updateStrategy=nothing, + volumeClaimTemplates=nothing, + ) + + - podManagementPolicy::String : podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. + - replicas::Int64 : replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. + - revisionHistoryLimit::Int64 : revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - serviceName::String : serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. + - template::IoK8sApiCoreV1PodTemplateSpec + - updateStrategy::IoK8sApiAppsV1beta1StatefulSetUpdateStrategy + - volumeClaimTemplates::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1StatefulSetSpec <: OpenAPI.APIModel + podManagementPolicy::Union{Nothing, String} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + serviceName::Union{Nothing, String} = nothing + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + updateStrategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1StatefulSetUpdateStrategy } + volumeClaimTemplates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } + + function IoK8sApiAppsV1beta1StatefulSetSpec(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("podManagementPolicy"), podManagementPolicy) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("serviceName"), serviceName) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("updateStrategy"), updateStrategy) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetSpec, Symbol("volumeClaimTemplates"), volumeClaimTemplates) + return new(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates, ) + end +end # type IoK8sApiAppsV1beta1StatefulSetSpec + +const _property_types_IoK8sApiAppsV1beta1StatefulSetSpec = Dict{Symbol,String}(Symbol("podManagementPolicy")=>"String", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("serviceName")=>"String", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1beta1StatefulSetUpdateStrategy", Symbol("volumeClaimTemplates")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta1StatefulSetSpec) + o.serviceName === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl new file mode 100644 index 00000000..4cd53e6f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetStatus.jl @@ -0,0 +1,82 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.StatefulSetStatus +StatefulSetStatus represents the current state of a StatefulSet. + + IoK8sApiAppsV1beta1StatefulSetStatus(; + collisionCount=nothing, + conditions=nothing, + currentReplicas=nothing, + currentRevision=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + updateRevision=nothing, + updatedReplicas=nothing, + ) + + - collisionCount::Int64 : collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + - conditions::Vector{IoK8sApiAppsV1beta1StatefulSetCondition} : Represents the latest available observations of a statefulset's current state. + - currentReplicas::Int64 : currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. + - currentRevision::String : currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). + - observedGeneration::Int64 : observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. + - readyReplicas::Int64 : readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. + - replicas::Int64 : replicas is the number of Pods created by the StatefulSet controller. + - updateRevision::String : updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) + - updatedReplicas::Int64 : updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1StatefulSetStatus <: OpenAPI.APIModel + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta1StatefulSetCondition} } + currentReplicas::Union{Nothing, Int64} = nothing + currentRevision::Union{Nothing, String} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + updateRevision::Union{Nothing, String} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta1StatefulSetStatus(collisionCount, conditions, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("currentReplicas"), currentReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("currentRevision"), currentRevision) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("updateRevision"), updateRevision) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(collisionCount, conditions, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas, ) + end +end # type IoK8sApiAppsV1beta1StatefulSetStatus + +const _property_types_IoK8sApiAppsV1beta1StatefulSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta1StatefulSetCondition}", Symbol("currentReplicas")=>"Int64", Symbol("currentRevision")=>"String", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("updateRevision")=>"String", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta1StatefulSetStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetStatus }, name::Symbol, val) + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("currentReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta1StatefulSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl new file mode 100644 index 00000000..b78f77da --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta1.StatefulSetUpdateStrategy +StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. + + IoK8sApiAppsV1beta1StatefulSetUpdateStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy + - type::String : Type indicates the type of the StatefulSetUpdateStrategy. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta1StatefulSetUpdateStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta1StatefulSetUpdateStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1beta1StatefulSetUpdateStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1beta1StatefulSetUpdateStrategy + +const _property_types_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta1StatefulSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta1StatefulSetUpdateStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta1StatefulSetUpdateStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta1StatefulSetUpdateStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ControllerRevision.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ControllerRevision.jl new file mode 100644 index 00000000..f4e3ab12 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ControllerRevision.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ControllerRevision +DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + + IoK8sApiAppsV1beta2ControllerRevision(; + apiVersion=nothing, + data=nothing, + kind=nothing, + metadata=nothing, + revision=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - data::Any : RawExtension is used to hold extensions in external versions. To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. // Internal package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // On the wire, the JSON will look something like this: { \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, } So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - revision::Int64 : Revision indicates the revision of the state represented by Data. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ControllerRevision <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + data::Union{Nothing, Any} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + revision::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2ControllerRevision(apiVersion, data, kind, metadata, revision, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("data"), data) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevision, Symbol("revision"), revision) + return new(apiVersion, data, kind, metadata, revision, ) + end +end # type IoK8sApiAppsV1beta2ControllerRevision + +const _property_types_IoK8sApiAppsV1beta2ControllerRevision = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"Any", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("revision")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ControllerRevision }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ControllerRevision[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ControllerRevision) + o.revision === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ControllerRevision }, name::Symbol, val) + if name === Symbol("revision") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ControllerRevision", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl new file mode 100644 index 00000000..35766cac --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ControllerRevisionList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ControllerRevisionList +ControllerRevisionList is a resource containing a list of ControllerRevision objects. + + IoK8sApiAppsV1beta2ControllerRevisionList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta2ControllerRevision} : Items is the list of ControllerRevisions + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ControllerRevisionList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2ControllerRevision} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta2ControllerRevisionList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ControllerRevisionList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta2ControllerRevisionList + +const _property_types_IoK8sApiAppsV1beta2ControllerRevisionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2ControllerRevision}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ControllerRevisionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ControllerRevisionList[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ControllerRevisionList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ControllerRevisionList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSet.jl new file mode 100644 index 00000000..65d67eee --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DaemonSet +DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. + + IoK8sApiAppsV1beta2DaemonSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta2DaemonSetSpec + - status::IoK8sApiAppsV1beta2DaemonSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DaemonSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DaemonSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DaemonSetStatus } + + function IoK8sApiAppsV1beta2DaemonSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta2DaemonSet + +const _property_types_IoK8sApiAppsV1beta2DaemonSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2DaemonSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta2DaemonSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSet[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DaemonSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl new file mode 100644 index 00000000..0a964522 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DaemonSetCondition +DaemonSetCondition describes the state of a DaemonSet at a certain point. + + IoK8sApiAppsV1beta2DaemonSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of DaemonSet condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DaemonSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2DaemonSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1beta2DaemonSetCondition + +const _property_types_IoK8sApiAppsV1beta2DaemonSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DaemonSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetList.jl new file mode 100644 index 00000000..6f08a06a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DaemonSetList +DaemonSetList is a collection of daemon sets. + + IoK8sApiAppsV1beta2DaemonSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta2DaemonSet} : A list of daemon sets. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DaemonSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2DaemonSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta2DaemonSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta2DaemonSetList + +const _property_types_IoK8sApiAppsV1beta2DaemonSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2DaemonSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetList[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DaemonSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl new file mode 100644 index 00000000..15df1368 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetSpec.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DaemonSetSpec +DaemonSetSpec is the specification of a daemon set. + + IoK8sApiAppsV1beta2DaemonSetSpec(; + minReadySeconds=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + template=nothing, + updateStrategy=nothing, + ) + + - minReadySeconds::Int64 : The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). + - revisionHistoryLimit::Int64 : The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec + - updateStrategy::IoK8sApiAppsV1beta2DaemonSetUpdateStrategy +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DaemonSetSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + updateStrategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DaemonSetUpdateStrategy } + + function IoK8sApiAppsV1beta2DaemonSetSpec(minReadySeconds, revisionHistoryLimit, selector, template, updateStrategy, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetSpec, Symbol("updateStrategy"), updateStrategy) + return new(minReadySeconds, revisionHistoryLimit, selector, template, updateStrategy, ) + end +end # type IoK8sApiAppsV1beta2DaemonSetSpec + +const _property_types_IoK8sApiAppsV1beta2DaemonSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1beta2DaemonSetUpdateStrategy", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DaemonSetSpec) + o.selector === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl new file mode 100644 index 00000000..55d0e5f3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetStatus.jl @@ -0,0 +1,98 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DaemonSetStatus +DaemonSetStatus represents the current status of a daemon set. + + IoK8sApiAppsV1beta2DaemonSetStatus(; + collisionCount=nothing, + conditions=nothing, + currentNumberScheduled=nothing, + desiredNumberScheduled=nothing, + numberAvailable=nothing, + numberMisscheduled=nothing, + numberReady=nothing, + numberUnavailable=nothing, + observedGeneration=nothing, + updatedNumberScheduled=nothing, + ) + + - collisionCount::Int64 : Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + - conditions::Vector{IoK8sApiAppsV1beta2DaemonSetCondition} : Represents the latest available observations of a DaemonSet's current state. + - currentNumberScheduled::Int64 : The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - desiredNumberScheduled::Int64 : The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - numberAvailable::Int64 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) + - numberMisscheduled::Int64 : The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - numberReady::Int64 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. + - numberUnavailable::Int64 : The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) + - observedGeneration::Int64 : The most recent generation observed by the daemon set controller. + - updatedNumberScheduled::Int64 : The total number of nodes that are running updated daemon pod +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DaemonSetStatus <: OpenAPI.APIModel + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2DaemonSetCondition} } + currentNumberScheduled::Union{Nothing, Int64} = nothing + desiredNumberScheduled::Union{Nothing, Int64} = nothing + numberAvailable::Union{Nothing, Int64} = nothing + numberMisscheduled::Union{Nothing, Int64} = nothing + numberReady::Union{Nothing, Int64} = nothing + numberUnavailable::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + updatedNumberScheduled::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2DaemonSetStatus(collisionCount, conditions, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("currentNumberScheduled"), currentNumberScheduled) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("desiredNumberScheduled"), desiredNumberScheduled) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberAvailable"), numberAvailable) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberMisscheduled"), numberMisscheduled) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberReady"), numberReady) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("numberUnavailable"), numberUnavailable) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetStatus, Symbol("updatedNumberScheduled"), updatedNumberScheduled) + return new(collisionCount, conditions, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled, ) + end +end # type IoK8sApiAppsV1beta2DaemonSetStatus + +const _property_types_IoK8sApiAppsV1beta2DaemonSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2DaemonSetCondition}", Symbol("currentNumberScheduled")=>"Int64", Symbol("desiredNumberScheduled")=>"Int64", Symbol("numberAvailable")=>"Int64", Symbol("numberMisscheduled")=>"Int64", Symbol("numberReady")=>"Int64", Symbol("numberUnavailable")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("updatedNumberScheduled")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DaemonSetStatus) + o.currentNumberScheduled === nothing && (return false) + o.desiredNumberScheduled === nothing && (return false) + o.numberMisscheduled === nothing && (return false) + o.numberReady === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetStatus }, name::Symbol, val) + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("currentNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("desiredNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberAvailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberMisscheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberReady") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int64") + end + if name === Symbol("updatedNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DaemonSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl new file mode 100644 index 00000000..606fd3ec --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DaemonSetUpdateStrategy +DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. + + IoK8sApiAppsV1beta2DaemonSetUpdateStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1beta2RollingUpdateDaemonSet + - type::String : Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DaemonSetUpdateStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2RollingUpdateDaemonSet } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2DaemonSetUpdateStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DaemonSetUpdateStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1beta2DaemonSetUpdateStrategy + +const _property_types_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta2RollingUpdateDaemonSet", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DaemonSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DaemonSetUpdateStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DaemonSetUpdateStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DaemonSetUpdateStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2Deployment.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2Deployment.jl new file mode 100644 index 00000000..5b78beb3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2Deployment.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.Deployment +DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. + + IoK8sApiAppsV1beta2Deployment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta2DeploymentSpec + - status::IoK8sApiAppsV1beta2DeploymentStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2Deployment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DeploymentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DeploymentStatus } + + function IoK8sApiAppsV1beta2Deployment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Deployment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta2Deployment + +const _property_types_IoK8sApiAppsV1beta2Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2DeploymentSpec", Symbol("status")=>"IoK8sApiAppsV1beta2DeploymentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2Deployment[name]))} + +function check_required(o::IoK8sApiAppsV1beta2Deployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2Deployment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentCondition.jl new file mode 100644 index 00000000..fc28d3e4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DeploymentCondition +DeploymentCondition describes the state of a deployment at a certain point. + + IoK8sApiAppsV1beta2DeploymentCondition(; + lastTransitionTime=nothing, + lastUpdateTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastUpdateTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of deployment condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DeploymentCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + lastUpdateTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2DeploymentCondition(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentCondition, Symbol("type"), type) + return new(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1beta2DeploymentCondition + +const _property_types_IoK8sApiAppsV1beta2DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("lastUpdateTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentCondition[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DeploymentCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentCondition", :format, val, "date-time") + end + if name === Symbol("lastUpdateTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentList.jl new file mode 100644 index 00000000..8b0cedb3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DeploymentList +DeploymentList is a list of Deployments. + + IoK8sApiAppsV1beta2DeploymentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta2Deployment} : Items is the list of Deployments. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DeploymentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2Deployment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta2DeploymentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta2DeploymentList + +const _property_types_IoK8sApiAppsV1beta2DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentList[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DeploymentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentSpec.jl new file mode 100644 index 00000000..1beb6eed --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentSpec.jl @@ -0,0 +1,73 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DeploymentSpec +DeploymentSpec is the specification of the desired behavior of the Deployment. + + IoK8sApiAppsV1beta2DeploymentSpec(; + minReadySeconds=nothing, + paused=nothing, + progressDeadlineSeconds=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + strategy=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - paused::Bool : Indicates that the deployment is paused. + - progressDeadlineSeconds::Int64 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. + - replicas::Int64 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + - revisionHistoryLimit::Int64 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - strategy::IoK8sApiAppsV1beta2DeploymentStrategy + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DeploymentSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + paused::Union{Nothing, Bool} = nothing + progressDeadlineSeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + strategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2DeploymentStrategy } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiAppsV1beta2DeploymentSpec(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, selector, strategy, template, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("paused"), paused) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("strategy"), strategy) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentSpec, Symbol("template"), template) + return new(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, selector, strategy, template, ) + end +end # type IoK8sApiAppsV1beta2DeploymentSpec + +const _property_types_IoK8sApiAppsV1beta2DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiAppsV1beta2DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DeploymentSpec) + o.selector === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentSpec", :format, val, "int32") + end + if name === Symbol("progressDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentStatus.jl new file mode 100644 index 00000000..aaeffe92 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentStatus.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DeploymentStatus +DeploymentStatus is the most recently observed status of the Deployment. + + IoK8sApiAppsV1beta2DeploymentStatus(; + availableReplicas=nothing, + collisionCount=nothing, + conditions=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + unavailableReplicas=nothing, + updatedReplicas=nothing, + ) + + - availableReplicas::Int64 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + - collisionCount::Int64 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + - conditions::Vector{IoK8sApiAppsV1beta2DeploymentCondition} : Represents the latest available observations of a deployment's current state. + - observedGeneration::Int64 : The generation observed by the deployment controller. + - readyReplicas::Int64 : Total number of ready pods targeted by this deployment. + - replicas::Int64 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). + - unavailableReplicas::Int64 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. + - updatedReplicas::Int64 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DeploymentStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2DeploymentCondition} } + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + unavailableReplicas::Union{Nothing, Int64} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2DeploymentStatus(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + end +end # type IoK8sApiAppsV1beta2DeploymentStatus + +const _property_types_IoK8sApiAppsV1beta2DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("unavailableReplicas")=>"Int64", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DeploymentStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int32") + end + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int32") + end + if name === Symbol("unavailableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2DeploymentStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl new file mode 100644 index 00000000..a8f5f53e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2DeploymentStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.DeploymentStrategy +DeploymentStrategy describes how to replace existing pods with new ones. + + IoK8sApiAppsV1beta2DeploymentStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1beta2RollingUpdateDeployment + - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2DeploymentStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2RollingUpdateDeployment } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2DeploymentStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1beta2DeploymentStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1beta2DeploymentStrategy + +const _property_types_IoK8sApiAppsV1beta2DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta2RollingUpdateDeployment", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2DeploymentStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta2DeploymentStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2DeploymentStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSet.jl new file mode 100644 index 00000000..fcb170e2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ReplicaSet +DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. + + IoK8sApiAppsV1beta2ReplicaSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta2ReplicaSetSpec + - status::IoK8sApiAppsV1beta2ReplicaSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ReplicaSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ReplicaSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ReplicaSetStatus } + + function IoK8sApiAppsV1beta2ReplicaSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta2ReplicaSet + +const _property_types_IoK8sApiAppsV1beta2ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2ReplicaSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta2ReplicaSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSet[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ReplicaSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl new file mode 100644 index 00000000..b9665bab --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ReplicaSetCondition +ReplicaSetCondition describes the state of a replica set at a certain point. + + IoK8sApiAppsV1beta2ReplicaSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of replica set condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ReplicaSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2ReplicaSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1beta2ReplicaSetCondition + +const _property_types_IoK8sApiAppsV1beta2ReplicaSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ReplicaSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetList.jl new file mode 100644 index 00000000..cbc0bc39 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ReplicaSetList +ReplicaSetList is a collection of ReplicaSets. + + IoK8sApiAppsV1beta2ReplicaSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta2ReplicaSet} : List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ReplicaSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2ReplicaSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta2ReplicaSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta2ReplicaSetList + +const _property_types_IoK8sApiAppsV1beta2ReplicaSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2ReplicaSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetList[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ReplicaSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl new file mode 100644 index 00000000..4e82d113 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetSpec.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ReplicaSetSpec +ReplicaSetSpec is the specification of a ReplicaSet. + + IoK8sApiAppsV1beta2ReplicaSetSpec(; + minReadySeconds=nothing, + replicas=nothing, + selector=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - replicas::Int64 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ReplicaSetSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiAppsV1beta2ReplicaSetSpec(minReadySeconds, replicas, selector, template, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetSpec, Symbol("template"), template) + return new(minReadySeconds, replicas, selector, template, ) + end +end # type IoK8sApiAppsV1beta2ReplicaSetSpec + +const _property_types_IoK8sApiAppsV1beta2ReplicaSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ReplicaSetSpec) + o.selector === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl new file mode 100644 index 00000000..caa92eb1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ReplicaSetStatus.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ReplicaSetStatus +ReplicaSetStatus represents the current status of a ReplicaSet. + + IoK8sApiAppsV1beta2ReplicaSetStatus(; + availableReplicas=nothing, + conditions=nothing, + fullyLabeledReplicas=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + ) + + - availableReplicas::Int64 : The number of available replicas (ready for at least minReadySeconds) for this replica set. + - conditions::Vector{IoK8sApiAppsV1beta2ReplicaSetCondition} : Represents the latest available observations of a replica set's current state. + - fullyLabeledReplicas::Int64 : The number of pods that have labels matching the labels of the pod template of the replicaset. + - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + - readyReplicas::Int64 : The number of ready replicas for this replica set. + - replicas::Int64 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ReplicaSetStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2ReplicaSetCondition} } + fullyLabeledReplicas::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2ReplicaSetStatus(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ReplicaSetStatus, Symbol("replicas"), replicas) + return new(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + end +end # type IoK8sApiAppsV1beta2ReplicaSetStatus + +const _property_types_IoK8sApiAppsV1beta2ReplicaSetStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2ReplicaSetCondition}", Symbol("fullyLabeledReplicas")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ReplicaSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ReplicaSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ReplicaSetStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ReplicaSetStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("fullyLabeledReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ReplicaSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl new file mode 100644 index 00000000..6b4be0b9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateDaemonSet.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.RollingUpdateDaemonSet +Spec to control the desired behavior of daemon set rolling update. + + IoK8sApiAppsV1beta2RollingUpdateDaemonSet(; + maxUnavailable=nothing, + ) + + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2RollingUpdateDaemonSet <: OpenAPI.APIModel + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiAppsV1beta2RollingUpdateDaemonSet(maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2RollingUpdateDaemonSet, Symbol("maxUnavailable"), maxUnavailable) + return new(maxUnavailable, ) + end +end # type IoK8sApiAppsV1beta2RollingUpdateDaemonSet + +const _property_types_IoK8sApiAppsV1beta2RollingUpdateDaemonSet = Dict{Symbol,String}(Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2RollingUpdateDaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2RollingUpdateDaemonSet[name]))} + +function check_required(o::IoK8sApiAppsV1beta2RollingUpdateDaemonSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2RollingUpdateDaemonSet }, name::Symbol, val) + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2RollingUpdateDaemonSet", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl new file mode 100644 index 00000000..69972516 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateDeployment.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.RollingUpdateDeployment +Spec to control the desired behavior of rolling update. + + IoK8sApiAppsV1beta2RollingUpdateDeployment(; + maxSurge=nothing, + maxUnavailable=nothing, + ) + + - maxSurge::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2RollingUpdateDeployment <: OpenAPI.APIModel + maxSurge::Union{Nothing, Any} = nothing + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiAppsV1beta2RollingUpdateDeployment(maxSurge, maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) + OpenAPI.validate_property(IoK8sApiAppsV1beta2RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) + return new(maxSurge, maxUnavailable, ) + end +end # type IoK8sApiAppsV1beta2RollingUpdateDeployment + +const _property_types_IoK8sApiAppsV1beta2RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"Any", Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2RollingUpdateDeployment[name]))} + +function check_required(o::IoK8sApiAppsV1beta2RollingUpdateDeployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2RollingUpdateDeployment }, name::Symbol, val) + if name === Symbol("maxSurge") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2RollingUpdateDeployment", :format, val, "int-or-string") + end + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2RollingUpdateDeployment", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl new file mode 100644 index 00000000..9d917566 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.RollingUpdateStatefulSetStrategy +RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. + + IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy(; + partition=nothing, + ) + + - partition::Int64 : Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy <: OpenAPI.APIModel + partition::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy(partition, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy, Symbol("partition"), partition) + return new(partition, ) + end +end # type IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy + +const _property_types_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy = Dict{Symbol,String}(Symbol("partition")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy }, name::Symbol, val) + if name === Symbol("partition") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2Scale.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2Scale.jl new file mode 100644 index 00000000..f318521a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2Scale.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.Scale +Scale represents a scaling request for a resource. + + IoK8sApiAppsV1beta2Scale(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta2ScaleSpec + - status::IoK8sApiAppsV1beta2ScaleStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2Scale <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ScaleSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2ScaleStatus } + + function IoK8sApiAppsV1beta2Scale(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Scale, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Scale, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Scale, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Scale, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta2Scale, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta2Scale + +const _property_types_IoK8sApiAppsV1beta2Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2ScaleSpec", Symbol("status")=>"IoK8sApiAppsV1beta2ScaleStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2Scale[name]))} + +function check_required(o::IoK8sApiAppsV1beta2Scale) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2Scale }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ScaleSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ScaleSpec.jl new file mode 100644 index 00000000..f2c83381 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ScaleSpec.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ScaleSpec +ScaleSpec describes the attributes of a scale subresource + + IoK8sApiAppsV1beta2ScaleSpec(; + replicas=nothing, + ) + + - replicas::Int64 : desired number of instances for the scaled object. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ScaleSpec <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2ScaleSpec(replicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ScaleSpec, Symbol("replicas"), replicas) + return new(replicas, ) + end +end # type IoK8sApiAppsV1beta2ScaleSpec + +const _property_types_IoK8sApiAppsV1beta2ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ScaleSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ScaleSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ScaleSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ScaleSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ScaleStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ScaleStatus.jl new file mode 100644 index 00000000..7df6ee61 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2ScaleStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.ScaleStatus +ScaleStatus represents the current status of a scale subresource. + + IoK8sApiAppsV1beta2ScaleStatus(; + replicas=nothing, + selector=nothing, + targetSelector=nothing, + ) + + - replicas::Int64 : actual number of observed instances of the scaled object. + - selector::Dict{String, String} : label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + - targetSelector::String : label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2ScaleStatus <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + selector::Union{Nothing, Dict{String, String}} = nothing + targetSelector::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2ScaleStatus(replicas, selector, targetSelector, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ScaleStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ScaleStatus, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta2ScaleStatus, Symbol("targetSelector"), targetSelector) + return new(replicas, selector, targetSelector, ) + end +end # type IoK8sApiAppsV1beta2ScaleStatus + +const _property_types_IoK8sApiAppsV1beta2ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int64", Symbol("selector")=>"Dict{String, String}", Symbol("targetSelector")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2ScaleStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta2ScaleStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2ScaleStatus }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2ScaleStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSet.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSet.jl new file mode 100644 index 00000000..d0fee00e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.StatefulSet +DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + + IoK8sApiAppsV1beta2StatefulSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAppsV1beta2StatefulSetSpec + - status::IoK8sApiAppsV1beta2StatefulSetStatus +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2StatefulSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2StatefulSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2StatefulSetStatus } + + function IoK8sApiAppsV1beta2StatefulSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAppsV1beta2StatefulSet + +const _property_types_IoK8sApiAppsV1beta2StatefulSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAppsV1beta2StatefulSetSpec", Symbol("status")=>"IoK8sApiAppsV1beta2StatefulSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSet[name]))} + +function check_required(o::IoK8sApiAppsV1beta2StatefulSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl new file mode 100644 index 00000000..e5f7433b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.StatefulSetCondition +StatefulSetCondition describes the state of a statefulset at a certain point. + + IoK8sApiAppsV1beta2StatefulSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of statefulset condition. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2StatefulSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2StatefulSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAppsV1beta2StatefulSetCondition + +const _property_types_IoK8sApiAppsV1beta2StatefulSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetCondition[name]))} + +function check_required(o::IoK8sApiAppsV1beta2StatefulSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetList.jl new file mode 100644 index 00000000..d65d7749 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.StatefulSetList +StatefulSetList is a collection of StatefulSets. + + IoK8sApiAppsV1beta2StatefulSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAppsV1beta2StatefulSet} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2StatefulSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2StatefulSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAppsV1beta2StatefulSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAppsV1beta2StatefulSetList + +const _property_types_IoK8sApiAppsV1beta2StatefulSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAppsV1beta2StatefulSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetList[name]))} + +function check_required(o::IoK8sApiAppsV1beta2StatefulSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl new file mode 100644 index 00000000..e729896c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetSpec.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.StatefulSetSpec +A StatefulSetSpec is the specification of a StatefulSet. + + IoK8sApiAppsV1beta2StatefulSetSpec(; + podManagementPolicy=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + serviceName=nothing, + template=nothing, + updateStrategy=nothing, + volumeClaimTemplates=nothing, + ) + + - podManagementPolicy::String : podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. + - replicas::Int64 : replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. + - revisionHistoryLimit::Int64 : revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - serviceName::String : serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. + - template::IoK8sApiCoreV1PodTemplateSpec + - updateStrategy::IoK8sApiAppsV1beta2StatefulSetUpdateStrategy + - volumeClaimTemplates::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2StatefulSetSpec <: OpenAPI.APIModel + podManagementPolicy::Union{Nothing, String} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + serviceName::Union{Nothing, String} = nothing + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + updateStrategy = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2StatefulSetUpdateStrategy } + volumeClaimTemplates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } + + function IoK8sApiAppsV1beta2StatefulSetSpec(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("podManagementPolicy"), podManagementPolicy) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("serviceName"), serviceName) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("updateStrategy"), updateStrategy) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetSpec, Symbol("volumeClaimTemplates"), volumeClaimTemplates) + return new(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates, ) + end +end # type IoK8sApiAppsV1beta2StatefulSetSpec + +const _property_types_IoK8sApiAppsV1beta2StatefulSetSpec = Dict{Symbol,String}(Symbol("podManagementPolicy")=>"String", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("serviceName")=>"String", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("updateStrategy")=>"IoK8sApiAppsV1beta2StatefulSetUpdateStrategy", Symbol("volumeClaimTemplates")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetSpec[name]))} + +function check_required(o::IoK8sApiAppsV1beta2StatefulSetSpec) + o.selector === nothing && (return false) + o.serviceName === nothing && (return false) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl new file mode 100644 index 00000000..89c77873 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetStatus.jl @@ -0,0 +1,82 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.StatefulSetStatus +StatefulSetStatus represents the current state of a StatefulSet. + + IoK8sApiAppsV1beta2StatefulSetStatus(; + collisionCount=nothing, + conditions=nothing, + currentReplicas=nothing, + currentRevision=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + updateRevision=nothing, + updatedReplicas=nothing, + ) + + - collisionCount::Int64 : collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + - conditions::Vector{IoK8sApiAppsV1beta2StatefulSetCondition} : Represents the latest available observations of a statefulset's current state. + - currentReplicas::Int64 : currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. + - currentRevision::String : currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). + - observedGeneration::Int64 : observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. + - readyReplicas::Int64 : readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. + - replicas::Int64 : replicas is the number of Pods created by the StatefulSet controller. + - updateRevision::String : updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) + - updatedReplicas::Int64 : updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2StatefulSetStatus <: OpenAPI.APIModel + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAppsV1beta2StatefulSetCondition} } + currentReplicas::Union{Nothing, Int64} = nothing + currentRevision::Union{Nothing, String} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + updateRevision::Union{Nothing, String} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAppsV1beta2StatefulSetStatus(collisionCount, conditions, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("currentReplicas"), currentReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("currentRevision"), currentRevision) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("updateRevision"), updateRevision) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(collisionCount, conditions, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas, ) + end +end # type IoK8sApiAppsV1beta2StatefulSetStatus + +const _property_types_IoK8sApiAppsV1beta2StatefulSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiAppsV1beta2StatefulSetCondition}", Symbol("currentReplicas")=>"Int64", Symbol("currentRevision")=>"String", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("updateRevision")=>"String", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetStatus[name]))} + +function check_required(o::IoK8sApiAppsV1beta2StatefulSetStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetStatus }, name::Symbol, val) + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("currentReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiAppsV1beta2StatefulSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl new file mode 100644 index 00000000..915bacfc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.apps.v1beta2.StatefulSetUpdateStrategy +StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. + + IoK8sApiAppsV1beta2StatefulSetUpdateStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy + - type::String : Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiAppsV1beta2StatefulSetUpdateStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy } + type::Union{Nothing, String} = nothing + + function IoK8sApiAppsV1beta2StatefulSetUpdateStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiAppsV1beta2StatefulSetUpdateStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiAppsV1beta2StatefulSetUpdateStrategy + +const _property_types_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAppsV1beta2StatefulSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAppsV1beta2StatefulSetUpdateStrategy[name]))} + +function check_required(o::IoK8sApiAppsV1beta2StatefulSetUpdateStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAppsV1beta2StatefulSetUpdateStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl new file mode 100644 index 00000000..50d62a24 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSink.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.AuditSink +AuditSink represents a cluster level audit sink + + IoK8sApiAuditregistrationV1alpha1AuditSink(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuditregistrationV1alpha1AuditSinkSpec +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1AuditSink <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1AuditSinkSpec } + + function IoK8sApiAuditregistrationV1alpha1AuditSink(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSink, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiAuditregistrationV1alpha1AuditSink + +const _property_types_IoK8sApiAuditregistrationV1alpha1AuditSink = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuditregistrationV1alpha1AuditSinkSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1AuditSink[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1AuditSink) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSink }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl new file mode 100644 index 00000000..a9290035 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.AuditSinkList +AuditSinkList is a list of AuditSink items. + + IoK8sApiAuditregistrationV1alpha1AuditSinkList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAuditregistrationV1alpha1AuditSink} : List of audit configurations. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1AuditSinkList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAuditregistrationV1alpha1AuditSink} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAuditregistrationV1alpha1AuditSinkList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAuditregistrationV1alpha1AuditSinkList + +const _property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAuditregistrationV1alpha1AuditSink}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkList[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1AuditSinkList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl new file mode 100644 index 00000000..a1862bdf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec +AuditSinkSpec holds the spec for the audit sink + + IoK8sApiAuditregistrationV1alpha1AuditSinkSpec(; + policy=nothing, + webhook=nothing, + ) + + - policy::IoK8sApiAuditregistrationV1alpha1Policy + - webhook::IoK8sApiAuditregistrationV1alpha1Webhook +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1AuditSinkSpec <: OpenAPI.APIModel + policy = nothing # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1Policy } + webhook = nothing # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1Webhook } + + function IoK8sApiAuditregistrationV1alpha1AuditSinkSpec(policy, webhook, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkSpec, Symbol("policy"), policy) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1AuditSinkSpec, Symbol("webhook"), webhook) + return new(policy, webhook, ) + end +end # type IoK8sApiAuditregistrationV1alpha1AuditSinkSpec + +const _property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec = Dict{Symbol,String}(Symbol("policy")=>"IoK8sApiAuditregistrationV1alpha1Policy", Symbol("webhook")=>"IoK8sApiAuditregistrationV1alpha1Webhook", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1AuditSinkSpec[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1AuditSinkSpec) + o.policy === nothing && (return false) + o.webhook === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1AuditSinkSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1Policy.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1Policy.jl new file mode 100644 index 00000000..6fb9092a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1Policy.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.Policy +Policy defines the configuration of how audit events are logged + + IoK8sApiAuditregistrationV1alpha1Policy(; + level=nothing, + stages=nothing, + ) + + - level::String : The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required + - stages::Vector{String} : Stages is a list of stages for which events are created. +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1Policy <: OpenAPI.APIModel + level::Union{Nothing, String} = nothing + stages::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiAuditregistrationV1alpha1Policy(level, stages, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1Policy, Symbol("level"), level) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1Policy, Symbol("stages"), stages) + return new(level, stages, ) + end +end # type IoK8sApiAuditregistrationV1alpha1Policy + +const _property_types_IoK8sApiAuditregistrationV1alpha1Policy = Dict{Symbol,String}(Symbol("level")=>"String", Symbol("stages")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1Policy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1Policy[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1Policy) + o.level === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1Policy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl new file mode 100644 index 00000000..fee0f195 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1ServiceReference.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sApiAuditregistrationV1alpha1ServiceReference(; + name=nothing, + namespace=nothing, + path=nothing, + port=nothing, + ) + + - name::String : `name` is the name of the service. Required + - namespace::String : `namespace` is the namespace of the service. Required + - path::String : `path` is an optional URL path which will be sent in any request to this service. + - port::Int64 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sApiAuditregistrationV1alpha1ServiceReference(name, namespace, path, port, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1ServiceReference, Symbol("port"), port) + return new(name, namespace, path, port, ) + end +end # type IoK8sApiAuditregistrationV1alpha1ServiceReference + +const _property_types_IoK8sApiAuditregistrationV1alpha1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1ServiceReference[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1ServiceReference) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiAuditregistrationV1alpha1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl new file mode 100644 index 00000000..ae2f27be --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1Webhook.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.Webhook +Webhook holds the configuration of the webhook + + IoK8sApiAuditregistrationV1alpha1Webhook(; + clientConfig=nothing, + throttle=nothing, + ) + + - clientConfig::IoK8sApiAuditregistrationV1alpha1WebhookClientConfig + - throttle::IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1Webhook <: OpenAPI.APIModel + clientConfig = nothing # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1WebhookClientConfig } + throttle = nothing # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig } + + function IoK8sApiAuditregistrationV1alpha1Webhook(clientConfig, throttle, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1Webhook, Symbol("clientConfig"), clientConfig) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1Webhook, Symbol("throttle"), throttle) + return new(clientConfig, throttle, ) + end +end # type IoK8sApiAuditregistrationV1alpha1Webhook + +const _property_types_IoK8sApiAuditregistrationV1alpha1Webhook = Dict{Symbol,String}(Symbol("clientConfig")=>"IoK8sApiAuditregistrationV1alpha1WebhookClientConfig", Symbol("throttle")=>"IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1Webhook }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1Webhook[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1Webhook) + o.clientConfig === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1Webhook }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl new file mode 100644 index 00000000..fa185ee4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig +WebhookClientConfig contains the information to make a connection with the webhook + + IoK8sApiAuditregistrationV1alpha1WebhookClientConfig(; + caBundle=nothing, + service=nothing, + url=nothing, + ) + + - caBundle::Vector{UInt8} : `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + - service::IoK8sApiAuditregistrationV1alpha1ServiceReference + - url::String : `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1WebhookClientConfig <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sApiAuditregistrationV1alpha1ServiceReference } + url::Union{Nothing, String} = nothing + + function IoK8sApiAuditregistrationV1alpha1WebhookClientConfig(caBundle, service, url, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1WebhookClientConfig, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1WebhookClientConfig, Symbol("service"), service) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1WebhookClientConfig, Symbol("url"), url) + return new(caBundle, service, url, ) + end +end # type IoK8sApiAuditregistrationV1alpha1WebhookClientConfig + +const _property_types_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiAuditregistrationV1alpha1ServiceReference", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1WebhookClientConfig[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1WebhookClientConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookClientConfig }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiAuditregistrationV1alpha1WebhookClientConfig", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiAuditregistrationV1alpha1WebhookClientConfig", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl new file mode 100644 index 00000000..7edff0f4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig +WebhookThrottleConfig holds the configuration for throttling events + + IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig(; + burst=nothing, + qps=nothing, + ) + + - burst::Int64 : ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS + - qps::Int64 : ThrottleQPS maximum number of batches per second default 10 QPS +""" +Base.@kwdef mutable struct IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig <: OpenAPI.APIModel + burst::Union{Nothing, Int64} = nothing + qps::Union{Nothing, Int64} = nothing + + function IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig(burst, qps, ) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig, Symbol("burst"), burst) + OpenAPI.validate_property(IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig, Symbol("qps"), qps) + return new(burst, qps, ) + end +end # type IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig + +const _property_types_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig = Dict{Symbol,String}(Symbol("burst")=>"Int64", Symbol("qps")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig[name]))} + +function check_required(o::IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig }, name::Symbol, val) + if name === Symbol("burst") + OpenAPI.validate_param(name, "IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig", :format, val, "int64") + end + if name === Symbol("qps") + OpenAPI.validate_param(name, "IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1BoundObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1BoundObjectReference.jl new file mode 100644 index 00000000..5fff37fa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1BoundObjectReference.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.BoundObjectReference +BoundObjectReference is a reference to an object that a token is bound to. + + IoK8sApiAuthenticationV1BoundObjectReference(; + apiVersion=nothing, + kind=nothing, + name=nothing, + uid=nothing, + ) + + - apiVersion::String : API version of the referent. + - kind::String : Kind of the referent. Valid kinds are 'Pod' and 'Secret'. + - name::String : Name of the referent. + - uid::String : UID of the referent. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1BoundObjectReference <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApiAuthenticationV1BoundObjectReference(apiVersion, kind, name, uid, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAuthenticationV1BoundObjectReference, Symbol("uid"), uid) + return new(apiVersion, kind, name, uid, ) + end +end # type IoK8sApiAuthenticationV1BoundObjectReference + +const _property_types_IoK8sApiAuthenticationV1BoundObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1BoundObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1BoundObjectReference[name]))} + +function check_required(o::IoK8sApiAuthenticationV1BoundObjectReference) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1BoundObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequest.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequest.jl new file mode 100644 index 00000000..e72f37ed --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequest.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.TokenRequest +TokenRequest requests a token for a given service account. + + IoK8sApiAuthenticationV1TokenRequest(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthenticationV1TokenRequestSpec + - status::IoK8sApiAuthenticationV1TokenRequestStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1TokenRequest <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenRequestSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenRequestStatus } + + function IoK8sApiAuthenticationV1TokenRequest(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequest, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthenticationV1TokenRequest + +const _property_types_IoK8sApiAuthenticationV1TokenRequest = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthenticationV1TokenRequestSpec", Symbol("status")=>"IoK8sApiAuthenticationV1TokenRequestStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1TokenRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenRequest[name]))} + +function check_required(o::IoK8sApiAuthenticationV1TokenRequest) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1TokenRequest }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl new file mode 100644 index 00000000..19b6a5a4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequestSpec.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.TokenRequestSpec +TokenRequestSpec contains client provided parameters of a token request. + + IoK8sApiAuthenticationV1TokenRequestSpec(; + audiences=nothing, + boundObjectRef=nothing, + expirationSeconds=nothing, + ) + + - audiences::Vector{String} : Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences. + - boundObjectRef::IoK8sApiAuthenticationV1BoundObjectReference + - expirationSeconds::Int64 : ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1TokenRequestSpec <: OpenAPI.APIModel + audiences::Union{Nothing, Vector{String}} = nothing + boundObjectRef = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1BoundObjectReference } + expirationSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiAuthenticationV1TokenRequestSpec(audiences, boundObjectRef, expirationSeconds, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequestSpec, Symbol("audiences"), audiences) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequestSpec, Symbol("boundObjectRef"), boundObjectRef) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequestSpec, Symbol("expirationSeconds"), expirationSeconds) + return new(audiences, boundObjectRef, expirationSeconds, ) + end +end # type IoK8sApiAuthenticationV1TokenRequestSpec + +const _property_types_IoK8sApiAuthenticationV1TokenRequestSpec = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("boundObjectRef")=>"IoK8sApiAuthenticationV1BoundObjectReference", Symbol("expirationSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1TokenRequestSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenRequestSpec[name]))} + +function check_required(o::IoK8sApiAuthenticationV1TokenRequestSpec) + o.audiences === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1TokenRequestSpec }, name::Symbol, val) + if name === Symbol("expirationSeconds") + OpenAPI.validate_param(name, "IoK8sApiAuthenticationV1TokenRequestSpec", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl new file mode 100644 index 00000000..5a9c270b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenRequestStatus.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.TokenRequestStatus +TokenRequestStatus is the result of a token request. + + IoK8sApiAuthenticationV1TokenRequestStatus(; + expirationTimestamp=nothing, + token=nothing, + ) + + - expirationTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - token::String : Token is the opaque bearer token. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1TokenRequestStatus <: OpenAPI.APIModel + expirationTimestamp::Union{Nothing, ZonedDateTime} = nothing + token::Union{Nothing, String} = nothing + + function IoK8sApiAuthenticationV1TokenRequestStatus(expirationTimestamp, token, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequestStatus, Symbol("expirationTimestamp"), expirationTimestamp) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenRequestStatus, Symbol("token"), token) + return new(expirationTimestamp, token, ) + end +end # type IoK8sApiAuthenticationV1TokenRequestStatus + +const _property_types_IoK8sApiAuthenticationV1TokenRequestStatus = Dict{Symbol,String}(Symbol("expirationTimestamp")=>"ZonedDateTime", Symbol("token")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1TokenRequestStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenRequestStatus[name]))} + +function check_required(o::IoK8sApiAuthenticationV1TokenRequestStatus) + o.expirationTimestamp === nothing && (return false) + o.token === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1TokenRequestStatus }, name::Symbol, val) + if name === Symbol("expirationTimestamp") + OpenAPI.validate_param(name, "IoK8sApiAuthenticationV1TokenRequestStatus", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReview.jl new file mode 100644 index 00000000..acacd2fa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.TokenReview +TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. + + IoK8sApiAuthenticationV1TokenReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthenticationV1TokenReviewSpec + - status::IoK8sApiAuthenticationV1TokenReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1TokenReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1TokenReviewStatus } + + function IoK8sApiAuthenticationV1TokenReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthenticationV1TokenReview + +const _property_types_IoK8sApiAuthenticationV1TokenReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthenticationV1TokenReviewSpec", Symbol("status")=>"IoK8sApiAuthenticationV1TokenReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1TokenReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenReview[name]))} + +function check_required(o::IoK8sApiAuthenticationV1TokenReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1TokenReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl new file mode 100644 index 00000000..60f01e6b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReviewSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.TokenReviewSpec +TokenReviewSpec is a description of the token authentication request. + + IoK8sApiAuthenticationV1TokenReviewSpec(; + audiences=nothing, + token=nothing, + ) + + - audiences::Vector{String} : Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + - token::String : Token is the opaque bearer token. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1TokenReviewSpec <: OpenAPI.APIModel + audiences::Union{Nothing, Vector{String}} = nothing + token::Union{Nothing, String} = nothing + + function IoK8sApiAuthenticationV1TokenReviewSpec(audiences, token, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReviewSpec, Symbol("audiences"), audiences) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReviewSpec, Symbol("token"), token) + return new(audiences, token, ) + end +end # type IoK8sApiAuthenticationV1TokenReviewSpec + +const _property_types_IoK8sApiAuthenticationV1TokenReviewSpec = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("token")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1TokenReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthenticationV1TokenReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1TokenReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl new file mode 100644 index 00000000..864e7b47 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1TokenReviewStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.TokenReviewStatus +TokenReviewStatus is the result of the token authentication request. + + IoK8sApiAuthenticationV1TokenReviewStatus(; + audiences=nothing, + authenticated=nothing, + error=nothing, + user=nothing, + ) + + - audiences::Vector{String} : Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + - authenticated::Bool : Authenticated indicates that the token was associated with a known user. + - error::String : Error indicates that the token couldn't be checked + - user::IoK8sApiAuthenticationV1UserInfo +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1TokenReviewStatus <: OpenAPI.APIModel + audiences::Union{Nothing, Vector{String}} = nothing + authenticated::Union{Nothing, Bool} = nothing + error::Union{Nothing, String} = nothing + user = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1UserInfo } + + function IoK8sApiAuthenticationV1TokenReviewStatus(audiences, authenticated, error, user, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("audiences"), audiences) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("authenticated"), authenticated) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("error"), error) + OpenAPI.validate_property(IoK8sApiAuthenticationV1TokenReviewStatus, Symbol("user"), user) + return new(audiences, authenticated, error, user, ) + end +end # type IoK8sApiAuthenticationV1TokenReviewStatus + +const _property_types_IoK8sApiAuthenticationV1TokenReviewStatus = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("authenticated")=>"Bool", Symbol("error")=>"String", Symbol("user")=>"IoK8sApiAuthenticationV1UserInfo", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1TokenReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1TokenReviewStatus[name]))} + +function check_required(o::IoK8sApiAuthenticationV1TokenReviewStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1TokenReviewStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1UserInfo.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1UserInfo.jl new file mode 100644 index 00000000..07f0bd7d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1UserInfo.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1.UserInfo +UserInfo holds the information about the user needed to implement the user.Info interface. + + IoK8sApiAuthenticationV1UserInfo(; + extra=nothing, + groups=nothing, + uid=nothing, + username=nothing, + ) + + - extra::Dict{String, Vector{String}} : Any additional information provided by the authenticator. + - groups::Vector{String} : The names of groups this user is a part of. + - uid::String : A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. + - username::String : The name that uniquely identifies this user among all active users. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1UserInfo <: OpenAPI.APIModel + extra::Union{Nothing, Dict{String, Vector{String}}} = nothing + groups::Union{Nothing, Vector{String}} = nothing + uid::Union{Nothing, String} = nothing + username::Union{Nothing, String} = nothing + + function IoK8sApiAuthenticationV1UserInfo(extra, groups, uid, username, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("extra"), extra) + OpenAPI.validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("groups"), groups) + OpenAPI.validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("uid"), uid) + OpenAPI.validate_property(IoK8sApiAuthenticationV1UserInfo, Symbol("username"), username) + return new(extra, groups, uid, username, ) + end +end # type IoK8sApiAuthenticationV1UserInfo + +const _property_types_IoK8sApiAuthenticationV1UserInfo = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("uid")=>"String", Symbol("username")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1UserInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1UserInfo[name]))} + +function check_required(o::IoK8sApiAuthenticationV1UserInfo) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1UserInfo }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReview.jl new file mode 100644 index 00000000..b72875bf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1beta1.TokenReview +TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. + + IoK8sApiAuthenticationV1beta1TokenReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthenticationV1beta1TokenReviewSpec + - status::IoK8sApiAuthenticationV1beta1TokenReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1beta1TokenReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1beta1TokenReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1beta1TokenReviewStatus } + + function IoK8sApiAuthenticationV1beta1TokenReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthenticationV1beta1TokenReview + +const _property_types_IoK8sApiAuthenticationV1beta1TokenReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthenticationV1beta1TokenReviewSpec", Symbol("status")=>"IoK8sApiAuthenticationV1beta1TokenReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1beta1TokenReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1TokenReview[name]))} + +function check_required(o::IoK8sApiAuthenticationV1beta1TokenReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1beta1TokenReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl new file mode 100644 index 00000000..f2cbe0ec --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReviewSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1beta1.TokenReviewSpec +TokenReviewSpec is a description of the token authentication request. + + IoK8sApiAuthenticationV1beta1TokenReviewSpec(; + audiences=nothing, + token=nothing, + ) + + - audiences::Vector{String} : Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + - token::String : Token is the opaque bearer token. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1beta1TokenReviewSpec <: OpenAPI.APIModel + audiences::Union{Nothing, Vector{String}} = nothing + token::Union{Nothing, String} = nothing + + function IoK8sApiAuthenticationV1beta1TokenReviewSpec(audiences, token, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReviewSpec, Symbol("audiences"), audiences) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReviewSpec, Symbol("token"), token) + return new(audiences, token, ) + end +end # type IoK8sApiAuthenticationV1beta1TokenReviewSpec + +const _property_types_IoK8sApiAuthenticationV1beta1TokenReviewSpec = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("token")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1TokenReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthenticationV1beta1TokenReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl new file mode 100644 index 00000000..fdcc97bf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1TokenReviewStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1beta1.TokenReviewStatus +TokenReviewStatus is the result of the token authentication request. + + IoK8sApiAuthenticationV1beta1TokenReviewStatus(; + audiences=nothing, + authenticated=nothing, + error=nothing, + user=nothing, + ) + + - audiences::Vector{String} : Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + - authenticated::Bool : Authenticated indicates that the token was associated with a known user. + - error::String : Error indicates that the token couldn't be checked + - user::IoK8sApiAuthenticationV1beta1UserInfo +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1beta1TokenReviewStatus <: OpenAPI.APIModel + audiences::Union{Nothing, Vector{String}} = nothing + authenticated::Union{Nothing, Bool} = nothing + error::Union{Nothing, String} = nothing + user = nothing # spec type: Union{ Nothing, IoK8sApiAuthenticationV1beta1UserInfo } + + function IoK8sApiAuthenticationV1beta1TokenReviewStatus(audiences, authenticated, error, user, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("audiences"), audiences) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("authenticated"), authenticated) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("error"), error) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1TokenReviewStatus, Symbol("user"), user) + return new(audiences, authenticated, error, user, ) + end +end # type IoK8sApiAuthenticationV1beta1TokenReviewStatus + +const _property_types_IoK8sApiAuthenticationV1beta1TokenReviewStatus = Dict{Symbol,String}(Symbol("audiences")=>"Vector{String}", Symbol("authenticated")=>"Bool", Symbol("error")=>"String", Symbol("user")=>"IoK8sApiAuthenticationV1beta1UserInfo", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1TokenReviewStatus[name]))} + +function check_required(o::IoK8sApiAuthenticationV1beta1TokenReviewStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1beta1TokenReviewStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1UserInfo.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1UserInfo.jl new file mode 100644 index 00000000..f9947890 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthenticationV1beta1UserInfo.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authentication.v1beta1.UserInfo +UserInfo holds the information about the user needed to implement the user.Info interface. + + IoK8sApiAuthenticationV1beta1UserInfo(; + extra=nothing, + groups=nothing, + uid=nothing, + username=nothing, + ) + + - extra::Dict{String, Vector{String}} : Any additional information provided by the authenticator. + - groups::Vector{String} : The names of groups this user is a part of. + - uid::String : A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. + - username::String : The name that uniquely identifies this user among all active users. +""" +Base.@kwdef mutable struct IoK8sApiAuthenticationV1beta1UserInfo <: OpenAPI.APIModel + extra::Union{Nothing, Dict{String, Vector{String}}} = nothing + groups::Union{Nothing, Vector{String}} = nothing + uid::Union{Nothing, String} = nothing + username::Union{Nothing, String} = nothing + + function IoK8sApiAuthenticationV1beta1UserInfo(extra, groups, uid, username, ) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("extra"), extra) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("groups"), groups) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("uid"), uid) + OpenAPI.validate_property(IoK8sApiAuthenticationV1beta1UserInfo, Symbol("username"), username) + return new(extra, groups, uid, username, ) + end +end # type IoK8sApiAuthenticationV1beta1UserInfo + +const _property_types_IoK8sApiAuthenticationV1beta1UserInfo = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("uid")=>"String", Symbol("username")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthenticationV1beta1UserInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthenticationV1beta1UserInfo[name]))} + +function check_required(o::IoK8sApiAuthenticationV1beta1UserInfo) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthenticationV1beta1UserInfo }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl new file mode 100644 index 00000000..1f6232ab --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1LocalSubjectAccessReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.LocalSubjectAccessReview +LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. + + IoK8sApiAuthorizationV1LocalSubjectAccessReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1SubjectAccessReviewSpec + - status::IoK8sApiAuthorizationV1SubjectAccessReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1LocalSubjectAccessReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewStatus } + + function IoK8sApiAuthorizationV1LocalSubjectAccessReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1LocalSubjectAccessReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1LocalSubjectAccessReview + +const _property_types_IoK8sApiAuthorizationV1LocalSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectAccessReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1LocalSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1LocalSubjectAccessReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1LocalSubjectAccessReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1LocalSubjectAccessReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl new file mode 100644 index 00000000..8caae159 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1NonResourceAttributes.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.NonResourceAttributes +NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface + + IoK8sApiAuthorizationV1NonResourceAttributes(; + path=nothing, + verb=nothing, + ) + + - path::String : Path is the URL path of the request + - verb::String : Verb is the standard HTTP verb +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1NonResourceAttributes <: OpenAPI.APIModel + path::Union{Nothing, String} = nothing + verb::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1NonResourceAttributes(path, verb, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1NonResourceAttributes, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiAuthorizationV1NonResourceAttributes, Symbol("verb"), verb) + return new(path, verb, ) + end +end # type IoK8sApiAuthorizationV1NonResourceAttributes + +const _property_types_IoK8sApiAuthorizationV1NonResourceAttributes = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("verb")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1NonResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1NonResourceAttributes[name]))} + +function check_required(o::IoK8sApiAuthorizationV1NonResourceAttributes) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1NonResourceAttributes }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1NonResourceRule.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1NonResourceRule.jl new file mode 100644 index 00000000..fe7d062a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1NonResourceRule.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.NonResourceRule +NonResourceRule holds information that describes a rule for the non-resource + + IoK8sApiAuthorizationV1NonResourceRule(; + nonResourceURLs=nothing, + verbs=nothing, + ) + + - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. + - verbs::Vector{String} : Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1NonResourceRule <: OpenAPI.APIModel + nonResourceURLs::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiAuthorizationV1NonResourceRule(nonResourceURLs, verbs, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1NonResourceRule, Symbol("nonResourceURLs"), nonResourceURLs) + OpenAPI.validate_property(IoK8sApiAuthorizationV1NonResourceRule, Symbol("verbs"), verbs) + return new(nonResourceURLs, verbs, ) + end +end # type IoK8sApiAuthorizationV1NonResourceRule + +const _property_types_IoK8sApiAuthorizationV1NonResourceRule = Dict{Symbol,String}(Symbol("nonResourceURLs")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1NonResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1NonResourceRule[name]))} + +function check_required(o::IoK8sApiAuthorizationV1NonResourceRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1NonResourceRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1ResourceAttributes.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1ResourceAttributes.jl new file mode 100644 index 00000000..b1340956 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1ResourceAttributes.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.ResourceAttributes +ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface + + IoK8sApiAuthorizationV1ResourceAttributes(; + group=nothing, + name=nothing, + namespace=nothing, + resource=nothing, + subresource=nothing, + verb=nothing, + version=nothing, + ) + + - group::String : Group is the API Group of the Resource. \"*\" means all. + - name::String : Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. + - namespace::String : Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview + - resource::String : Resource is one of the existing resource types. \"*\" means all. + - subresource::String : Subresource is one of the existing resource types. \"\" means none. + - verb::String : Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. + - version::String : Version is the API Version of the Resource. \"*\" means all. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1ResourceAttributes <: OpenAPI.APIModel + group::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + resource::Union{Nothing, String} = nothing + subresource::Union{Nothing, String} = nothing + verb::Union{Nothing, String} = nothing + version::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1ResourceAttributes(group, name, namespace, resource, subresource, verb, version, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("resource"), resource) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("subresource"), subresource) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("verb"), verb) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceAttributes, Symbol("version"), version) + return new(group, name, namespace, resource, subresource, verb, version, ) + end +end # type IoK8sApiAuthorizationV1ResourceAttributes + +const _property_types_IoK8sApiAuthorizationV1ResourceAttributes = Dict{Symbol,String}(Symbol("group")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resource")=>"String", Symbol("subresource")=>"String", Symbol("verb")=>"String", Symbol("version")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1ResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1ResourceAttributes[name]))} + +function check_required(o::IoK8sApiAuthorizationV1ResourceAttributes) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1ResourceAttributes }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1ResourceRule.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1ResourceRule.jl new file mode 100644 index 00000000..b6c9babf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1ResourceRule.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.ResourceRule +ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + + IoK8sApiAuthorizationV1ResourceRule(; + apiGroups=nothing, + resourceNames=nothing, + resources=nothing, + verbs=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. + - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. + - resources::Vector{String} : Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. + - verbs::Vector{String} : Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1ResourceRule <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + resourceNames::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiAuthorizationV1ResourceRule(apiGroups, resourceNames, resources, verbs, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("resourceNames"), resourceNames) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiAuthorizationV1ResourceRule, Symbol("verbs"), verbs) + return new(apiGroups, resourceNames, resources, verbs, ) + end +end # type IoK8sApiAuthorizationV1ResourceRule + +const _property_types_IoK8sApiAuthorizationV1ResourceRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1ResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1ResourceRule[name]))} + +function check_required(o::IoK8sApiAuthorizationV1ResourceRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1ResourceRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl new file mode 100644 index 00000000..a023e72c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SelfSubjectAccessReview +SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action + + IoK8sApiAuthorizationV1SelfSubjectAccessReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec + - status::IoK8sApiAuthorizationV1SubjectAccessReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SelfSubjectAccessReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewStatus } + + function IoK8sApiAuthorizationV1SelfSubjectAccessReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1SelfSubjectAccessReview + +const _property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectAccessReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SelfSubjectAccessReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl new file mode 100644 index 00000000..37d4cc34 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec +SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set + + IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec(; + nonResourceAttributes=nothing, + resourceAttributes=nothing, + ) + + - nonResourceAttributes::IoK8sApiAuthorizationV1NonResourceAttributes + - resourceAttributes::IoK8sApiAuthorizationV1ResourceAttributes +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec <: OpenAPI.APIModel + nonResourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1NonResourceAttributes } + resourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1ResourceAttributes } + + function IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec(nonResourceAttributes, resourceAttributes, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) + return new(nonResourceAttributes, resourceAttributes, ) + end +end # type IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec + +const _property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1ResourceAttributes", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl new file mode 100644 index 00000000..f1d55133 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SelfSubjectRulesReview +SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. + + IoK8sApiAuthorizationV1SelfSubjectRulesReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec + - status::IoK8sApiAuthorizationV1SubjectRulesReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SelfSubjectRulesReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectRulesReviewStatus } + + function IoK8sApiAuthorizationV1SelfSubjectRulesReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1SelfSubjectRulesReview + +const _property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectRulesReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SelfSubjectRulesReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl new file mode 100644 index 00000000..0dec4d68 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec.jl @@ -0,0 +1,30 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec + + IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec(; + namespace=nothing, + ) + + - namespace::String : Namespace to evaluate rules for. Required. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec <: OpenAPI.APIModel + namespace::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec(namespace, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec, Symbol("namespace"), namespace) + return new(namespace, ) + end +end # type IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec + +const _property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec = Dict{Symbol,String}(Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl new file mode 100644 index 00000000..93c6a131 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SubjectAccessReview +SubjectAccessReview checks whether or not a user or group can perform an action. + + IoK8sApiAuthorizationV1SubjectAccessReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1SubjectAccessReviewSpec + - status::IoK8sApiAuthorizationV1SubjectAccessReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SubjectAccessReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1SubjectAccessReviewStatus } + + function IoK8sApiAuthorizationV1SubjectAccessReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1SubjectAccessReview + +const _property_types_IoK8sApiAuthorizationV1SubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1SubjectAccessReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectAccessReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SubjectAccessReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SubjectAccessReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl new file mode 100644 index 00000000..f4a1e428 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReviewSpec.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SubjectAccessReviewSpec +SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set + + IoK8sApiAuthorizationV1SubjectAccessReviewSpec(; + extra=nothing, + groups=nothing, + nonResourceAttributes=nothing, + resourceAttributes=nothing, + uid=nothing, + user=nothing, + ) + + - extra::Dict{String, Vector{String}} : Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. + - groups::Vector{String} : Groups is the groups you're testing for. + - nonResourceAttributes::IoK8sApiAuthorizationV1NonResourceAttributes + - resourceAttributes::IoK8sApiAuthorizationV1ResourceAttributes + - uid::String : UID information about the requesting user. + - user::String : User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SubjectAccessReviewSpec <: OpenAPI.APIModel + extra::Union{Nothing, Dict{String, Vector{String}}} = nothing + groups::Union{Nothing, Vector{String}} = nothing + nonResourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1NonResourceAttributes } + resourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1ResourceAttributes } + uid::Union{Nothing, String} = nothing + user::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1SubjectAccessReviewSpec(extra, groups, nonResourceAttributes, resourceAttributes, uid, user, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("extra"), extra) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("groups"), groups) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("uid"), uid) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewSpec, Symbol("user"), user) + return new(extra, groups, nonResourceAttributes, resourceAttributes, uid, user, ) + end +end # type IoK8sApiAuthorizationV1SubjectAccessReviewSpec + +const _property_types_IoK8sApiAuthorizationV1SubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1ResourceAttributes", Symbol("uid")=>"String", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectAccessReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SubjectAccessReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl new file mode 100644 index 00000000..565e39f1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectAccessReviewStatus.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SubjectAccessReviewStatus +SubjectAccessReviewStatus + + IoK8sApiAuthorizationV1SubjectAccessReviewStatus(; + allowed=nothing, + denied=nothing, + evaluationError=nothing, + reason=nothing, + ) + + - allowed::Bool : Allowed is required. True if the action would be allowed, false otherwise. + - denied::Bool : Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. + - evaluationError::String : EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. + - reason::String : Reason is optional. It indicates why a request was allowed or denied. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SubjectAccessReviewStatus <: OpenAPI.APIModel + allowed::Union{Nothing, Bool} = nothing + denied::Union{Nothing, Bool} = nothing + evaluationError::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1SubjectAccessReviewStatus(allowed, denied, evaluationError, reason, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("allowed"), allowed) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("denied"), denied) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("evaluationError"), evaluationError) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectAccessReviewStatus, Symbol("reason"), reason) + return new(allowed, denied, evaluationError, reason, ) + end +end # type IoK8sApiAuthorizationV1SubjectAccessReviewStatus + +const _property_types_IoK8sApiAuthorizationV1SubjectAccessReviewStatus = Dict{Symbol,String}(Symbol("allowed")=>"Bool", Symbol("denied")=>"Bool", Symbol("evaluationError")=>"String", Symbol("reason")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectAccessReviewStatus[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SubjectAccessReviewStatus) + o.allowed === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SubjectAccessReviewStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl new file mode 100644 index 00000000..7db1b8e2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1SubjectRulesReviewStatus.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1.SubjectRulesReviewStatus +SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. + + IoK8sApiAuthorizationV1SubjectRulesReviewStatus(; + evaluationError=nothing, + incomplete=nothing, + nonResourceRules=nothing, + resourceRules=nothing, + ) + + - evaluationError::String : EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. + - incomplete::Bool : Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. + - nonResourceRules::Vector{IoK8sApiAuthorizationV1NonResourceRule} : NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + - resourceRules::Vector{IoK8sApiAuthorizationV1ResourceRule} : ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1SubjectRulesReviewStatus <: OpenAPI.APIModel + evaluationError::Union{Nothing, String} = nothing + incomplete::Union{Nothing, Bool} = nothing + nonResourceRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1NonResourceRule} } + resourceRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1ResourceRule} } + + function IoK8sApiAuthorizationV1SubjectRulesReviewStatus(evaluationError, incomplete, nonResourceRules, resourceRules, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("evaluationError"), evaluationError) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("incomplete"), incomplete) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("nonResourceRules"), nonResourceRules) + OpenAPI.validate_property(IoK8sApiAuthorizationV1SubjectRulesReviewStatus, Symbol("resourceRules"), resourceRules) + return new(evaluationError, incomplete, nonResourceRules, resourceRules, ) + end +end # type IoK8sApiAuthorizationV1SubjectRulesReviewStatus + +const _property_types_IoK8sApiAuthorizationV1SubjectRulesReviewStatus = Dict{Symbol,String}(Symbol("evaluationError")=>"String", Symbol("incomplete")=>"Bool", Symbol("nonResourceRules")=>"Vector{IoK8sApiAuthorizationV1NonResourceRule}", Symbol("resourceRules")=>"Vector{IoK8sApiAuthorizationV1ResourceRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1SubjectRulesReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1SubjectRulesReviewStatus[name]))} + +function check_required(o::IoK8sApiAuthorizationV1SubjectRulesReviewStatus) + o.incomplete === nothing && (return false) + o.nonResourceRules === nothing && (return false) + o.resourceRules === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1SubjectRulesReviewStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl new file mode 100644 index 00000000..1caf218b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview +LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. + + IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec + - status::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus } + + function IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview + +const _property_types_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl new file mode 100644 index 00000000..c5b42f1b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1NonResourceAttributes.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.NonResourceAttributes +NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface + + IoK8sApiAuthorizationV1beta1NonResourceAttributes(; + path=nothing, + verb=nothing, + ) + + - path::String : Path is the URL path of the request + - verb::String : Verb is the standard HTTP verb +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1NonResourceAttributes <: OpenAPI.APIModel + path::Union{Nothing, String} = nothing + verb::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1beta1NonResourceAttributes(path, verb, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1NonResourceAttributes, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1NonResourceAttributes, Symbol("verb"), verb) + return new(path, verb, ) + end +end # type IoK8sApiAuthorizationV1beta1NonResourceAttributes + +const _property_types_IoK8sApiAuthorizationV1beta1NonResourceAttributes = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("verb")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1NonResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1NonResourceAttributes[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1NonResourceAttributes) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1NonResourceAttributes }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl new file mode 100644 index 00000000..1dcb416b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1NonResourceRule.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.NonResourceRule +NonResourceRule holds information that describes a rule for the non-resource + + IoK8sApiAuthorizationV1beta1NonResourceRule(; + nonResourceURLs=nothing, + verbs=nothing, + ) + + - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. + - verbs::Vector{String} : Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1NonResourceRule <: OpenAPI.APIModel + nonResourceURLs::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiAuthorizationV1beta1NonResourceRule(nonResourceURLs, verbs, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1NonResourceRule, Symbol("nonResourceURLs"), nonResourceURLs) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1NonResourceRule, Symbol("verbs"), verbs) + return new(nonResourceURLs, verbs, ) + end +end # type IoK8sApiAuthorizationV1beta1NonResourceRule + +const _property_types_IoK8sApiAuthorizationV1beta1NonResourceRule = Dict{Symbol,String}(Symbol("nonResourceURLs")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1NonResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1NonResourceRule[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1NonResourceRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1NonResourceRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl new file mode 100644 index 00000000..be7e3af8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1ResourceAttributes.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.ResourceAttributes +ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface + + IoK8sApiAuthorizationV1beta1ResourceAttributes(; + group=nothing, + name=nothing, + namespace=nothing, + resource=nothing, + subresource=nothing, + verb=nothing, + version=nothing, + ) + + - group::String : Group is the API Group of the Resource. \"*\" means all. + - name::String : Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. + - namespace::String : Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview + - resource::String : Resource is one of the existing resource types. \"*\" means all. + - subresource::String : Subresource is one of the existing resource types. \"\" means none. + - verb::String : Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. + - version::String : Version is the API Version of the Resource. \"*\" means all. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1ResourceAttributes <: OpenAPI.APIModel + group::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + resource::Union{Nothing, String} = nothing + subresource::Union{Nothing, String} = nothing + verb::Union{Nothing, String} = nothing + version::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1beta1ResourceAttributes(group, name, namespace, resource, subresource, verb, version, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("resource"), resource) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("subresource"), subresource) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("verb"), verb) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceAttributes, Symbol("version"), version) + return new(group, name, namespace, resource, subresource, verb, version, ) + end +end # type IoK8sApiAuthorizationV1beta1ResourceAttributes + +const _property_types_IoK8sApiAuthorizationV1beta1ResourceAttributes = Dict{Symbol,String}(Symbol("group")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resource")=>"String", Symbol("subresource")=>"String", Symbol("verb")=>"String", Symbol("version")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1ResourceAttributes }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1ResourceAttributes[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1ResourceAttributes) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1ResourceAttributes }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl new file mode 100644 index 00000000..e6b75493 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1ResourceRule.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.ResourceRule +ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + + IoK8sApiAuthorizationV1beta1ResourceRule(; + apiGroups=nothing, + resourceNames=nothing, + resources=nothing, + verbs=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. + - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. + - resources::Vector{String} : Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. + - verbs::Vector{String} : Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1ResourceRule <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + resourceNames::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiAuthorizationV1beta1ResourceRule(apiGroups, resourceNames, resources, verbs, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("resourceNames"), resourceNames) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1ResourceRule, Symbol("verbs"), verbs) + return new(apiGroups, resourceNames, resources, verbs, ) + end +end # type IoK8sApiAuthorizationV1beta1ResourceRule + +const _property_types_IoK8sApiAuthorizationV1beta1ResourceRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1ResourceRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1ResourceRule[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1ResourceRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1ResourceRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl new file mode 100644 index 00000000..2d34286e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview +SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action + + IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec + - status::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus } + + function IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview + +const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl new file mode 100644 index 00000000..00f49f74 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec +SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set + + IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec(; + nonResourceAttributes=nothing, + resourceAttributes=nothing, + ) + + - nonResourceAttributes::IoK8sApiAuthorizationV1beta1NonResourceAttributes + - resourceAttributes::IoK8sApiAuthorizationV1beta1ResourceAttributes +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec <: OpenAPI.APIModel + nonResourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1NonResourceAttributes } + resourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1ResourceAttributes } + + function IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec(nonResourceAttributes, resourceAttributes, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) + return new(nonResourceAttributes, resourceAttributes, ) + end +end # type IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec + +const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1beta1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1beta1ResourceAttributes", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl new file mode 100644 index 00000000..ac65d000 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview +SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. + + IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec + - status::IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus } + + function IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview + +const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl new file mode 100644 index 00000000..1b3d5f48 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec.jl @@ -0,0 +1,30 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec + + IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec(; + namespace=nothing, + ) + + - namespace::String : Namespace to evaluate rules for. Required. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec <: OpenAPI.APIModel + namespace::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec(namespace, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec, Symbol("namespace"), namespace) + return new(namespace, ) + end +end # type IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec + +const _property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec = Dict{Symbol,String}(Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl new file mode 100644 index 00000000..6e23da95 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReview.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SubjectAccessReview +SubjectAccessReview checks whether or not a user or group can perform an action. + + IoK8sApiAuthorizationV1beta1SubjectAccessReview(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec + - status::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SubjectAccessReview <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus } + + function IoK8sApiAuthorizationV1beta1SubjectAccessReview(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReview, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAuthorizationV1beta1SubjectAccessReview + +const _property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReview = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec", Symbol("status")=>"IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReview }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReview[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SubjectAccessReview) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReview }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl new file mode 100644 index 00000000..18c90ec0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec +SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set + + IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec(; + extra=nothing, + group=nothing, + nonResourceAttributes=nothing, + resourceAttributes=nothing, + uid=nothing, + user=nothing, + ) + + - extra::Dict{String, Vector{String}} : Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. + - group::Vector{String} : Groups is the groups you're testing for. + - nonResourceAttributes::IoK8sApiAuthorizationV1beta1NonResourceAttributes + - resourceAttributes::IoK8sApiAuthorizationV1beta1ResourceAttributes + - uid::String : UID information about the requesting user. + - user::String : User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec <: OpenAPI.APIModel + extra::Union{Nothing, Dict{String, Vector{String}}} = nothing + group::Union{Nothing, Vector{String}} = nothing + nonResourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1NonResourceAttributes } + resourceAttributes = nothing # spec type: Union{ Nothing, IoK8sApiAuthorizationV1beta1ResourceAttributes } + uid::Union{Nothing, String} = nothing + user::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec(extra, group, nonResourceAttributes, resourceAttributes, uid, user, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("extra"), extra) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("nonResourceAttributes"), nonResourceAttributes) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("resourceAttributes"), resourceAttributes) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("uid"), uid) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec, Symbol("user"), user) + return new(extra, group, nonResourceAttributes, resourceAttributes, uid, user, ) + end +end # type IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec + +const _property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("group")=>"Vector{String}", Symbol("nonResourceAttributes")=>"IoK8sApiAuthorizationV1beta1NonResourceAttributes", Symbol("resourceAttributes")=>"IoK8sApiAuthorizationV1beta1ResourceAttributes", Symbol("uid")=>"String", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl new file mode 100644 index 00000000..a349c493 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus +SubjectAccessReviewStatus + + IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus(; + allowed=nothing, + denied=nothing, + evaluationError=nothing, + reason=nothing, + ) + + - allowed::Bool : Allowed is required. True if the action would be allowed, false otherwise. + - denied::Bool : Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. + - evaluationError::String : EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. + - reason::String : Reason is optional. It indicates why a request was allowed or denied. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus <: OpenAPI.APIModel + allowed::Union{Nothing, Bool} = nothing + denied::Union{Nothing, Bool} = nothing + evaluationError::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + + function IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus(allowed, denied, evaluationError, reason, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("allowed"), allowed) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("denied"), denied) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("evaluationError"), evaluationError) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus, Symbol("reason"), reason) + return new(allowed, denied, evaluationError, reason, ) + end +end # type IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus + +const _property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus = Dict{Symbol,String}(Symbol("allowed")=>"Bool", Symbol("denied")=>"Bool", Symbol("evaluationError")=>"String", Symbol("reason")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus) + o.allowed === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl new file mode 100644 index 00000000..7e77f79d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus +SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. + + IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus(; + evaluationError=nothing, + incomplete=nothing, + nonResourceRules=nothing, + resourceRules=nothing, + ) + + - evaluationError::String : EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. + - incomplete::Bool : Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. + - nonResourceRules::Vector{IoK8sApiAuthorizationV1beta1NonResourceRule} : NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + - resourceRules::Vector{IoK8sApiAuthorizationV1beta1ResourceRule} : ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. +""" +Base.@kwdef mutable struct IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus <: OpenAPI.APIModel + evaluationError::Union{Nothing, String} = nothing + incomplete::Union{Nothing, Bool} = nothing + nonResourceRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1beta1NonResourceRule} } + resourceRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAuthorizationV1beta1ResourceRule} } + + function IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus(evaluationError, incomplete, nonResourceRules, resourceRules, ) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("evaluationError"), evaluationError) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("incomplete"), incomplete) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("nonResourceRules"), nonResourceRules) + OpenAPI.validate_property(IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus, Symbol("resourceRules"), resourceRules) + return new(evaluationError, incomplete, nonResourceRules, resourceRules, ) + end +end # type IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus + +const _property_types_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus = Dict{Symbol,String}(Symbol("evaluationError")=>"String", Symbol("incomplete")=>"Bool", Symbol("nonResourceRules")=>"Vector{IoK8sApiAuthorizationV1beta1NonResourceRule}", Symbol("resourceRules")=>"Vector{IoK8sApiAuthorizationV1beta1ResourceRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus[name]))} + +function check_required(o::IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus) + o.incomplete === nothing && (return false) + o.nonResourceRules === nothing && (return false) + o.resourceRules === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl new file mode 100644 index 00000000..ec9eadc2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1CrossVersionObjectReference.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.CrossVersionObjectReference +CrossVersionObjectReference contains enough information to let you identify the referred resource. + + IoK8sApiAutoscalingV1CrossVersionObjectReference(; + apiVersion=nothing, + kind=nothing, + name=nothing, + ) + + - apiVersion::String : API version of the referent + - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" + - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1CrossVersionObjectReference <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV1CrossVersionObjectReference(apiVersion, kind, name, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1CrossVersionObjectReference, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV1CrossVersionObjectReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV1CrossVersionObjectReference, Symbol("name"), name) + return new(apiVersion, kind, name, ) + end +end # type IoK8sApiAutoscalingV1CrossVersionObjectReference + +const _property_types_IoK8sApiAutoscalingV1CrossVersionObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1CrossVersionObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1CrossVersionObjectReference[name]))} + +function check_required(o::IoK8sApiAutoscalingV1CrossVersionObjectReference) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1CrossVersionObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl new file mode 100644 index 00000000..2b484628 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscaler.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler +configuration of a horizontal pod autoscaler. + + IoK8sApiAutoscalingV1HorizontalPodAutoscaler(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec + - status::IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscaler <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus } + + function IoK8sApiAutoscalingV1HorizontalPodAutoscaler(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscaler, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAutoscalingV1HorizontalPodAutoscaler + +const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscaler = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec", Symbol("status")=>"IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscaler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscaler[name]))} + +function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscaler) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscaler }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl new file mode 100644 index 00000000..acb63c21 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList +list of horizontal pod autoscaler objects. + + IoK8sApiAutoscalingV1HorizontalPodAutoscalerList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAutoscalingV1HorizontalPodAutoscaler} : list of horizontal pod autoscaler objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscalerList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV1HorizontalPodAutoscaler} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAutoscalingV1HorizontalPodAutoscalerList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAutoscalingV1HorizontalPodAutoscalerList + +const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAutoscalingV1HorizontalPodAutoscaler}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerList[name]))} + +function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscalerList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl new file mode 100644 index 00000000..f40a5164 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec +specification of a horizontal pod autoscaler. + + IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec(; + maxReplicas=nothing, + minReplicas=nothing, + scaleTargetRef=nothing, + targetCPUUtilizationPercentage=nothing, + ) + + - maxReplicas::Int64 : upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. + - minReplicas::Int64 : minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. + - scaleTargetRef::IoK8sApiAutoscalingV1CrossVersionObjectReference + - targetCPUUtilizationPercentage::Int64 : target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec <: OpenAPI.APIModel + maxReplicas::Union{Nothing, Int64} = nothing + minReplicas::Union{Nothing, Int64} = nothing + scaleTargetRef = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV1CrossVersionObjectReference } + targetCPUUtilizationPercentage::Union{Nothing, Int64} = nothing + + function IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec(maxReplicas, minReplicas, scaleTargetRef, targetCPUUtilizationPercentage, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("maxReplicas"), maxReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("minReplicas"), minReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("scaleTargetRef"), scaleTargetRef) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec, Symbol("targetCPUUtilizationPercentage"), targetCPUUtilizationPercentage) + return new(maxReplicas, minReplicas, scaleTargetRef, targetCPUUtilizationPercentage, ) + end +end # type IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec + +const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec = Dict{Symbol,String}(Symbol("maxReplicas")=>"Int64", Symbol("minReplicas")=>"Int64", Symbol("scaleTargetRef")=>"IoK8sApiAutoscalingV1CrossVersionObjectReference", Symbol("targetCPUUtilizationPercentage")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec[name]))} + +function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec) + o.maxReplicas === nothing && (return false) + o.scaleTargetRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec }, name::Symbol, val) + if name === Symbol("maxReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec", :format, val, "int32") + end + if name === Symbol("minReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec", :format, val, "int32") + end + if name === Symbol("targetCPUUtilizationPercentage") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl new file mode 100644 index 00000000..64a096ba --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus.jl @@ -0,0 +1,64 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus +current status of a horizontal pod autoscaler + + IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus(; + currentCPUUtilizationPercentage=nothing, + currentReplicas=nothing, + desiredReplicas=nothing, + lastScaleTime=nothing, + observedGeneration=nothing, + ) + + - currentCPUUtilizationPercentage::Int64 : current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. + - currentReplicas::Int64 : current number of replicas of pods managed by this autoscaler. + - desiredReplicas::Int64 : desired number of replicas of pods managed by this autoscaler. + - lastScaleTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - observedGeneration::Int64 : most recent generation observed by this autoscaler. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus <: OpenAPI.APIModel + currentCPUUtilizationPercentage::Union{Nothing, Int64} = nothing + currentReplicas::Union{Nothing, Int64} = nothing + desiredReplicas::Union{Nothing, Int64} = nothing + lastScaleTime::Union{Nothing, ZonedDateTime} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + + function IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus(currentCPUUtilizationPercentage, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("currentCPUUtilizationPercentage"), currentCPUUtilizationPercentage) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("currentReplicas"), currentReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("desiredReplicas"), desiredReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("lastScaleTime"), lastScaleTime) + OpenAPI.validate_property(IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus, Symbol("observedGeneration"), observedGeneration) + return new(currentCPUUtilizationPercentage, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration, ) + end +end # type IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus + +const _property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus = Dict{Symbol,String}(Symbol("currentCPUUtilizationPercentage")=>"Int64", Symbol("currentReplicas")=>"Int64", Symbol("desiredReplicas")=>"Int64", Symbol("lastScaleTime")=>"ZonedDateTime", Symbol("observedGeneration")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus) + o.currentReplicas === nothing && (return false) + o.desiredReplicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus }, name::Symbol, val) + if name === Symbol("currentCPUUtilizationPercentage") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("currentReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("desiredReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("lastScaleTime") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus", :format, val, "date-time") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1Scale.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1Scale.jl new file mode 100644 index 00000000..4eb5d5fb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1Scale.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.Scale +Scale represents a scaling request for a resource. + + IoK8sApiAutoscalingV1Scale(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAutoscalingV1ScaleSpec + - status::IoK8sApiAutoscalingV1ScaleStatus +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1Scale <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV1ScaleSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV1ScaleStatus } + + function IoK8sApiAutoscalingV1Scale(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1Scale, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV1Scale, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV1Scale, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAutoscalingV1Scale, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAutoscalingV1Scale, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAutoscalingV1Scale + +const _property_types_IoK8sApiAutoscalingV1Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV1ScaleSpec", Symbol("status")=>"IoK8sApiAutoscalingV1ScaleStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1Scale[name]))} + +function check_required(o::IoK8sApiAutoscalingV1Scale) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1Scale }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1ScaleSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1ScaleSpec.jl new file mode 100644 index 00000000..e85842aa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1ScaleSpec.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.ScaleSpec +ScaleSpec describes the attributes of a scale subresource. + + IoK8sApiAutoscalingV1ScaleSpec(; + replicas=nothing, + ) + + - replicas::Int64 : desired number of instances for the scaled object. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1ScaleSpec <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiAutoscalingV1ScaleSpec(replicas, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1ScaleSpec, Symbol("replicas"), replicas) + return new(replicas, ) + end +end # type IoK8sApiAutoscalingV1ScaleSpec + +const _property_types_IoK8sApiAutoscalingV1ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1ScaleSpec[name]))} + +function check_required(o::IoK8sApiAutoscalingV1ScaleSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1ScaleSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1ScaleSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1ScaleStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1ScaleStatus.jl new file mode 100644 index 00000000..d1e65890 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV1ScaleStatus.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v1.ScaleStatus +ScaleStatus represents the current status of a scale subresource. + + IoK8sApiAutoscalingV1ScaleStatus(; + replicas=nothing, + selector=nothing, + ) + + - replicas::Int64 : actual number of observed instances of the scaled object. + - selector::String : label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV1ScaleStatus <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + selector::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV1ScaleStatus(replicas, selector, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV1ScaleStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV1ScaleStatus, Symbol("selector"), selector) + return new(replicas, selector, ) + end +end # type IoK8sApiAutoscalingV1ScaleStatus + +const _property_types_IoK8sApiAutoscalingV1ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int64", Symbol("selector")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV1ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV1ScaleStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV1ScaleStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV1ScaleStatus }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV1ScaleStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl new file mode 100644 index 00000000..a256c790 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference +CrossVersionObjectReference contains enough information to let you identify the referred resource. + + IoK8sApiAutoscalingV2beta1CrossVersionObjectReference(; + apiVersion=nothing, + kind=nothing, + name=nothing, + ) + + - apiVersion::String : API version of the referent + - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" + - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1CrossVersionObjectReference <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1CrossVersionObjectReference(apiVersion, kind, name, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1CrossVersionObjectReference, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1CrossVersionObjectReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1CrossVersionObjectReference, Symbol("name"), name) + return new(apiVersion, kind, name, ) + end +end # type IoK8sApiAutoscalingV2beta1CrossVersionObjectReference + +const _property_types_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1CrossVersionObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1CrossVersionObjectReference[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1CrossVersionObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl new file mode 100644 index 00000000..57050015 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ExternalMetricSource.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.ExternalMetricSource +ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set. + + IoK8sApiAutoscalingV2beta1ExternalMetricSource(; + metricName=nothing, + metricSelector=nothing, + targetAverageValue=nothing, + targetValue=nothing, + ) + + - metricName::String : metricName is the name of the metric in question. + - metricSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - targetAverageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - targetValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1ExternalMetricSource <: OpenAPI.APIModel + metricName::Union{Nothing, String} = nothing + metricSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + targetAverageValue::Union{Nothing, String} = nothing + targetValue::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1ExternalMetricSource(metricName, metricSelector, targetAverageValue, targetValue, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("metricSelector"), metricSelector) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("targetAverageValue"), targetAverageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricSource, Symbol("targetValue"), targetValue) + return new(metricName, metricSelector, targetAverageValue, targetValue, ) + end +end # type IoK8sApiAutoscalingV2beta1ExternalMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta1ExternalMetricSource = Dict{Symbol,String}(Symbol("metricName")=>"String", Symbol("metricSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("targetAverageValue")=>"String", Symbol("targetValue")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ExternalMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1ExternalMetricSource) + o.metricName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl new file mode 100644 index 00000000..84ac1c51 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ExternalMetricStatus.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus +ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. + + IoK8sApiAutoscalingV2beta1ExternalMetricStatus(; + currentAverageValue=nothing, + currentValue=nothing, + metricName=nothing, + metricSelector=nothing, + ) + + - currentAverageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - currentValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - metricName::String : metricName is the name of a metric used for autoscaling in metric system. + - metricSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1ExternalMetricStatus <: OpenAPI.APIModel + currentAverageValue::Union{Nothing, String} = nothing + currentValue::Union{Nothing, String} = nothing + metricName::Union{Nothing, String} = nothing + metricSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + + function IoK8sApiAutoscalingV2beta1ExternalMetricStatus(currentAverageValue, currentValue, metricName, metricSelector, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("currentAverageValue"), currentAverageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("currentValue"), currentValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ExternalMetricStatus, Symbol("metricSelector"), metricSelector) + return new(currentAverageValue, currentValue, metricName, metricSelector, ) + end +end # type IoK8sApiAutoscalingV2beta1ExternalMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta1ExternalMetricStatus = Dict{Symbol,String}(Symbol("currentAverageValue")=>"String", Symbol("currentValue")=>"String", Symbol("metricName")=>"String", Symbol("metricSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ExternalMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1ExternalMetricStatus) + o.currentValue === nothing && (return false) + o.metricName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1ExternalMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl new file mode 100644 index 00000000..02d55bb2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler +HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. + + IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec + - status::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus } + + function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler + +const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec", Symbol("status")=>"IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl new file mode 100644 index 00000000..56637a8b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition +HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. + + IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : message is a human-readable explanation containing details about the transition + - reason::String : reason is the reason for the condition's last transition. + - status::String : status is the status of the condition (True, False, Unknown) + - type::String : type describes the current condition +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition + +const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl new file mode 100644 index 00000000..29b054b2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList +HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects. + + IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler} : items is the list of horizontal pod autoscaler objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList + +const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl new file mode 100644 index 00000000..c3dbae29 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec +HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. + + IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec(; + maxReplicas=nothing, + metrics=nothing, + minReplicas=nothing, + scaleTargetRef=nothing, + ) + + - maxReplicas::Int64 : maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. + - metrics::Vector{IoK8sApiAutoscalingV2beta1MetricSpec} : metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. + - minReplicas::Int64 : minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. + - scaleTargetRef::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec <: OpenAPI.APIModel + maxReplicas::Union{Nothing, Int64} = nothing + metrics::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1MetricSpec} } + minReplicas::Union{Nothing, Int64} = nothing + scaleTargetRef = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference } + + function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec(maxReplicas, metrics, minReplicas, scaleTargetRef, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("maxReplicas"), maxReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("metrics"), metrics) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("minReplicas"), minReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec, Symbol("scaleTargetRef"), scaleTargetRef) + return new(maxReplicas, metrics, minReplicas, scaleTargetRef, ) + end +end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec + +const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec = Dict{Symbol,String}(Symbol("maxReplicas")=>"Int64", Symbol("metrics")=>"Vector{IoK8sApiAutoscalingV2beta1MetricSpec}", Symbol("minReplicas")=>"Int64", Symbol("scaleTargetRef")=>"IoK8sApiAutoscalingV2beta1CrossVersionObjectReference", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec) + o.maxReplicas === nothing && (return false) + o.scaleTargetRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec }, name::Symbol, val) + if name === Symbol("maxReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec", :format, val, "int32") + end + if name === Symbol("minReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl new file mode 100644 index 00000000..d05a0e40 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus +HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. + + IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus(; + conditions=nothing, + currentMetrics=nothing, + currentReplicas=nothing, + desiredReplicas=nothing, + lastScaleTime=nothing, + observedGeneration=nothing, + ) + + - conditions::Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition} : conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. + - currentMetrics::Vector{IoK8sApiAutoscalingV2beta1MetricStatus} : currentMetrics is the last read state of the metrics used by this autoscaler. + - currentReplicas::Int64 : currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. + - desiredReplicas::Int64 : desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. + - lastScaleTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - observedGeneration::Int64 : observedGeneration is the most recent generation observed by this autoscaler. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition} } + currentMetrics::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta1MetricStatus} } + currentReplicas::Union{Nothing, Int64} = nothing + desiredReplicas::Union{Nothing, Int64} = nothing + lastScaleTime::Union{Nothing, ZonedDateTime} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + + function IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus(conditions, currentMetrics, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("currentMetrics"), currentMetrics) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("currentReplicas"), currentReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("desiredReplicas"), desiredReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("lastScaleTime"), lastScaleTime) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus, Symbol("observedGeneration"), observedGeneration) + return new(conditions, currentMetrics, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration, ) + end +end # type IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus + +const _property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition}", Symbol("currentMetrics")=>"Vector{IoK8sApiAutoscalingV2beta1MetricStatus}", Symbol("currentReplicas")=>"Int64", Symbol("desiredReplicas")=>"Int64", Symbol("lastScaleTime")=>"ZonedDateTime", Symbol("observedGeneration")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus) + o.conditions === nothing && (return false) + o.currentReplicas === nothing && (return false) + o.desiredReplicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus }, name::Symbol, val) + if name === Symbol("currentReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("desiredReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("lastScaleTime") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus", :format, val, "date-time") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl new file mode 100644 index 00000000..90d828bb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1MetricSpec.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.MetricSpec +MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). + + IoK8sApiAutoscalingV2beta1MetricSpec(; + external=nothing, + object=nothing, + pods=nothing, + resource=nothing, + type=nothing, + ) + + - external::IoK8sApiAutoscalingV2beta1ExternalMetricSource + - object::IoK8sApiAutoscalingV2beta1ObjectMetricSource + - pods::IoK8sApiAutoscalingV2beta1PodsMetricSource + - resource::IoK8sApiAutoscalingV2beta1ResourceMetricSource + - type::String : type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1MetricSpec <: OpenAPI.APIModel + external = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ExternalMetricSource } + object = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ObjectMetricSource } + pods = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1PodsMetricSource } + resource = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ResourceMetricSource } + type::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1MetricSpec(external, object, pods, resource, type, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("external"), external) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("object"), object) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("pods"), pods) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("resource"), resource) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricSpec, Symbol("type"), type) + return new(external, object, pods, resource, type, ) + end +end # type IoK8sApiAutoscalingV2beta1MetricSpec + +const _property_types_IoK8sApiAutoscalingV2beta1MetricSpec = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta1ExternalMetricSource", Symbol("object")=>"IoK8sApiAutoscalingV2beta1ObjectMetricSource", Symbol("pods")=>"IoK8sApiAutoscalingV2beta1PodsMetricSource", Symbol("resource")=>"IoK8sApiAutoscalingV2beta1ResourceMetricSource", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1MetricSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1MetricSpec[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1MetricSpec) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1MetricSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl new file mode 100644 index 00000000..ad376465 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1MetricStatus.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.MetricStatus +MetricStatus describes the last-read state of a single metric. + + IoK8sApiAutoscalingV2beta1MetricStatus(; + external=nothing, + object=nothing, + pods=nothing, + resource=nothing, + type=nothing, + ) + + - external::IoK8sApiAutoscalingV2beta1ExternalMetricStatus + - object::IoK8sApiAutoscalingV2beta1ObjectMetricStatus + - pods::IoK8sApiAutoscalingV2beta1PodsMetricStatus + - resource::IoK8sApiAutoscalingV2beta1ResourceMetricStatus + - type::String : type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1MetricStatus <: OpenAPI.APIModel + external = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ExternalMetricStatus } + object = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ObjectMetricStatus } + pods = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1PodsMetricStatus } + resource = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1ResourceMetricStatus } + type::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1MetricStatus(external, object, pods, resource, type, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("external"), external) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("object"), object) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("pods"), pods) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("resource"), resource) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1MetricStatus, Symbol("type"), type) + return new(external, object, pods, resource, type, ) + end +end # type IoK8sApiAutoscalingV2beta1MetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta1MetricStatus = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta1ExternalMetricStatus", Symbol("object")=>"IoK8sApiAutoscalingV2beta1ObjectMetricStatus", Symbol("pods")=>"IoK8sApiAutoscalingV2beta1PodsMetricStatus", Symbol("resource")=>"IoK8sApiAutoscalingV2beta1ResourceMetricStatus", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1MetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1MetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1MetricStatus) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1MetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl new file mode 100644 index 00000000..fdbcda75 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ObjectMetricSource.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.ObjectMetricSource +ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). + + IoK8sApiAutoscalingV2beta1ObjectMetricSource(; + averageValue=nothing, + metricName=nothing, + selector=nothing, + target=nothing, + targetValue=nothing, + ) + + - averageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - metricName::String : metricName is the name of the metric in question. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - target::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference + - targetValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1ObjectMetricSource <: OpenAPI.APIModel + averageValue::Union{Nothing, String} = nothing + metricName::Union{Nothing, String} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + target = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference } + targetValue::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1ObjectMetricSource(averageValue, metricName, selector, target, targetValue, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("averageValue"), averageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("target"), target) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricSource, Symbol("targetValue"), targetValue) + return new(averageValue, metricName, selector, target, targetValue, ) + end +end # type IoK8sApiAutoscalingV2beta1ObjectMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta1ObjectMetricSource = Dict{Symbol,String}(Symbol("averageValue")=>"String", Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("target")=>"IoK8sApiAutoscalingV2beta1CrossVersionObjectReference", Symbol("targetValue")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ObjectMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1ObjectMetricSource) + o.metricName === nothing && (return false) + o.target === nothing && (return false) + o.targetValue === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl new file mode 100644 index 00000000..db57ed4c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ObjectMetricStatus.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus +ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). + + IoK8sApiAutoscalingV2beta1ObjectMetricStatus(; + averageValue=nothing, + currentValue=nothing, + metricName=nothing, + selector=nothing, + target=nothing, + ) + + - averageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - currentValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - metricName::String : metricName is the name of the metric in question. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - target::IoK8sApiAutoscalingV2beta1CrossVersionObjectReference +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1ObjectMetricStatus <: OpenAPI.APIModel + averageValue::Union{Nothing, String} = nothing + currentValue::Union{Nothing, String} = nothing + metricName::Union{Nothing, String} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + target = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta1CrossVersionObjectReference } + + function IoK8sApiAutoscalingV2beta1ObjectMetricStatus(averageValue, currentValue, metricName, selector, target, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("averageValue"), averageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("currentValue"), currentValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ObjectMetricStatus, Symbol("target"), target) + return new(averageValue, currentValue, metricName, selector, target, ) + end +end # type IoK8sApiAutoscalingV2beta1ObjectMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta1ObjectMetricStatus = Dict{Symbol,String}(Symbol("averageValue")=>"String", Symbol("currentValue")=>"String", Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("target")=>"IoK8sApiAutoscalingV2beta1CrossVersionObjectReference", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ObjectMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1ObjectMetricStatus) + o.currentValue === nothing && (return false) + o.metricName === nothing && (return false) + o.target === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1ObjectMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl new file mode 100644 index 00000000..50743b3a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1PodsMetricSource.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.PodsMetricSource +PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. + + IoK8sApiAutoscalingV2beta1PodsMetricSource(; + metricName=nothing, + selector=nothing, + targetAverageValue=nothing, + ) + + - metricName::String : metricName is the name of the metric in question + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - targetAverageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1PodsMetricSource <: OpenAPI.APIModel + metricName::Union{Nothing, String} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + targetAverageValue::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1PodsMetricSource(metricName, selector, targetAverageValue, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1PodsMetricSource, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1PodsMetricSource, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1PodsMetricSource, Symbol("targetAverageValue"), targetAverageValue) + return new(metricName, selector, targetAverageValue, ) + end +end # type IoK8sApiAutoscalingV2beta1PodsMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta1PodsMetricSource = Dict{Symbol,String}(Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("targetAverageValue")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1PodsMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1PodsMetricSource) + o.metricName === nothing && (return false) + o.targetAverageValue === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl new file mode 100644 index 00000000..a48988ce --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1PodsMetricStatus.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.PodsMetricStatus +PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). + + IoK8sApiAutoscalingV2beta1PodsMetricStatus(; + currentAverageValue=nothing, + metricName=nothing, + selector=nothing, + ) + + - currentAverageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - metricName::String : metricName is the name of the metric in question + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1PodsMetricStatus <: OpenAPI.APIModel + currentAverageValue::Union{Nothing, String} = nothing + metricName::Union{Nothing, String} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + + function IoK8sApiAutoscalingV2beta1PodsMetricStatus(currentAverageValue, metricName, selector, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1PodsMetricStatus, Symbol("currentAverageValue"), currentAverageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1PodsMetricStatus, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1PodsMetricStatus, Symbol("selector"), selector) + return new(currentAverageValue, metricName, selector, ) + end +end # type IoK8sApiAutoscalingV2beta1PodsMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta1PodsMetricStatus = Dict{Symbol,String}(Symbol("currentAverageValue")=>"String", Symbol("metricName")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1PodsMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1PodsMetricStatus) + o.currentAverageValue === nothing && (return false) + o.metricName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1PodsMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl new file mode 100644 index 00000000..b51c95d9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ResourceMetricSource.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.ResourceMetricSource +ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. + + IoK8sApiAutoscalingV2beta1ResourceMetricSource(; + name=nothing, + targetAverageUtilization=nothing, + targetAverageValue=nothing, + ) + + - name::String : name is the name of the resource in question. + - targetAverageUtilization::Int64 : targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. + - targetAverageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1ResourceMetricSource <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + targetAverageUtilization::Union{Nothing, Int64} = nothing + targetAverageValue::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1ResourceMetricSource(name, targetAverageUtilization, targetAverageValue, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricSource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricSource, Symbol("targetAverageUtilization"), targetAverageUtilization) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricSource, Symbol("targetAverageValue"), targetAverageValue) + return new(name, targetAverageUtilization, targetAverageValue, ) + end +end # type IoK8sApiAutoscalingV2beta1ResourceMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta1ResourceMetricSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("targetAverageUtilization")=>"Int64", Symbol("targetAverageValue")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ResourceMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1ResourceMetricSource) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricSource }, name::Symbol, val) + if name === Symbol("targetAverageUtilization") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1ResourceMetricSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl new file mode 100644 index 00000000..b3b1e19e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta1ResourceMetricStatus.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus +ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. + + IoK8sApiAutoscalingV2beta1ResourceMetricStatus(; + currentAverageUtilization=nothing, + currentAverageValue=nothing, + name=nothing, + ) + + - currentAverageUtilization::Int64 : currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. + - currentAverageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - name::String : name is the name of the resource in question. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta1ResourceMetricStatus <: OpenAPI.APIModel + currentAverageUtilization::Union{Nothing, Int64} = nothing + currentAverageValue::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta1ResourceMetricStatus(currentAverageUtilization, currentAverageValue, name, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricStatus, Symbol("currentAverageUtilization"), currentAverageUtilization) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricStatus, Symbol("currentAverageValue"), currentAverageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta1ResourceMetricStatus, Symbol("name"), name) + return new(currentAverageUtilization, currentAverageValue, name, ) + end +end # type IoK8sApiAutoscalingV2beta1ResourceMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta1ResourceMetricStatus = Dict{Symbol,String}(Symbol("currentAverageUtilization")=>"Int64", Symbol("currentAverageValue")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta1ResourceMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta1ResourceMetricStatus) + o.currentAverageValue === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta1ResourceMetricStatus }, name::Symbol, val) + if name === Symbol("currentAverageUtilization") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta1ResourceMetricStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl new file mode 100644 index 00000000..46cbe5a4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference +CrossVersionObjectReference contains enough information to let you identify the referred resource. + + IoK8sApiAutoscalingV2beta2CrossVersionObjectReference(; + apiVersion=nothing, + kind=nothing, + name=nothing, + ) + + - apiVersion::String : API version of the referent + - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" + - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2CrossVersionObjectReference <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2CrossVersionObjectReference(apiVersion, kind, name, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2CrossVersionObjectReference, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2CrossVersionObjectReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2CrossVersionObjectReference, Symbol("name"), name) + return new(apiVersion, kind, name, ) + end +end # type IoK8sApiAutoscalingV2beta2CrossVersionObjectReference + +const _property_types_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2CrossVersionObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2CrossVersionObjectReference[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2CrossVersionObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl new file mode 100644 index 00000000..f470875a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ExternalMetricSource.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.ExternalMetricSource +ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). + + IoK8sApiAutoscalingV2beta2ExternalMetricSource(; + metric=nothing, + target=nothing, + ) + + - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier + - target::IoK8sApiAutoscalingV2beta2MetricTarget +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2ExternalMetricSource <: OpenAPI.APIModel + metric = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } + target = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } + + function IoK8sApiAutoscalingV2beta2ExternalMetricSource(metric, target, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricSource, Symbol("metric"), metric) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricSource, Symbol("target"), target) + return new(metric, target, ) + end +end # type IoK8sApiAutoscalingV2beta2ExternalMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta2ExternalMetricSource = Dict{Symbol,String}(Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ExternalMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2ExternalMetricSource) + o.metric === nothing && (return false) + o.target === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl new file mode 100644 index 00000000..22f4f3da --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ExternalMetricStatus.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus +ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. + + IoK8sApiAutoscalingV2beta2ExternalMetricStatus(; + current=nothing, + metric=nothing, + ) + + - current::IoK8sApiAutoscalingV2beta2MetricValueStatus + - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2ExternalMetricStatus <: OpenAPI.APIModel + current = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } + metric = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } + + function IoK8sApiAutoscalingV2beta2ExternalMetricStatus(current, metric, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricStatus, Symbol("current"), current) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ExternalMetricStatus, Symbol("metric"), metric) + return new(current, metric, ) + end +end # type IoK8sApiAutoscalingV2beta2ExternalMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta2ExternalMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ExternalMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2ExternalMetricStatus) + o.current === nothing && (return false) + o.metric === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2ExternalMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl new file mode 100644 index 00000000..23a92cca --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler +HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. + + IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec + - status::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus } + + function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler + +const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec", Symbol("status")=>"IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl new file mode 100644 index 00000000..28f24789 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition +HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. + + IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : message is a human-readable explanation containing details about the transition + - reason::String : reason is the reason for the condition's last transition. + - status::String : status is the status of the condition (True, False, Unknown) + - type::String : type describes the current condition +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition + +const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl new file mode 100644 index 00000000..a884fc80 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList +HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. + + IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler} : items is the list of horizontal pod autoscaler objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList + +const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl new file mode 100644 index 00000000..4162cf0f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec +HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. + + IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec(; + maxReplicas=nothing, + metrics=nothing, + minReplicas=nothing, + scaleTargetRef=nothing, + ) + + - maxReplicas::Int64 : maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. + - metrics::Vector{IoK8sApiAutoscalingV2beta2MetricSpec} : metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. + - minReplicas::Int64 : minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. + - scaleTargetRef::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec <: OpenAPI.APIModel + maxReplicas::Union{Nothing, Int64} = nothing + metrics::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2MetricSpec} } + minReplicas::Union{Nothing, Int64} = nothing + scaleTargetRef = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference } + + function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec(maxReplicas, metrics, minReplicas, scaleTargetRef, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("maxReplicas"), maxReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("metrics"), metrics) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("minReplicas"), minReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec, Symbol("scaleTargetRef"), scaleTargetRef) + return new(maxReplicas, metrics, minReplicas, scaleTargetRef, ) + end +end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec + +const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec = Dict{Symbol,String}(Symbol("maxReplicas")=>"Int64", Symbol("metrics")=>"Vector{IoK8sApiAutoscalingV2beta2MetricSpec}", Symbol("minReplicas")=>"Int64", Symbol("scaleTargetRef")=>"IoK8sApiAutoscalingV2beta2CrossVersionObjectReference", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec) + o.maxReplicas === nothing && (return false) + o.scaleTargetRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec }, name::Symbol, val) + if name === Symbol("maxReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec", :format, val, "int32") + end + if name === Symbol("minReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl new file mode 100644 index 00000000..7c52bf0a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus +HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. + + IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus(; + conditions=nothing, + currentMetrics=nothing, + currentReplicas=nothing, + desiredReplicas=nothing, + lastScaleTime=nothing, + observedGeneration=nothing, + ) + + - conditions::Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition} : conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. + - currentMetrics::Vector{IoK8sApiAutoscalingV2beta2MetricStatus} : currentMetrics is the last read state of the metrics used by this autoscaler. + - currentReplicas::Int64 : currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. + - desiredReplicas::Int64 : desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. + - lastScaleTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - observedGeneration::Int64 : observedGeneration is the most recent generation observed by this autoscaler. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition} } + currentMetrics::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiAutoscalingV2beta2MetricStatus} } + currentReplicas::Union{Nothing, Int64} = nothing + desiredReplicas::Union{Nothing, Int64} = nothing + lastScaleTime::Union{Nothing, ZonedDateTime} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + + function IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus(conditions, currentMetrics, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("currentMetrics"), currentMetrics) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("currentReplicas"), currentReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("desiredReplicas"), desiredReplicas) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("lastScaleTime"), lastScaleTime) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus, Symbol("observedGeneration"), observedGeneration) + return new(conditions, currentMetrics, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration, ) + end +end # type IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus + +const _property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition}", Symbol("currentMetrics")=>"Vector{IoK8sApiAutoscalingV2beta2MetricStatus}", Symbol("currentReplicas")=>"Int64", Symbol("desiredReplicas")=>"Int64", Symbol("lastScaleTime")=>"ZonedDateTime", Symbol("observedGeneration")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus) + o.conditions === nothing && (return false) + o.currentReplicas === nothing && (return false) + o.desiredReplicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus }, name::Symbol, val) + if name === Symbol("currentReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("desiredReplicas") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus", :format, val, "int32") + end + if name === Symbol("lastScaleTime") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus", :format, val, "date-time") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl new file mode 100644 index 00000000..44d9d348 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricIdentifier.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.MetricIdentifier +MetricIdentifier defines the name and optionally selector for a metric + + IoK8sApiAutoscalingV2beta2MetricIdentifier(; + name=nothing, + selector=nothing, + ) + + - name::String : name is the name of the given metric + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2MetricIdentifier <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + + function IoK8sApiAutoscalingV2beta2MetricIdentifier(name, selector, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricIdentifier, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricIdentifier, Symbol("selector"), selector) + return new(name, selector, ) + end +end # type IoK8sApiAutoscalingV2beta2MetricIdentifier + +const _property_types_IoK8sApiAutoscalingV2beta2MetricIdentifier = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricIdentifier }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricIdentifier[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2MetricIdentifier) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricIdentifier }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl new file mode 100644 index 00000000..a8e9fb55 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricSpec.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.MetricSpec +MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). + + IoK8sApiAutoscalingV2beta2MetricSpec(; + external=nothing, + object=nothing, + pods=nothing, + resource=nothing, + type=nothing, + ) + + - external::IoK8sApiAutoscalingV2beta2ExternalMetricSource + - object::IoK8sApiAutoscalingV2beta2ObjectMetricSource + - pods::IoK8sApiAutoscalingV2beta2PodsMetricSource + - resource::IoK8sApiAutoscalingV2beta2ResourceMetricSource + - type::String : type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2MetricSpec <: OpenAPI.APIModel + external = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ExternalMetricSource } + object = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ObjectMetricSource } + pods = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2PodsMetricSource } + resource = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ResourceMetricSource } + type::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2MetricSpec(external, object, pods, resource, type, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("external"), external) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("object"), object) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("pods"), pods) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("resource"), resource) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricSpec, Symbol("type"), type) + return new(external, object, pods, resource, type, ) + end +end # type IoK8sApiAutoscalingV2beta2MetricSpec + +const _property_types_IoK8sApiAutoscalingV2beta2MetricSpec = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta2ExternalMetricSource", Symbol("object")=>"IoK8sApiAutoscalingV2beta2ObjectMetricSource", Symbol("pods")=>"IoK8sApiAutoscalingV2beta2PodsMetricSource", Symbol("resource")=>"IoK8sApiAutoscalingV2beta2ResourceMetricSource", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricSpec[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2MetricSpec) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl new file mode 100644 index 00000000..ed8ed223 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricStatus.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.MetricStatus +MetricStatus describes the last-read state of a single metric. + + IoK8sApiAutoscalingV2beta2MetricStatus(; + external=nothing, + object=nothing, + pods=nothing, + resource=nothing, + type=nothing, + ) + + - external::IoK8sApiAutoscalingV2beta2ExternalMetricStatus + - object::IoK8sApiAutoscalingV2beta2ObjectMetricStatus + - pods::IoK8sApiAutoscalingV2beta2PodsMetricStatus + - resource::IoK8sApiAutoscalingV2beta2ResourceMetricStatus + - type::String : type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2MetricStatus <: OpenAPI.APIModel + external = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ExternalMetricStatus } + object = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ObjectMetricStatus } + pods = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2PodsMetricStatus } + resource = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2ResourceMetricStatus } + type::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2MetricStatus(external, object, pods, resource, type, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("external"), external) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("object"), object) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("pods"), pods) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("resource"), resource) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricStatus, Symbol("type"), type) + return new(external, object, pods, resource, type, ) + end +end # type IoK8sApiAutoscalingV2beta2MetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta2MetricStatus = Dict{Symbol,String}(Symbol("external")=>"IoK8sApiAutoscalingV2beta2ExternalMetricStatus", Symbol("object")=>"IoK8sApiAutoscalingV2beta2ObjectMetricStatus", Symbol("pods")=>"IoK8sApiAutoscalingV2beta2PodsMetricStatus", Symbol("resource")=>"IoK8sApiAutoscalingV2beta2ResourceMetricStatus", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2MetricStatus) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl new file mode 100644 index 00000000..9d5fa669 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricTarget.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.MetricTarget +MetricTarget defines the target value, average value, or average utilization of a specific metric + + IoK8sApiAutoscalingV2beta2MetricTarget(; + averageUtilization=nothing, + averageValue=nothing, + type=nothing, + value=nothing, + ) + + - averageUtilization::Int64 : averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type + - averageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - type::String : type represents whether the metric type is Utilization, Value, or AverageValue + - value::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2MetricTarget <: OpenAPI.APIModel + averageUtilization::Union{Nothing, Int64} = nothing + averageValue::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2MetricTarget(averageUtilization, averageValue, type, value, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("averageUtilization"), averageUtilization) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("averageValue"), averageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("type"), type) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricTarget, Symbol("value"), value) + return new(averageUtilization, averageValue, type, value, ) + end +end # type IoK8sApiAutoscalingV2beta2MetricTarget + +const _property_types_IoK8sApiAutoscalingV2beta2MetricTarget = Dict{Symbol,String}(Symbol("averageUtilization")=>"Int64", Symbol("averageValue")=>"String", Symbol("type")=>"String", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricTarget }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricTarget[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2MetricTarget) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricTarget }, name::Symbol, val) + if name === Symbol("averageUtilization") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2MetricTarget", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl new file mode 100644 index 00000000..595ce3a1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2MetricValueStatus.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.MetricValueStatus +MetricValueStatus holds the current value for a metric + + IoK8sApiAutoscalingV2beta2MetricValueStatus(; + averageUtilization=nothing, + averageValue=nothing, + value=nothing, + ) + + - averageUtilization::Int64 : currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. + - averageValue::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - value::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2MetricValueStatus <: OpenAPI.APIModel + averageUtilization::Union{Nothing, Int64} = nothing + averageValue::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2MetricValueStatus(averageUtilization, averageValue, value, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricValueStatus, Symbol("averageUtilization"), averageUtilization) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricValueStatus, Symbol("averageValue"), averageValue) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2MetricValueStatus, Symbol("value"), value) + return new(averageUtilization, averageValue, value, ) + end +end # type IoK8sApiAutoscalingV2beta2MetricValueStatus + +const _property_types_IoK8sApiAutoscalingV2beta2MetricValueStatus = Dict{Symbol,String}(Symbol("averageUtilization")=>"Int64", Symbol("averageValue")=>"String", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2MetricValueStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2MetricValueStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2MetricValueStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2MetricValueStatus }, name::Symbol, val) + if name === Symbol("averageUtilization") + OpenAPI.validate_param(name, "IoK8sApiAutoscalingV2beta2MetricValueStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl new file mode 100644 index 00000000..b9b3e4bf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ObjectMetricSource.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.ObjectMetricSource +ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). + + IoK8sApiAutoscalingV2beta2ObjectMetricSource(; + describedObject=nothing, + metric=nothing, + target=nothing, + ) + + - describedObject::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference + - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier + - target::IoK8sApiAutoscalingV2beta2MetricTarget +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2ObjectMetricSource <: OpenAPI.APIModel + describedObject = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference } + metric = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } + target = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } + + function IoK8sApiAutoscalingV2beta2ObjectMetricSource(describedObject, metric, target, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricSource, Symbol("describedObject"), describedObject) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricSource, Symbol("metric"), metric) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricSource, Symbol("target"), target) + return new(describedObject, metric, target, ) + end +end # type IoK8sApiAutoscalingV2beta2ObjectMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta2ObjectMetricSource = Dict{Symbol,String}(Symbol("describedObject")=>"IoK8sApiAutoscalingV2beta2CrossVersionObjectReference", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ObjectMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2ObjectMetricSource) + o.describedObject === nothing && (return false) + o.metric === nothing && (return false) + o.target === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl new file mode 100644 index 00000000..7e14ae66 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ObjectMetricStatus.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus +ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). + + IoK8sApiAutoscalingV2beta2ObjectMetricStatus(; + current=nothing, + describedObject=nothing, + metric=nothing, + ) + + - current::IoK8sApiAutoscalingV2beta2MetricValueStatus + - describedObject::IoK8sApiAutoscalingV2beta2CrossVersionObjectReference + - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2ObjectMetricStatus <: OpenAPI.APIModel + current = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } + describedObject = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2CrossVersionObjectReference } + metric = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } + + function IoK8sApiAutoscalingV2beta2ObjectMetricStatus(current, describedObject, metric, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricStatus, Symbol("current"), current) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricStatus, Symbol("describedObject"), describedObject) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ObjectMetricStatus, Symbol("metric"), metric) + return new(current, describedObject, metric, ) + end +end # type IoK8sApiAutoscalingV2beta2ObjectMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta2ObjectMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("describedObject")=>"IoK8sApiAutoscalingV2beta2CrossVersionObjectReference", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ObjectMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2ObjectMetricStatus) + o.current === nothing && (return false) + o.describedObject === nothing && (return false) + o.metric === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2ObjectMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl new file mode 100644 index 00000000..931de94a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2PodsMetricSource.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.PodsMetricSource +PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. + + IoK8sApiAutoscalingV2beta2PodsMetricSource(; + metric=nothing, + target=nothing, + ) + + - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier + - target::IoK8sApiAutoscalingV2beta2MetricTarget +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2PodsMetricSource <: OpenAPI.APIModel + metric = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } + target = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } + + function IoK8sApiAutoscalingV2beta2PodsMetricSource(metric, target, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2PodsMetricSource, Symbol("metric"), metric) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2PodsMetricSource, Symbol("target"), target) + return new(metric, target, ) + end +end # type IoK8sApiAutoscalingV2beta2PodsMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta2PodsMetricSource = Dict{Symbol,String}(Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2PodsMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2PodsMetricSource) + o.metric === nothing && (return false) + o.target === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl new file mode 100644 index 00000000..a2324b14 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2PodsMetricStatus.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.PodsMetricStatus +PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). + + IoK8sApiAutoscalingV2beta2PodsMetricStatus(; + current=nothing, + metric=nothing, + ) + + - current::IoK8sApiAutoscalingV2beta2MetricValueStatus + - metric::IoK8sApiAutoscalingV2beta2MetricIdentifier +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2PodsMetricStatus <: OpenAPI.APIModel + current = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } + metric = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricIdentifier } + + function IoK8sApiAutoscalingV2beta2PodsMetricStatus(current, metric, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2PodsMetricStatus, Symbol("current"), current) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2PodsMetricStatus, Symbol("metric"), metric) + return new(current, metric, ) + end +end # type IoK8sApiAutoscalingV2beta2PodsMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta2PodsMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("metric")=>"IoK8sApiAutoscalingV2beta2MetricIdentifier", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2PodsMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2PodsMetricStatus) + o.current === nothing && (return false) + o.metric === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2PodsMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl new file mode 100644 index 00000000..6298c8dd --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ResourceMetricSource.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.ResourceMetricSource +ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. + + IoK8sApiAutoscalingV2beta2ResourceMetricSource(; + name=nothing, + target=nothing, + ) + + - name::String : name is the name of the resource in question. + - target::IoK8sApiAutoscalingV2beta2MetricTarget +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2ResourceMetricSource <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + target = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricTarget } + + function IoK8sApiAutoscalingV2beta2ResourceMetricSource(name, target, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricSource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricSource, Symbol("target"), target) + return new(name, target, ) + end +end # type IoK8sApiAutoscalingV2beta2ResourceMetricSource + +const _property_types_IoK8sApiAutoscalingV2beta2ResourceMetricSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("target")=>"IoK8sApiAutoscalingV2beta2MetricTarget", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ResourceMetricSource[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2ResourceMetricSource) + o.name === nothing && (return false) + o.target === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl new file mode 100644 index 00000000..5679e7fc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiAutoscalingV2beta2ResourceMetricStatus.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus +ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. + + IoK8sApiAutoscalingV2beta2ResourceMetricStatus(; + current=nothing, + name=nothing, + ) + + - current::IoK8sApiAutoscalingV2beta2MetricValueStatus + - name::String : Name is the name of the resource in question. +""" +Base.@kwdef mutable struct IoK8sApiAutoscalingV2beta2ResourceMetricStatus <: OpenAPI.APIModel + current = nothing # spec type: Union{ Nothing, IoK8sApiAutoscalingV2beta2MetricValueStatus } + name::Union{Nothing, String} = nothing + + function IoK8sApiAutoscalingV2beta2ResourceMetricStatus(current, name, ) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricStatus, Symbol("current"), current) + OpenAPI.validate_property(IoK8sApiAutoscalingV2beta2ResourceMetricStatus, Symbol("name"), name) + return new(current, name, ) + end +end # type IoK8sApiAutoscalingV2beta2ResourceMetricStatus + +const _property_types_IoK8sApiAutoscalingV2beta2ResourceMetricStatus = Dict{Symbol,String}(Symbol("current")=>"IoK8sApiAutoscalingV2beta2MetricValueStatus", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiAutoscalingV2beta2ResourceMetricStatus[name]))} + +function check_required(o::IoK8sApiAutoscalingV2beta2ResourceMetricStatus) + o.current === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiAutoscalingV2beta2ResourceMetricStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJob.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJob.jl new file mode 100644 index 00000000..6157ed8d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJob.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.CronJob +CronJob represents the configuration of a single cron job. + + IoK8sApiBatchV1CronJob(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV1CronJobSpec + - status::IoK8sApiBatchV1CronJobStatus +""" +Base.@kwdef mutable struct IoK8sApiBatchV1CronJob <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1CronJobSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1CronJobStatus } + + function IoK8sApiBatchV1CronJob(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiBatchV1CronJob, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV1CronJob, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV1CronJob, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV1CronJob, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiBatchV1CronJob, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiBatchV1CronJob + +const _property_types_IoK8sApiBatchV1CronJob = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1CronJobSpec", Symbol("status")=>"IoK8sApiBatchV1CronJobStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1CronJob }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1CronJob[name]))} + +function check_required(o::IoK8sApiBatchV1CronJob) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1CronJob }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobList.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobList.jl new file mode 100644 index 00000000..a5e3a98e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.CronJobList +CronJobList is a collection of cron jobs. + + IoK8sApiBatchV1CronJobList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiBatchV1CronJob} : items is the list of CronJobs. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiBatchV1CronJobList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1CronJob} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiBatchV1CronJobList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiBatchV1CronJobList + +const _property_types_IoK8sApiBatchV1CronJobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV1CronJob}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1CronJobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1CronJobList[name]))} + +function check_required(o::IoK8sApiBatchV1CronJobList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1CronJobList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobSpec.jl new file mode 100644 index 00000000..1649d39e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobSpec.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.CronJobSpec +CronJobSpec describes how the job execution will look like and when it will actually run. + + IoK8sApiBatchV1CronJobSpec(; + concurrencyPolicy=nothing, + failedJobsHistoryLimit=nothing, + jobTemplate=nothing, + schedule=nothing, + startingDeadlineSeconds=nothing, + successfulJobsHistoryLimit=nothing, + suspend=nothing, + ) + + - concurrencyPolicy::String : Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one + - failedJobsHistoryLimit::Int64 : The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. + - jobTemplate::IoK8sApiBatchV1JobTemplateSpec + - schedule::String : The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. + - startingDeadlineSeconds::Int64 : Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. + - successfulJobsHistoryLimit::Int64 : The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. + - suspend::Bool : This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1CronJobSpec <: OpenAPI.APIModel + concurrencyPolicy::Union{Nothing, String} = nothing + failedJobsHistoryLimit::Union{Nothing, Int64} = nothing + jobTemplate = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1JobTemplateSpec } + schedule::Union{Nothing, String} = nothing + startingDeadlineSeconds::Union{Nothing, Int64} = nothing + successfulJobsHistoryLimit::Union{Nothing, Int64} = nothing + suspend::Union{Nothing, Bool} = nothing + + function IoK8sApiBatchV1CronJobSpec(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend, ) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("concurrencyPolicy"), concurrencyPolicy) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("jobTemplate"), jobTemplate) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("schedule"), schedule) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobSpec, Symbol("suspend"), suspend) + return new(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend, ) + end +end # type IoK8sApiBatchV1CronJobSpec + +const _property_types_IoK8sApiBatchV1CronJobSpec = Dict{Symbol,String}(Symbol("concurrencyPolicy")=>"String", Symbol("failedJobsHistoryLimit")=>"Int64", Symbol("jobTemplate")=>"IoK8sApiBatchV1JobTemplateSpec", Symbol("schedule")=>"String", Symbol("startingDeadlineSeconds")=>"Int64", Symbol("successfulJobsHistoryLimit")=>"Int64", Symbol("suspend")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1CronJobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1CronJobSpec[name]))} + +function check_required(o::IoK8sApiBatchV1CronJobSpec) + o.jobTemplate === nothing && (return false) + o.schedule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1CronJobSpec }, name::Symbol, val) + if name === Symbol("failedJobsHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV1CronJobSpec", :format, val, "int32") + end + if name === Symbol("startingDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiBatchV1CronJobSpec", :format, val, "int64") + end + if name === Symbol("successfulJobsHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV1CronJobSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobStatus.jl new file mode 100644 index 00000000..fb703785 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1CronJobStatus.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.CronJobStatus +CronJobStatus represents the current state of a cron job. + + IoK8sApiBatchV1CronJobStatus(; + active=nothing, + lastScheduleTime=nothing, + lastSuccessfulTime=nothing, + ) + + - active::Vector{IoK8sApiCoreV1ObjectReference} : A list of pointers to currently running jobs. + - lastScheduleTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastSuccessfulTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1CronJobStatus <: OpenAPI.APIModel + active::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } + lastScheduleTime::Union{Nothing, ZonedDateTime} = nothing + lastSuccessfulTime::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiBatchV1CronJobStatus(active, lastScheduleTime, lastSuccessfulTime, ) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobStatus, Symbol("active"), active) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobStatus, Symbol("lastScheduleTime"), lastScheduleTime) + OpenAPI.validate_property(IoK8sApiBatchV1CronJobStatus, Symbol("lastSuccessfulTime"), lastSuccessfulTime) + return new(active, lastScheduleTime, lastSuccessfulTime, ) + end +end # type IoK8sApiBatchV1CronJobStatus + +const _property_types_IoK8sApiBatchV1CronJobStatus = Dict{Symbol,String}(Symbol("active")=>"Vector{IoK8sApiCoreV1ObjectReference}", Symbol("lastScheduleTime")=>"ZonedDateTime", Symbol("lastSuccessfulTime")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1CronJobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1CronJobStatus[name]))} + +function check_required(o::IoK8sApiBatchV1CronJobStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1CronJobStatus }, name::Symbol, val) + if name === Symbol("lastScheduleTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1CronJobStatus", :format, val, "date-time") + end + if name === Symbol("lastSuccessfulTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1CronJobStatus", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1Job.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1Job.jl new file mode 100644 index 00000000..783935c7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1Job.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.Job +Job represents the configuration of a single job. + + IoK8sApiBatchV1Job(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV1JobSpec + - status::IoK8sApiBatchV1JobStatus +""" +Base.@kwdef mutable struct IoK8sApiBatchV1Job <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1JobStatus } + + function IoK8sApiBatchV1Job(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiBatchV1Job, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV1Job, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV1Job, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV1Job, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiBatchV1Job, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiBatchV1Job + +const _property_types_IoK8sApiBatchV1Job = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec", Symbol("status")=>"IoK8sApiBatchV1JobStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1Job }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1Job[name]))} + +function check_required(o::IoK8sApiBatchV1Job) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1Job }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobCondition.jl new file mode 100644 index 00000000..97728e44 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.JobCondition +JobCondition describes current state of a job. + + IoK8sApiBatchV1JobCondition(; + lastProbeTime=nothing, + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastProbeTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Human readable message indicating details about last transition. + - reason::String : (brief) reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of job condition, Complete or Failed. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1JobCondition <: OpenAPI.APIModel + lastProbeTime::Union{Nothing, ZonedDateTime} = nothing + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiBatchV1JobCondition(lastProbeTime, lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiBatchV1JobCondition, Symbol("lastProbeTime"), lastProbeTime) + OpenAPI.validate_property(IoK8sApiBatchV1JobCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiBatchV1JobCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiBatchV1JobCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiBatchV1JobCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiBatchV1JobCondition, Symbol("type"), type) + return new(lastProbeTime, lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiBatchV1JobCondition + +const _property_types_IoK8sApiBatchV1JobCondition = Dict{Symbol,String}(Symbol("lastProbeTime")=>"ZonedDateTime", Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1JobCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobCondition[name]))} + +function check_required(o::IoK8sApiBatchV1JobCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1JobCondition }, name::Symbol, val) + if name === Symbol("lastProbeTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobCondition", :format, val, "date-time") + end + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobList.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobList.jl new file mode 100644 index 00000000..09f4886f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.JobList +JobList is a collection of jobs. + + IoK8sApiBatchV1JobList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiBatchV1Job} : items is the list of Jobs. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiBatchV1JobList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1Job} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiBatchV1JobList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiBatchV1JobList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV1JobList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiBatchV1JobList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV1JobList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiBatchV1JobList + +const _property_types_IoK8sApiBatchV1JobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV1Job}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1JobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobList[name]))} + +function check_required(o::IoK8sApiBatchV1JobList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1JobList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobSpec.jl new file mode 100644 index 00000000..83a32ded --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobSpec.jl @@ -0,0 +1,75 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.JobSpec +JobSpec describes how the job execution will look like. + + IoK8sApiBatchV1JobSpec(; + activeDeadlineSeconds=nothing, + backoffLimit=nothing, + completions=nothing, + manualSelector=nothing, + parallelism=nothing, + selector=nothing, + template=nothing, + ttlSecondsAfterFinished=nothing, + ) + + - activeDeadlineSeconds::Int64 : Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer + - backoffLimit::Int64 : Specifies the number of retries before marking this job failed. Defaults to 6 + - completions::Int64 : Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ + - manualSelector::Bool : manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector + - parallelism::Int64 : Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec + - ttlSecondsAfterFinished::Int64 : ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1JobSpec <: OpenAPI.APIModel + activeDeadlineSeconds::Union{Nothing, Int64} = nothing + backoffLimit::Union{Nothing, Int64} = nothing + completions::Union{Nothing, Int64} = nothing + manualSelector::Union{Nothing, Bool} = nothing + parallelism::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + ttlSecondsAfterFinished::Union{Nothing, Int64} = nothing + + function IoK8sApiBatchV1JobSpec(activeDeadlineSeconds, backoffLimit, completions, manualSelector, parallelism, selector, template, ttlSecondsAfterFinished, ) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("activeDeadlineSeconds"), activeDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("backoffLimit"), backoffLimit) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("completions"), completions) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("manualSelector"), manualSelector) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("parallelism"), parallelism) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiBatchV1JobSpec, Symbol("ttlSecondsAfterFinished"), ttlSecondsAfterFinished) + return new(activeDeadlineSeconds, backoffLimit, completions, manualSelector, parallelism, selector, template, ttlSecondsAfterFinished, ) + end +end # type IoK8sApiBatchV1JobSpec + +const _property_types_IoK8sApiBatchV1JobSpec = Dict{Symbol,String}(Symbol("activeDeadlineSeconds")=>"Int64", Symbol("backoffLimit")=>"Int64", Symbol("completions")=>"Int64", Symbol("manualSelector")=>"Bool", Symbol("parallelism")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("ttlSecondsAfterFinished")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1JobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobSpec[name]))} + +function check_required(o::IoK8sApiBatchV1JobSpec) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1JobSpec }, name::Symbol, val) + if name === Symbol("activeDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobSpec", :format, val, "int64") + end + if name === Symbol("backoffLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobSpec", :format, val, "int32") + end + if name === Symbol("completions") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobSpec", :format, val, "int32") + end + if name === Symbol("parallelism") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobSpec", :format, val, "int32") + end + if name === Symbol("ttlSecondsAfterFinished") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobStatus.jl new file mode 100644 index 00000000..f93bf0c4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobStatus.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.JobStatus +JobStatus represents the current state of a Job. + + IoK8sApiBatchV1JobStatus(; + active=nothing, + completionTime=nothing, + conditions=nothing, + failed=nothing, + startTime=nothing, + succeeded=nothing, + ) + + - active::Int64 : The number of actively running pods. + - completionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - conditions::Vector{IoK8sApiBatchV1JobCondition} : The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ + - failed::Int64 : The number of pods which reached phase Failed. + - startTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - succeeded::Int64 : The number of pods which reached phase Succeeded. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1JobStatus <: OpenAPI.APIModel + active::Union{Nothing, Int64} = nothing + completionTime::Union{Nothing, ZonedDateTime} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1JobCondition} } + failed::Union{Nothing, Int64} = nothing + startTime::Union{Nothing, ZonedDateTime} = nothing + succeeded::Union{Nothing, Int64} = nothing + + function IoK8sApiBatchV1JobStatus(active, completionTime, conditions, failed, startTime, succeeded, ) + OpenAPI.validate_property(IoK8sApiBatchV1JobStatus, Symbol("active"), active) + OpenAPI.validate_property(IoK8sApiBatchV1JobStatus, Symbol("completionTime"), completionTime) + OpenAPI.validate_property(IoK8sApiBatchV1JobStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiBatchV1JobStatus, Symbol("failed"), failed) + OpenAPI.validate_property(IoK8sApiBatchV1JobStatus, Symbol("startTime"), startTime) + OpenAPI.validate_property(IoK8sApiBatchV1JobStatus, Symbol("succeeded"), succeeded) + return new(active, completionTime, conditions, failed, startTime, succeeded, ) + end +end # type IoK8sApiBatchV1JobStatus + +const _property_types_IoK8sApiBatchV1JobStatus = Dict{Symbol,String}(Symbol("active")=>"Int64", Symbol("completionTime")=>"ZonedDateTime", Symbol("conditions")=>"Vector{IoK8sApiBatchV1JobCondition}", Symbol("failed")=>"Int64", Symbol("startTime")=>"ZonedDateTime", Symbol("succeeded")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1JobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobStatus[name]))} + +function check_required(o::IoK8sApiBatchV1JobStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1JobStatus }, name::Symbol, val) + if name === Symbol("active") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobStatus", :format, val, "int32") + end + if name === Symbol("completionTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobStatus", :format, val, "date-time") + end + if name === Symbol("failed") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobStatus", :format, val, "int32") + end + if name === Symbol("startTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobStatus", :format, val, "date-time") + end + if name === Symbol("succeeded") + OpenAPI.validate_param(name, "IoK8sApiBatchV1JobStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobTemplateSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobTemplateSpec.jl new file mode 100644 index 00000000..e06335eb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1JobTemplateSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1.JobTemplateSpec +JobTemplateSpec describes the data a Job should have when created from a template + + IoK8sApiBatchV1JobTemplateSpec(; + metadata=nothing, + spec=nothing, + ) + + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV1JobSpec +""" +Base.@kwdef mutable struct IoK8sApiBatchV1JobTemplateSpec <: OpenAPI.APIModel + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } + + function IoK8sApiBatchV1JobTemplateSpec(metadata, spec, ) + OpenAPI.validate_property(IoK8sApiBatchV1JobTemplateSpec, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV1JobTemplateSpec, Symbol("spec"), spec) + return new(metadata, spec, ) + end +end # type IoK8sApiBatchV1JobTemplateSpec + +const _property_types_IoK8sApiBatchV1JobTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1JobTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1JobTemplateSpec[name]))} + +function check_required(o::IoK8sApiBatchV1JobTemplateSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1JobTemplateSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJob.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJob.jl new file mode 100644 index 00000000..eee6066e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJob.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1beta1.CronJob +CronJob represents the configuration of a single cron job. + + IoK8sApiBatchV1beta1CronJob(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV1beta1CronJobSpec + - status::IoK8sApiBatchV1beta1CronJobStatus +""" +Base.@kwdef mutable struct IoK8sApiBatchV1beta1CronJob <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1beta1CronJobSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1beta1CronJobStatus } + + function IoK8sApiBatchV1beta1CronJob(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJob, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiBatchV1beta1CronJob + +const _property_types_IoK8sApiBatchV1beta1CronJob = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1beta1CronJobSpec", Symbol("status")=>"IoK8sApiBatchV1beta1CronJobStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1beta1CronJob }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJob[name]))} + +function check_required(o::IoK8sApiBatchV1beta1CronJob) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1beta1CronJob }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobList.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobList.jl new file mode 100644 index 00000000..1c0a5b5b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1beta1.CronJobList +CronJobList is a collection of cron jobs. + + IoK8sApiBatchV1beta1CronJobList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiBatchV1beta1CronJob} : items is the list of CronJobs. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiBatchV1beta1CronJobList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiBatchV1beta1CronJob} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiBatchV1beta1CronJobList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiBatchV1beta1CronJobList + +const _property_types_IoK8sApiBatchV1beta1CronJobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV1beta1CronJob}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1beta1CronJobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJobList[name]))} + +function check_required(o::IoK8sApiBatchV1beta1CronJobList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1beta1CronJobList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobSpec.jl new file mode 100644 index 00000000..57aa2ea6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobSpec.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1beta1.CronJobSpec +CronJobSpec describes how the job execution will look like and when it will actually run. + + IoK8sApiBatchV1beta1CronJobSpec(; + concurrencyPolicy=nothing, + failedJobsHistoryLimit=nothing, + jobTemplate=nothing, + schedule=nothing, + startingDeadlineSeconds=nothing, + successfulJobsHistoryLimit=nothing, + suspend=nothing, + ) + + - concurrencyPolicy::String : Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one + - failedJobsHistoryLimit::Int64 : The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + - jobTemplate::IoK8sApiBatchV1beta1JobTemplateSpec + - schedule::String : The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. + - startingDeadlineSeconds::Int64 : Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. + - successfulJobsHistoryLimit::Int64 : The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. + - suspend::Bool : This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1beta1CronJobSpec <: OpenAPI.APIModel + concurrencyPolicy::Union{Nothing, String} = nothing + failedJobsHistoryLimit::Union{Nothing, Int64} = nothing + jobTemplate = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1beta1JobTemplateSpec } + schedule::Union{Nothing, String} = nothing + startingDeadlineSeconds::Union{Nothing, Int64} = nothing + successfulJobsHistoryLimit::Union{Nothing, Int64} = nothing + suspend::Union{Nothing, Bool} = nothing + + function IoK8sApiBatchV1beta1CronJobSpec(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend, ) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("concurrencyPolicy"), concurrencyPolicy) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("jobTemplate"), jobTemplate) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("schedule"), schedule) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobSpec, Symbol("suspend"), suspend) + return new(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend, ) + end +end # type IoK8sApiBatchV1beta1CronJobSpec + +const _property_types_IoK8sApiBatchV1beta1CronJobSpec = Dict{Symbol,String}(Symbol("concurrencyPolicy")=>"String", Symbol("failedJobsHistoryLimit")=>"Int64", Symbol("jobTemplate")=>"IoK8sApiBatchV1beta1JobTemplateSpec", Symbol("schedule")=>"String", Symbol("startingDeadlineSeconds")=>"Int64", Symbol("successfulJobsHistoryLimit")=>"Int64", Symbol("suspend")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1beta1CronJobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJobSpec[name]))} + +function check_required(o::IoK8sApiBatchV1beta1CronJobSpec) + o.jobTemplate === nothing && (return false) + o.schedule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1beta1CronJobSpec }, name::Symbol, val) + if name === Symbol("failedJobsHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV1beta1CronJobSpec", :format, val, "int32") + end + if name === Symbol("startingDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiBatchV1beta1CronJobSpec", :format, val, "int64") + end + if name === Symbol("successfulJobsHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV1beta1CronJobSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobStatus.jl new file mode 100644 index 00000000..3d4de2d4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1CronJobStatus.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1beta1.CronJobStatus +CronJobStatus represents the current state of a cron job. + + IoK8sApiBatchV1beta1CronJobStatus(; + active=nothing, + lastScheduleTime=nothing, + lastSuccessfulTime=nothing, + ) + + - active::Vector{IoK8sApiCoreV1ObjectReference} : A list of pointers to currently running jobs. + - lastScheduleTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastSuccessfulTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiBatchV1beta1CronJobStatus <: OpenAPI.APIModel + active::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } + lastScheduleTime::Union{Nothing, ZonedDateTime} = nothing + lastSuccessfulTime::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiBatchV1beta1CronJobStatus(active, lastScheduleTime, lastSuccessfulTime, ) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobStatus, Symbol("active"), active) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobStatus, Symbol("lastScheduleTime"), lastScheduleTime) + OpenAPI.validate_property(IoK8sApiBatchV1beta1CronJobStatus, Symbol("lastSuccessfulTime"), lastSuccessfulTime) + return new(active, lastScheduleTime, lastSuccessfulTime, ) + end +end # type IoK8sApiBatchV1beta1CronJobStatus + +const _property_types_IoK8sApiBatchV1beta1CronJobStatus = Dict{Symbol,String}(Symbol("active")=>"Vector{IoK8sApiCoreV1ObjectReference}", Symbol("lastScheduleTime")=>"ZonedDateTime", Symbol("lastSuccessfulTime")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1beta1CronJobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1CronJobStatus[name]))} + +function check_required(o::IoK8sApiBatchV1beta1CronJobStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1beta1CronJobStatus }, name::Symbol, val) + if name === Symbol("lastScheduleTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1beta1CronJobStatus", :format, val, "date-time") + end + if name === Symbol("lastSuccessfulTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV1beta1CronJobStatus", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl new file mode 100644 index 00000000..2a628773 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV1beta1JobTemplateSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v1beta1.JobTemplateSpec +JobTemplateSpec describes the data a Job should have when created from a template + + IoK8sApiBatchV1beta1JobTemplateSpec(; + metadata=nothing, + spec=nothing, + ) + + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV1JobSpec +""" +Base.@kwdef mutable struct IoK8sApiBatchV1beta1JobTemplateSpec <: OpenAPI.APIModel + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } + + function IoK8sApiBatchV1beta1JobTemplateSpec(metadata, spec, ) + OpenAPI.validate_property(IoK8sApiBatchV1beta1JobTemplateSpec, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV1beta1JobTemplateSpec, Symbol("spec"), spec) + return new(metadata, spec, ) + end +end # type IoK8sApiBatchV1beta1JobTemplateSpec + +const _property_types_IoK8sApiBatchV1beta1JobTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV1beta1JobTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV1beta1JobTemplateSpec[name]))} + +function check_required(o::IoK8sApiBatchV1beta1JobTemplateSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV1beta1JobTemplateSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJob.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJob.jl new file mode 100644 index 00000000..2f121256 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJob.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v2alpha1.CronJob +CronJob represents the configuration of a single cron job. + + IoK8sApiBatchV2alpha1CronJob(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV2alpha1CronJobSpec + - status::IoK8sApiBatchV2alpha1CronJobStatus +""" +Base.@kwdef mutable struct IoK8sApiBatchV2alpha1CronJob <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV2alpha1CronJobSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiBatchV2alpha1CronJobStatus } + + function IoK8sApiBatchV2alpha1CronJob(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJob, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiBatchV2alpha1CronJob + +const _property_types_IoK8sApiBatchV2alpha1CronJob = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV2alpha1CronJobSpec", Symbol("status")=>"IoK8sApiBatchV2alpha1CronJobStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV2alpha1CronJob }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJob[name]))} + +function check_required(o::IoK8sApiBatchV2alpha1CronJob) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV2alpha1CronJob }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobList.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobList.jl new file mode 100644 index 00000000..3676ecdf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v2alpha1.CronJobList +CronJobList is a collection of cron jobs. + + IoK8sApiBatchV2alpha1CronJobList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiBatchV2alpha1CronJob} : items is the list of CronJobs. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiBatchV2alpha1CronJobList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiBatchV2alpha1CronJob} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiBatchV2alpha1CronJobList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiBatchV2alpha1CronJobList + +const _property_types_IoK8sApiBatchV2alpha1CronJobList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiBatchV2alpha1CronJob}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV2alpha1CronJobList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJobList[name]))} + +function check_required(o::IoK8sApiBatchV2alpha1CronJobList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV2alpha1CronJobList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobSpec.jl new file mode 100644 index 00000000..218201fb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobSpec.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v2alpha1.CronJobSpec +CronJobSpec describes how the job execution will look like and when it will actually run. + + IoK8sApiBatchV2alpha1CronJobSpec(; + concurrencyPolicy=nothing, + failedJobsHistoryLimit=nothing, + jobTemplate=nothing, + schedule=nothing, + startingDeadlineSeconds=nothing, + successfulJobsHistoryLimit=nothing, + suspend=nothing, + ) + + - concurrencyPolicy::String : Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one + - failedJobsHistoryLimit::Int64 : The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. + - jobTemplate::IoK8sApiBatchV2alpha1JobTemplateSpec + - schedule::String : The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. + - startingDeadlineSeconds::Int64 : Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. + - successfulJobsHistoryLimit::Int64 : The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. + - suspend::Bool : This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +""" +Base.@kwdef mutable struct IoK8sApiBatchV2alpha1CronJobSpec <: OpenAPI.APIModel + concurrencyPolicy::Union{Nothing, String} = nothing + failedJobsHistoryLimit::Union{Nothing, Int64} = nothing + jobTemplate = nothing # spec type: Union{ Nothing, IoK8sApiBatchV2alpha1JobTemplateSpec } + schedule::Union{Nothing, String} = nothing + startingDeadlineSeconds::Union{Nothing, Int64} = nothing + successfulJobsHistoryLimit::Union{Nothing, Int64} = nothing + suspend::Union{Nothing, Bool} = nothing + + function IoK8sApiBatchV2alpha1CronJobSpec(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend, ) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("concurrencyPolicy"), concurrencyPolicy) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("failedJobsHistoryLimit"), failedJobsHistoryLimit) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("jobTemplate"), jobTemplate) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("schedule"), schedule) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("startingDeadlineSeconds"), startingDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("successfulJobsHistoryLimit"), successfulJobsHistoryLimit) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobSpec, Symbol("suspend"), suspend) + return new(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend, ) + end +end # type IoK8sApiBatchV2alpha1CronJobSpec + +const _property_types_IoK8sApiBatchV2alpha1CronJobSpec = Dict{Symbol,String}(Symbol("concurrencyPolicy")=>"String", Symbol("failedJobsHistoryLimit")=>"Int64", Symbol("jobTemplate")=>"IoK8sApiBatchV2alpha1JobTemplateSpec", Symbol("schedule")=>"String", Symbol("startingDeadlineSeconds")=>"Int64", Symbol("successfulJobsHistoryLimit")=>"Int64", Symbol("suspend")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV2alpha1CronJobSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJobSpec[name]))} + +function check_required(o::IoK8sApiBatchV2alpha1CronJobSpec) + o.jobTemplate === nothing && (return false) + o.schedule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV2alpha1CronJobSpec }, name::Symbol, val) + if name === Symbol("failedJobsHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV2alpha1CronJobSpec", :format, val, "int32") + end + if name === Symbol("startingDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiBatchV2alpha1CronJobSpec", :format, val, "int64") + end + if name === Symbol("successfulJobsHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiBatchV2alpha1CronJobSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobStatus.jl new file mode 100644 index 00000000..0f8456ae --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1CronJobStatus.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v2alpha1.CronJobStatus +CronJobStatus represents the current state of a cron job. + + IoK8sApiBatchV2alpha1CronJobStatus(; + active=nothing, + lastScheduleTime=nothing, + ) + + - active::Vector{IoK8sApiCoreV1ObjectReference} : A list of pointers to currently running jobs. + - lastScheduleTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiBatchV2alpha1CronJobStatus <: OpenAPI.APIModel + active::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } + lastScheduleTime::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiBatchV2alpha1CronJobStatus(active, lastScheduleTime, ) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobStatus, Symbol("active"), active) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1CronJobStatus, Symbol("lastScheduleTime"), lastScheduleTime) + return new(active, lastScheduleTime, ) + end +end # type IoK8sApiBatchV2alpha1CronJobStatus + +const _property_types_IoK8sApiBatchV2alpha1CronJobStatus = Dict{Symbol,String}(Symbol("active")=>"Vector{IoK8sApiCoreV1ObjectReference}", Symbol("lastScheduleTime")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV2alpha1CronJobStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1CronJobStatus[name]))} + +function check_required(o::IoK8sApiBatchV2alpha1CronJobStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV2alpha1CronJobStatus }, name::Symbol, val) + if name === Symbol("lastScheduleTime") + OpenAPI.validate_param(name, "IoK8sApiBatchV2alpha1CronJobStatus", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl new file mode 100644 index 00000000..5f74c6a7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiBatchV2alpha1JobTemplateSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.batch.v2alpha1.JobTemplateSpec +JobTemplateSpec describes the data a Job should have when created from a template + + IoK8sApiBatchV2alpha1JobTemplateSpec(; + metadata=nothing, + spec=nothing, + ) + + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiBatchV1JobSpec +""" +Base.@kwdef mutable struct IoK8sApiBatchV2alpha1JobTemplateSpec <: OpenAPI.APIModel + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiBatchV1JobSpec } + + function IoK8sApiBatchV2alpha1JobTemplateSpec(metadata, spec, ) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1JobTemplateSpec, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiBatchV2alpha1JobTemplateSpec, Symbol("spec"), spec) + return new(metadata, spec, ) + end +end # type IoK8sApiBatchV2alpha1JobTemplateSpec + +const _property_types_IoK8sApiBatchV2alpha1JobTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiBatchV1JobSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiBatchV2alpha1JobTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiBatchV2alpha1JobTemplateSpec[name]))} + +function check_required(o::IoK8sApiBatchV2alpha1JobTemplateSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiBatchV2alpha1JobTemplateSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl new file mode 100644 index 00000000..e3e75952 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequest.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.certificates.v1beta1.CertificateSigningRequest +Describes a certificate signing request + + IoK8sApiCertificatesV1beta1CertificateSigningRequest(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec + - status::IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus +""" +Base.@kwdef mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequest <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus } + + function IoK8sApiCertificatesV1beta1CertificateSigningRequest(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequest, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCertificatesV1beta1CertificateSigningRequest + +const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequest = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec", Symbol("status")=>"IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequest[name]))} + +function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequest) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequest }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl new file mode 100644 index 00000000..95f0608d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition + + IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition(; + lastUpdateTime=nothing, + message=nothing, + reason=nothing, + type=nothing, + ) + + - lastUpdateTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : human readable message with details about the request state + - reason::String : brief reason for the request state + - type::String : request approval state, currently Approved or Denied. +""" +Base.@kwdef mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition <: OpenAPI.APIModel + lastUpdateTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition(lastUpdateTime, message, reason, type, ) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("lastUpdateTime"), lastUpdateTime) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition, Symbol("type"), type) + return new(lastUpdateTime, message, reason, type, ) + end +end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition + +const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition = Dict{Symbol,String}(Symbol("lastUpdateTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition[name]))} + +function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition }, name::Symbol, val) + if name === Symbol("lastUpdateTime") + OpenAPI.validate_param(name, "IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl new file mode 100644 index 00000000..a13689e1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestList.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.certificates.v1beta1.CertificateSigningRequestList + + IoK8sApiCertificatesV1beta1CertificateSigningRequestList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequest} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequest} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCertificatesV1beta1CertificateSigningRequestList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestList + +const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequest}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestList[name]))} + +function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl new file mode 100644 index 00000000..188feb1c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec +This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users. + + IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec(; + extra=nothing, + groups=nothing, + request=nothing, + uid=nothing, + usages=nothing, + username=nothing, + ) + + - extra::Dict{String, Vector{String}} : Extra information about the requesting user. See user.Info interface for details. + - groups::Vector{String} : Group information about the requesting user. See user.Info interface for details. + - request::Vector{UInt8} : Base64-encoded PKCS#10 CSR data + - uid::String : UID information about the requesting user. See user.Info interface for details. + - usages::Vector{String} : allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12 + - username::String : Information about the requesting user. See user.Info interface for details. +""" +Base.@kwdef mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec <: OpenAPI.APIModel + extra::Union{Nothing, Dict{String, Vector{String}}} = nothing + groups::Union{Nothing, Vector{String}} = nothing + request::Union{Nothing, Vector{UInt8}} = nothing + uid::Union{Nothing, String} = nothing + usages::Union{Nothing, Vector{String}} = nothing + username::Union{Nothing, String} = nothing + + function IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec(extra, groups, request, uid, usages, username, ) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("extra"), extra) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("groups"), groups) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("request"), request) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("uid"), uid) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("usages"), usages) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec, Symbol("username"), username) + return new(extra, groups, request, uid, usages, username, ) + end +end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec + +const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec = Dict{Symbol,String}(Symbol("extra")=>"Dict{String, Vector{String}}", Symbol("groups")=>"Vector{String}", Symbol("request")=>"Vector{UInt8}", Symbol("uid")=>"String", Symbol("usages")=>"Vector{String}", Symbol("username")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec[name]))} + +function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec) + o.request === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec }, name::Symbol, val) + if name === Symbol("request") + OpenAPI.validate_param(name, "IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec", :format, val, "byte") + end + if name === Symbol("request") + OpenAPI.validate_param(name, "IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl new file mode 100644 index 00000000..ff536d19 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus + + IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus(; + certificate=nothing, + conditions=nothing, + ) + + - certificate::Vector{UInt8} : If request was approved, the controller will place the issued certificate here. + - conditions::Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition} : Conditions applied to the request, such as approval or denial. +""" +Base.@kwdef mutable struct IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus <: OpenAPI.APIModel + certificate::Union{Nothing, Vector{UInt8}} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition} } + + function IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus(certificate, conditions, ) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus, Symbol("certificate"), certificate) + OpenAPI.validate_property(IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus, Symbol("conditions"), conditions) + return new(certificate, conditions, ) + end +end # type IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus + +const _property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus = Dict{Symbol,String}(Symbol("certificate")=>"Vector{UInt8}", Symbol("conditions")=>"Vector{IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition}", ) +OpenAPI.property_type(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus[name]))} + +function check_required(o::IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus }, name::Symbol, val) + if name === Symbol("certificate") + OpenAPI.validate_param(name, "IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus", :format, val, "byte") + end + if name === Symbol("certificate") + OpenAPI.validate_param(name, "IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1Lease.jl b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1Lease.jl new file mode 100644 index 00000000..7d2161ef --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1Lease.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.coordination.v1.Lease +Lease defines a lease concept. + + IoK8sApiCoordinationV1Lease(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoordinationV1LeaseSpec +""" +Base.@kwdef mutable struct IoK8sApiCoordinationV1Lease <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoordinationV1LeaseSpec } + + function IoK8sApiCoordinationV1Lease(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiCoordinationV1Lease, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoordinationV1Lease, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoordinationV1Lease, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoordinationV1Lease, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiCoordinationV1Lease + +const _property_types_IoK8sApiCoordinationV1Lease = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoordinationV1LeaseSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiCoordinationV1Lease }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1Lease[name]))} + +function check_required(o::IoK8sApiCoordinationV1Lease) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoordinationV1Lease }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1LeaseList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1LeaseList.jl new file mode 100644 index 00000000..2cff2d21 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1LeaseList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.coordination.v1.LeaseList +LeaseList is a list of Lease objects. + + IoK8sApiCoordinationV1LeaseList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoordinationV1Lease} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoordinationV1LeaseList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoordinationV1Lease} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoordinationV1LeaseList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoordinationV1LeaseList + +const _property_types_IoK8sApiCoordinationV1LeaseList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoordinationV1Lease}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoordinationV1LeaseList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1LeaseList[name]))} + +function check_required(o::IoK8sApiCoordinationV1LeaseList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoordinationV1LeaseList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1LeaseSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1LeaseSpec.jl new file mode 100644 index 00000000..c0eb2ab7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1LeaseSpec.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.coordination.v1.LeaseSpec +LeaseSpec is a specification of a Lease. + + IoK8sApiCoordinationV1LeaseSpec(; + acquireTime=nothing, + holderIdentity=nothing, + leaseDurationSeconds=nothing, + leaseTransitions=nothing, + renewTime=nothing, + ) + + - acquireTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. + - holderIdentity::String : holderIdentity contains the identity of the holder of a current lease. + - leaseDurationSeconds::Int64 : leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. + - leaseTransitions::Int64 : leaseTransitions is the number of transitions of a lease between holders. + - renewTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. +""" +Base.@kwdef mutable struct IoK8sApiCoordinationV1LeaseSpec <: OpenAPI.APIModel + acquireTime::Union{Nothing, ZonedDateTime} = nothing + holderIdentity::Union{Nothing, String} = nothing + leaseDurationSeconds::Union{Nothing, Int64} = nothing + leaseTransitions::Union{Nothing, Int64} = nothing + renewTime::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiCoordinationV1LeaseSpec(acquireTime, holderIdentity, leaseDurationSeconds, leaseTransitions, renewTime, ) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("acquireTime"), acquireTime) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("holderIdentity"), holderIdentity) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("leaseDurationSeconds"), leaseDurationSeconds) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("leaseTransitions"), leaseTransitions) + OpenAPI.validate_property(IoK8sApiCoordinationV1LeaseSpec, Symbol("renewTime"), renewTime) + return new(acquireTime, holderIdentity, leaseDurationSeconds, leaseTransitions, renewTime, ) + end +end # type IoK8sApiCoordinationV1LeaseSpec + +const _property_types_IoK8sApiCoordinationV1LeaseSpec = Dict{Symbol,String}(Symbol("acquireTime")=>"ZonedDateTime", Symbol("holderIdentity")=>"String", Symbol("leaseDurationSeconds")=>"Int64", Symbol("leaseTransitions")=>"Int64", Symbol("renewTime")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiCoordinationV1LeaseSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1LeaseSpec[name]))} + +function check_required(o::IoK8sApiCoordinationV1LeaseSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoordinationV1LeaseSpec }, name::Symbol, val) + if name === Symbol("acquireTime") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1LeaseSpec", :format, val, "date-time") + end + if name === Symbol("leaseDurationSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1LeaseSpec", :format, val, "int32") + end + if name === Symbol("leaseTransitions") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1LeaseSpec", :format, val, "int32") + end + if name === Symbol("renewTime") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1LeaseSpec", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1Lease.jl b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1Lease.jl new file mode 100644 index 00000000..ddab6bef --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1Lease.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.coordination.v1beta1.Lease +Lease defines a lease concept. + + IoK8sApiCoordinationV1beta1Lease(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoordinationV1beta1LeaseSpec +""" +Base.@kwdef mutable struct IoK8sApiCoordinationV1beta1Lease <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoordinationV1beta1LeaseSpec } + + function IoK8sApiCoordinationV1beta1Lease(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1Lease, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiCoordinationV1beta1Lease + +const _property_types_IoK8sApiCoordinationV1beta1Lease = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoordinationV1beta1LeaseSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiCoordinationV1beta1Lease }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1beta1Lease[name]))} + +function check_required(o::IoK8sApiCoordinationV1beta1Lease) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoordinationV1beta1Lease }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1LeaseList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1LeaseList.jl new file mode 100644 index 00000000..455bba56 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1LeaseList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.coordination.v1beta1.LeaseList +LeaseList is a list of Lease objects. + + IoK8sApiCoordinationV1beta1LeaseList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoordinationV1beta1Lease} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoordinationV1beta1LeaseList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoordinationV1beta1Lease} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoordinationV1beta1LeaseList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoordinationV1beta1LeaseList + +const _property_types_IoK8sApiCoordinationV1beta1LeaseList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoordinationV1beta1Lease}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoordinationV1beta1LeaseList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1beta1LeaseList[name]))} + +function check_required(o::IoK8sApiCoordinationV1beta1LeaseList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoordinationV1beta1LeaseList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl new file mode 100644 index 00000000..65e23d63 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoordinationV1beta1LeaseSpec.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.coordination.v1beta1.LeaseSpec +LeaseSpec is a specification of a Lease. + + IoK8sApiCoordinationV1beta1LeaseSpec(; + acquireTime=nothing, + holderIdentity=nothing, + leaseDurationSeconds=nothing, + leaseTransitions=nothing, + renewTime=nothing, + ) + + - acquireTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. + - holderIdentity::String : holderIdentity contains the identity of the holder of a current lease. + - leaseDurationSeconds::Int64 : leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. + - leaseTransitions::Int64 : leaseTransitions is the number of transitions of a lease between holders. + - renewTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. +""" +Base.@kwdef mutable struct IoK8sApiCoordinationV1beta1LeaseSpec <: OpenAPI.APIModel + acquireTime::Union{Nothing, ZonedDateTime} = nothing + holderIdentity::Union{Nothing, String} = nothing + leaseDurationSeconds::Union{Nothing, Int64} = nothing + leaseTransitions::Union{Nothing, Int64} = nothing + renewTime::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiCoordinationV1beta1LeaseSpec(acquireTime, holderIdentity, leaseDurationSeconds, leaseTransitions, renewTime, ) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("acquireTime"), acquireTime) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("holderIdentity"), holderIdentity) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("leaseDurationSeconds"), leaseDurationSeconds) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("leaseTransitions"), leaseTransitions) + OpenAPI.validate_property(IoK8sApiCoordinationV1beta1LeaseSpec, Symbol("renewTime"), renewTime) + return new(acquireTime, holderIdentity, leaseDurationSeconds, leaseTransitions, renewTime, ) + end +end # type IoK8sApiCoordinationV1beta1LeaseSpec + +const _property_types_IoK8sApiCoordinationV1beta1LeaseSpec = Dict{Symbol,String}(Symbol("acquireTime")=>"ZonedDateTime", Symbol("holderIdentity")=>"String", Symbol("leaseDurationSeconds")=>"Int64", Symbol("leaseTransitions")=>"Int64", Symbol("renewTime")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiCoordinationV1beta1LeaseSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoordinationV1beta1LeaseSpec[name]))} + +function check_required(o::IoK8sApiCoordinationV1beta1LeaseSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoordinationV1beta1LeaseSpec }, name::Symbol, val) + if name === Symbol("acquireTime") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1beta1LeaseSpec", :format, val, "date-time") + end + if name === Symbol("leaseDurationSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1beta1LeaseSpec", :format, val, "int32") + end + if name === Symbol("leaseTransitions") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1beta1LeaseSpec", :format, val, "int32") + end + if name === Symbol("renewTime") + OpenAPI.validate_param(name, "IoK8sApiCoordinationV1beta1LeaseSpec", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl new file mode 100644 index 00000000..ef50b63d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource +Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource(; + fsType=nothing, + partition=nothing, + readOnly=nothing, + volumeID=nothing, + ) + + - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + - partition::Int64 : The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). + - readOnly::Bool : Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + - volumeID::String : Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +""" +Base.@kwdef mutable struct IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + partition::Union{Nothing, Int64} = nothing + readOnly::Union{Nothing, Bool} = nothing + volumeID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource(fsType, partition, readOnly, volumeID, ) + OpenAPI.validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("partition"), partition) + OpenAPI.validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, Symbol("volumeID"), volumeID) + return new(fsType, partition, readOnly, volumeID, ) + end +end # type IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + +const _property_types_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("partition")=>"Int64", Symbol("readOnly")=>"Bool", Symbol("volumeID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource) + o.volumeID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource }, name::Symbol, val) + if name === Symbol("partition") + OpenAPI.validate_param(name, "IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Affinity.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Affinity.jl new file mode 100644 index 00000000..6991d175 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Affinity.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Affinity +Affinity is a group of affinity scheduling rules. + + IoK8sApiCoreV1Affinity(; + nodeAffinity=nothing, + podAffinity=nothing, + podAntiAffinity=nothing, + ) + + - nodeAffinity::IoK8sApiCoreV1NodeAffinity + - podAffinity::IoK8sApiCoreV1PodAffinity + - podAntiAffinity::IoK8sApiCoreV1PodAntiAffinity +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Affinity <: OpenAPI.APIModel + nodeAffinity = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeAffinity } + podAffinity = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodAffinity } + podAntiAffinity = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodAntiAffinity } + + function IoK8sApiCoreV1Affinity(nodeAffinity, podAffinity, podAntiAffinity, ) + OpenAPI.validate_property(IoK8sApiCoreV1Affinity, Symbol("nodeAffinity"), nodeAffinity) + OpenAPI.validate_property(IoK8sApiCoreV1Affinity, Symbol("podAffinity"), podAffinity) + OpenAPI.validate_property(IoK8sApiCoreV1Affinity, Symbol("podAntiAffinity"), podAntiAffinity) + return new(nodeAffinity, podAffinity, podAntiAffinity, ) + end +end # type IoK8sApiCoreV1Affinity + +const _property_types_IoK8sApiCoreV1Affinity = Dict{Symbol,String}(Symbol("nodeAffinity")=>"IoK8sApiCoreV1NodeAffinity", Symbol("podAffinity")=>"IoK8sApiCoreV1PodAffinity", Symbol("podAntiAffinity")=>"IoK8sApiCoreV1PodAntiAffinity", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Affinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Affinity[name]))} + +function check_required(o::IoK8sApiCoreV1Affinity) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Affinity }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1AttachedVolume.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AttachedVolume.jl new file mode 100644 index 00000000..39b027c3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AttachedVolume.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.AttachedVolume +AttachedVolume describes a volume attached to a node + + IoK8sApiCoreV1AttachedVolume(; + devicePath=nothing, + name=nothing, + ) + + - devicePath::String : DevicePath represents the device path where the volume should be available + - name::String : Name of the attached volume +""" +Base.@kwdef mutable struct IoK8sApiCoreV1AttachedVolume <: OpenAPI.APIModel + devicePath::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1AttachedVolume(devicePath, name, ) + OpenAPI.validate_property(IoK8sApiCoreV1AttachedVolume, Symbol("devicePath"), devicePath) + OpenAPI.validate_property(IoK8sApiCoreV1AttachedVolume, Symbol("name"), name) + return new(devicePath, name, ) + end +end # type IoK8sApiCoreV1AttachedVolume + +const _property_types_IoK8sApiCoreV1AttachedVolume = Dict{Symbol,String}(Symbol("devicePath")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1AttachedVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AttachedVolume[name]))} + +function check_required(o::IoK8sApiCoreV1AttachedVolume) + o.devicePath === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1AttachedVolume }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl new file mode 100644 index 00000000..93952675 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureDiskVolumeSource.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.AzureDiskVolumeSource +AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + + IoK8sApiCoreV1AzureDiskVolumeSource(; + cachingMode=nothing, + diskName=nothing, + diskURI=nothing, + fsType=nothing, + kind=nothing, + readOnly=nothing, + ) + + - cachingMode::String : Host Caching mode: None, Read Only, Read Write. + - diskName::String : The Name of the data disk in the blob storage + - diskURI::String : The URI the data disk in the blob storage + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + - kind::String : Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1AzureDiskVolumeSource <: OpenAPI.APIModel + cachingMode::Union{Nothing, String} = nothing + diskName::Union{Nothing, String} = nothing + diskURI::Union{Nothing, String} = nothing + fsType::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1AzureDiskVolumeSource(cachingMode, diskName, diskURI, fsType, kind, readOnly, ) + OpenAPI.validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("cachingMode"), cachingMode) + OpenAPI.validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("diskName"), diskName) + OpenAPI.validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("diskURI"), diskURI) + OpenAPI.validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1AzureDiskVolumeSource, Symbol("readOnly"), readOnly) + return new(cachingMode, diskName, diskURI, fsType, kind, readOnly, ) + end +end # type IoK8sApiCoreV1AzureDiskVolumeSource + +const _property_types_IoK8sApiCoreV1AzureDiskVolumeSource = Dict{Symbol,String}(Symbol("cachingMode")=>"String", Symbol("diskName")=>"String", Symbol("diskURI")=>"String", Symbol("fsType")=>"String", Symbol("kind")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1AzureDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AzureDiskVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1AzureDiskVolumeSource) + o.diskName === nothing && (return false) + o.diskURI === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1AzureDiskVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl new file mode 100644 index 00000000..9a424a2e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureFilePersistentVolumeSource.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.AzureFilePersistentVolumeSource +AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + + IoK8sApiCoreV1AzureFilePersistentVolumeSource(; + readOnly=nothing, + secretName=nothing, + secretNamespace=nothing, + shareName=nothing, + ) + + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretName::String : the name of secret that contains Azure Storage Account Name and Key + - secretNamespace::String : the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod + - shareName::String : Share Name +""" +Base.@kwdef mutable struct IoK8sApiCoreV1AzureFilePersistentVolumeSource <: OpenAPI.APIModel + readOnly::Union{Nothing, Bool} = nothing + secretName::Union{Nothing, String} = nothing + secretNamespace::Union{Nothing, String} = nothing + shareName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1AzureFilePersistentVolumeSource(readOnly, secretName, secretNamespace, shareName, ) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("secretName"), secretName) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("secretNamespace"), secretNamespace) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFilePersistentVolumeSource, Symbol("shareName"), shareName) + return new(readOnly, secretName, secretNamespace, shareName, ) + end +end # type IoK8sApiCoreV1AzureFilePersistentVolumeSource + +const _property_types_IoK8sApiCoreV1AzureFilePersistentVolumeSource = Dict{Symbol,String}(Symbol("readOnly")=>"Bool", Symbol("secretName")=>"String", Symbol("secretNamespace")=>"String", Symbol("shareName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1AzureFilePersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AzureFilePersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1AzureFilePersistentVolumeSource) + o.secretName === nothing && (return false) + o.shareName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1AzureFilePersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureFileVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureFileVolumeSource.jl new file mode 100644 index 00000000..d8da9357 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1AzureFileVolumeSource.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.AzureFileVolumeSource +AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + + IoK8sApiCoreV1AzureFileVolumeSource(; + readOnly=nothing, + secretName=nothing, + shareName=nothing, + ) + + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretName::String : the name of secret that contains Azure Storage Account Name and Key + - shareName::String : Share Name +""" +Base.@kwdef mutable struct IoK8sApiCoreV1AzureFileVolumeSource <: OpenAPI.APIModel + readOnly::Union{Nothing, Bool} = nothing + secretName::Union{Nothing, String} = nothing + shareName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1AzureFileVolumeSource(readOnly, secretName, shareName, ) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFileVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFileVolumeSource, Symbol("secretName"), secretName) + OpenAPI.validate_property(IoK8sApiCoreV1AzureFileVolumeSource, Symbol("shareName"), shareName) + return new(readOnly, secretName, shareName, ) + end +end # type IoK8sApiCoreV1AzureFileVolumeSource + +const _property_types_IoK8sApiCoreV1AzureFileVolumeSource = Dict{Symbol,String}(Symbol("readOnly")=>"Bool", Symbol("secretName")=>"String", Symbol("shareName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1AzureFileVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1AzureFileVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1AzureFileVolumeSource) + o.secretName === nothing && (return false) + o.shareName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1AzureFileVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Binding.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Binding.jl new file mode 100644 index 00000000..4337609c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Binding.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Binding +Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead. + + IoK8sApiCoreV1Binding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + target=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - target::IoK8sApiCoreV1ObjectReference +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Binding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + target = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + + function IoK8sApiCoreV1Binding(apiVersion, kind, metadata, target, ) + OpenAPI.validate_property(IoK8sApiCoreV1Binding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Binding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Binding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Binding, Symbol("target"), target) + return new(apiVersion, kind, metadata, target, ) + end +end # type IoK8sApiCoreV1Binding + +const _property_types_IoK8sApiCoreV1Binding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("target")=>"IoK8sApiCoreV1ObjectReference", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Binding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Binding[name]))} + +function check_required(o::IoK8sApiCoreV1Binding) + o.target === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Binding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl new file mode 100644 index 00000000..6bd801d1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CSIPersistentVolumeSource.jl @@ -0,0 +1,65 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.CSIPersistentVolumeSource +Represents storage that is managed by an external CSI volume driver (Beta feature) + + IoK8sApiCoreV1CSIPersistentVolumeSource(; + controllerExpandSecretRef=nothing, + controllerPublishSecretRef=nothing, + driver=nothing, + fsType=nothing, + nodePublishSecretRef=nothing, + nodeStageSecretRef=nothing, + readOnly=nothing, + volumeAttributes=nothing, + volumeHandle=nothing, + ) + + - controllerExpandSecretRef::IoK8sApiCoreV1SecretReference + - controllerPublishSecretRef::IoK8sApiCoreV1SecretReference + - driver::String : Driver is the name of the driver to use for this volume. Required. + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". + - nodePublishSecretRef::IoK8sApiCoreV1SecretReference + - nodeStageSecretRef::IoK8sApiCoreV1SecretReference + - readOnly::Bool : Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). + - volumeAttributes::Dict{String, String} : Attributes of the volume to publish. + - volumeHandle::String : VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1CSIPersistentVolumeSource <: OpenAPI.APIModel + controllerExpandSecretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + controllerPublishSecretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + driver::Union{Nothing, String} = nothing + fsType::Union{Nothing, String} = nothing + nodePublishSecretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + nodeStageSecretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + readOnly::Union{Nothing, Bool} = nothing + volumeAttributes::Union{Nothing, Dict{String, String}} = nothing + volumeHandle::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1CSIPersistentVolumeSource(controllerExpandSecretRef, controllerPublishSecretRef, driver, fsType, nodePublishSecretRef, nodeStageSecretRef, readOnly, volumeAttributes, volumeHandle, ) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("controllerExpandSecretRef"), controllerExpandSecretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("controllerPublishSecretRef"), controllerPublishSecretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("driver"), driver) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("nodePublishSecretRef"), nodePublishSecretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("nodeStageSecretRef"), nodeStageSecretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("volumeAttributes"), volumeAttributes) + OpenAPI.validate_property(IoK8sApiCoreV1CSIPersistentVolumeSource, Symbol("volumeHandle"), volumeHandle) + return new(controllerExpandSecretRef, controllerPublishSecretRef, driver, fsType, nodePublishSecretRef, nodeStageSecretRef, readOnly, volumeAttributes, volumeHandle, ) + end +end # type IoK8sApiCoreV1CSIPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1CSIPersistentVolumeSource = Dict{Symbol,String}(Symbol("controllerExpandSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("controllerPublishSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("nodePublishSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("nodeStageSecretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("readOnly")=>"Bool", Symbol("volumeAttributes")=>"Dict{String, String}", Symbol("volumeHandle")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1CSIPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CSIPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1CSIPersistentVolumeSource) + o.driver === nothing && (return false) + o.volumeHandle === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1CSIPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1CSIVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CSIVolumeSource.jl new file mode 100644 index 00000000..5b195f50 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CSIVolumeSource.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.CSIVolumeSource +Represents a source location of a volume to mount, managed by an external CSI driver + + IoK8sApiCoreV1CSIVolumeSource(; + driver=nothing, + fsType=nothing, + nodePublishSecretRef=nothing, + readOnly=nothing, + volumeAttributes=nothing, + ) + + - driver::String : Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. + - fsType::String : Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. + - nodePublishSecretRef::IoK8sApiCoreV1LocalObjectReference + - readOnly::Bool : Specifies a read-only configuration for the volume. Defaults to false (read/write). + - volumeAttributes::Dict{String, String} : VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1CSIVolumeSource <: OpenAPI.APIModel + driver::Union{Nothing, String} = nothing + fsType::Union{Nothing, String} = nothing + nodePublishSecretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + readOnly::Union{Nothing, Bool} = nothing + volumeAttributes::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiCoreV1CSIVolumeSource(driver, fsType, nodePublishSecretRef, readOnly, volumeAttributes, ) + OpenAPI.validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("driver"), driver) + OpenAPI.validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("nodePublishSecretRef"), nodePublishSecretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1CSIVolumeSource, Symbol("volumeAttributes"), volumeAttributes) + return new(driver, fsType, nodePublishSecretRef, readOnly, volumeAttributes, ) + end +end # type IoK8sApiCoreV1CSIVolumeSource + +const _property_types_IoK8sApiCoreV1CSIVolumeSource = Dict{Symbol,String}(Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("nodePublishSecretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("readOnly")=>"Bool", Symbol("volumeAttributes")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1CSIVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CSIVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1CSIVolumeSource) + o.driver === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1CSIVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Capabilities.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Capabilities.jl new file mode 100644 index 00000000..50b9d390 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Capabilities.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Capabilities +Adds and removes POSIX capabilities from running containers. + + IoK8sApiCoreV1Capabilities(; + add=nothing, + drop=nothing, + ) + + - add::Vector{String} : Added capabilities + - drop::Vector{String} : Removed capabilities +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Capabilities <: OpenAPI.APIModel + add::Union{Nothing, Vector{String}} = nothing + drop::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1Capabilities(add, drop, ) + OpenAPI.validate_property(IoK8sApiCoreV1Capabilities, Symbol("add"), add) + OpenAPI.validate_property(IoK8sApiCoreV1Capabilities, Symbol("drop"), drop) + return new(add, drop, ) + end +end # type IoK8sApiCoreV1Capabilities + +const _property_types_IoK8sApiCoreV1Capabilities = Dict{Symbol,String}(Symbol("add")=>"Vector{String}", Symbol("drop")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Capabilities }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Capabilities[name]))} + +function check_required(o::IoK8sApiCoreV1Capabilities) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Capabilities }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl new file mode 100644 index 00000000..4530fbf6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CephFSPersistentVolumeSource.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.CephFSPersistentVolumeSource +Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1CephFSPersistentVolumeSource(; + monitors=nothing, + path=nothing, + readOnly=nothing, + secretFile=nothing, + secretRef=nothing, + user=nothing, + ) + + - monitors::Vector{String} : Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + - path::String : Optional: Used as the mounted root, rather than the full Ceph tree, default is / + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + - secretFile::String : Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + - secretRef::IoK8sApiCoreV1SecretReference + - user::String : Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +""" +Base.@kwdef mutable struct IoK8sApiCoreV1CephFSPersistentVolumeSource <: OpenAPI.APIModel + monitors::Union{Nothing, Vector{String}} = nothing + path::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretFile::Union{Nothing, String} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + user::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1CephFSPersistentVolumeSource(monitors, path, readOnly, secretFile, secretRef, user, ) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("monitors"), monitors) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("secretFile"), secretFile) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSPersistentVolumeSource, Symbol("user"), user) + return new(monitors, path, readOnly, secretFile, secretRef, user, ) + end +end # type IoK8sApiCoreV1CephFSPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1CephFSPersistentVolumeSource = Dict{Symbol,String}(Symbol("monitors")=>"Vector{String}", Symbol("path")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretFile")=>"String", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1CephFSPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CephFSPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1CephFSPersistentVolumeSource) + o.monitors === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1CephFSPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1CephFSVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CephFSVolumeSource.jl new file mode 100644 index 00000000..e6b67143 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CephFSVolumeSource.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.CephFSVolumeSource +Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1CephFSVolumeSource(; + monitors=nothing, + path=nothing, + readOnly=nothing, + secretFile=nothing, + secretRef=nothing, + user=nothing, + ) + + - monitors::Vector{String} : Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + - path::String : Optional: Used as the mounted root, rather than the full Ceph tree, default is / + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + - secretFile::String : Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + - secretRef::IoK8sApiCoreV1LocalObjectReference + - user::String : Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +""" +Base.@kwdef mutable struct IoK8sApiCoreV1CephFSVolumeSource <: OpenAPI.APIModel + monitors::Union{Nothing, Vector{String}} = nothing + path::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretFile::Union{Nothing, String} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + user::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1CephFSVolumeSource(monitors, path, readOnly, secretFile, secretRef, user, ) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("monitors"), monitors) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("secretFile"), secretFile) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CephFSVolumeSource, Symbol("user"), user) + return new(monitors, path, readOnly, secretFile, secretRef, user, ) + end +end # type IoK8sApiCoreV1CephFSVolumeSource + +const _property_types_IoK8sApiCoreV1CephFSVolumeSource = Dict{Symbol,String}(Symbol("monitors")=>"Vector{String}", Symbol("path")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretFile")=>"String", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1CephFSVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CephFSVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1CephFSVolumeSource) + o.monitors === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1CephFSVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl new file mode 100644 index 00000000..1bc67cc7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CinderPersistentVolumeSource.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.CinderPersistentVolumeSource +Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1CinderPersistentVolumeSource(; + fsType=nothing, + readOnly=nothing, + secretRef=nothing, + volumeID=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md + - secretRef::IoK8sApiCoreV1SecretReference + - volumeID::String : volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +""" +Base.@kwdef mutable struct IoK8sApiCoreV1CinderPersistentVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + volumeID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1CinderPersistentVolumeSource(fsType, readOnly, secretRef, volumeID, ) + OpenAPI.validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CinderPersistentVolumeSource, Symbol("volumeID"), volumeID) + return new(fsType, readOnly, secretRef, volumeID, ) + end +end # type IoK8sApiCoreV1CinderPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1CinderPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("volumeID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1CinderPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CinderPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1CinderPersistentVolumeSource) + o.volumeID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1CinderPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1CinderVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CinderVolumeSource.jl new file mode 100644 index 00000000..4340a91b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1CinderVolumeSource.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.CinderVolumeSource +Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1CinderVolumeSource(; + fsType=nothing, + readOnly=nothing, + secretRef=nothing, + volumeID=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md + - secretRef::IoK8sApiCoreV1LocalObjectReference + - volumeID::String : volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +""" +Base.@kwdef mutable struct IoK8sApiCoreV1CinderVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + volumeID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1CinderVolumeSource(fsType, readOnly, secretRef, volumeID, ) + OpenAPI.validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1CinderVolumeSource, Symbol("volumeID"), volumeID) + return new(fsType, readOnly, secretRef, volumeID, ) + end +end # type IoK8sApiCoreV1CinderVolumeSource + +const _property_types_IoK8sApiCoreV1CinderVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("volumeID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1CinderVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1CinderVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1CinderVolumeSource) + o.volumeID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1CinderVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ClientIPConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ClientIPConfig.jl new file mode 100644 index 00000000..f7522d2a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ClientIPConfig.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ClientIPConfig +ClientIPConfig represents the configurations of Client IP based session affinity. + + IoK8sApiCoreV1ClientIPConfig(; + timeoutSeconds=nothing, + ) + + - timeoutSeconds::Int64 : timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ClientIPConfig <: OpenAPI.APIModel + timeoutSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1ClientIPConfig(timeoutSeconds, ) + OpenAPI.validate_property(IoK8sApiCoreV1ClientIPConfig, Symbol("timeoutSeconds"), timeoutSeconds) + return new(timeoutSeconds, ) + end +end # type IoK8sApiCoreV1ClientIPConfig + +const _property_types_IoK8sApiCoreV1ClientIPConfig = Dict{Symbol,String}(Symbol("timeoutSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ClientIPConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ClientIPConfig[name]))} + +function check_required(o::IoK8sApiCoreV1ClientIPConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ClientIPConfig }, name::Symbol, val) + if name === Symbol("timeoutSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ClientIPConfig", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentCondition.jl new file mode 100644 index 00000000..7aa3fa01 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentCondition.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ComponentCondition +Information about the condition of a component. + + IoK8sApiCoreV1ComponentCondition(; + error=nothing, + message=nothing, + status=nothing, + type=nothing, + ) + + - error::String : Condition error code for a component. For example, a health check error code. + - message::String : Message about the condition for a component. For example, information about a health check. + - status::String : Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". + - type::String : Type of condition for a component. Valid value: \"Healthy\" +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ComponentCondition <: OpenAPI.APIModel + error::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ComponentCondition(error, message, status, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("error"), error) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentCondition, Symbol("type"), type) + return new(error, message, status, type, ) + end +end # type IoK8sApiCoreV1ComponentCondition + +const _property_types_IoK8sApiCoreV1ComponentCondition = Dict{Symbol,String}(Symbol("error")=>"String", Symbol("message")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ComponentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ComponentCondition[name]))} + +function check_required(o::IoK8sApiCoreV1ComponentCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ComponentCondition }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentStatus.jl new file mode 100644 index 00000000..42a7af6f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ComponentStatus +ComponentStatus (and ComponentStatusList) holds the cluster validation info. + + IoK8sApiCoreV1ComponentStatus(; + apiVersion=nothing, + conditions=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - conditions::Vector{IoK8sApiCoreV1ComponentCondition} : List of component conditions observed + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ComponentStatus <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ComponentCondition} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + + function IoK8sApiCoreV1ComponentStatus(apiVersion, conditions, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatus, Symbol("metadata"), metadata) + return new(apiVersion, conditions, kind, metadata, ) + end +end # type IoK8sApiCoreV1ComponentStatus + +const _property_types_IoK8sApiCoreV1ComponentStatus = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("conditions")=>"Vector{IoK8sApiCoreV1ComponentCondition}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ComponentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ComponentStatus[name]))} + +function check_required(o::IoK8sApiCoreV1ComponentStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ComponentStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentStatusList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentStatusList.jl new file mode 100644 index 00000000..1c955022 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ComponentStatusList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ComponentStatusList +Status of all the conditions for the component as a list of ComponentStatus objects. + + IoK8sApiCoreV1ComponentStatusList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1ComponentStatus} : List of ComponentStatus objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ComponentStatusList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ComponentStatus} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1ComponentStatusList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ComponentStatusList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1ComponentStatusList + +const _property_types_IoK8sApiCoreV1ComponentStatusList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ComponentStatus}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ComponentStatusList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ComponentStatusList[name]))} + +function check_required(o::IoK8sApiCoreV1ComponentStatusList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ComponentStatusList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMap.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMap.jl new file mode 100644 index 00000000..528a9fe2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMap.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMap +ConfigMap holds configuration data for pods to consume. + + IoK8sApiCoreV1ConfigMap(; + apiVersion=nothing, + binaryData=nothing, + data=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - binaryData::Dict{String, Vector{UInt8}} : BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. + - data::Dict{String, String} : Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMap <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + binaryData::Union{Nothing, Dict{String, Vector{UInt8}}} = nothing + data::Union{Nothing, Dict{String, String}} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + + function IoK8sApiCoreV1ConfigMap(apiVersion, binaryData, data, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMap, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMap, Symbol("binaryData"), binaryData) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMap, Symbol("data"), data) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMap, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMap, Symbol("metadata"), metadata) + return new(apiVersion, binaryData, data, kind, metadata, ) + end +end # type IoK8sApiCoreV1ConfigMap + +const _property_types_IoK8sApiCoreV1ConfigMap = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("binaryData")=>"Dict{String, Vector{UInt8}}", Symbol("data")=>"Dict{String, String}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMap[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMap) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMap }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapEnvSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapEnvSource.jl new file mode 100644 index 00000000..3b381be0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapEnvSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMapEnvSource +ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. + + IoK8sApiCoreV1ConfigMapEnvSource(; + name=nothing, + optional=nothing, + ) + + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the ConfigMap must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMapEnvSource <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1ConfigMapEnvSource(name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapEnvSource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapEnvSource, Symbol("optional"), optional) + return new(name, optional, ) + end +end # type IoK8sApiCoreV1ConfigMapEnvSource + +const _property_types_IoK8sApiCoreV1ConfigMapEnvSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMapEnvSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapEnvSource[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMapEnvSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMapEnvSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapKeySelector.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapKeySelector.jl new file mode 100644 index 00000000..2381553a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapKeySelector.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMapKeySelector +Selects a key from a ConfigMap. + + IoK8sApiCoreV1ConfigMapKeySelector(; + key=nothing, + name=nothing, + optional=nothing, + ) + + - key::String : The key to select. + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the ConfigMap or its key must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMapKeySelector <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1ConfigMapKeySelector(key, name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapKeySelector, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapKeySelector, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapKeySelector, Symbol("optional"), optional) + return new(key, name, optional, ) + end +end # type IoK8sApiCoreV1ConfigMapKeySelector + +const _property_types_IoK8sApiCoreV1ConfigMapKeySelector = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMapKeySelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapKeySelector[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMapKeySelector) + o.key === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMapKeySelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapList.jl new file mode 100644 index 00000000..b89b0fad --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMapList +ConfigMapList is a resource containing a list of ConfigMap objects. + + IoK8sApiCoreV1ConfigMapList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1ConfigMap} : Items is the list of ConfigMaps. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMapList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ConfigMap} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1ConfigMapList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1ConfigMapList + +const _property_types_IoK8sApiCoreV1ConfigMapList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ConfigMap}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMapList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapList[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMapList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMapList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl new file mode 100644 index 00000000..de7bd01b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapNodeConfigSource.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMapNodeConfigSource +ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. + + IoK8sApiCoreV1ConfigMapNodeConfigSource(; + kubeletConfigKey=nothing, + name=nothing, + namespace=nothing, + resourceVersion=nothing, + uid=nothing, + ) + + - kubeletConfigKey::String : KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. + - name::String : Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. + - namespace::String : Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. + - resourceVersion::String : ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + - uid::String : UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMapNodeConfigSource <: OpenAPI.APIModel + kubeletConfigKey::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + resourceVersion::Union{Nothing, String} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ConfigMapNodeConfigSource(kubeletConfigKey, name, namespace, resourceVersion, uid, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("kubeletConfigKey"), kubeletConfigKey) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("resourceVersion"), resourceVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapNodeConfigSource, Symbol("uid"), uid) + return new(kubeletConfigKey, name, namespace, resourceVersion, uid, ) + end +end # type IoK8sApiCoreV1ConfigMapNodeConfigSource + +const _property_types_IoK8sApiCoreV1ConfigMapNodeConfigSource = Dict{Symbol,String}(Symbol("kubeletConfigKey")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resourceVersion")=>"String", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMapNodeConfigSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapNodeConfigSource[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMapNodeConfigSource) + o.kubeletConfigKey === nothing && (return false) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMapNodeConfigSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapProjection.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapProjection.jl new file mode 100644 index 00000000..efe20dd5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapProjection.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMapProjection +Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. + + IoK8sApiCoreV1ConfigMapProjection(; + items=nothing, + name=nothing, + optional=nothing, + ) + + - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the ConfigMap or its keys must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMapProjection <: OpenAPI.APIModel + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1ConfigMapProjection(items, name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapProjection, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapProjection, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapProjection, Symbol("optional"), optional) + return new(items, name, optional, ) + end +end # type IoK8sApiCoreV1ConfigMapProjection + +const _property_types_IoK8sApiCoreV1ConfigMapProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMapProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapProjection[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMapProjection) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMapProjection }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl new file mode 100644 index 00000000..e4af2a61 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ConfigMapVolumeSource.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ConfigMapVolumeSource +Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1ConfigMapVolumeSource(; + defaultMode=nothing, + items=nothing, + name=nothing, + optional=nothing, + ) + + - defaultMode::Int64 : Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the ConfigMap or its keys must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ConfigMapVolumeSource <: OpenAPI.APIModel + defaultMode::Union{Nothing, Int64} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1ConfigMapVolumeSource(defaultMode, items, name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("defaultMode"), defaultMode) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ConfigMapVolumeSource, Symbol("optional"), optional) + return new(defaultMode, items, name, optional, ) + end +end # type IoK8sApiCoreV1ConfigMapVolumeSource + +const _property_types_IoK8sApiCoreV1ConfigMapVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int64", Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ConfigMapVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ConfigMapVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1ConfigMapVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ConfigMapVolumeSource }, name::Symbol, val) + if name === Symbol("defaultMode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ConfigMapVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Container.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Container.jl new file mode 100644 index 00000000..f63e7a72 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Container.jl @@ -0,0 +1,116 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Container +A single application container that you want to run within a pod. + + IoK8sApiCoreV1Container(; + args=nothing, + command=nothing, + env=nothing, + envFrom=nothing, + image=nothing, + imagePullPolicy=nothing, + lifecycle=nothing, + livenessProbe=nothing, + name=nothing, + ports=nothing, + readinessProbe=nothing, + resources=nothing, + securityContext=nothing, + startupProbe=nothing, + stdin=nothing, + stdinOnce=nothing, + terminationMessagePath=nothing, + terminationMessagePolicy=nothing, + tty=nothing, + volumeDevices=nothing, + volumeMounts=nothing, + workingDir=nothing, + ) + + - args::Vector{String} : Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + - command::Vector{String} : Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + - env::Vector{IoK8sApiCoreV1EnvVar} : List of environment variables to set in the container. Cannot be updated. + - envFrom::Vector{IoK8sApiCoreV1EnvFromSource} : List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. + - image::String : Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. + - imagePullPolicy::String : Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + - lifecycle::IoK8sApiCoreV1Lifecycle + - livenessProbe::IoK8sApiCoreV1Probe + - name::String : Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + - ports::Vector{IoK8sApiCoreV1ContainerPort} : List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. + - readinessProbe::IoK8sApiCoreV1Probe + - resources::IoK8sApiCoreV1ResourceRequirements + - securityContext::IoK8sApiCoreV1SecurityContext + - startupProbe::IoK8sApiCoreV1Probe + - stdin::Bool : Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. + - stdinOnce::Bool : Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + - terminationMessagePath::String : Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. + - terminationMessagePolicy::String : Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + - tty::Bool : Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. + - volumeDevices::Vector{IoK8sApiCoreV1VolumeDevice} : volumeDevices is the list of block devices to be used by the container. This is a beta feature. + - volumeMounts::Vector{IoK8sApiCoreV1VolumeMount} : Pod volumes to mount into the container's filesystem. Cannot be updated. + - workingDir::String : Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Container <: OpenAPI.APIModel + args::Union{Nothing, Vector{String}} = nothing + command::Union{Nothing, Vector{String}} = nothing + env::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvVar} } + envFrom::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvFromSource} } + image::Union{Nothing, String} = nothing + imagePullPolicy::Union{Nothing, String} = nothing + lifecycle = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Lifecycle } + livenessProbe = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } + name::Union{Nothing, String} = nothing + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerPort} } + readinessProbe = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } + resources = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceRequirements } + securityContext = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecurityContext } + startupProbe = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } + stdin::Union{Nothing, Bool} = nothing + stdinOnce::Union{Nothing, Bool} = nothing + terminationMessagePath::Union{Nothing, String} = nothing + terminationMessagePolicy::Union{Nothing, String} = nothing + tty::Union{Nothing, Bool} = nothing + volumeDevices::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeDevice} } + volumeMounts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeMount} } + workingDir::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1Container(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resources, securityContext, startupProbe, stdin, stdinOnce, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir, ) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("args"), args) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("command"), command) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("env"), env) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("envFrom"), envFrom) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("image"), image) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("imagePullPolicy"), imagePullPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("lifecycle"), lifecycle) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("livenessProbe"), livenessProbe) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("ports"), ports) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("readinessProbe"), readinessProbe) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("securityContext"), securityContext) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("startupProbe"), startupProbe) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("stdin"), stdin) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("stdinOnce"), stdinOnce) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("terminationMessagePath"), terminationMessagePath) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("terminationMessagePolicy"), terminationMessagePolicy) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("tty"), tty) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("volumeDevices"), volumeDevices) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("volumeMounts"), volumeMounts) + OpenAPI.validate_property(IoK8sApiCoreV1Container, Symbol("workingDir"), workingDir) + return new(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resources, securityContext, startupProbe, stdin, stdinOnce, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir, ) + end +end # type IoK8sApiCoreV1Container + +const _property_types_IoK8sApiCoreV1Container = Dict{Symbol,String}(Symbol("args")=>"Vector{String}", Symbol("command")=>"Vector{String}", Symbol("env")=>"Vector{IoK8sApiCoreV1EnvVar}", Symbol("envFrom")=>"Vector{IoK8sApiCoreV1EnvFromSource}", Symbol("image")=>"String", Symbol("imagePullPolicy")=>"String", Symbol("lifecycle")=>"IoK8sApiCoreV1Lifecycle", Symbol("livenessProbe")=>"IoK8sApiCoreV1Probe", Symbol("name")=>"String", Symbol("ports")=>"Vector{IoK8sApiCoreV1ContainerPort}", Symbol("readinessProbe")=>"IoK8sApiCoreV1Probe", Symbol("resources")=>"IoK8sApiCoreV1ResourceRequirements", Symbol("securityContext")=>"IoK8sApiCoreV1SecurityContext", Symbol("startupProbe")=>"IoK8sApiCoreV1Probe", Symbol("stdin")=>"Bool", Symbol("stdinOnce")=>"Bool", Symbol("terminationMessagePath")=>"String", Symbol("terminationMessagePolicy")=>"String", Symbol("tty")=>"Bool", Symbol("volumeDevices")=>"Vector{IoK8sApiCoreV1VolumeDevice}", Symbol("volumeMounts")=>"Vector{IoK8sApiCoreV1VolumeMount}", Symbol("workingDir")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Container }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Container[name]))} + +function check_required(o::IoK8sApiCoreV1Container) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Container }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerImage.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerImage.jl new file mode 100644 index 00000000..c87e5bc1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerImage.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerImage +Describe a container image + + IoK8sApiCoreV1ContainerImage(; + names=nothing, + sizeBytes=nothing, + ) + + - names::Vector{String} : Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] + - sizeBytes::Int64 : The size of the image in bytes. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerImage <: OpenAPI.APIModel + names::Union{Nothing, Vector{String}} = nothing + sizeBytes::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1ContainerImage(names, sizeBytes, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerImage, Symbol("names"), names) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerImage, Symbol("sizeBytes"), sizeBytes) + return new(names, sizeBytes, ) + end +end # type IoK8sApiCoreV1ContainerImage + +const _property_types_IoK8sApiCoreV1ContainerImage = Dict{Symbol,String}(Symbol("names")=>"Vector{String}", Symbol("sizeBytes")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerImage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerImage[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerImage) + o.names === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerImage }, name::Symbol, val) + if name === Symbol("sizeBytes") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerImage", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerPort.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerPort.jl new file mode 100644 index 00000000..0d5a787e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerPort.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerPort +ContainerPort represents a network port in a single container. + + IoK8sApiCoreV1ContainerPort(; + containerPort=nothing, + hostIP=nothing, + hostPort=nothing, + name=nothing, + protocol=nothing, + ) + + - containerPort::Int64 : Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. + - hostIP::String : What host IP to bind the external port to. + - hostPort::Int64 : Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. + - name::String : If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. + - protocol::String : Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerPort <: OpenAPI.APIModel + containerPort::Union{Nothing, Int64} = nothing + hostIP::Union{Nothing, String} = nothing + hostPort::Union{Nothing, Int64} = nothing + name::Union{Nothing, String} = nothing + protocol::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ContainerPort(containerPort, hostIP, hostPort, name, protocol, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerPort, Symbol("containerPort"), containerPort) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerPort, Symbol("hostIP"), hostIP) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerPort, Symbol("hostPort"), hostPort) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerPort, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerPort, Symbol("protocol"), protocol) + return new(containerPort, hostIP, hostPort, name, protocol, ) + end +end # type IoK8sApiCoreV1ContainerPort + +const _property_types_IoK8sApiCoreV1ContainerPort = Dict{Symbol,String}(Symbol("containerPort")=>"Int64", Symbol("hostIP")=>"String", Symbol("hostPort")=>"Int64", Symbol("name")=>"String", Symbol("protocol")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerPort[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerPort) + o.containerPort === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerPort }, name::Symbol, val) + if name === Symbol("containerPort") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerPort", :format, val, "int32") + end + if name === Symbol("hostPort") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerPort", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerState.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerState.jl new file mode 100644 index 00000000..94dbb927 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerState.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerState +ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. + + IoK8sApiCoreV1ContainerState(; + running=nothing, + terminated=nothing, + waiting=nothing, + ) + + - running::IoK8sApiCoreV1ContainerStateRunning + - terminated::IoK8sApiCoreV1ContainerStateTerminated + - waiting::IoK8sApiCoreV1ContainerStateWaiting +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerState <: OpenAPI.APIModel + running = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerStateRunning } + terminated = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerStateTerminated } + waiting = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerStateWaiting } + + function IoK8sApiCoreV1ContainerState(running, terminated, waiting, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerState, Symbol("running"), running) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerState, Symbol("terminated"), terminated) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerState, Symbol("waiting"), waiting) + return new(running, terminated, waiting, ) + end +end # type IoK8sApiCoreV1ContainerState + +const _property_types_IoK8sApiCoreV1ContainerState = Dict{Symbol,String}(Symbol("running")=>"IoK8sApiCoreV1ContainerStateRunning", Symbol("terminated")=>"IoK8sApiCoreV1ContainerStateTerminated", Symbol("waiting")=>"IoK8sApiCoreV1ContainerStateWaiting", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerState[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerState) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerState }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateRunning.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateRunning.jl new file mode 100644 index 00000000..3b0f8212 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateRunning.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerStateRunning +ContainerStateRunning is a running state of a container. + + IoK8sApiCoreV1ContainerStateRunning(; + startedAt=nothing, + ) + + - startedAt::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerStateRunning <: OpenAPI.APIModel + startedAt::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiCoreV1ContainerStateRunning(startedAt, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateRunning, Symbol("startedAt"), startedAt) + return new(startedAt, ) + end +end # type IoK8sApiCoreV1ContainerStateRunning + +const _property_types_IoK8sApiCoreV1ContainerStateRunning = Dict{Symbol,String}(Symbol("startedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerStateRunning }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStateRunning[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerStateRunning) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerStateRunning }, name::Symbol, val) + if name === Symbol("startedAt") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerStateRunning", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateTerminated.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateTerminated.jl new file mode 100644 index 00000000..fd1cf0c8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateTerminated.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerStateTerminated +ContainerStateTerminated is a terminated state of a container. + + IoK8sApiCoreV1ContainerStateTerminated(; + containerID=nothing, + exitCode=nothing, + finishedAt=nothing, + message=nothing, + reason=nothing, + signal=nothing, + startedAt=nothing, + ) + + - containerID::String : Container's ID in the format 'docker://<container_id>' + - exitCode::Int64 : Exit status from the last termination of the container + - finishedAt::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Message regarding the last termination of the container + - reason::String : (brief) reason from the last termination of the container + - signal::Int64 : Signal from the last termination of the container + - startedAt::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerStateTerminated <: OpenAPI.APIModel + containerID::Union{Nothing, String} = nothing + exitCode::Union{Nothing, Int64} = nothing + finishedAt::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + signal::Union{Nothing, Int64} = nothing + startedAt::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiCoreV1ContainerStateTerminated(containerID, exitCode, finishedAt, message, reason, signal, startedAt, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("containerID"), containerID) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("exitCode"), exitCode) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("finishedAt"), finishedAt) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("signal"), signal) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateTerminated, Symbol("startedAt"), startedAt) + return new(containerID, exitCode, finishedAt, message, reason, signal, startedAt, ) + end +end # type IoK8sApiCoreV1ContainerStateTerminated + +const _property_types_IoK8sApiCoreV1ContainerStateTerminated = Dict{Symbol,String}(Symbol("containerID")=>"String", Symbol("exitCode")=>"Int64", Symbol("finishedAt")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("signal")=>"Int64", Symbol("startedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerStateTerminated }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStateTerminated[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerStateTerminated) + o.exitCode === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerStateTerminated }, name::Symbol, val) + if name === Symbol("exitCode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerStateTerminated", :format, val, "int32") + end + if name === Symbol("finishedAt") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerStateTerminated", :format, val, "date-time") + end + if name === Symbol("signal") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerStateTerminated", :format, val, "int32") + end + if name === Symbol("startedAt") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerStateTerminated", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateWaiting.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateWaiting.jl new file mode 100644 index 00000000..2c69459c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStateWaiting.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerStateWaiting +ContainerStateWaiting is a waiting state of a container. + + IoK8sApiCoreV1ContainerStateWaiting(; + message=nothing, + reason=nothing, + ) + + - message::String : Message regarding why the container is not yet running. + - reason::String : (brief) reason the container is not yet running. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerStateWaiting <: OpenAPI.APIModel + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ContainerStateWaiting(message, reason, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateWaiting, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStateWaiting, Symbol("reason"), reason) + return new(message, reason, ) + end +end # type IoK8sApiCoreV1ContainerStateWaiting + +const _property_types_IoK8sApiCoreV1ContainerStateWaiting = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("reason")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerStateWaiting }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStateWaiting[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerStateWaiting) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerStateWaiting }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStatus.jl new file mode 100644 index 00000000..02713ea8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ContainerStatus.jl @@ -0,0 +1,71 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ContainerStatus +ContainerStatus contains details for the current status of this container. + + IoK8sApiCoreV1ContainerStatus(; + containerID=nothing, + image=nothing, + imageID=nothing, + lastState=nothing, + name=nothing, + ready=nothing, + restartCount=nothing, + started=nothing, + state=nothing, + ) + + - containerID::String : Container's ID in the format 'docker://<container_id>'. + - image::String : The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images + - imageID::String : ImageID of the container's image. + - lastState::IoK8sApiCoreV1ContainerState + - name::String : This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. + - ready::Bool : Specifies whether the container has passed its readiness probe. + - restartCount::Int64 : The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC. + - started::Bool : Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined. + - state::IoK8sApiCoreV1ContainerState +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ContainerStatus <: OpenAPI.APIModel + containerID::Union{Nothing, String} = nothing + image::Union{Nothing, String} = nothing + imageID::Union{Nothing, String} = nothing + lastState = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerState } + name::Union{Nothing, String} = nothing + ready::Union{Nothing, Bool} = nothing + restartCount::Union{Nothing, Int64} = nothing + started::Union{Nothing, Bool} = nothing + state = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ContainerState } + + function IoK8sApiCoreV1ContainerStatus(containerID, image, imageID, lastState, name, ready, restartCount, started, state, ) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("containerID"), containerID) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("image"), image) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("imageID"), imageID) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("lastState"), lastState) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("ready"), ready) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("restartCount"), restartCount) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("started"), started) + OpenAPI.validate_property(IoK8sApiCoreV1ContainerStatus, Symbol("state"), state) + return new(containerID, image, imageID, lastState, name, ready, restartCount, started, state, ) + end +end # type IoK8sApiCoreV1ContainerStatus + +const _property_types_IoK8sApiCoreV1ContainerStatus = Dict{Symbol,String}(Symbol("containerID")=>"String", Symbol("image")=>"String", Symbol("imageID")=>"String", Symbol("lastState")=>"IoK8sApiCoreV1ContainerState", Symbol("name")=>"String", Symbol("ready")=>"Bool", Symbol("restartCount")=>"Int64", Symbol("started")=>"Bool", Symbol("state")=>"IoK8sApiCoreV1ContainerState", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ContainerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ContainerStatus[name]))} + +function check_required(o::IoK8sApiCoreV1ContainerStatus) + o.image === nothing && (return false) + o.imageID === nothing && (return false) + o.name === nothing && (return false) + o.ready === nothing && (return false) + o.restartCount === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ContainerStatus }, name::Symbol, val) + if name === Symbol("restartCount") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ContainerStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1DaemonEndpoint.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DaemonEndpoint.jl new file mode 100644 index 00000000..edf69804 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DaemonEndpoint.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.DaemonEndpoint +DaemonEndpoint contains information about a single Daemon endpoint. + + IoK8sApiCoreV1DaemonEndpoint(; + Port=nothing, + ) + + - Port::Int64 : Port number of the given endpoint. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1DaemonEndpoint <: OpenAPI.APIModel + Port::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1DaemonEndpoint(Port, ) + OpenAPI.validate_property(IoK8sApiCoreV1DaemonEndpoint, Symbol("Port"), Port) + return new(Port, ) + end +end # type IoK8sApiCoreV1DaemonEndpoint + +const _property_types_IoK8sApiCoreV1DaemonEndpoint = Dict{Symbol,String}(Symbol("Port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1DaemonEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DaemonEndpoint[name]))} + +function check_required(o::IoK8sApiCoreV1DaemonEndpoint) + o.Port === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1DaemonEndpoint }, name::Symbol, val) + if name === Symbol("Port") + OpenAPI.validate_param(name, "IoK8sApiCoreV1DaemonEndpoint", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIProjection.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIProjection.jl new file mode 100644 index 00000000..ac85c446 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIProjection.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.DownwardAPIProjection +Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. + + IoK8sApiCoreV1DownwardAPIProjection(; + items=nothing, + ) + + - items::Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} : Items is a list of DownwardAPIVolume file +""" +Base.@kwdef mutable struct IoK8sApiCoreV1DownwardAPIProjection <: OpenAPI.APIModel + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} } + + function IoK8sApiCoreV1DownwardAPIProjection(items, ) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIProjection, Symbol("items"), items) + return new(items, ) + end +end # type IoK8sApiCoreV1DownwardAPIProjection + +const _property_types_IoK8sApiCoreV1DownwardAPIProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1DownwardAPIVolumeFile}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIProjection[name]))} + +function check_required(o::IoK8sApiCoreV1DownwardAPIProjection) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl new file mode 100644 index 00000000..af4b67d1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIVolumeFile.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.DownwardAPIVolumeFile +DownwardAPIVolumeFile represents information to create the file containing the pod field + + IoK8sApiCoreV1DownwardAPIVolumeFile(; + fieldRef=nothing, + mode=nothing, + path=nothing, + resourceFieldRef=nothing, + ) + + - fieldRef::IoK8sApiCoreV1ObjectFieldSelector + - mode::Int64 : Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + - path::String : Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' + - resourceFieldRef::IoK8sApiCoreV1ResourceFieldSelector +""" +Base.@kwdef mutable struct IoK8sApiCoreV1DownwardAPIVolumeFile <: OpenAPI.APIModel + fieldRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectFieldSelector } + mode::Union{Nothing, Int64} = nothing + path::Union{Nothing, String} = nothing + resourceFieldRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceFieldSelector } + + function IoK8sApiCoreV1DownwardAPIVolumeFile(fieldRef, mode, path, resourceFieldRef, ) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("fieldRef"), fieldRef) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("mode"), mode) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIVolumeFile, Symbol("resourceFieldRef"), resourceFieldRef) + return new(fieldRef, mode, path, resourceFieldRef, ) + end +end # type IoK8sApiCoreV1DownwardAPIVolumeFile + +const _property_types_IoK8sApiCoreV1DownwardAPIVolumeFile = Dict{Symbol,String}(Symbol("fieldRef")=>"IoK8sApiCoreV1ObjectFieldSelector", Symbol("mode")=>"Int64", Symbol("path")=>"String", Symbol("resourceFieldRef")=>"IoK8sApiCoreV1ResourceFieldSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1DownwardAPIVolumeFile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIVolumeFile[name]))} + +function check_required(o::IoK8sApiCoreV1DownwardAPIVolumeFile) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1DownwardAPIVolumeFile }, name::Symbol, val) + if name === Symbol("mode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1DownwardAPIVolumeFile", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl new file mode 100644 index 00000000..d395279b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1DownwardAPIVolumeSource.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.DownwardAPIVolumeSource +DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1DownwardAPIVolumeSource(; + defaultMode=nothing, + items=nothing, + ) + + - defaultMode::Int64 : Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + - items::Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} : Items is a list of downward API volume file +""" +Base.@kwdef mutable struct IoK8sApiCoreV1DownwardAPIVolumeSource <: OpenAPI.APIModel + defaultMode::Union{Nothing, Int64} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} } + + function IoK8sApiCoreV1DownwardAPIVolumeSource(defaultMode, items, ) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIVolumeSource, Symbol("defaultMode"), defaultMode) + OpenAPI.validate_property(IoK8sApiCoreV1DownwardAPIVolumeSource, Symbol("items"), items) + return new(defaultMode, items, ) + end +end # type IoK8sApiCoreV1DownwardAPIVolumeSource + +const _property_types_IoK8sApiCoreV1DownwardAPIVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int64", Symbol("items")=>"Vector{IoK8sApiCoreV1DownwardAPIVolumeFile}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1DownwardAPIVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1DownwardAPIVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1DownwardAPIVolumeSource }, name::Symbol, val) + if name === Symbol("defaultMode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1DownwardAPIVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl new file mode 100644 index 00000000..2e2a31c5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EmptyDirVolumeSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EmptyDirVolumeSource +Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1EmptyDirVolumeSource(; + medium=nothing, + sizeLimit=nothing, + ) + + - medium::String : What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + - sizeLimit::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EmptyDirVolumeSource <: OpenAPI.APIModel + medium::Union{Nothing, String} = nothing + sizeLimit::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1EmptyDirVolumeSource(medium, sizeLimit, ) + OpenAPI.validate_property(IoK8sApiCoreV1EmptyDirVolumeSource, Symbol("medium"), medium) + OpenAPI.validate_property(IoK8sApiCoreV1EmptyDirVolumeSource, Symbol("sizeLimit"), sizeLimit) + return new(medium, sizeLimit, ) + end +end # type IoK8sApiCoreV1EmptyDirVolumeSource + +const _property_types_IoK8sApiCoreV1EmptyDirVolumeSource = Dict{Symbol,String}(Symbol("medium")=>"String", Symbol("sizeLimit")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EmptyDirVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EmptyDirVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1EmptyDirVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EmptyDirVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointAddress.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointAddress.jl new file mode 100644 index 00000000..53c0e65f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointAddress.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EndpointAddress +EndpointAddress is a tuple that describes single IP address. + + IoK8sApiCoreV1EndpointAddress(; + hostname=nothing, + ip=nothing, + nodeName=nothing, + targetRef=nothing, + ) + + - hostname::String : The Hostname of this endpoint + - ip::String : The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. + - nodeName::String : Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. + - targetRef::IoK8sApiCoreV1ObjectReference +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EndpointAddress <: OpenAPI.APIModel + hostname::Union{Nothing, String} = nothing + ip::Union{Nothing, String} = nothing + nodeName::Union{Nothing, String} = nothing + targetRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + + function IoK8sApiCoreV1EndpointAddress(hostname, ip, nodeName, targetRef, ) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("hostname"), hostname) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("ip"), ip) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("nodeName"), nodeName) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointAddress, Symbol("targetRef"), targetRef) + return new(hostname, ip, nodeName, targetRef, ) + end +end # type IoK8sApiCoreV1EndpointAddress + +const _property_types_IoK8sApiCoreV1EndpointAddress = Dict{Symbol,String}(Symbol("hostname")=>"String", Symbol("ip")=>"String", Symbol("nodeName")=>"String", Symbol("targetRef")=>"IoK8sApiCoreV1ObjectReference", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EndpointAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointAddress[name]))} + +function check_required(o::IoK8sApiCoreV1EndpointAddress) + o.ip === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EndpointAddress }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointPort.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointPort.jl new file mode 100644 index 00000000..5c03cae6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointPort.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EndpointPort +EndpointPort is a tuple that describes a single port. + + IoK8sApiCoreV1EndpointPort(; + name=nothing, + port=nothing, + protocol=nothing, + ) + + - name::String : The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. + - port::Int64 : The port number of the endpoint. + - protocol::String : The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EndpointPort <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1EndpointPort(name, port, protocol, ) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointPort, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointPort, Symbol("port"), port) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointPort, Symbol("protocol"), protocol) + return new(name, port, protocol, ) + end +end # type IoK8sApiCoreV1EndpointPort + +const _property_types_IoK8sApiCoreV1EndpointPort = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("port")=>"Int64", Symbol("protocol")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EndpointPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointPort[name]))} + +function check_required(o::IoK8sApiCoreV1EndpointPort) + o.port === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EndpointPort }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiCoreV1EndpointPort", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointSubset.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointSubset.jl new file mode 100644 index 00000000..23706e95 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointSubset.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EndpointSubset +EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ] + + IoK8sApiCoreV1EndpointSubset(; + addresses=nothing, + notReadyAddresses=nothing, + ports=nothing, + ) + + - addresses::Vector{IoK8sApiCoreV1EndpointAddress} : IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. + - notReadyAddresses::Vector{IoK8sApiCoreV1EndpointAddress} : IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. + - ports::Vector{IoK8sApiCoreV1EndpointPort} : Port numbers available on the related IP addresses. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EndpointSubset <: OpenAPI.APIModel + addresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointAddress} } + notReadyAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointAddress} } + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointPort} } + + function IoK8sApiCoreV1EndpointSubset(addresses, notReadyAddresses, ports, ) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointSubset, Symbol("addresses"), addresses) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointSubset, Symbol("notReadyAddresses"), notReadyAddresses) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointSubset, Symbol("ports"), ports) + return new(addresses, notReadyAddresses, ports, ) + end +end # type IoK8sApiCoreV1EndpointSubset + +const _property_types_IoK8sApiCoreV1EndpointSubset = Dict{Symbol,String}(Symbol("addresses")=>"Vector{IoK8sApiCoreV1EndpointAddress}", Symbol("notReadyAddresses")=>"Vector{IoK8sApiCoreV1EndpointAddress}", Symbol("ports")=>"Vector{IoK8sApiCoreV1EndpointPort}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EndpointSubset }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointSubset[name]))} + +function check_required(o::IoK8sApiCoreV1EndpointSubset) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EndpointSubset }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Endpoints.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Endpoints.jl new file mode 100644 index 00000000..043b6665 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Endpoints.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Endpoints +Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ] + + IoK8sApiCoreV1Endpoints(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + subsets=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - subsets::Vector{IoK8sApiCoreV1EndpointSubset} : The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Endpoints <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + subsets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EndpointSubset} } + + function IoK8sApiCoreV1Endpoints(apiVersion, kind, metadata, subsets, ) + OpenAPI.validate_property(IoK8sApiCoreV1Endpoints, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Endpoints, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Endpoints, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Endpoints, Symbol("subsets"), subsets) + return new(apiVersion, kind, metadata, subsets, ) + end +end # type IoK8sApiCoreV1Endpoints + +const _property_types_IoK8sApiCoreV1Endpoints = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("subsets")=>"Vector{IoK8sApiCoreV1EndpointSubset}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Endpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Endpoints[name]))} + +function check_required(o::IoK8sApiCoreV1Endpoints) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Endpoints }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointsList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointsList.jl new file mode 100644 index 00000000..d4f96756 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EndpointsList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EndpointsList +EndpointsList is a list of endpoints. + + IoK8sApiCoreV1EndpointsList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Endpoints} : List of endpoints. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EndpointsList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Endpoints} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1EndpointsList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointsList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointsList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointsList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1EndpointsList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1EndpointsList + +const _property_types_IoK8sApiCoreV1EndpointsList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Endpoints}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EndpointsList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EndpointsList[name]))} + +function check_required(o::IoK8sApiCoreV1EndpointsList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EndpointsList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvFromSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvFromSource.jl new file mode 100644 index 00000000..1bcbfdcf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvFromSource.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EnvFromSource +EnvFromSource represents the source of a set of ConfigMaps + + IoK8sApiCoreV1EnvFromSource(; + configMapRef=nothing, + prefix=nothing, + secretRef=nothing, + ) + + - configMapRef::IoK8sApiCoreV1ConfigMapEnvSource + - prefix::String : An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + - secretRef::IoK8sApiCoreV1SecretEnvSource +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EnvFromSource <: OpenAPI.APIModel + configMapRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapEnvSource } + prefix::Union{Nothing, String} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretEnvSource } + + function IoK8sApiCoreV1EnvFromSource(configMapRef, prefix, secretRef, ) + OpenAPI.validate_property(IoK8sApiCoreV1EnvFromSource, Symbol("configMapRef"), configMapRef) + OpenAPI.validate_property(IoK8sApiCoreV1EnvFromSource, Symbol("prefix"), prefix) + OpenAPI.validate_property(IoK8sApiCoreV1EnvFromSource, Symbol("secretRef"), secretRef) + return new(configMapRef, prefix, secretRef, ) + end +end # type IoK8sApiCoreV1EnvFromSource + +const _property_types_IoK8sApiCoreV1EnvFromSource = Dict{Symbol,String}(Symbol("configMapRef")=>"IoK8sApiCoreV1ConfigMapEnvSource", Symbol("prefix")=>"String", Symbol("secretRef")=>"IoK8sApiCoreV1SecretEnvSource", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EnvFromSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EnvFromSource[name]))} + +function check_required(o::IoK8sApiCoreV1EnvFromSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EnvFromSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvVar.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvVar.jl new file mode 100644 index 00000000..e1581da5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvVar.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EnvVar +EnvVar represents an environment variable present in a Container. + + IoK8sApiCoreV1EnvVar(; + name=nothing, + value=nothing, + valueFrom=nothing, + ) + + - name::String : Name of the environment variable. Must be a C_IDENTIFIER. + - value::String : Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". + - valueFrom::IoK8sApiCoreV1EnvVarSource +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EnvVar <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + valueFrom = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1EnvVarSource } + + function IoK8sApiCoreV1EnvVar(name, value, valueFrom, ) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVar, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVar, Symbol("value"), value) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVar, Symbol("valueFrom"), valueFrom) + return new(name, value, valueFrom, ) + end +end # type IoK8sApiCoreV1EnvVar + +const _property_types_IoK8sApiCoreV1EnvVar = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", Symbol("valueFrom")=>"IoK8sApiCoreV1EnvVarSource", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EnvVar }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EnvVar[name]))} + +function check_required(o::IoK8sApiCoreV1EnvVar) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EnvVar }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvVarSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvVarSource.jl new file mode 100644 index 00000000..84196b8d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EnvVarSource.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EnvVarSource +EnvVarSource represents a source for the value of an EnvVar. + + IoK8sApiCoreV1EnvVarSource(; + configMapKeyRef=nothing, + fieldRef=nothing, + resourceFieldRef=nothing, + secretKeyRef=nothing, + ) + + - configMapKeyRef::IoK8sApiCoreV1ConfigMapKeySelector + - fieldRef::IoK8sApiCoreV1ObjectFieldSelector + - resourceFieldRef::IoK8sApiCoreV1ResourceFieldSelector + - secretKeyRef::IoK8sApiCoreV1SecretKeySelector +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EnvVarSource <: OpenAPI.APIModel + configMapKeyRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapKeySelector } + fieldRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectFieldSelector } + resourceFieldRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceFieldSelector } + secretKeyRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretKeySelector } + + function IoK8sApiCoreV1EnvVarSource(configMapKeyRef, fieldRef, resourceFieldRef, secretKeyRef, ) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("configMapKeyRef"), configMapKeyRef) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("fieldRef"), fieldRef) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("resourceFieldRef"), resourceFieldRef) + OpenAPI.validate_property(IoK8sApiCoreV1EnvVarSource, Symbol("secretKeyRef"), secretKeyRef) + return new(configMapKeyRef, fieldRef, resourceFieldRef, secretKeyRef, ) + end +end # type IoK8sApiCoreV1EnvVarSource + +const _property_types_IoK8sApiCoreV1EnvVarSource = Dict{Symbol,String}(Symbol("configMapKeyRef")=>"IoK8sApiCoreV1ConfigMapKeySelector", Symbol("fieldRef")=>"IoK8sApiCoreV1ObjectFieldSelector", Symbol("resourceFieldRef")=>"IoK8sApiCoreV1ResourceFieldSelector", Symbol("secretKeyRef")=>"IoK8sApiCoreV1SecretKeySelector", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EnvVarSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EnvVarSource[name]))} + +function check_required(o::IoK8sApiCoreV1EnvVarSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EnvVarSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EphemeralContainer.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EphemeralContainer.jl new file mode 100644 index 00000000..a5d165de --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EphemeralContainer.jl @@ -0,0 +1,120 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EphemeralContainer +An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag. + + IoK8sApiCoreV1EphemeralContainer(; + args=nothing, + command=nothing, + env=nothing, + envFrom=nothing, + image=nothing, + imagePullPolicy=nothing, + lifecycle=nothing, + livenessProbe=nothing, + name=nothing, + ports=nothing, + readinessProbe=nothing, + resources=nothing, + securityContext=nothing, + startupProbe=nothing, + stdin=nothing, + stdinOnce=nothing, + targetContainerName=nothing, + terminationMessagePath=nothing, + terminationMessagePolicy=nothing, + tty=nothing, + volumeDevices=nothing, + volumeMounts=nothing, + workingDir=nothing, + ) + + - args::Vector{String} : Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + - command::Vector{String} : Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + - env::Vector{IoK8sApiCoreV1EnvVar} : List of environment variables to set in the container. Cannot be updated. + - envFrom::Vector{IoK8sApiCoreV1EnvFromSource} : List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. + - image::String : Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images + - imagePullPolicy::String : Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + - lifecycle::IoK8sApiCoreV1Lifecycle + - livenessProbe::IoK8sApiCoreV1Probe + - name::String : Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers. + - ports::Vector{IoK8sApiCoreV1ContainerPort} : Ports are not allowed for ephemeral containers. + - readinessProbe::IoK8sApiCoreV1Probe + - resources::IoK8sApiCoreV1ResourceRequirements + - securityContext::IoK8sApiCoreV1SecurityContext + - startupProbe::IoK8sApiCoreV1Probe + - stdin::Bool : Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. + - stdinOnce::Bool : Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + - targetContainerName::String : If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature. + - terminationMessagePath::String : Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. + - terminationMessagePolicy::String : Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + - tty::Bool : Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. + - volumeDevices::Vector{IoK8sApiCoreV1VolumeDevice} : volumeDevices is the list of block devices to be used by the container. This is a beta feature. + - volumeMounts::Vector{IoK8sApiCoreV1VolumeMount} : Pod volumes to mount into the container's filesystem. Cannot be updated. + - workingDir::String : Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EphemeralContainer <: OpenAPI.APIModel + args::Union{Nothing, Vector{String}} = nothing + command::Union{Nothing, Vector{String}} = nothing + env::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvVar} } + envFrom::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvFromSource} } + image::Union{Nothing, String} = nothing + imagePullPolicy::Union{Nothing, String} = nothing + lifecycle = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Lifecycle } + livenessProbe = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } + name::Union{Nothing, String} = nothing + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerPort} } + readinessProbe = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } + resources = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceRequirements } + securityContext = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecurityContext } + startupProbe = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Probe } + stdin::Union{Nothing, Bool} = nothing + stdinOnce::Union{Nothing, Bool} = nothing + targetContainerName::Union{Nothing, String} = nothing + terminationMessagePath::Union{Nothing, String} = nothing + terminationMessagePolicy::Union{Nothing, String} = nothing + tty::Union{Nothing, Bool} = nothing + volumeDevices::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeDevice} } + volumeMounts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeMount} } + workingDir::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1EphemeralContainer(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resources, securityContext, startupProbe, stdin, stdinOnce, targetContainerName, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir, ) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("args"), args) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("command"), command) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("env"), env) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("envFrom"), envFrom) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("image"), image) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("imagePullPolicy"), imagePullPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("lifecycle"), lifecycle) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("livenessProbe"), livenessProbe) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("ports"), ports) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("readinessProbe"), readinessProbe) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("securityContext"), securityContext) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("startupProbe"), startupProbe) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("stdin"), stdin) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("stdinOnce"), stdinOnce) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("targetContainerName"), targetContainerName) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("terminationMessagePath"), terminationMessagePath) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("terminationMessagePolicy"), terminationMessagePolicy) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("tty"), tty) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("volumeDevices"), volumeDevices) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("volumeMounts"), volumeMounts) + OpenAPI.validate_property(IoK8sApiCoreV1EphemeralContainer, Symbol("workingDir"), workingDir) + return new(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resources, securityContext, startupProbe, stdin, stdinOnce, targetContainerName, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir, ) + end +end # type IoK8sApiCoreV1EphemeralContainer + +const _property_types_IoK8sApiCoreV1EphemeralContainer = Dict{Symbol,String}(Symbol("args")=>"Vector{String}", Symbol("command")=>"Vector{String}", Symbol("env")=>"Vector{IoK8sApiCoreV1EnvVar}", Symbol("envFrom")=>"Vector{IoK8sApiCoreV1EnvFromSource}", Symbol("image")=>"String", Symbol("imagePullPolicy")=>"String", Symbol("lifecycle")=>"IoK8sApiCoreV1Lifecycle", Symbol("livenessProbe")=>"IoK8sApiCoreV1Probe", Symbol("name")=>"String", Symbol("ports")=>"Vector{IoK8sApiCoreV1ContainerPort}", Symbol("readinessProbe")=>"IoK8sApiCoreV1Probe", Symbol("resources")=>"IoK8sApiCoreV1ResourceRequirements", Symbol("securityContext")=>"IoK8sApiCoreV1SecurityContext", Symbol("startupProbe")=>"IoK8sApiCoreV1Probe", Symbol("stdin")=>"Bool", Symbol("stdinOnce")=>"Bool", Symbol("targetContainerName")=>"String", Symbol("terminationMessagePath")=>"String", Symbol("terminationMessagePolicy")=>"String", Symbol("tty")=>"Bool", Symbol("volumeDevices")=>"Vector{IoK8sApiCoreV1VolumeDevice}", Symbol("volumeMounts")=>"Vector{IoK8sApiCoreV1VolumeMount}", Symbol("workingDir")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EphemeralContainer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EphemeralContainer[name]))} + +function check_required(o::IoK8sApiCoreV1EphemeralContainer) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EphemeralContainer }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Event.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Event.jl new file mode 100644 index 00000000..3bdede75 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Event.jl @@ -0,0 +1,109 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Event +Event is a report of an event somewhere in the cluster. + + IoK8sApiCoreV1Event(; + action=nothing, + apiVersion=nothing, + count=nothing, + eventTime=nothing, + firstTimestamp=nothing, + involvedObject=nothing, + kind=nothing, + lastTimestamp=nothing, + message=nothing, + metadata=nothing, + reason=nothing, + related=nothing, + reportingComponent=nothing, + reportingInstance=nothing, + series=nothing, + source=nothing, + type=nothing, + ) + + - action::String : What action was taken/failed regarding to the Regarding object. + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - count::Int64 : The number of times this event has occurred. + - eventTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. + - firstTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - involvedObject::IoK8sApiCoreV1ObjectReference + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - lastTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human-readable description of the status of this operation. + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - reason::String : This should be a short, machine understandable string that gives the reason for the transition into the object's current status. + - related::IoK8sApiCoreV1ObjectReference + - reportingComponent::String : Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + - reportingInstance::String : ID of the controller instance, e.g. `kubelet-xyzf`. + - series::IoK8sApiCoreV1EventSeries + - source::IoK8sApiCoreV1EventSource + - type::String : Type of this event (Normal, Warning), new types could be added in the future +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Event <: OpenAPI.APIModel + action::Union{Nothing, String} = nothing + apiVersion::Union{Nothing, String} = nothing + count::Union{Nothing, Int64} = nothing + eventTime::Union{Nothing, ZonedDateTime} = nothing + firstTimestamp::Union{Nothing, ZonedDateTime} = nothing + involvedObject = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + kind::Union{Nothing, String} = nothing + lastTimestamp::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + reason::Union{Nothing, String} = nothing + related = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + reportingComponent::Union{Nothing, String} = nothing + reportingInstance::Union{Nothing, String} = nothing + series = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1EventSeries } + source = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1EventSource } + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1Event(action, apiVersion, count, eventTime, firstTimestamp, involvedObject, kind, lastTimestamp, message, metadata, reason, related, reportingComponent, reportingInstance, series, source, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("action"), action) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("count"), count) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("eventTime"), eventTime) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("firstTimestamp"), firstTimestamp) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("involvedObject"), involvedObject) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("lastTimestamp"), lastTimestamp) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("related"), related) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("reportingComponent"), reportingComponent) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("reportingInstance"), reportingInstance) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("series"), series) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("source"), source) + OpenAPI.validate_property(IoK8sApiCoreV1Event, Symbol("type"), type) + return new(action, apiVersion, count, eventTime, firstTimestamp, involvedObject, kind, lastTimestamp, message, metadata, reason, related, reportingComponent, reportingInstance, series, source, type, ) + end +end # type IoK8sApiCoreV1Event + +const _property_types_IoK8sApiCoreV1Event = Dict{Symbol,String}(Symbol("action")=>"String", Symbol("apiVersion")=>"String", Symbol("count")=>"Int64", Symbol("eventTime")=>"ZonedDateTime", Symbol("firstTimestamp")=>"ZonedDateTime", Symbol("involvedObject")=>"IoK8sApiCoreV1ObjectReference", Symbol("kind")=>"String", Symbol("lastTimestamp")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("reason")=>"String", Symbol("related")=>"IoK8sApiCoreV1ObjectReference", Symbol("reportingComponent")=>"String", Symbol("reportingInstance")=>"String", Symbol("series")=>"IoK8sApiCoreV1EventSeries", Symbol("source")=>"IoK8sApiCoreV1EventSource", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Event }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Event[name]))} + +function check_required(o::IoK8sApiCoreV1Event) + o.involvedObject === nothing && (return false) + o.metadata === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Event }, name::Symbol, val) + if name === Symbol("count") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Event", :format, val, "int32") + end + if name === Symbol("eventTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Event", :format, val, "date-time") + end + if name === Symbol("firstTimestamp") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Event", :format, val, "date-time") + end + if name === Symbol("lastTimestamp") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Event", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventList.jl new file mode 100644 index 00000000..02a3fdf5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EventList +EventList is a list of events. + + IoK8sApiCoreV1EventList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Event} : List of events + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EventList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Event} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1EventList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1EventList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1EventList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1EventList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1EventList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1EventList + +const _property_types_IoK8sApiCoreV1EventList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Event}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EventList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EventList[name]))} + +function check_required(o::IoK8sApiCoreV1EventList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EventList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventSeries.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventSeries.jl new file mode 100644 index 00000000..ec4f6c7d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventSeries.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EventSeries +EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. + + IoK8sApiCoreV1EventSeries(; + count=nothing, + lastObservedTime=nothing, + state=nothing, + ) + + - count::Int64 : Number of occurrences in this series up to the last heartbeat time + - lastObservedTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. + - state::String : State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18 +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EventSeries <: OpenAPI.APIModel + count::Union{Nothing, Int64} = nothing + lastObservedTime::Union{Nothing, ZonedDateTime} = nothing + state::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1EventSeries(count, lastObservedTime, state, ) + OpenAPI.validate_property(IoK8sApiCoreV1EventSeries, Symbol("count"), count) + OpenAPI.validate_property(IoK8sApiCoreV1EventSeries, Symbol("lastObservedTime"), lastObservedTime) + OpenAPI.validate_property(IoK8sApiCoreV1EventSeries, Symbol("state"), state) + return new(count, lastObservedTime, state, ) + end +end # type IoK8sApiCoreV1EventSeries + +const _property_types_IoK8sApiCoreV1EventSeries = Dict{Symbol,String}(Symbol("count")=>"Int64", Symbol("lastObservedTime")=>"ZonedDateTime", Symbol("state")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EventSeries }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EventSeries[name]))} + +function check_required(o::IoK8sApiCoreV1EventSeries) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EventSeries }, name::Symbol, val) + if name === Symbol("count") + OpenAPI.validate_param(name, "IoK8sApiCoreV1EventSeries", :format, val, "int32") + end + if name === Symbol("lastObservedTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1EventSeries", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventSource.jl new file mode 100644 index 00000000..cfb1bafb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1EventSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.EventSource +EventSource contains information for an event. + + IoK8sApiCoreV1EventSource(; + component=nothing, + host=nothing, + ) + + - component::String : Component from which the event is generated. + - host::String : Node name on which the event is generated. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1EventSource <: OpenAPI.APIModel + component::Union{Nothing, String} = nothing + host::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1EventSource(component, host, ) + OpenAPI.validate_property(IoK8sApiCoreV1EventSource, Symbol("component"), component) + OpenAPI.validate_property(IoK8sApiCoreV1EventSource, Symbol("host"), host) + return new(component, host, ) + end +end # type IoK8sApiCoreV1EventSource + +const _property_types_IoK8sApiCoreV1EventSource = Dict{Symbol,String}(Symbol("component")=>"String", Symbol("host")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1EventSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1EventSource[name]))} + +function check_required(o::IoK8sApiCoreV1EventSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1EventSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ExecAction.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ExecAction.jl new file mode 100644 index 00000000..dea4eace --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ExecAction.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ExecAction +ExecAction describes a \"run in container\" action. + + IoK8sApiCoreV1ExecAction(; + command=nothing, + ) + + - command::Vector{String} : Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ExecAction <: OpenAPI.APIModel + command::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1ExecAction(command, ) + OpenAPI.validate_property(IoK8sApiCoreV1ExecAction, Symbol("command"), command) + return new(command, ) + end +end # type IoK8sApiCoreV1ExecAction + +const _property_types_IoK8sApiCoreV1ExecAction = Dict{Symbol,String}(Symbol("command")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ExecAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ExecAction[name]))} + +function check_required(o::IoK8sApiCoreV1ExecAction) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ExecAction }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1FCVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FCVolumeSource.jl new file mode 100644 index 00000000..607c304f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FCVolumeSource.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.FCVolumeSource +Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1FCVolumeSource(; + fsType=nothing, + lun=nothing, + readOnly=nothing, + targetWWNs=nothing, + wwids=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + - lun::Int64 : Optional: FC target lun number + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - targetWWNs::Vector{String} : Optional: FC target worldwide names (WWNs) + - wwids::Vector{String} : Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1FCVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + lun::Union{Nothing, Int64} = nothing + readOnly::Union{Nothing, Bool} = nothing + targetWWNs::Union{Nothing, Vector{String}} = nothing + wwids::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1FCVolumeSource(fsType, lun, readOnly, targetWWNs, wwids, ) + OpenAPI.validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("lun"), lun) + OpenAPI.validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("targetWWNs"), targetWWNs) + OpenAPI.validate_property(IoK8sApiCoreV1FCVolumeSource, Symbol("wwids"), wwids) + return new(fsType, lun, readOnly, targetWWNs, wwids, ) + end +end # type IoK8sApiCoreV1FCVolumeSource + +const _property_types_IoK8sApiCoreV1FCVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("lun")=>"Int64", Symbol("readOnly")=>"Bool", Symbol("targetWWNs")=>"Vector{String}", Symbol("wwids")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1FCVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FCVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1FCVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1FCVolumeSource }, name::Symbol, val) + if name === Symbol("lun") + OpenAPI.validate_param(name, "IoK8sApiCoreV1FCVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl new file mode 100644 index 00000000..8acf02fb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlexPersistentVolumeSource.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.FlexPersistentVolumeSource +FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. + + IoK8sApiCoreV1FlexPersistentVolumeSource(; + driver=nothing, + fsType=nothing, + options=nothing, + readOnly=nothing, + secretRef=nothing, + ) + + - driver::String : Driver is the name of the driver to use for this volume. + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + - options::Dict{String, String} : Optional: Extra command options if any. + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretRef::IoK8sApiCoreV1SecretReference +""" +Base.@kwdef mutable struct IoK8sApiCoreV1FlexPersistentVolumeSource <: OpenAPI.APIModel + driver::Union{Nothing, String} = nothing + fsType::Union{Nothing, String} = nothing + options::Union{Nothing, Dict{String, String}} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + + function IoK8sApiCoreV1FlexPersistentVolumeSource(driver, fsType, options, readOnly, secretRef, ) + OpenAPI.validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("driver"), driver) + OpenAPI.validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("options"), options) + OpenAPI.validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1FlexPersistentVolumeSource, Symbol("secretRef"), secretRef) + return new(driver, fsType, options, readOnly, secretRef, ) + end +end # type IoK8sApiCoreV1FlexPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1FlexPersistentVolumeSource = Dict{Symbol,String}(Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("options")=>"Dict{String, String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1FlexPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FlexPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1FlexPersistentVolumeSource) + o.driver === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1FlexPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlexVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlexVolumeSource.jl new file mode 100644 index 00000000..3a012fc2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlexVolumeSource.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.FlexVolumeSource +FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. + + IoK8sApiCoreV1FlexVolumeSource(; + driver=nothing, + fsType=nothing, + options=nothing, + readOnly=nothing, + secretRef=nothing, + ) + + - driver::String : Driver is the name of the driver to use for this volume. + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + - options::Dict{String, String} : Optional: Extra command options if any. + - readOnly::Bool : Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretRef::IoK8sApiCoreV1LocalObjectReference +""" +Base.@kwdef mutable struct IoK8sApiCoreV1FlexVolumeSource <: OpenAPI.APIModel + driver::Union{Nothing, String} = nothing + fsType::Union{Nothing, String} = nothing + options::Union{Nothing, Dict{String, String}} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + + function IoK8sApiCoreV1FlexVolumeSource(driver, fsType, options, readOnly, secretRef, ) + OpenAPI.validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("driver"), driver) + OpenAPI.validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("options"), options) + OpenAPI.validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1FlexVolumeSource, Symbol("secretRef"), secretRef) + return new(driver, fsType, options, readOnly, secretRef, ) + end +end # type IoK8sApiCoreV1FlexVolumeSource + +const _property_types_IoK8sApiCoreV1FlexVolumeSource = Dict{Symbol,String}(Symbol("driver")=>"String", Symbol("fsType")=>"String", Symbol("options")=>"Dict{String, String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1FlexVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FlexVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1FlexVolumeSource) + o.driver === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1FlexVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlockerVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlockerVolumeSource.jl new file mode 100644 index 00000000..604bf6a1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1FlockerVolumeSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.FlockerVolumeSource +Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1FlockerVolumeSource(; + datasetName=nothing, + datasetUUID=nothing, + ) + + - datasetName::String : Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated + - datasetUUID::String : UUID of the dataset. This is unique identifier of a Flocker dataset +""" +Base.@kwdef mutable struct IoK8sApiCoreV1FlockerVolumeSource <: OpenAPI.APIModel + datasetName::Union{Nothing, String} = nothing + datasetUUID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1FlockerVolumeSource(datasetName, datasetUUID, ) + OpenAPI.validate_property(IoK8sApiCoreV1FlockerVolumeSource, Symbol("datasetName"), datasetName) + OpenAPI.validate_property(IoK8sApiCoreV1FlockerVolumeSource, Symbol("datasetUUID"), datasetUUID) + return new(datasetName, datasetUUID, ) + end +end # type IoK8sApiCoreV1FlockerVolumeSource + +const _property_types_IoK8sApiCoreV1FlockerVolumeSource = Dict{Symbol,String}(Symbol("datasetName")=>"String", Symbol("datasetUUID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1FlockerVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1FlockerVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1FlockerVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1FlockerVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl new file mode 100644 index 00000000..9f404d20 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.GCEPersistentDiskVolumeSource +Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. + + IoK8sApiCoreV1GCEPersistentDiskVolumeSource(; + fsType=nothing, + partition=nothing, + pdName=nothing, + readOnly=nothing, + ) + + - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + - partition::Int64 : The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + - pdName::String : Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +""" +Base.@kwdef mutable struct IoK8sApiCoreV1GCEPersistentDiskVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + partition::Union{Nothing, Int64} = nothing + pdName::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1GCEPersistentDiskVolumeSource(fsType, partition, pdName, readOnly, ) + OpenAPI.validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("partition"), partition) + OpenAPI.validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("pdName"), pdName) + OpenAPI.validate_property(IoK8sApiCoreV1GCEPersistentDiskVolumeSource, Symbol("readOnly"), readOnly) + return new(fsType, partition, pdName, readOnly, ) + end +end # type IoK8sApiCoreV1GCEPersistentDiskVolumeSource + +const _property_types_IoK8sApiCoreV1GCEPersistentDiskVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("partition")=>"Int64", Symbol("pdName")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1GCEPersistentDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GCEPersistentDiskVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1GCEPersistentDiskVolumeSource) + o.pdName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1GCEPersistentDiskVolumeSource }, name::Symbol, val) + if name === Symbol("partition") + OpenAPI.validate_param(name, "IoK8sApiCoreV1GCEPersistentDiskVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1GitRepoVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GitRepoVolumeSource.jl new file mode 100644 index 00000000..86f3aff1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GitRepoVolumeSource.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.GitRepoVolumeSource +Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. + + IoK8sApiCoreV1GitRepoVolumeSource(; + directory=nothing, + repository=nothing, + revision=nothing, + ) + + - directory::String : Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. + - repository::String : Repository URL + - revision::String : Commit hash for the specified revision. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1GitRepoVolumeSource <: OpenAPI.APIModel + directory::Union{Nothing, String} = nothing + repository::Union{Nothing, String} = nothing + revision::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1GitRepoVolumeSource(directory, repository, revision, ) + OpenAPI.validate_property(IoK8sApiCoreV1GitRepoVolumeSource, Symbol("directory"), directory) + OpenAPI.validate_property(IoK8sApiCoreV1GitRepoVolumeSource, Symbol("repository"), repository) + OpenAPI.validate_property(IoK8sApiCoreV1GitRepoVolumeSource, Symbol("revision"), revision) + return new(directory, repository, revision, ) + end +end # type IoK8sApiCoreV1GitRepoVolumeSource + +const _property_types_IoK8sApiCoreV1GitRepoVolumeSource = Dict{Symbol,String}(Symbol("directory")=>"String", Symbol("repository")=>"String", Symbol("revision")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1GitRepoVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GitRepoVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1GitRepoVolumeSource) + o.repository === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1GitRepoVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl new file mode 100644 index 00000000..84ca7e50 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GlusterfsPersistentVolumeSource.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.GlusterfsPersistentVolumeSource +Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1GlusterfsPersistentVolumeSource(; + endpoints=nothing, + endpointsNamespace=nothing, + path=nothing, + readOnly=nothing, + ) + + - endpoints::String : EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + - endpointsNamespace::String : EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + - path::String : Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + - readOnly::Bool : ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +""" +Base.@kwdef mutable struct IoK8sApiCoreV1GlusterfsPersistentVolumeSource <: OpenAPI.APIModel + endpoints::Union{Nothing, String} = nothing + endpointsNamespace::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1GlusterfsPersistentVolumeSource(endpoints, endpointsNamespace, path, readOnly, ) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("endpoints"), endpoints) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("endpointsNamespace"), endpointsNamespace) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsPersistentVolumeSource, Symbol("readOnly"), readOnly) + return new(endpoints, endpointsNamespace, path, readOnly, ) + end +end # type IoK8sApiCoreV1GlusterfsPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1GlusterfsPersistentVolumeSource = Dict{Symbol,String}(Symbol("endpoints")=>"String", Symbol("endpointsNamespace")=>"String", Symbol("path")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1GlusterfsPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GlusterfsPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1GlusterfsPersistentVolumeSource) + o.endpoints === nothing && (return false) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1GlusterfsPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl new file mode 100644 index 00000000..2511b218 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1GlusterfsVolumeSource.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.GlusterfsVolumeSource +Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1GlusterfsVolumeSource(; + endpoints=nothing, + path=nothing, + readOnly=nothing, + ) + + - endpoints::String : EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + - path::String : Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + - readOnly::Bool : ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +""" +Base.@kwdef mutable struct IoK8sApiCoreV1GlusterfsVolumeSource <: OpenAPI.APIModel + endpoints::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1GlusterfsVolumeSource(endpoints, path, readOnly, ) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsVolumeSource, Symbol("endpoints"), endpoints) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsVolumeSource, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1GlusterfsVolumeSource, Symbol("readOnly"), readOnly) + return new(endpoints, path, readOnly, ) + end +end # type IoK8sApiCoreV1GlusterfsVolumeSource + +const _property_types_IoK8sApiCoreV1GlusterfsVolumeSource = Dict{Symbol,String}(Symbol("endpoints")=>"String", Symbol("path")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1GlusterfsVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1GlusterfsVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1GlusterfsVolumeSource) + o.endpoints === nothing && (return false) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1GlusterfsVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1HTTPGetAction.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HTTPGetAction.jl new file mode 100644 index 00000000..ff15fa78 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HTTPGetAction.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.HTTPGetAction +HTTPGetAction describes an action based on HTTP Get requests. + + IoK8sApiCoreV1HTTPGetAction(; + host=nothing, + httpHeaders=nothing, + path=nothing, + port=nothing, + scheme=nothing, + ) + + - host::String : Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. + - httpHeaders::Vector{IoK8sApiCoreV1HTTPHeader} : Custom headers to set in the request. HTTP allows repeated headers. + - path::String : Path to access on the HTTP server. + - port::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - scheme::String : Scheme to use for connecting to the host. Defaults to HTTP. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1HTTPGetAction <: OpenAPI.APIModel + host::Union{Nothing, String} = nothing + httpHeaders::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1HTTPHeader} } + path::Union{Nothing, String} = nothing + port::Union{Nothing, Any} = nothing + scheme::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1HTTPGetAction(host, httpHeaders, path, port, scheme, ) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("host"), host) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("httpHeaders"), httpHeaders) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("port"), port) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPGetAction, Symbol("scheme"), scheme) + return new(host, httpHeaders, path, port, scheme, ) + end +end # type IoK8sApiCoreV1HTTPGetAction + +const _property_types_IoK8sApiCoreV1HTTPGetAction = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("httpHeaders")=>"Vector{IoK8sApiCoreV1HTTPHeader}", Symbol("path")=>"String", Symbol("port")=>"Any", Symbol("scheme")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1HTTPGetAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HTTPGetAction[name]))} + +function check_required(o::IoK8sApiCoreV1HTTPGetAction) + o.port === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1HTTPGetAction }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiCoreV1HTTPGetAction", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1HTTPHeader.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HTTPHeader.jl new file mode 100644 index 00000000..41303040 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HTTPHeader.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.HTTPHeader +HTTPHeader describes a custom header to be used in HTTP probes + + IoK8sApiCoreV1HTTPHeader(; + name=nothing, + value=nothing, + ) + + - name::String : The header field name + - value::String : The header field value +""" +Base.@kwdef mutable struct IoK8sApiCoreV1HTTPHeader <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1HTTPHeader(name, value, ) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPHeader, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1HTTPHeader, Symbol("value"), value) + return new(name, value, ) + end +end # type IoK8sApiCoreV1HTTPHeader + +const _property_types_IoK8sApiCoreV1HTTPHeader = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1HTTPHeader }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HTTPHeader[name]))} + +function check_required(o::IoK8sApiCoreV1HTTPHeader) + o.name === nothing && (return false) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1HTTPHeader }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Handler.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Handler.jl new file mode 100644 index 00000000..a64ad80f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Handler.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Handler +Handler defines a specific action that should be taken + + IoK8sApiCoreV1Handler(; + exec=nothing, + httpGet=nothing, + tcpSocket=nothing, + ) + + - exec::IoK8sApiCoreV1ExecAction + - httpGet::IoK8sApiCoreV1HTTPGetAction + - tcpSocket::IoK8sApiCoreV1TCPSocketAction +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Handler <: OpenAPI.APIModel + exec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ExecAction } + httpGet = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1HTTPGetAction } + tcpSocket = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1TCPSocketAction } + + function IoK8sApiCoreV1Handler(exec, httpGet, tcpSocket, ) + OpenAPI.validate_property(IoK8sApiCoreV1Handler, Symbol("exec"), exec) + OpenAPI.validate_property(IoK8sApiCoreV1Handler, Symbol("httpGet"), httpGet) + OpenAPI.validate_property(IoK8sApiCoreV1Handler, Symbol("tcpSocket"), tcpSocket) + return new(exec, httpGet, tcpSocket, ) + end +end # type IoK8sApiCoreV1Handler + +const _property_types_IoK8sApiCoreV1Handler = Dict{Symbol,String}(Symbol("exec")=>"IoK8sApiCoreV1ExecAction", Symbol("httpGet")=>"IoK8sApiCoreV1HTTPGetAction", Symbol("tcpSocket")=>"IoK8sApiCoreV1TCPSocketAction", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Handler }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Handler[name]))} + +function check_required(o::IoK8sApiCoreV1Handler) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Handler }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1HostAlias.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HostAlias.jl new file mode 100644 index 00000000..c477f7e3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HostAlias.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.HostAlias +HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. + + IoK8sApiCoreV1HostAlias(; + hostnames=nothing, + ip=nothing, + ) + + - hostnames::Vector{String} : Hostnames for the above IP address. + - ip::String : IP address of the host file entry. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1HostAlias <: OpenAPI.APIModel + hostnames::Union{Nothing, Vector{String}} = nothing + ip::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1HostAlias(hostnames, ip, ) + OpenAPI.validate_property(IoK8sApiCoreV1HostAlias, Symbol("hostnames"), hostnames) + OpenAPI.validate_property(IoK8sApiCoreV1HostAlias, Symbol("ip"), ip) + return new(hostnames, ip, ) + end +end # type IoK8sApiCoreV1HostAlias + +const _property_types_IoK8sApiCoreV1HostAlias = Dict{Symbol,String}(Symbol("hostnames")=>"Vector{String}", Symbol("ip")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1HostAlias }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HostAlias[name]))} + +function check_required(o::IoK8sApiCoreV1HostAlias) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1HostAlias }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1HostPathVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HostPathVolumeSource.jl new file mode 100644 index 00000000..a2ea22bb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1HostPathVolumeSource.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.HostPathVolumeSource +Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1HostPathVolumeSource(; + path=nothing, + type=nothing, + ) + + - path::String : Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + - type::String : Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +""" +Base.@kwdef mutable struct IoK8sApiCoreV1HostPathVolumeSource <: OpenAPI.APIModel + path::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1HostPathVolumeSource(path, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1HostPathVolumeSource, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1HostPathVolumeSource, Symbol("type"), type) + return new(path, type, ) + end +end # type IoK8sApiCoreV1HostPathVolumeSource + +const _property_types_IoK8sApiCoreV1HostPathVolumeSource = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1HostPathVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1HostPathVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1HostPathVolumeSource) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1HostPathVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl new file mode 100644 index 00000000..4a31969a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ISCSIPersistentVolumeSource.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ISCSIPersistentVolumeSource +ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1ISCSIPersistentVolumeSource(; + chapAuthDiscovery=nothing, + chapAuthSession=nothing, + fsType=nothing, + initiatorName=nothing, + iqn=nothing, + iscsiInterface=nothing, + lun=nothing, + portals=nothing, + readOnly=nothing, + secretRef=nothing, + targetPortal=nothing, + ) + + - chapAuthDiscovery::Bool : whether support iSCSI Discovery CHAP authentication + - chapAuthSession::Bool : whether support iSCSI Session CHAP authentication + - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + - initiatorName::String : Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. + - iqn::String : Target iSCSI Qualified Name. + - iscsiInterface::String : iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). + - lun::Int64 : iSCSI Target Lun number. + - portals::Vector{String} : iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + - secretRef::IoK8sApiCoreV1SecretReference + - targetPortal::String : iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ISCSIPersistentVolumeSource <: OpenAPI.APIModel + chapAuthDiscovery::Union{Nothing, Bool} = nothing + chapAuthSession::Union{Nothing, Bool} = nothing + fsType::Union{Nothing, String} = nothing + initiatorName::Union{Nothing, String} = nothing + iqn::Union{Nothing, String} = nothing + iscsiInterface::Union{Nothing, String} = nothing + lun::Union{Nothing, Int64} = nothing + portals::Union{Nothing, Vector{String}} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + targetPortal::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ISCSIPersistentVolumeSource(chapAuthDiscovery, chapAuthSession, fsType, initiatorName, iqn, iscsiInterface, lun, portals, readOnly, secretRef, targetPortal, ) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("chapAuthDiscovery"), chapAuthDiscovery) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("chapAuthSession"), chapAuthSession) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("initiatorName"), initiatorName) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("iqn"), iqn) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("iscsiInterface"), iscsiInterface) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("lun"), lun) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("portals"), portals) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIPersistentVolumeSource, Symbol("targetPortal"), targetPortal) + return new(chapAuthDiscovery, chapAuthSession, fsType, initiatorName, iqn, iscsiInterface, lun, portals, readOnly, secretRef, targetPortal, ) + end +end # type IoK8sApiCoreV1ISCSIPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1ISCSIPersistentVolumeSource = Dict{Symbol,String}(Symbol("chapAuthDiscovery")=>"Bool", Symbol("chapAuthSession")=>"Bool", Symbol("fsType")=>"String", Symbol("initiatorName")=>"String", Symbol("iqn")=>"String", Symbol("iscsiInterface")=>"String", Symbol("lun")=>"Int64", Symbol("portals")=>"Vector{String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("targetPortal")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ISCSIPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ISCSIPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1ISCSIPersistentVolumeSource) + o.iqn === nothing && (return false) + o.lun === nothing && (return false) + o.targetPortal === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ISCSIPersistentVolumeSource }, name::Symbol, val) + if name === Symbol("lun") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ISCSIPersistentVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ISCSIVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ISCSIVolumeSource.jl new file mode 100644 index 00000000..ccd4d999 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ISCSIVolumeSource.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ISCSIVolumeSource +Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1ISCSIVolumeSource(; + chapAuthDiscovery=nothing, + chapAuthSession=nothing, + fsType=nothing, + initiatorName=nothing, + iqn=nothing, + iscsiInterface=nothing, + lun=nothing, + portals=nothing, + readOnly=nothing, + secretRef=nothing, + targetPortal=nothing, + ) + + - chapAuthDiscovery::Bool : whether support iSCSI Discovery CHAP authentication + - chapAuthSession::Bool : whether support iSCSI Session CHAP authentication + - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + - initiatorName::String : Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. + - iqn::String : Target iSCSI Qualified Name. + - iscsiInterface::String : iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). + - lun::Int64 : iSCSI Target Lun number. + - portals::Vector{String} : iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + - secretRef::IoK8sApiCoreV1LocalObjectReference + - targetPortal::String : iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ISCSIVolumeSource <: OpenAPI.APIModel + chapAuthDiscovery::Union{Nothing, Bool} = nothing + chapAuthSession::Union{Nothing, Bool} = nothing + fsType::Union{Nothing, String} = nothing + initiatorName::Union{Nothing, String} = nothing + iqn::Union{Nothing, String} = nothing + iscsiInterface::Union{Nothing, String} = nothing + lun::Union{Nothing, Int64} = nothing + portals::Union{Nothing, Vector{String}} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + targetPortal::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ISCSIVolumeSource(chapAuthDiscovery, chapAuthSession, fsType, initiatorName, iqn, iscsiInterface, lun, portals, readOnly, secretRef, targetPortal, ) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("chapAuthDiscovery"), chapAuthDiscovery) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("chapAuthSession"), chapAuthSession) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("initiatorName"), initiatorName) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("iqn"), iqn) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("iscsiInterface"), iscsiInterface) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("lun"), lun) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("portals"), portals) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1ISCSIVolumeSource, Symbol("targetPortal"), targetPortal) + return new(chapAuthDiscovery, chapAuthSession, fsType, initiatorName, iqn, iscsiInterface, lun, portals, readOnly, secretRef, targetPortal, ) + end +end # type IoK8sApiCoreV1ISCSIVolumeSource + +const _property_types_IoK8sApiCoreV1ISCSIVolumeSource = Dict{Symbol,String}(Symbol("chapAuthDiscovery")=>"Bool", Symbol("chapAuthSession")=>"Bool", Symbol("fsType")=>"String", Symbol("initiatorName")=>"String", Symbol("iqn")=>"String", Symbol("iscsiInterface")=>"String", Symbol("lun")=>"Int64", Symbol("portals")=>"Vector{String}", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("targetPortal")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ISCSIVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ISCSIVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1ISCSIVolumeSource) + o.iqn === nothing && (return false) + o.lun === nothing && (return false) + o.targetPortal === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ISCSIVolumeSource }, name::Symbol, val) + if name === Symbol("lun") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ISCSIVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1KeyToPath.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1KeyToPath.jl new file mode 100644 index 00000000..9411bf04 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1KeyToPath.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.KeyToPath +Maps a string key to a path within a volume. + + IoK8sApiCoreV1KeyToPath(; + key=nothing, + mode=nothing, + path=nothing, + ) + + - key::String : The key to project. + - mode::Int64 : Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + - path::String : The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1KeyToPath <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + mode::Union{Nothing, Int64} = nothing + path::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1KeyToPath(key, mode, path, ) + OpenAPI.validate_property(IoK8sApiCoreV1KeyToPath, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1KeyToPath, Symbol("mode"), mode) + OpenAPI.validate_property(IoK8sApiCoreV1KeyToPath, Symbol("path"), path) + return new(key, mode, path, ) + end +end # type IoK8sApiCoreV1KeyToPath + +const _property_types_IoK8sApiCoreV1KeyToPath = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("mode")=>"Int64", Symbol("path")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1KeyToPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1KeyToPath[name]))} + +function check_required(o::IoK8sApiCoreV1KeyToPath) + o.key === nothing && (return false) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1KeyToPath }, name::Symbol, val) + if name === Symbol("mode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1KeyToPath", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Lifecycle.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Lifecycle.jl new file mode 100644 index 00000000..61a5d928 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Lifecycle.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Lifecycle +Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. + + IoK8sApiCoreV1Lifecycle(; + postStart=nothing, + preStop=nothing, + ) + + - postStart::IoK8sApiCoreV1Handler + - preStop::IoK8sApiCoreV1Handler +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Lifecycle <: OpenAPI.APIModel + postStart = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Handler } + preStop = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Handler } + + function IoK8sApiCoreV1Lifecycle(postStart, preStop, ) + OpenAPI.validate_property(IoK8sApiCoreV1Lifecycle, Symbol("postStart"), postStart) + OpenAPI.validate_property(IoK8sApiCoreV1Lifecycle, Symbol("preStop"), preStop) + return new(postStart, preStop, ) + end +end # type IoK8sApiCoreV1Lifecycle + +const _property_types_IoK8sApiCoreV1Lifecycle = Dict{Symbol,String}(Symbol("postStart")=>"IoK8sApiCoreV1Handler", Symbol("preStop")=>"IoK8sApiCoreV1Handler", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Lifecycle }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Lifecycle[name]))} + +function check_required(o::IoK8sApiCoreV1Lifecycle) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Lifecycle }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRange.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRange.jl new file mode 100644 index 00000000..aae93361 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRange.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LimitRange +LimitRange sets resource usage limits for each kind of resource in a Namespace. + + IoK8sApiCoreV1LimitRange(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1LimitRangeSpec +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LimitRange <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LimitRangeSpec } + + function IoK8sApiCoreV1LimitRange(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRange, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRange, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRange, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRange, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiCoreV1LimitRange + +const _property_types_IoK8sApiCoreV1LimitRange = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1LimitRangeSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LimitRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRange[name]))} + +function check_required(o::IoK8sApiCoreV1LimitRange) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LimitRange }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeItem.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeItem.jl new file mode 100644 index 00000000..25441bdd --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeItem.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LimitRangeItem +LimitRangeItem defines a min/max usage limit for any resource that matches on kind. + + IoK8sApiCoreV1LimitRangeItem(; + default=nothing, + defaultRequest=nothing, + max=nothing, + maxLimitRequestRatio=nothing, + min=nothing, + type=nothing, + ) + + - default::Dict{String, String} : Default resource requirement limit value by resource name if resource limit is omitted. + - defaultRequest::Dict{String, String} : DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. + - max::Dict{String, String} : Max usage constraints on this kind by resource name. + - maxLimitRequestRatio::Dict{String, String} : MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. + - min::Dict{String, String} : Min usage constraints on this kind by resource name. + - type::String : Type of resource that this limit applies to. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LimitRangeItem <: OpenAPI.APIModel + default::Union{Nothing, Dict{String, String}} = nothing + defaultRequest::Union{Nothing, Dict{String, String}} = nothing + max::Union{Nothing, Dict{String, String}} = nothing + maxLimitRequestRatio::Union{Nothing, Dict{String, String}} = nothing + min::Union{Nothing, Dict{String, String}} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1LimitRangeItem(default, defaultRequest, max, maxLimitRequestRatio, min, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("default"), default) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("defaultRequest"), defaultRequest) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("max"), max) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("maxLimitRequestRatio"), maxLimitRequestRatio) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("min"), min) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeItem, Symbol("type"), type) + return new(default, defaultRequest, max, maxLimitRequestRatio, min, type, ) + end +end # type IoK8sApiCoreV1LimitRangeItem + +const _property_types_IoK8sApiCoreV1LimitRangeItem = Dict{Symbol,String}(Symbol("default")=>"Dict{String, String}", Symbol("defaultRequest")=>"Dict{String, String}", Symbol("max")=>"Dict{String, String}", Symbol("maxLimitRequestRatio")=>"Dict{String, String}", Symbol("min")=>"Dict{String, String}", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LimitRangeItem }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRangeItem[name]))} + +function check_required(o::IoK8sApiCoreV1LimitRangeItem) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LimitRangeItem }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeList.jl new file mode 100644 index 00000000..54263d73 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LimitRangeList +LimitRangeList is a list of LimitRange items. + + IoK8sApiCoreV1LimitRangeList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1LimitRange} : Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LimitRangeList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LimitRange} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1LimitRangeList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1LimitRangeList + +const _property_types_IoK8sApiCoreV1LimitRangeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1LimitRange}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LimitRangeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRangeList[name]))} + +function check_required(o::IoK8sApiCoreV1LimitRangeList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LimitRangeList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeSpec.jl new file mode 100644 index 00000000..c66c0db3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LimitRangeSpec.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LimitRangeSpec +LimitRangeSpec defines a min/max usage limit for resources that match on kind. + + IoK8sApiCoreV1LimitRangeSpec(; + limits=nothing, + ) + + - limits::Vector{IoK8sApiCoreV1LimitRangeItem} : Limits is the list of LimitRangeItem objects that are enforced. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LimitRangeSpec <: OpenAPI.APIModel + limits::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LimitRangeItem} } + + function IoK8sApiCoreV1LimitRangeSpec(limits, ) + OpenAPI.validate_property(IoK8sApiCoreV1LimitRangeSpec, Symbol("limits"), limits) + return new(limits, ) + end +end # type IoK8sApiCoreV1LimitRangeSpec + +const _property_types_IoK8sApiCoreV1LimitRangeSpec = Dict{Symbol,String}(Symbol("limits")=>"Vector{IoK8sApiCoreV1LimitRangeItem}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LimitRangeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LimitRangeSpec[name]))} + +function check_required(o::IoK8sApiCoreV1LimitRangeSpec) + o.limits === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LimitRangeSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LoadBalancerIngress.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LoadBalancerIngress.jl new file mode 100644 index 00000000..6b99c484 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LoadBalancerIngress.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LoadBalancerIngress +LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. + + IoK8sApiCoreV1LoadBalancerIngress(; + hostname=nothing, + ip=nothing, + ) + + - hostname::String : Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) + - ip::String : IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LoadBalancerIngress <: OpenAPI.APIModel + hostname::Union{Nothing, String} = nothing + ip::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1LoadBalancerIngress(hostname, ip, ) + OpenAPI.validate_property(IoK8sApiCoreV1LoadBalancerIngress, Symbol("hostname"), hostname) + OpenAPI.validate_property(IoK8sApiCoreV1LoadBalancerIngress, Symbol("ip"), ip) + return new(hostname, ip, ) + end +end # type IoK8sApiCoreV1LoadBalancerIngress + +const _property_types_IoK8sApiCoreV1LoadBalancerIngress = Dict{Symbol,String}(Symbol("hostname")=>"String", Symbol("ip")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LoadBalancerIngress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LoadBalancerIngress[name]))} + +function check_required(o::IoK8sApiCoreV1LoadBalancerIngress) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LoadBalancerIngress }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LoadBalancerStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LoadBalancerStatus.jl new file mode 100644 index 00000000..ba846cc0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LoadBalancerStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LoadBalancerStatus +LoadBalancerStatus represents the status of a load-balancer. + + IoK8sApiCoreV1LoadBalancerStatus(; + ingress=nothing, + ) + + - ingress::Vector{IoK8sApiCoreV1LoadBalancerIngress} : Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LoadBalancerStatus <: OpenAPI.APIModel + ingress::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LoadBalancerIngress} } + + function IoK8sApiCoreV1LoadBalancerStatus(ingress, ) + OpenAPI.validate_property(IoK8sApiCoreV1LoadBalancerStatus, Symbol("ingress"), ingress) + return new(ingress, ) + end +end # type IoK8sApiCoreV1LoadBalancerStatus + +const _property_types_IoK8sApiCoreV1LoadBalancerStatus = Dict{Symbol,String}(Symbol("ingress")=>"Vector{IoK8sApiCoreV1LoadBalancerIngress}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LoadBalancerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LoadBalancerStatus[name]))} + +function check_required(o::IoK8sApiCoreV1LoadBalancerStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LoadBalancerStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LocalObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LocalObjectReference.jl new file mode 100644 index 00000000..74ab6bb6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LocalObjectReference.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LocalObjectReference +LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. + + IoK8sApiCoreV1LocalObjectReference(; + name=nothing, + ) + + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LocalObjectReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1LocalObjectReference(name, ) + OpenAPI.validate_property(IoK8sApiCoreV1LocalObjectReference, Symbol("name"), name) + return new(name, ) + end +end # type IoK8sApiCoreV1LocalObjectReference + +const _property_types_IoK8sApiCoreV1LocalObjectReference = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LocalObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LocalObjectReference[name]))} + +function check_required(o::IoK8sApiCoreV1LocalObjectReference) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LocalObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1LocalVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LocalVolumeSource.jl new file mode 100644 index 00000000..224d6b2f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1LocalVolumeSource.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.LocalVolumeSource +Local represents directly-attached storage with node affinity (Beta feature) + + IoK8sApiCoreV1LocalVolumeSource(; + fsType=nothing, + path=nothing, + ) + + - fsType::String : Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified. + - path::String : The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). +""" +Base.@kwdef mutable struct IoK8sApiCoreV1LocalVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1LocalVolumeSource(fsType, path, ) + OpenAPI.validate_property(IoK8sApiCoreV1LocalVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1LocalVolumeSource, Symbol("path"), path) + return new(fsType, path, ) + end +end # type IoK8sApiCoreV1LocalVolumeSource + +const _property_types_IoK8sApiCoreV1LocalVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("path")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1LocalVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1LocalVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1LocalVolumeSource) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1LocalVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NFSVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NFSVolumeSource.jl new file mode 100644 index 00000000..1fc37d94 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NFSVolumeSource.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NFSVolumeSource +Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1NFSVolumeSource(; + path=nothing, + readOnly=nothing, + server=nothing, + ) + + - path::String : Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + - readOnly::Bool : ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + - server::String : Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NFSVolumeSource <: OpenAPI.APIModel + path::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + server::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1NFSVolumeSource(path, readOnly, server, ) + OpenAPI.validate_property(IoK8sApiCoreV1NFSVolumeSource, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiCoreV1NFSVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1NFSVolumeSource, Symbol("server"), server) + return new(path, readOnly, server, ) + end +end # type IoK8sApiCoreV1NFSVolumeSource + +const _property_types_IoK8sApiCoreV1NFSVolumeSource = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("readOnly")=>"Bool", Symbol("server")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NFSVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NFSVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1NFSVolumeSource) + o.path === nothing && (return false) + o.server === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NFSVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Namespace.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Namespace.jl new file mode 100644 index 00000000..b7997008 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Namespace.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Namespace +Namespace provides a scope for Names. Use of multiple namespaces is optional. + + IoK8sApiCoreV1Namespace(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1NamespaceSpec + - status::IoK8sApiCoreV1NamespaceStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Namespace <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NamespaceSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NamespaceStatus } + + function IoK8sApiCoreV1Namespace(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1Namespace, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Namespace, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Namespace, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Namespace, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1Namespace, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1Namespace + +const _property_types_IoK8sApiCoreV1Namespace = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1NamespaceSpec", Symbol("status")=>"IoK8sApiCoreV1NamespaceStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Namespace }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Namespace[name]))} + +function check_required(o::IoK8sApiCoreV1Namespace) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Namespace }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceCondition.jl new file mode 100644 index 00000000..12dba09b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NamespaceCondition +NamespaceCondition contains details about state of namespace. + + IoK8sApiCoreV1NamespaceCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String + - reason::String + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of namespace controller condition. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NamespaceCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1NamespaceCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiCoreV1NamespaceCondition + +const _property_types_IoK8sApiCoreV1NamespaceCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NamespaceCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceCondition[name]))} + +function check_required(o::IoK8sApiCoreV1NamespaceCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NamespaceCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1NamespaceCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceList.jl new file mode 100644 index 00000000..b38c2348 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NamespaceList +NamespaceList is a list of Namespaces. + + IoK8sApiCoreV1NamespaceList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Namespace} : Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NamespaceList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Namespace} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1NamespaceList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1NamespaceList + +const _property_types_IoK8sApiCoreV1NamespaceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Namespace}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NamespaceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceList[name]))} + +function check_required(o::IoK8sApiCoreV1NamespaceList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NamespaceList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceSpec.jl new file mode 100644 index 00000000..ca1c331a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceSpec.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NamespaceSpec +NamespaceSpec describes the attributes on a Namespace. + + IoK8sApiCoreV1NamespaceSpec(; + finalizers=nothing, + ) + + - finalizers::Vector{String} : Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NamespaceSpec <: OpenAPI.APIModel + finalizers::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1NamespaceSpec(finalizers, ) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceSpec, Symbol("finalizers"), finalizers) + return new(finalizers, ) + end +end # type IoK8sApiCoreV1NamespaceSpec + +const _property_types_IoK8sApiCoreV1NamespaceSpec = Dict{Symbol,String}(Symbol("finalizers")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NamespaceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceSpec[name]))} + +function check_required(o::IoK8sApiCoreV1NamespaceSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NamespaceSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceStatus.jl new file mode 100644 index 00000000..fc54be5a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NamespaceStatus.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NamespaceStatus +NamespaceStatus is information about the current status of a Namespace. + + IoK8sApiCoreV1NamespaceStatus(; + conditions=nothing, + phase=nothing, + ) + + - conditions::Vector{IoK8sApiCoreV1NamespaceCondition} : Represents the latest available observations of a namespace's current state. + - phase::String : Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NamespaceStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NamespaceCondition} } + phase::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1NamespaceStatus(conditions, phase, ) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiCoreV1NamespaceStatus, Symbol("phase"), phase) + return new(conditions, phase, ) + end +end # type IoK8sApiCoreV1NamespaceStatus + +const _property_types_IoK8sApiCoreV1NamespaceStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiCoreV1NamespaceCondition}", Symbol("phase")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NamespaceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NamespaceStatus[name]))} + +function check_required(o::IoK8sApiCoreV1NamespaceStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NamespaceStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Node.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Node.jl new file mode 100644 index 00000000..2d3c3b09 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Node.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Node +Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). + + IoK8sApiCoreV1Node(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1NodeSpec + - status::IoK8sApiCoreV1NodeStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Node <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeStatus } + + function IoK8sApiCoreV1Node(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1Node, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Node, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Node, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Node, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1Node, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1Node + +const _property_types_IoK8sApiCoreV1Node = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1NodeSpec", Symbol("status")=>"IoK8sApiCoreV1NodeStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Node }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Node[name]))} + +function check_required(o::IoK8sApiCoreV1Node) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Node }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeAddress.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeAddress.jl new file mode 100644 index 00000000..1551cf34 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeAddress.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeAddress +NodeAddress contains information for the node's address. + + IoK8sApiCoreV1NodeAddress(; + address=nothing, + type=nothing, + ) + + - address::String : The node address. + - type::String : Node address type, one of Hostname, ExternalIP or InternalIP. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeAddress <: OpenAPI.APIModel + address::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1NodeAddress(address, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeAddress, Symbol("address"), address) + OpenAPI.validate_property(IoK8sApiCoreV1NodeAddress, Symbol("type"), type) + return new(address, type, ) + end +end # type IoK8sApiCoreV1NodeAddress + +const _property_types_IoK8sApiCoreV1NodeAddress = Dict{Symbol,String}(Symbol("address")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeAddress[name]))} + +function check_required(o::IoK8sApiCoreV1NodeAddress) + o.address === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeAddress }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeAffinity.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeAffinity.jl new file mode 100644 index 00000000..e7f5ee3e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeAffinity.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeAffinity +Node affinity is a group of node affinity scheduling rules. + + IoK8sApiCoreV1NodeAffinity(; + preferredDuringSchedulingIgnoredDuringExecution=nothing, + requiredDuringSchedulingIgnoredDuringExecution=nothing, + ) + + - preferredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1PreferredSchedulingTerm} : The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + - requiredDuringSchedulingIgnoredDuringExecution::IoK8sApiCoreV1NodeSelector +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeAffinity <: OpenAPI.APIModel + preferredDuringSchedulingIgnoredDuringExecution::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PreferredSchedulingTerm} } + requiredDuringSchedulingIgnoredDuringExecution = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSelector } + + function IoK8sApiCoreV1NodeAffinity(preferredDuringSchedulingIgnoredDuringExecution, requiredDuringSchedulingIgnoredDuringExecution, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeAffinity, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) + OpenAPI.validate_property(IoK8sApiCoreV1NodeAffinity, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) + return new(preferredDuringSchedulingIgnoredDuringExecution, requiredDuringSchedulingIgnoredDuringExecution, ) + end +end # type IoK8sApiCoreV1NodeAffinity + +const _property_types_IoK8sApiCoreV1NodeAffinity = Dict{Symbol,String}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1PreferredSchedulingTerm}", Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>"IoK8sApiCoreV1NodeSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeAffinity[name]))} + +function check_required(o::IoK8sApiCoreV1NodeAffinity) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeAffinity }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeCondition.jl new file mode 100644 index 00000000..6f9ed58f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeCondition +NodeCondition contains condition information for a node. + + IoK8sApiCoreV1NodeCondition(; + lastHeartbeatTime=nothing, + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastHeartbeatTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Human readable message indicating details about last transition. + - reason::String : (brief) reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of node condition. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeCondition <: OpenAPI.APIModel + lastHeartbeatTime::Union{Nothing, ZonedDateTime} = nothing + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1NodeCondition(lastHeartbeatTime, lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeCondition, Symbol("lastHeartbeatTime"), lastHeartbeatTime) + OpenAPI.validate_property(IoK8sApiCoreV1NodeCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiCoreV1NodeCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1NodeCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1NodeCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiCoreV1NodeCondition, Symbol("type"), type) + return new(lastHeartbeatTime, lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiCoreV1NodeCondition + +const _property_types_IoK8sApiCoreV1NodeCondition = Dict{Symbol,String}(Symbol("lastHeartbeatTime")=>"ZonedDateTime", Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeCondition[name]))} + +function check_required(o::IoK8sApiCoreV1NodeCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeCondition }, name::Symbol, val) + if name === Symbol("lastHeartbeatTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1NodeCondition", :format, val, "date-time") + end + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1NodeCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeConfigSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeConfigSource.jl new file mode 100644 index 00000000..4ac48766 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeConfigSource.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeConfigSource +NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. + + IoK8sApiCoreV1NodeConfigSource(; + configMap=nothing, + ) + + - configMap::IoK8sApiCoreV1ConfigMapNodeConfigSource +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeConfigSource <: OpenAPI.APIModel + configMap = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapNodeConfigSource } + + function IoK8sApiCoreV1NodeConfigSource(configMap, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeConfigSource, Symbol("configMap"), configMap) + return new(configMap, ) + end +end # type IoK8sApiCoreV1NodeConfigSource + +const _property_types_IoK8sApiCoreV1NodeConfigSource = Dict{Symbol,String}(Symbol("configMap")=>"IoK8sApiCoreV1ConfigMapNodeConfigSource", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeConfigSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeConfigSource[name]))} + +function check_required(o::IoK8sApiCoreV1NodeConfigSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeConfigSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeConfigStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeConfigStatus.jl new file mode 100644 index 00000000..ee0e3dd8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeConfigStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeConfigStatus +NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. + + IoK8sApiCoreV1NodeConfigStatus(; + active=nothing, + assigned=nothing, + error=nothing, + lastKnownGood=nothing, + ) + + - active::IoK8sApiCoreV1NodeConfigSource + - assigned::IoK8sApiCoreV1NodeConfigSource + - error::String : Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. + - lastKnownGood::IoK8sApiCoreV1NodeConfigSource +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeConfigStatus <: OpenAPI.APIModel + active = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } + assigned = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } + error::Union{Nothing, String} = nothing + lastKnownGood = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } + + function IoK8sApiCoreV1NodeConfigStatus(active, assigned, error, lastKnownGood, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("active"), active) + OpenAPI.validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("assigned"), assigned) + OpenAPI.validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("error"), error) + OpenAPI.validate_property(IoK8sApiCoreV1NodeConfigStatus, Symbol("lastKnownGood"), lastKnownGood) + return new(active, assigned, error, lastKnownGood, ) + end +end # type IoK8sApiCoreV1NodeConfigStatus + +const _property_types_IoK8sApiCoreV1NodeConfigStatus = Dict{Symbol,String}(Symbol("active")=>"IoK8sApiCoreV1NodeConfigSource", Symbol("assigned")=>"IoK8sApiCoreV1NodeConfigSource", Symbol("error")=>"String", Symbol("lastKnownGood")=>"IoK8sApiCoreV1NodeConfigSource", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeConfigStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeConfigStatus[name]))} + +function check_required(o::IoK8sApiCoreV1NodeConfigStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeConfigStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl new file mode 100644 index 00000000..8601e22a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeDaemonEndpoints.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeDaemonEndpoints +NodeDaemonEndpoints lists ports opened by daemons running on the Node. + + IoK8sApiCoreV1NodeDaemonEndpoints(; + kubeletEndpoint=nothing, + ) + + - kubeletEndpoint::IoK8sApiCoreV1DaemonEndpoint +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeDaemonEndpoints <: OpenAPI.APIModel + kubeletEndpoint = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1DaemonEndpoint } + + function IoK8sApiCoreV1NodeDaemonEndpoints(kubeletEndpoint, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeDaemonEndpoints, Symbol("kubeletEndpoint"), kubeletEndpoint) + return new(kubeletEndpoint, ) + end +end # type IoK8sApiCoreV1NodeDaemonEndpoints + +const _property_types_IoK8sApiCoreV1NodeDaemonEndpoints = Dict{Symbol,String}(Symbol("kubeletEndpoint")=>"IoK8sApiCoreV1DaemonEndpoint", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeDaemonEndpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeDaemonEndpoints[name]))} + +function check_required(o::IoK8sApiCoreV1NodeDaemonEndpoints) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeDaemonEndpoints }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeList.jl new file mode 100644 index 00000000..19f0705a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeList +NodeList is the whole list of all Nodes which have been registered with master. + + IoK8sApiCoreV1NodeList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Node} : List of nodes + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Node} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1NodeList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1NodeList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1NodeList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1NodeList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1NodeList + +const _property_types_IoK8sApiCoreV1NodeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Node}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeList[name]))} + +function check_required(o::IoK8sApiCoreV1NodeList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelector.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelector.jl new file mode 100644 index 00000000..93fba7ab --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelector.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeSelector +A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. + + IoK8sApiCoreV1NodeSelector(; + nodeSelectorTerms=nothing, + ) + + - nodeSelectorTerms::Vector{IoK8sApiCoreV1NodeSelectorTerm} : Required. A list of node selector terms. The terms are ORed. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeSelector <: OpenAPI.APIModel + nodeSelectorTerms::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeSelectorTerm} } + + function IoK8sApiCoreV1NodeSelector(nodeSelectorTerms, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSelector, Symbol("nodeSelectorTerms"), nodeSelectorTerms) + return new(nodeSelectorTerms, ) + end +end # type IoK8sApiCoreV1NodeSelector + +const _property_types_IoK8sApiCoreV1NodeSelector = Dict{Symbol,String}(Symbol("nodeSelectorTerms")=>"Vector{IoK8sApiCoreV1NodeSelectorTerm}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSelector[name]))} + +function check_required(o::IoK8sApiCoreV1NodeSelector) + o.nodeSelectorTerms === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeSelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelectorRequirement.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelectorRequirement.jl new file mode 100644 index 00000000..42ae1f08 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelectorRequirement.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeSelectorRequirement +A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. + + IoK8sApiCoreV1NodeSelectorRequirement(; + key=nothing, + operator=nothing, + values=nothing, + ) + + - key::String : The label key that the selector applies to. + - operator::String : Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + - values::Vector{String} : An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeSelectorRequirement <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + operator::Union{Nothing, String} = nothing + values::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1NodeSelectorRequirement(key, operator, values, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSelectorRequirement, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSelectorRequirement, Symbol("operator"), operator) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSelectorRequirement, Symbol("values"), values) + return new(key, operator, values, ) + end +end # type IoK8sApiCoreV1NodeSelectorRequirement + +const _property_types_IoK8sApiCoreV1NodeSelectorRequirement = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("values")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeSelectorRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSelectorRequirement[name]))} + +function check_required(o::IoK8sApiCoreV1NodeSelectorRequirement) + o.key === nothing && (return false) + o.operator === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeSelectorRequirement }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelectorTerm.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelectorTerm.jl new file mode 100644 index 00000000..f7690a97 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSelectorTerm.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeSelectorTerm +A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. + + IoK8sApiCoreV1NodeSelectorTerm(; + matchExpressions=nothing, + matchFields=nothing, + ) + + - matchExpressions::Vector{IoK8sApiCoreV1NodeSelectorRequirement} : A list of node selector requirements by node's labels. + - matchFields::Vector{IoK8sApiCoreV1NodeSelectorRequirement} : A list of node selector requirements by node's fields. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeSelectorTerm <: OpenAPI.APIModel + matchExpressions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeSelectorRequirement} } + matchFields::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeSelectorRequirement} } + + function IoK8sApiCoreV1NodeSelectorTerm(matchExpressions, matchFields, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSelectorTerm, Symbol("matchExpressions"), matchExpressions) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSelectorTerm, Symbol("matchFields"), matchFields) + return new(matchExpressions, matchFields, ) + end +end # type IoK8sApiCoreV1NodeSelectorTerm + +const _property_types_IoK8sApiCoreV1NodeSelectorTerm = Dict{Symbol,String}(Symbol("matchExpressions")=>"Vector{IoK8sApiCoreV1NodeSelectorRequirement}", Symbol("matchFields")=>"Vector{IoK8sApiCoreV1NodeSelectorRequirement}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeSelectorTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSelectorTerm[name]))} + +function check_required(o::IoK8sApiCoreV1NodeSelectorTerm) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeSelectorTerm }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSpec.jl new file mode 100644 index 00000000..26e75e06 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSpec.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeSpec +NodeSpec describes the attributes that a node is created with. + + IoK8sApiCoreV1NodeSpec(; + configSource=nothing, + externalID=nothing, + podCIDR=nothing, + podCIDRs=nothing, + providerID=nothing, + taints=nothing, + unschedulable=nothing, + ) + + - configSource::IoK8sApiCoreV1NodeConfigSource + - externalID::String : Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 + - podCIDR::String : PodCIDR represents the pod IP range assigned to the node. + - podCIDRs::Vector{String} : podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. + - providerID::String : ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> + - taints::Vector{IoK8sApiCoreV1Taint} : If specified, the node's taints. + - unschedulable::Bool : Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeSpec <: OpenAPI.APIModel + configSource = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigSource } + externalID::Union{Nothing, String} = nothing + podCIDR::Union{Nothing, String} = nothing + podCIDRs::Union{Nothing, Vector{String}} = nothing + providerID::Union{Nothing, String} = nothing + taints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Taint} } + unschedulable::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1NodeSpec(configSource, externalID, podCIDR, podCIDRs, providerID, taints, unschedulable, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("configSource"), configSource) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("externalID"), externalID) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("podCIDR"), podCIDR) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("podCIDRs"), podCIDRs) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("providerID"), providerID) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("taints"), taints) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSpec, Symbol("unschedulable"), unschedulable) + return new(configSource, externalID, podCIDR, podCIDRs, providerID, taints, unschedulable, ) + end +end # type IoK8sApiCoreV1NodeSpec + +const _property_types_IoK8sApiCoreV1NodeSpec = Dict{Symbol,String}(Symbol("configSource")=>"IoK8sApiCoreV1NodeConfigSource", Symbol("externalID")=>"String", Symbol("podCIDR")=>"String", Symbol("podCIDRs")=>"Vector{String}", Symbol("providerID")=>"String", Symbol("taints")=>"Vector{IoK8sApiCoreV1Taint}", Symbol("unschedulable")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSpec[name]))} + +function check_required(o::IoK8sApiCoreV1NodeSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeStatus.jl new file mode 100644 index 00000000..e3908ed1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeStatus.jl @@ -0,0 +1,71 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeStatus +NodeStatus is information about the current status of a node. + + IoK8sApiCoreV1NodeStatus(; + addresses=nothing, + allocatable=nothing, + capacity=nothing, + conditions=nothing, + config=nothing, + daemonEndpoints=nothing, + images=nothing, + nodeInfo=nothing, + phase=nothing, + volumesAttached=nothing, + volumesInUse=nothing, + ) + + - addresses::Vector{IoK8sApiCoreV1NodeAddress} : List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example. + - allocatable::Dict{String, String} : Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. + - capacity::Dict{String, String} : Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + - conditions::Vector{IoK8sApiCoreV1NodeCondition} : Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition + - config::IoK8sApiCoreV1NodeConfigStatus + - daemonEndpoints::IoK8sApiCoreV1NodeDaemonEndpoints + - images::Vector{IoK8sApiCoreV1ContainerImage} : List of container images on this node + - nodeInfo::IoK8sApiCoreV1NodeSystemInfo + - phase::String : NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. + - volumesAttached::Vector{IoK8sApiCoreV1AttachedVolume} : List of volumes that are attached to the node. + - volumesInUse::Vector{String} : List of attachable volumes in use (mounted) by the node. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeStatus <: OpenAPI.APIModel + addresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeAddress} } + allocatable::Union{Nothing, Dict{String, String}} = nothing + capacity::Union{Nothing, Dict{String, String}} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1NodeCondition} } + config = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeConfigStatus } + daemonEndpoints = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeDaemonEndpoints } + images::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerImage} } + nodeInfo = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSystemInfo } + phase::Union{Nothing, String} = nothing + volumesAttached::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1AttachedVolume} } + volumesInUse::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1NodeStatus(addresses, allocatable, capacity, conditions, config, daemonEndpoints, images, nodeInfo, phase, volumesAttached, volumesInUse, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("addresses"), addresses) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("allocatable"), allocatable) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("capacity"), capacity) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("config"), config) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("daemonEndpoints"), daemonEndpoints) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("images"), images) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("nodeInfo"), nodeInfo) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("phase"), phase) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("volumesAttached"), volumesAttached) + OpenAPI.validate_property(IoK8sApiCoreV1NodeStatus, Symbol("volumesInUse"), volumesInUse) + return new(addresses, allocatable, capacity, conditions, config, daemonEndpoints, images, nodeInfo, phase, volumesAttached, volumesInUse, ) + end +end # type IoK8sApiCoreV1NodeStatus + +const _property_types_IoK8sApiCoreV1NodeStatus = Dict{Symbol,String}(Symbol("addresses")=>"Vector{IoK8sApiCoreV1NodeAddress}", Symbol("allocatable")=>"Dict{String, String}", Symbol("capacity")=>"Dict{String, String}", Symbol("conditions")=>"Vector{IoK8sApiCoreV1NodeCondition}", Symbol("config")=>"IoK8sApiCoreV1NodeConfigStatus", Symbol("daemonEndpoints")=>"IoK8sApiCoreV1NodeDaemonEndpoints", Symbol("images")=>"Vector{IoK8sApiCoreV1ContainerImage}", Symbol("nodeInfo")=>"IoK8sApiCoreV1NodeSystemInfo", Symbol("phase")=>"String", Symbol("volumesAttached")=>"Vector{IoK8sApiCoreV1AttachedVolume}", Symbol("volumesInUse")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeStatus[name]))} + +function check_required(o::IoK8sApiCoreV1NodeStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSystemInfo.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSystemInfo.jl new file mode 100644 index 00000000..d6203267 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1NodeSystemInfo.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.NodeSystemInfo +NodeSystemInfo is a set of ids/uuids to uniquely identify the node. + + IoK8sApiCoreV1NodeSystemInfo(; + architecture=nothing, + bootID=nothing, + containerRuntimeVersion=nothing, + kernelVersion=nothing, + kubeProxyVersion=nothing, + kubeletVersion=nothing, + machineID=nothing, + operatingSystem=nothing, + osImage=nothing, + systemUUID=nothing, + ) + + - architecture::String : The Architecture reported by the node + - bootID::String : Boot ID reported by the node. + - containerRuntimeVersion::String : ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0). + - kernelVersion::String : Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). + - kubeProxyVersion::String : KubeProxy Version reported by the node. + - kubeletVersion::String : Kubelet Version reported by the node. + - machineID::String : MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html + - operatingSystem::String : The Operating System reported by the node + - osImage::String : OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). + - systemUUID::String : SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html +""" +Base.@kwdef mutable struct IoK8sApiCoreV1NodeSystemInfo <: OpenAPI.APIModel + architecture::Union{Nothing, String} = nothing + bootID::Union{Nothing, String} = nothing + containerRuntimeVersion::Union{Nothing, String} = nothing + kernelVersion::Union{Nothing, String} = nothing + kubeProxyVersion::Union{Nothing, String} = nothing + kubeletVersion::Union{Nothing, String} = nothing + machineID::Union{Nothing, String} = nothing + operatingSystem::Union{Nothing, String} = nothing + osImage::Union{Nothing, String} = nothing + systemUUID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1NodeSystemInfo(architecture, bootID, containerRuntimeVersion, kernelVersion, kubeProxyVersion, kubeletVersion, machineID, operatingSystem, osImage, systemUUID, ) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("architecture"), architecture) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("bootID"), bootID) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("containerRuntimeVersion"), containerRuntimeVersion) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("kernelVersion"), kernelVersion) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("kubeProxyVersion"), kubeProxyVersion) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("kubeletVersion"), kubeletVersion) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("machineID"), machineID) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("operatingSystem"), operatingSystem) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("osImage"), osImage) + OpenAPI.validate_property(IoK8sApiCoreV1NodeSystemInfo, Symbol("systemUUID"), systemUUID) + return new(architecture, bootID, containerRuntimeVersion, kernelVersion, kubeProxyVersion, kubeletVersion, machineID, operatingSystem, osImage, systemUUID, ) + end +end # type IoK8sApiCoreV1NodeSystemInfo + +const _property_types_IoK8sApiCoreV1NodeSystemInfo = Dict{Symbol,String}(Symbol("architecture")=>"String", Symbol("bootID")=>"String", Symbol("containerRuntimeVersion")=>"String", Symbol("kernelVersion")=>"String", Symbol("kubeProxyVersion")=>"String", Symbol("kubeletVersion")=>"String", Symbol("machineID")=>"String", Symbol("operatingSystem")=>"String", Symbol("osImage")=>"String", Symbol("systemUUID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1NodeSystemInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1NodeSystemInfo[name]))} + +function check_required(o::IoK8sApiCoreV1NodeSystemInfo) + o.architecture === nothing && (return false) + o.bootID === nothing && (return false) + o.containerRuntimeVersion === nothing && (return false) + o.kernelVersion === nothing && (return false) + o.kubeProxyVersion === nothing && (return false) + o.kubeletVersion === nothing && (return false) + o.machineID === nothing && (return false) + o.operatingSystem === nothing && (return false) + o.osImage === nothing && (return false) + o.systemUUID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1NodeSystemInfo }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ObjectFieldSelector.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ObjectFieldSelector.jl new file mode 100644 index 00000000..3cc7c449 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ObjectFieldSelector.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ObjectFieldSelector +ObjectFieldSelector selects an APIVersioned field of an object. + + IoK8sApiCoreV1ObjectFieldSelector(; + apiVersion=nothing, + fieldPath=nothing, + ) + + - apiVersion::String : Version of the schema the FieldPath is written in terms of, defaults to \"v1\". + - fieldPath::String : Path of the field to select in the specified API version. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ObjectFieldSelector <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + fieldPath::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ObjectFieldSelector(apiVersion, fieldPath, ) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectFieldSelector, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectFieldSelector, Symbol("fieldPath"), fieldPath) + return new(apiVersion, fieldPath, ) + end +end # type IoK8sApiCoreV1ObjectFieldSelector + +const _property_types_IoK8sApiCoreV1ObjectFieldSelector = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("fieldPath")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ObjectFieldSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ObjectFieldSelector[name]))} + +function check_required(o::IoK8sApiCoreV1ObjectFieldSelector) + o.fieldPath === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ObjectFieldSelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ObjectReference.jl new file mode 100644 index 00000000..262cdca1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ObjectReference.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ObjectReference +ObjectReference contains enough information to let you inspect or modify the referred object. + + IoK8sApiCoreV1ObjectReference(; + apiVersion=nothing, + fieldPath=nothing, + kind=nothing, + name=nothing, + namespace=nothing, + resourceVersion=nothing, + uid=nothing, + ) + + - apiVersion::String : API version of the referent. + - fieldPath::String : If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. + - kind::String : Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - namespace::String : Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + - resourceVersion::String : Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + - uid::String : UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ObjectReference <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + fieldPath::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + resourceVersion::Union{Nothing, String} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ObjectReference(apiVersion, fieldPath, kind, name, namespace, resourceVersion, uid, ) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("fieldPath"), fieldPath) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("resourceVersion"), resourceVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ObjectReference, Symbol("uid"), uid) + return new(apiVersion, fieldPath, kind, name, namespace, resourceVersion, uid, ) + end +end # type IoK8sApiCoreV1ObjectReference + +const _property_types_IoK8sApiCoreV1ObjectReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("fieldPath")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("resourceVersion")=>"String", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ObjectReference[name]))} + +function check_required(o::IoK8sApiCoreV1ObjectReference) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolume.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolume.jl new file mode 100644 index 00000000..3f9f357b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolume.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolume +PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes + + IoK8sApiCoreV1PersistentVolume(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1PersistentVolumeSpec + - status::IoK8sApiCoreV1PersistentVolumeStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolume <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeStatus } + + function IoK8sApiCoreV1PersistentVolume(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolume, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1PersistentVolume + +const _property_types_IoK8sApiCoreV1PersistentVolume = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("status")=>"IoK8sApiCoreV1PersistentVolumeStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolume[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolume) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolume }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaim.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaim.jl new file mode 100644 index 00000000..9752e324 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaim.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeClaim +PersistentVolumeClaim is a user's request for and claim to a persistent volume + + IoK8sApiCoreV1PersistentVolumeClaim(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1PersistentVolumeClaimSpec + - status::IoK8sApiCoreV1PersistentVolumeClaimStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeClaim <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeClaimSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeClaimStatus } + + function IoK8sApiCoreV1PersistentVolumeClaim(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaim, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1PersistentVolumeClaim + +const _property_types_IoK8sApiCoreV1PersistentVolumeClaim = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PersistentVolumeClaimSpec", Symbol("status")=>"IoK8sApiCoreV1PersistentVolumeClaimStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaim }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaim[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeClaim) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaim }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl new file mode 100644 index 00000000..7adc2d4e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeClaimCondition +PersistentVolumeClaimCondition contails details about state of pvc + + IoK8sApiCoreV1PersistentVolumeClaimCondition(; + lastProbeTime=nothing, + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastProbeTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Human-readable message indicating details about last transition. + - reason::String : Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized. + - status::String + - type::String +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeClaimCondition <: OpenAPI.APIModel + lastProbeTime::Union{Nothing, ZonedDateTime} = nothing + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PersistentVolumeClaimCondition(lastProbeTime, lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("lastProbeTime"), lastProbeTime) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimCondition, Symbol("type"), type) + return new(lastProbeTime, lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiCoreV1PersistentVolumeClaimCondition + +const _property_types_IoK8sApiCoreV1PersistentVolumeClaimCondition = Dict{Symbol,String}(Symbol("lastProbeTime")=>"ZonedDateTime", Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimCondition[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimCondition }, name::Symbol, val) + if name === Symbol("lastProbeTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PersistentVolumeClaimCondition", :format, val, "date-time") + end + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PersistentVolumeClaimCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl new file mode 100644 index 00000000..87957841 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeClaimList +PersistentVolumeClaimList is a list of PersistentVolumeClaim items. + + IoK8sApiCoreV1PersistentVolumeClaimList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1PersistentVolumeClaim} : A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeClaimList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaim} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1PersistentVolumeClaimList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1PersistentVolumeClaimList + +const _property_types_IoK8sApiCoreV1PersistentVolumeClaimList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaim}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimList[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl new file mode 100644 index 00000000..2f17ef01 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimSpec.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeClaimSpec +PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes + + IoK8sApiCoreV1PersistentVolumeClaimSpec(; + accessModes=nothing, + dataSource=nothing, + resources=nothing, + selector=nothing, + storageClassName=nothing, + volumeMode=nothing, + volumeName=nothing, + ) + + - accessModes::Vector{String} : AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + - dataSource::IoK8sApiCoreV1TypedLocalObjectReference + - resources::IoK8sApiCoreV1ResourceRequirements + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - storageClassName::String : Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + - volumeMode::String : volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. + - volumeName::String : VolumeName is the binding reference to the PersistentVolume backing this claim. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeClaimSpec <: OpenAPI.APIModel + accessModes::Union{Nothing, Vector{String}} = nothing + dataSource = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1TypedLocalObjectReference } + resources = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceRequirements } + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + storageClassName::Union{Nothing, String} = nothing + volumeMode::Union{Nothing, String} = nothing + volumeName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PersistentVolumeClaimSpec(accessModes, dataSource, resources, selector, storageClassName, volumeMode, volumeName, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("accessModes"), accessModes) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("dataSource"), dataSource) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("storageClassName"), storageClassName) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("volumeMode"), volumeMode) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimSpec, Symbol("volumeName"), volumeName) + return new(accessModes, dataSource, resources, selector, storageClassName, volumeMode, volumeName, ) + end +end # type IoK8sApiCoreV1PersistentVolumeClaimSpec + +const _property_types_IoK8sApiCoreV1PersistentVolumeClaimSpec = Dict{Symbol,String}(Symbol("accessModes")=>"Vector{String}", Symbol("dataSource")=>"IoK8sApiCoreV1TypedLocalObjectReference", Symbol("resources")=>"IoK8sApiCoreV1ResourceRequirements", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("storageClassName")=>"String", Symbol("volumeMode")=>"String", Symbol("volumeName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimSpec[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl new file mode 100644 index 00000000..54540a11 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeClaimStatus +PersistentVolumeClaimStatus is the current status of a persistent volume claim. + + IoK8sApiCoreV1PersistentVolumeClaimStatus(; + accessModes=nothing, + capacity=nothing, + conditions=nothing, + phase=nothing, + ) + + - accessModes::Vector{String} : AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + - capacity::Dict{String, String} : Represents the actual resources of the underlying volume. + - conditions::Vector{IoK8sApiCoreV1PersistentVolumeClaimCondition} : Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. + - phase::String : Phase represents the current phase of PersistentVolumeClaim. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeClaimStatus <: OpenAPI.APIModel + accessModes::Union{Nothing, Vector{String}} = nothing + capacity::Union{Nothing, Dict{String, String}} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolumeClaimCondition} } + phase::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PersistentVolumeClaimStatus(accessModes, capacity, conditions, phase, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("accessModes"), accessModes) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("capacity"), capacity) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimStatus, Symbol("phase"), phase) + return new(accessModes, capacity, conditions, phase, ) + end +end # type IoK8sApiCoreV1PersistentVolumeClaimStatus + +const _property_types_IoK8sApiCoreV1PersistentVolumeClaimStatus = Dict{Symbol,String}(Symbol("accessModes")=>"Vector{String}", Symbol("capacity")=>"Dict{String, String}", Symbol("conditions")=>"Vector{IoK8sApiCoreV1PersistentVolumeClaimCondition}", Symbol("phase")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimStatus[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl new file mode 100644 index 00000000..99377a22 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource +PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). + + IoK8sApiCoreV1PersistentVolumeClaimVolumeSource(; + claimName=nothing, + readOnly=nothing, + ) + + - claimName::String : ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + - readOnly::Bool : Will force the ReadOnly setting in VolumeMounts. Default false. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeClaimVolumeSource <: OpenAPI.APIModel + claimName::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1PersistentVolumeClaimVolumeSource(claimName, readOnly, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimVolumeSource, Symbol("claimName"), claimName) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeClaimVolumeSource, Symbol("readOnly"), readOnly) + return new(claimName, readOnly, ) + end +end # type IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + +const _property_types_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource = Dict{Symbol,String}(Symbol("claimName")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeClaimVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeClaimVolumeSource) + o.claimName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeClaimVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeList.jl new file mode 100644 index 00000000..2c5a92f4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeList +PersistentVolumeList is a list of PersistentVolume items. + + IoK8sApiCoreV1PersistentVolumeList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1PersistentVolume} : List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PersistentVolume} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1PersistentVolumeList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1PersistentVolumeList + +const _property_types_IoK8sApiCoreV1PersistentVolumeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1PersistentVolume}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeList[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeSpec.jl new file mode 100644 index 00000000..9eb356b6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeSpec.jl @@ -0,0 +1,147 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeSpec +PersistentVolumeSpec is the specification of a persistent volume. + + IoK8sApiCoreV1PersistentVolumeSpec(; + accessModes=nothing, + awsElasticBlockStore=nothing, + azureDisk=nothing, + azureFile=nothing, + capacity=nothing, + cephfs=nothing, + cinder=nothing, + claimRef=nothing, + csi=nothing, + fc=nothing, + flexVolume=nothing, + flocker=nothing, + gcePersistentDisk=nothing, + glusterfs=nothing, + hostPath=nothing, + iscsi=nothing, + var"local"=nothing, + mountOptions=nothing, + nfs=nothing, + nodeAffinity=nothing, + persistentVolumeReclaimPolicy=nothing, + photonPersistentDisk=nothing, + portworxVolume=nothing, + quobyte=nothing, + rbd=nothing, + scaleIO=nothing, + storageClassName=nothing, + storageos=nothing, + volumeMode=nothing, + vsphereVolume=nothing, + ) + + - accessModes::Vector{String} : AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes + - awsElasticBlockStore::IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + - azureDisk::IoK8sApiCoreV1AzureDiskVolumeSource + - azureFile::IoK8sApiCoreV1AzureFilePersistentVolumeSource + - capacity::Dict{String, String} : A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + - cephfs::IoK8sApiCoreV1CephFSPersistentVolumeSource + - cinder::IoK8sApiCoreV1CinderPersistentVolumeSource + - claimRef::IoK8sApiCoreV1ObjectReference + - csi::IoK8sApiCoreV1CSIPersistentVolumeSource + - fc::IoK8sApiCoreV1FCVolumeSource + - flexVolume::IoK8sApiCoreV1FlexPersistentVolumeSource + - flocker::IoK8sApiCoreV1FlockerVolumeSource + - gcePersistentDisk::IoK8sApiCoreV1GCEPersistentDiskVolumeSource + - glusterfs::IoK8sApiCoreV1GlusterfsPersistentVolumeSource + - hostPath::IoK8sApiCoreV1HostPathVolumeSource + - iscsi::IoK8sApiCoreV1ISCSIPersistentVolumeSource + - var"local"::IoK8sApiCoreV1LocalVolumeSource + - mountOptions::Vector{String} : A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options + - nfs::IoK8sApiCoreV1NFSVolumeSource + - nodeAffinity::IoK8sApiCoreV1VolumeNodeAffinity + - persistentVolumeReclaimPolicy::String : What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming + - photonPersistentDisk::IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + - portworxVolume::IoK8sApiCoreV1PortworxVolumeSource + - quobyte::IoK8sApiCoreV1QuobyteVolumeSource + - rbd::IoK8sApiCoreV1RBDPersistentVolumeSource + - scaleIO::IoK8sApiCoreV1ScaleIOPersistentVolumeSource + - storageClassName::String : Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. + - storageos::IoK8sApiCoreV1StorageOSPersistentVolumeSource + - volumeMode::String : volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. + - vsphereVolume::IoK8sApiCoreV1VsphereVirtualDiskVolumeSource +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeSpec <: OpenAPI.APIModel + accessModes::Union{Nothing, Vector{String}} = nothing + awsElasticBlockStore = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } + azureDisk = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1AzureDiskVolumeSource } + azureFile = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1AzureFilePersistentVolumeSource } + capacity::Union{Nothing, Dict{String, String}} = nothing + cephfs = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1CephFSPersistentVolumeSource } + cinder = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1CinderPersistentVolumeSource } + claimRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + csi = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1CSIPersistentVolumeSource } + fc = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1FCVolumeSource } + flexVolume = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1FlexPersistentVolumeSource } + flocker = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1FlockerVolumeSource } + gcePersistentDisk = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1GCEPersistentDiskVolumeSource } + glusterfs = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1GlusterfsPersistentVolumeSource } + hostPath = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1HostPathVolumeSource } + iscsi = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ISCSIPersistentVolumeSource } + var"local" = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalVolumeSource } + mountOptions::Union{Nothing, Vector{String}} = nothing + nfs = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NFSVolumeSource } + nodeAffinity = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1VolumeNodeAffinity } + persistentVolumeReclaimPolicy::Union{Nothing, String} = nothing + photonPersistentDisk = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } + portworxVolume = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PortworxVolumeSource } + quobyte = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1QuobyteVolumeSource } + rbd = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1RBDPersistentVolumeSource } + scaleIO = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ScaleIOPersistentVolumeSource } + storageClassName::Union{Nothing, String} = nothing + storageos = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1StorageOSPersistentVolumeSource } + volumeMode::Union{Nothing, String} = nothing + vsphereVolume = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } + + function IoK8sApiCoreV1PersistentVolumeSpec(accessModes, awsElasticBlockStore, azureDisk, azureFile, capacity, cephfs, cinder, claimRef, csi, fc, flexVolume, flocker, gcePersistentDisk, glusterfs, hostPath, iscsi, var"local", mountOptions, nfs, nodeAffinity, persistentVolumeReclaimPolicy, photonPersistentDisk, portworxVolume, quobyte, rbd, scaleIO, storageClassName, storageos, volumeMode, vsphereVolume, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("accessModes"), accessModes) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("awsElasticBlockStore"), awsElasticBlockStore) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("azureDisk"), azureDisk) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("azureFile"), azureFile) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("capacity"), capacity) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("cephfs"), cephfs) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("cinder"), cinder) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("claimRef"), claimRef) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("csi"), csi) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("fc"), fc) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("flexVolume"), flexVolume) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("flocker"), flocker) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("gcePersistentDisk"), gcePersistentDisk) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("glusterfs"), glusterfs) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("hostPath"), hostPath) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("iscsi"), iscsi) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("local"), var"local") + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("mountOptions"), mountOptions) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("nfs"), nfs) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("nodeAffinity"), nodeAffinity) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("persistentVolumeReclaimPolicy"), persistentVolumeReclaimPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("photonPersistentDisk"), photonPersistentDisk) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("portworxVolume"), portworxVolume) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("quobyte"), quobyte) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("rbd"), rbd) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("scaleIO"), scaleIO) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("storageClassName"), storageClassName) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("storageos"), storageos) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("volumeMode"), volumeMode) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeSpec, Symbol("vsphereVolume"), vsphereVolume) + return new(accessModes, awsElasticBlockStore, azureDisk, azureFile, capacity, cephfs, cinder, claimRef, csi, fc, flexVolume, flocker, gcePersistentDisk, glusterfs, hostPath, iscsi, var"local", mountOptions, nfs, nodeAffinity, persistentVolumeReclaimPolicy, photonPersistentDisk, portworxVolume, quobyte, rbd, scaleIO, storageClassName, storageos, volumeMode, vsphereVolume, ) + end +end # type IoK8sApiCoreV1PersistentVolumeSpec + +const _property_types_IoK8sApiCoreV1PersistentVolumeSpec = Dict{Symbol,String}(Symbol("accessModes")=>"Vector{String}", Symbol("awsElasticBlockStore")=>"IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", Symbol("azureDisk")=>"IoK8sApiCoreV1AzureDiskVolumeSource", Symbol("azureFile")=>"IoK8sApiCoreV1AzureFilePersistentVolumeSource", Symbol("capacity")=>"Dict{String, String}", Symbol("cephfs")=>"IoK8sApiCoreV1CephFSPersistentVolumeSource", Symbol("cinder")=>"IoK8sApiCoreV1CinderPersistentVolumeSource", Symbol("claimRef")=>"IoK8sApiCoreV1ObjectReference", Symbol("csi")=>"IoK8sApiCoreV1CSIPersistentVolumeSource", Symbol("fc")=>"IoK8sApiCoreV1FCVolumeSource", Symbol("flexVolume")=>"IoK8sApiCoreV1FlexPersistentVolumeSource", Symbol("flocker")=>"IoK8sApiCoreV1FlockerVolumeSource", Symbol("gcePersistentDisk")=>"IoK8sApiCoreV1GCEPersistentDiskVolumeSource", Symbol("glusterfs")=>"IoK8sApiCoreV1GlusterfsPersistentVolumeSource", Symbol("hostPath")=>"IoK8sApiCoreV1HostPathVolumeSource", Symbol("iscsi")=>"IoK8sApiCoreV1ISCSIPersistentVolumeSource", Symbol("local")=>"IoK8sApiCoreV1LocalVolumeSource", Symbol("mountOptions")=>"Vector{String}", Symbol("nfs")=>"IoK8sApiCoreV1NFSVolumeSource", Symbol("nodeAffinity")=>"IoK8sApiCoreV1VolumeNodeAffinity", Symbol("persistentVolumeReclaimPolicy")=>"String", Symbol("photonPersistentDisk")=>"IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", Symbol("portworxVolume")=>"IoK8sApiCoreV1PortworxVolumeSource", Symbol("quobyte")=>"IoK8sApiCoreV1QuobyteVolumeSource", Symbol("rbd")=>"IoK8sApiCoreV1RBDPersistentVolumeSource", Symbol("scaleIO")=>"IoK8sApiCoreV1ScaleIOPersistentVolumeSource", Symbol("storageClassName")=>"String", Symbol("storageos")=>"IoK8sApiCoreV1StorageOSPersistentVolumeSource", Symbol("volumeMode")=>"String", Symbol("vsphereVolume")=>"IoK8sApiCoreV1VsphereVirtualDiskVolumeSource", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeSpec[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeStatus.jl new file mode 100644 index 00000000..f4b591ae --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PersistentVolumeStatus.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PersistentVolumeStatus +PersistentVolumeStatus is the current status of a persistent volume. + + IoK8sApiCoreV1PersistentVolumeStatus(; + message=nothing, + phase=nothing, + reason=nothing, + ) + + - message::String : A human-readable message indicating details about why the volume is in this state. + - phase::String : Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase + - reason::String : Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PersistentVolumeStatus <: OpenAPI.APIModel + message::Union{Nothing, String} = nothing + phase::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PersistentVolumeStatus(message, phase, reason, ) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeStatus, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeStatus, Symbol("phase"), phase) + OpenAPI.validate_property(IoK8sApiCoreV1PersistentVolumeStatus, Symbol("reason"), reason) + return new(message, phase, reason, ) + end +end # type IoK8sApiCoreV1PersistentVolumeStatus + +const _property_types_IoK8sApiCoreV1PersistentVolumeStatus = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("phase")=>"String", Symbol("reason")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PersistentVolumeStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PersistentVolumeStatus[name]))} + +function check_required(o::IoK8sApiCoreV1PersistentVolumeStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PersistentVolumeStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl new file mode 100644 index 00000000..3cfbef28 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource +Represents a Photon Controller persistent disk resource. + + IoK8sApiCoreV1PhotonPersistentDiskVolumeSource(; + fsType=nothing, + pdID=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + - pdID::String : ID that identifies Photon Controller persistent disk +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PhotonPersistentDiskVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + pdID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PhotonPersistentDiskVolumeSource(fsType, pdID, ) + OpenAPI.validate_property(IoK8sApiCoreV1PhotonPersistentDiskVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1PhotonPersistentDiskVolumeSource, Symbol("pdID"), pdID) + return new(fsType, pdID, ) + end +end # type IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + +const _property_types_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("pdID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PhotonPersistentDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1PhotonPersistentDiskVolumeSource) + o.pdID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PhotonPersistentDiskVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Pod.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Pod.jl new file mode 100644 index 00000000..47ff0bb5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Pod.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Pod +Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. + + IoK8sApiCoreV1Pod(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1PodSpec + - status::IoK8sApiCoreV1PodStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Pod <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodStatus } + + function IoK8sApiCoreV1Pod(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1Pod, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Pod, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Pod, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Pod, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1Pod, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1Pod + +const _property_types_IoK8sApiCoreV1Pod = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PodSpec", Symbol("status")=>"IoK8sApiCoreV1PodStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Pod }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Pod[name]))} + +function check_required(o::IoK8sApiCoreV1Pod) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Pod }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAffinity.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAffinity.jl new file mode 100644 index 00000000..1bfa376c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAffinity.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodAffinity +Pod affinity is a group of inter pod affinity scheduling rules. + + IoK8sApiCoreV1PodAffinity(; + preferredDuringSchedulingIgnoredDuringExecution=nothing, + requiredDuringSchedulingIgnoredDuringExecution=nothing, + ) + + - preferredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} : The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + - requiredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1PodAffinityTerm} : If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodAffinity <: OpenAPI.APIModel + preferredDuringSchedulingIgnoredDuringExecution::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} } + requiredDuringSchedulingIgnoredDuringExecution::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodAffinityTerm} } + + function IoK8sApiCoreV1PodAffinity(preferredDuringSchedulingIgnoredDuringExecution, requiredDuringSchedulingIgnoredDuringExecution, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodAffinity, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) + OpenAPI.validate_property(IoK8sApiCoreV1PodAffinity, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) + return new(preferredDuringSchedulingIgnoredDuringExecution, requiredDuringSchedulingIgnoredDuringExecution, ) + end +end # type IoK8sApiCoreV1PodAffinity + +const _property_types_IoK8sApiCoreV1PodAffinity = Dict{Symbol,String}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1WeightedPodAffinityTerm}", Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1PodAffinityTerm}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodAffinity[name]))} + +function check_required(o::IoK8sApiCoreV1PodAffinity) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodAffinity }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAffinityTerm.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAffinityTerm.jl new file mode 100644 index 00000000..3178c840 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAffinityTerm.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodAffinityTerm +Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running + + IoK8sApiCoreV1PodAffinityTerm(; + labelSelector=nothing, + namespaces=nothing, + topologyKey=nothing, + ) + + - labelSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - namespaces::Vector{String} : namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\" + - topologyKey::String : This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodAffinityTerm <: OpenAPI.APIModel + labelSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + namespaces::Union{Nothing, Vector{String}} = nothing + topologyKey::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PodAffinityTerm(labelSelector, namespaces, topologyKey, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodAffinityTerm, Symbol("labelSelector"), labelSelector) + OpenAPI.validate_property(IoK8sApiCoreV1PodAffinityTerm, Symbol("namespaces"), namespaces) + OpenAPI.validate_property(IoK8sApiCoreV1PodAffinityTerm, Symbol("topologyKey"), topologyKey) + return new(labelSelector, namespaces, topologyKey, ) + end +end # type IoK8sApiCoreV1PodAffinityTerm + +const _property_types_IoK8sApiCoreV1PodAffinityTerm = Dict{Symbol,String}(Symbol("labelSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("namespaces")=>"Vector{String}", Symbol("topologyKey")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodAffinityTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodAffinityTerm[name]))} + +function check_required(o::IoK8sApiCoreV1PodAffinityTerm) + o.topologyKey === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodAffinityTerm }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAntiAffinity.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAntiAffinity.jl new file mode 100644 index 00000000..da929d2b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodAntiAffinity.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodAntiAffinity +Pod anti affinity is a group of inter pod anti affinity scheduling rules. + + IoK8sApiCoreV1PodAntiAffinity(; + preferredDuringSchedulingIgnoredDuringExecution=nothing, + requiredDuringSchedulingIgnoredDuringExecution=nothing, + ) + + - preferredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} : The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + - requiredDuringSchedulingIgnoredDuringExecution::Vector{IoK8sApiCoreV1PodAffinityTerm} : If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodAntiAffinity <: OpenAPI.APIModel + preferredDuringSchedulingIgnoredDuringExecution::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1WeightedPodAffinityTerm} } + requiredDuringSchedulingIgnoredDuringExecution::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodAffinityTerm} } + + function IoK8sApiCoreV1PodAntiAffinity(preferredDuringSchedulingIgnoredDuringExecution, requiredDuringSchedulingIgnoredDuringExecution, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodAntiAffinity, Symbol("preferredDuringSchedulingIgnoredDuringExecution"), preferredDuringSchedulingIgnoredDuringExecution) + OpenAPI.validate_property(IoK8sApiCoreV1PodAntiAffinity, Symbol("requiredDuringSchedulingIgnoredDuringExecution"), requiredDuringSchedulingIgnoredDuringExecution) + return new(preferredDuringSchedulingIgnoredDuringExecution, requiredDuringSchedulingIgnoredDuringExecution, ) + end +end # type IoK8sApiCoreV1PodAntiAffinity + +const _property_types_IoK8sApiCoreV1PodAntiAffinity = Dict{Symbol,String}(Symbol("preferredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1WeightedPodAffinityTerm}", Symbol("requiredDuringSchedulingIgnoredDuringExecution")=>"Vector{IoK8sApiCoreV1PodAffinityTerm}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodAntiAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodAntiAffinity[name]))} + +function check_required(o::IoK8sApiCoreV1PodAntiAffinity) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodAntiAffinity }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodCondition.jl new file mode 100644 index 00000000..ef208aa2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodCondition +PodCondition contains details for the current condition of this pod. + + IoK8sApiCoreV1PodCondition(; + lastProbeTime=nothing, + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastProbeTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Human-readable message indicating details about last transition. + - reason::String : Unique, one-word, CamelCase reason for the condition's last transition. + - status::String : Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + - type::String : Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodCondition <: OpenAPI.APIModel + lastProbeTime::Union{Nothing, ZonedDateTime} = nothing + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PodCondition(lastProbeTime, lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodCondition, Symbol("lastProbeTime"), lastProbeTime) + OpenAPI.validate_property(IoK8sApiCoreV1PodCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiCoreV1PodCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1PodCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1PodCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiCoreV1PodCondition, Symbol("type"), type) + return new(lastProbeTime, lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiCoreV1PodCondition + +const _property_types_IoK8sApiCoreV1PodCondition = Dict{Symbol,String}(Symbol("lastProbeTime")=>"ZonedDateTime", Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodCondition[name]))} + +function check_required(o::IoK8sApiCoreV1PodCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodCondition }, name::Symbol, val) + if name === Symbol("lastProbeTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodCondition", :format, val, "date-time") + end + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodDNSConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodDNSConfig.jl new file mode 100644 index 00000000..4f41c38b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodDNSConfig.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodDNSConfig +PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. + + IoK8sApiCoreV1PodDNSConfig(; + nameservers=nothing, + options=nothing, + searches=nothing, + ) + + - nameservers::Vector{String} : A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. + - options::Vector{IoK8sApiCoreV1PodDNSConfigOption} : A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. + - searches::Vector{String} : A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodDNSConfig <: OpenAPI.APIModel + nameservers::Union{Nothing, Vector{String}} = nothing + options::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodDNSConfigOption} } + searches::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1PodDNSConfig(nameservers, options, searches, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodDNSConfig, Symbol("nameservers"), nameservers) + OpenAPI.validate_property(IoK8sApiCoreV1PodDNSConfig, Symbol("options"), options) + OpenAPI.validate_property(IoK8sApiCoreV1PodDNSConfig, Symbol("searches"), searches) + return new(nameservers, options, searches, ) + end +end # type IoK8sApiCoreV1PodDNSConfig + +const _property_types_IoK8sApiCoreV1PodDNSConfig = Dict{Symbol,String}(Symbol("nameservers")=>"Vector{String}", Symbol("options")=>"Vector{IoK8sApiCoreV1PodDNSConfigOption}", Symbol("searches")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodDNSConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodDNSConfig[name]))} + +function check_required(o::IoK8sApiCoreV1PodDNSConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodDNSConfig }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodDNSConfigOption.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodDNSConfigOption.jl new file mode 100644 index 00000000..6746197e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodDNSConfigOption.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodDNSConfigOption +PodDNSConfigOption defines DNS resolver options of a pod. + + IoK8sApiCoreV1PodDNSConfigOption(; + name=nothing, + value=nothing, + ) + + - name::String : Required. + - value::String +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodDNSConfigOption <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PodDNSConfigOption(name, value, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodDNSConfigOption, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1PodDNSConfigOption, Symbol("value"), value) + return new(name, value, ) + end +end # type IoK8sApiCoreV1PodDNSConfigOption + +const _property_types_IoK8sApiCoreV1PodDNSConfigOption = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodDNSConfigOption }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodDNSConfigOption[name]))} + +function check_required(o::IoK8sApiCoreV1PodDNSConfigOption) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodDNSConfigOption }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodIP.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodIP.jl new file mode 100644 index 00000000..37bc8c34 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodIP.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodIP +IP address information for entries in the (plural) PodIPs field. Each entry includes: IP: An IP address allocated to the pod. Routable at least within the cluster. + + IoK8sApiCoreV1PodIP(; + ip=nothing, + ) + + - ip::String : ip is an IP address (IPv4 or IPv6) assigned to the pod +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodIP <: OpenAPI.APIModel + ip::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PodIP(ip, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodIP, Symbol("ip"), ip) + return new(ip, ) + end +end # type IoK8sApiCoreV1PodIP + +const _property_types_IoK8sApiCoreV1PodIP = Dict{Symbol,String}(Symbol("ip")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodIP }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodIP[name]))} + +function check_required(o::IoK8sApiCoreV1PodIP) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodIP }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodList.jl new file mode 100644 index 00000000..2484f0d5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodList +PodList is a list of Pods. + + IoK8sApiCoreV1PodList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Pod} : List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Pod} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1PodList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PodList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1PodList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PodList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1PodList + +const _property_types_IoK8sApiCoreV1PodList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Pod}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodList[name]))} + +function check_required(o::IoK8sApiCoreV1PodList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodReadinessGate.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodReadinessGate.jl new file mode 100644 index 00000000..d108dd67 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodReadinessGate.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodReadinessGate +PodReadinessGate contains the reference to a pod condition + + IoK8sApiCoreV1PodReadinessGate(; + conditionType=nothing, + ) + + - conditionType::String : ConditionType refers to a condition in the pod's condition list with matching type. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodReadinessGate <: OpenAPI.APIModel + conditionType::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PodReadinessGate(conditionType, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodReadinessGate, Symbol("conditionType"), conditionType) + return new(conditionType, ) + end +end # type IoK8sApiCoreV1PodReadinessGate + +const _property_types_IoK8sApiCoreV1PodReadinessGate = Dict{Symbol,String}(Symbol("conditionType")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodReadinessGate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodReadinessGate[name]))} + +function check_required(o::IoK8sApiCoreV1PodReadinessGate) + o.conditionType === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodReadinessGate }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodSecurityContext.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodSecurityContext.jl new file mode 100644 index 00000000..9bb89d4c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodSecurityContext.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodSecurityContext +PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. + + IoK8sApiCoreV1PodSecurityContext(; + fsGroup=nothing, + runAsGroup=nothing, + runAsNonRoot=nothing, + runAsUser=nothing, + seLinuxOptions=nothing, + supplementalGroups=nothing, + sysctls=nothing, + windowsOptions=nothing, + ) + + - fsGroup::Int64 : A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. + - runAsGroup::Int64 : The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. + - runAsNonRoot::Bool : Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + - runAsUser::Int64 : The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. + - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions + - supplementalGroups::Vector{Int64} : A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. + - sysctls::Vector{IoK8sApiCoreV1Sysctl} : Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. + - windowsOptions::IoK8sApiCoreV1WindowsSecurityContextOptions +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodSecurityContext <: OpenAPI.APIModel + fsGroup::Union{Nothing, Int64} = nothing + runAsGroup::Union{Nothing, Int64} = nothing + runAsNonRoot::Union{Nothing, Bool} = nothing + runAsUser::Union{Nothing, Int64} = nothing + seLinuxOptions = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } + supplementalGroups::Union{Nothing, Vector{Int64}} = nothing + sysctls::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Sysctl} } + windowsOptions = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1WindowsSecurityContextOptions } + + function IoK8sApiCoreV1PodSecurityContext(fsGroup, runAsGroup, runAsNonRoot, runAsUser, seLinuxOptions, supplementalGroups, sysctls, windowsOptions, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("fsGroup"), fsGroup) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("runAsGroup"), runAsGroup) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("runAsNonRoot"), runAsNonRoot) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("runAsUser"), runAsUser) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("seLinuxOptions"), seLinuxOptions) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("supplementalGroups"), supplementalGroups) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("sysctls"), sysctls) + OpenAPI.validate_property(IoK8sApiCoreV1PodSecurityContext, Symbol("windowsOptions"), windowsOptions) + return new(fsGroup, runAsGroup, runAsNonRoot, runAsUser, seLinuxOptions, supplementalGroups, sysctls, windowsOptions, ) + end +end # type IoK8sApiCoreV1PodSecurityContext + +const _property_types_IoK8sApiCoreV1PodSecurityContext = Dict{Symbol,String}(Symbol("fsGroup")=>"Int64", Symbol("runAsGroup")=>"Int64", Symbol("runAsNonRoot")=>"Bool", Symbol("runAsUser")=>"Int64", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions", Symbol("supplementalGroups")=>"Vector{Int64}", Symbol("sysctls")=>"Vector{IoK8sApiCoreV1Sysctl}", Symbol("windowsOptions")=>"IoK8sApiCoreV1WindowsSecurityContextOptions", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodSecurityContext }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodSecurityContext[name]))} + +function check_required(o::IoK8sApiCoreV1PodSecurityContext) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodSecurityContext }, name::Symbol, val) + if name === Symbol("fsGroup") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodSecurityContext", :format, val, "int64") + end + if name === Symbol("runAsGroup") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodSecurityContext", :format, val, "int64") + end + if name === Symbol("runAsUser") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodSecurityContext", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodSpec.jl new file mode 100644 index 00000000..18397d38 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodSpec.jl @@ -0,0 +1,173 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodSpec +PodSpec is a description of a pod. + + IoK8sApiCoreV1PodSpec(; + activeDeadlineSeconds=nothing, + affinity=nothing, + automountServiceAccountToken=nothing, + containers=nothing, + dnsConfig=nothing, + dnsPolicy=nothing, + enableServiceLinks=nothing, + ephemeralContainers=nothing, + hostAliases=nothing, + hostIPC=nothing, + hostNetwork=nothing, + hostPID=nothing, + hostname=nothing, + imagePullSecrets=nothing, + initContainers=nothing, + nodeName=nothing, + nodeSelector=nothing, + overhead=nothing, + preemptionPolicy=nothing, + priority=nothing, + priorityClassName=nothing, + readinessGates=nothing, + restartPolicy=nothing, + runtimeClassName=nothing, + schedulerName=nothing, + securityContext=nothing, + serviceAccount=nothing, + serviceAccountName=nothing, + shareProcessNamespace=nothing, + subdomain=nothing, + terminationGracePeriodSeconds=nothing, + tolerations=nothing, + topologySpreadConstraints=nothing, + volumes=nothing, + ) + + - activeDeadlineSeconds::Int64 : Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. + - affinity::IoK8sApiCoreV1Affinity + - automountServiceAccountToken::Bool : AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. + - containers::Vector{IoK8sApiCoreV1Container} : List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. + - dnsConfig::IoK8sApiCoreV1PodDNSConfig + - dnsPolicy::String : Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. + - enableServiceLinks::Bool : EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true. + - ephemeralContainers::Vector{IoK8sApiCoreV1EphemeralContainer} : List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature. + - hostAliases::Vector{IoK8sApiCoreV1HostAlias} : HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. + - hostIPC::Bool : Use the host's ipc namespace. Optional: Default to false. + - hostNetwork::Bool : Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. + - hostPID::Bool : Use the host's pid namespace. Optional: Default to false. + - hostname::String : Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. + - imagePullSecrets::Vector{IoK8sApiCoreV1LocalObjectReference} : ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod + - initContainers::Vector{IoK8sApiCoreV1Container} : List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ + - nodeName::String : NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. + - nodeSelector::Dict{String, String} : NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ + - overhead::Dict{String, String} : Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature. + - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. + - priority::Int64 : The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. + - priorityClassName::String : If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. + - readinessGates::Vector{IoK8sApiCoreV1PodReadinessGate} : If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md + - restartPolicy::String : Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy + - runtimeClassName::String : RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14. + - schedulerName::String : If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. + - securityContext::IoK8sApiCoreV1PodSecurityContext + - serviceAccount::String : DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. + - serviceAccountName::String : ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + - shareProcessNamespace::Bool : Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. + - subdomain::String : If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. + - terminationGracePeriodSeconds::Int64 : Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. + - tolerations::Vector{IoK8sApiCoreV1Toleration} : If specified, the pod's tolerations. + - topologySpreadConstraints::Vector{IoK8sApiCoreV1TopologySpreadConstraint} : TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is alpha-level and is only honored by clusters that enables the EvenPodsSpread feature. All topologySpreadConstraints are ANDed. + - volumes::Vector{IoK8sApiCoreV1Volume} : List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodSpec <: OpenAPI.APIModel + activeDeadlineSeconds::Union{Nothing, Int64} = nothing + affinity = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Affinity } + automountServiceAccountToken::Union{Nothing, Bool} = nothing + containers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Container} } + dnsConfig = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodDNSConfig } + dnsPolicy::Union{Nothing, String} = nothing + enableServiceLinks::Union{Nothing, Bool} = nothing + ephemeralContainers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EphemeralContainer} } + hostAliases::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1HostAlias} } + hostIPC::Union{Nothing, Bool} = nothing + hostNetwork::Union{Nothing, Bool} = nothing + hostPID::Union{Nothing, Bool} = nothing + hostname::Union{Nothing, String} = nothing + imagePullSecrets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LocalObjectReference} } + initContainers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Container} } + nodeName::Union{Nothing, String} = nothing + nodeSelector::Union{Nothing, Dict{String, String}} = nothing + overhead::Union{Nothing, Dict{String, String}} = nothing + preemptionPolicy::Union{Nothing, String} = nothing + priority::Union{Nothing, Int64} = nothing + priorityClassName::Union{Nothing, String} = nothing + readinessGates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodReadinessGate} } + restartPolicy::Union{Nothing, String} = nothing + runtimeClassName::Union{Nothing, String} = nothing + schedulerName::Union{Nothing, String} = nothing + securityContext = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodSecurityContext } + serviceAccount::Union{Nothing, String} = nothing + serviceAccountName::Union{Nothing, String} = nothing + shareProcessNamespace::Union{Nothing, Bool} = nothing + subdomain::Union{Nothing, String} = nothing + terminationGracePeriodSeconds::Union{Nothing, Int64} = nothing + tolerations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Toleration} } + topologySpreadConstraints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySpreadConstraint} } + volumes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Volume} } + + function IoK8sApiCoreV1PodSpec(activeDeadlineSeconds, affinity, automountServiceAccountToken, containers, dnsConfig, dnsPolicy, enableServiceLinks, ephemeralContainers, hostAliases, hostIPC, hostNetwork, hostPID, hostname, imagePullSecrets, initContainers, nodeName, nodeSelector, overhead, preemptionPolicy, priority, priorityClassName, readinessGates, restartPolicy, runtimeClassName, schedulerName, securityContext, serviceAccount, serviceAccountName, shareProcessNamespace, subdomain, terminationGracePeriodSeconds, tolerations, topologySpreadConstraints, volumes, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("activeDeadlineSeconds"), activeDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("affinity"), affinity) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("automountServiceAccountToken"), automountServiceAccountToken) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("containers"), containers) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("dnsConfig"), dnsConfig) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("dnsPolicy"), dnsPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("enableServiceLinks"), enableServiceLinks) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("ephemeralContainers"), ephemeralContainers) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostAliases"), hostAliases) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostIPC"), hostIPC) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostNetwork"), hostNetwork) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostPID"), hostPID) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("hostname"), hostname) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("imagePullSecrets"), imagePullSecrets) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("initContainers"), initContainers) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("nodeName"), nodeName) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("nodeSelector"), nodeSelector) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("overhead"), overhead) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("preemptionPolicy"), preemptionPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("priority"), priority) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("priorityClassName"), priorityClassName) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("readinessGates"), readinessGates) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("restartPolicy"), restartPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("runtimeClassName"), runtimeClassName) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("schedulerName"), schedulerName) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("securityContext"), securityContext) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("serviceAccount"), serviceAccount) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("serviceAccountName"), serviceAccountName) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("shareProcessNamespace"), shareProcessNamespace) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("subdomain"), subdomain) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("terminationGracePeriodSeconds"), terminationGracePeriodSeconds) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("tolerations"), tolerations) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("topologySpreadConstraints"), topologySpreadConstraints) + OpenAPI.validate_property(IoK8sApiCoreV1PodSpec, Symbol("volumes"), volumes) + return new(activeDeadlineSeconds, affinity, automountServiceAccountToken, containers, dnsConfig, dnsPolicy, enableServiceLinks, ephemeralContainers, hostAliases, hostIPC, hostNetwork, hostPID, hostname, imagePullSecrets, initContainers, nodeName, nodeSelector, overhead, preemptionPolicy, priority, priorityClassName, readinessGates, restartPolicy, runtimeClassName, schedulerName, securityContext, serviceAccount, serviceAccountName, shareProcessNamespace, subdomain, terminationGracePeriodSeconds, tolerations, topologySpreadConstraints, volumes, ) + end +end # type IoK8sApiCoreV1PodSpec + +const _property_types_IoK8sApiCoreV1PodSpec = Dict{Symbol,String}(Symbol("activeDeadlineSeconds")=>"Int64", Symbol("affinity")=>"IoK8sApiCoreV1Affinity", Symbol("automountServiceAccountToken")=>"Bool", Symbol("containers")=>"Vector{IoK8sApiCoreV1Container}", Symbol("dnsConfig")=>"IoK8sApiCoreV1PodDNSConfig", Symbol("dnsPolicy")=>"String", Symbol("enableServiceLinks")=>"Bool", Symbol("ephemeralContainers")=>"Vector{IoK8sApiCoreV1EphemeralContainer}", Symbol("hostAliases")=>"Vector{IoK8sApiCoreV1HostAlias}", Symbol("hostIPC")=>"Bool", Symbol("hostNetwork")=>"Bool", Symbol("hostPID")=>"Bool", Symbol("hostname")=>"String", Symbol("imagePullSecrets")=>"Vector{IoK8sApiCoreV1LocalObjectReference}", Symbol("initContainers")=>"Vector{IoK8sApiCoreV1Container}", Symbol("nodeName")=>"String", Symbol("nodeSelector")=>"Dict{String, String}", Symbol("overhead")=>"Dict{String, String}", Symbol("preemptionPolicy")=>"String", Symbol("priority")=>"Int64", Symbol("priorityClassName")=>"String", Symbol("readinessGates")=>"Vector{IoK8sApiCoreV1PodReadinessGate}", Symbol("restartPolicy")=>"String", Symbol("runtimeClassName")=>"String", Symbol("schedulerName")=>"String", Symbol("securityContext")=>"IoK8sApiCoreV1PodSecurityContext", Symbol("serviceAccount")=>"String", Symbol("serviceAccountName")=>"String", Symbol("shareProcessNamespace")=>"Bool", Symbol("subdomain")=>"String", Symbol("terminationGracePeriodSeconds")=>"Int64", Symbol("tolerations")=>"Vector{IoK8sApiCoreV1Toleration}", Symbol("topologySpreadConstraints")=>"Vector{IoK8sApiCoreV1TopologySpreadConstraint}", Symbol("volumes")=>"Vector{IoK8sApiCoreV1Volume}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodSpec[name]))} + +function check_required(o::IoK8sApiCoreV1PodSpec) + o.containers === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodSpec }, name::Symbol, val) + if name === Symbol("activeDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodSpec", :format, val, "int64") + end + if name === Symbol("priority") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodSpec", :format, val, "int32") + end + if name === Symbol("terminationGracePeriodSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodSpec", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodStatus.jl new file mode 100644 index 00000000..c61a4b85 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodStatus.jl @@ -0,0 +1,82 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodStatus +PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. + + IoK8sApiCoreV1PodStatus(; + conditions=nothing, + containerStatuses=nothing, + ephemeralContainerStatuses=nothing, + hostIP=nothing, + initContainerStatuses=nothing, + message=nothing, + nominatedNodeName=nothing, + phase=nothing, + podIP=nothing, + podIPs=nothing, + qosClass=nothing, + reason=nothing, + startTime=nothing, + ) + + - conditions::Vector{IoK8sApiCoreV1PodCondition} : Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + - containerStatuses::Vector{IoK8sApiCoreV1ContainerStatus} : The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + - ephemeralContainerStatuses::Vector{IoK8sApiCoreV1ContainerStatus} : Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature. + - hostIP::String : IP address of the host to which the pod is assigned. Empty if not yet scheduled. + - initContainerStatuses::Vector{IoK8sApiCoreV1ContainerStatus} : The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + - message::String : A human readable message indicating details about why the pod is in this condition. + - nominatedNodeName::String : nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. + - phase::String : The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase + - podIP::String : IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. + - podIPs::Vector{IoK8sApiCoreV1PodIP} : podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet. + - qosClass::String : The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md + - reason::String : A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' + - startTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodCondition} } + containerStatuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerStatus} } + ephemeralContainerStatuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerStatus} } + hostIP::Union{Nothing, String} = nothing + initContainerStatuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ContainerStatus} } + message::Union{Nothing, String} = nothing + nominatedNodeName::Union{Nothing, String} = nothing + phase::Union{Nothing, String} = nothing + podIP::Union{Nothing, String} = nothing + podIPs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodIP} } + qosClass::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + startTime::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiCoreV1PodStatus(conditions, containerStatuses, ephemeralContainerStatuses, hostIP, initContainerStatuses, message, nominatedNodeName, phase, podIP, podIPs, qosClass, reason, startTime, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("containerStatuses"), containerStatuses) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("ephemeralContainerStatuses"), ephemeralContainerStatuses) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("hostIP"), hostIP) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("initContainerStatuses"), initContainerStatuses) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("nominatedNodeName"), nominatedNodeName) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("phase"), phase) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("podIP"), podIP) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("podIPs"), podIPs) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("qosClass"), qosClass) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1PodStatus, Symbol("startTime"), startTime) + return new(conditions, containerStatuses, ephemeralContainerStatuses, hostIP, initContainerStatuses, message, nominatedNodeName, phase, podIP, podIPs, qosClass, reason, startTime, ) + end +end # type IoK8sApiCoreV1PodStatus + +const _property_types_IoK8sApiCoreV1PodStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiCoreV1PodCondition}", Symbol("containerStatuses")=>"Vector{IoK8sApiCoreV1ContainerStatus}", Symbol("ephemeralContainerStatuses")=>"Vector{IoK8sApiCoreV1ContainerStatus}", Symbol("hostIP")=>"String", Symbol("initContainerStatuses")=>"Vector{IoK8sApiCoreV1ContainerStatus}", Symbol("message")=>"String", Symbol("nominatedNodeName")=>"String", Symbol("phase")=>"String", Symbol("podIP")=>"String", Symbol("podIPs")=>"Vector{IoK8sApiCoreV1PodIP}", Symbol("qosClass")=>"String", Symbol("reason")=>"String", Symbol("startTime")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodStatus[name]))} + +function check_required(o::IoK8sApiCoreV1PodStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodStatus }, name::Symbol, val) + if name === Symbol("startTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PodStatus", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplate.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplate.jl new file mode 100644 index 00000000..5cd8fed5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplate.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodTemplate +PodTemplate describes a template for creating copies of a predefined pod. + + IoK8sApiCoreV1PodTemplate(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + template=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodTemplate <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiCoreV1PodTemplate(apiVersion, kind, metadata, template, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplate, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplate, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplate, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplate, Symbol("template"), template) + return new(apiVersion, kind, metadata, template, ) + end +end # type IoK8sApiCoreV1PodTemplate + +const _property_types_IoK8sApiCoreV1PodTemplate = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodTemplate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodTemplate[name]))} + +function check_required(o::IoK8sApiCoreV1PodTemplate) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodTemplate }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplateList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplateList.jl new file mode 100644 index 00000000..3dbb1a71 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplateList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodTemplateList +PodTemplateList is a list of PodTemplates. + + IoK8sApiCoreV1PodTemplateList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1PodTemplate} : List of pod templates + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodTemplateList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1PodTemplate} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1PodTemplateList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplateList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1PodTemplateList + +const _property_types_IoK8sApiCoreV1PodTemplateList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1PodTemplate}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodTemplateList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodTemplateList[name]))} + +function check_required(o::IoK8sApiCoreV1PodTemplateList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodTemplateList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplateSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplateSpec.jl new file mode 100644 index 00000000..1c67f442 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PodTemplateSpec.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PodTemplateSpec +PodTemplateSpec describes the data a pod should have when created from a template + + IoK8sApiCoreV1PodTemplateSpec(; + metadata=nothing, + spec=nothing, + ) + + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1PodSpec +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PodTemplateSpec <: OpenAPI.APIModel + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodSpec } + + function IoK8sApiCoreV1PodTemplateSpec(metadata, spec, ) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplateSpec, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1PodTemplateSpec, Symbol("spec"), spec) + return new(metadata, spec, ) + end +end # type IoK8sApiCoreV1PodTemplateSpec + +const _property_types_IoK8sApiCoreV1PodTemplateSpec = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1PodSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PodTemplateSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PodTemplateSpec[name]))} + +function check_required(o::IoK8sApiCoreV1PodTemplateSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PodTemplateSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PortworxVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PortworxVolumeSource.jl new file mode 100644 index 00000000..5ca610aa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PortworxVolumeSource.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PortworxVolumeSource +PortworxVolumeSource represents a Portworx volume resource. + + IoK8sApiCoreV1PortworxVolumeSource(; + fsType=nothing, + readOnly=nothing, + volumeID=nothing, + ) + + - fsType::String : FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified. + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - volumeID::String : VolumeID uniquely identifies a Portworx volume +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PortworxVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + volumeID::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1PortworxVolumeSource(fsType, readOnly, volumeID, ) + OpenAPI.validate_property(IoK8sApiCoreV1PortworxVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1PortworxVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1PortworxVolumeSource, Symbol("volumeID"), volumeID) + return new(fsType, readOnly, volumeID, ) + end +end # type IoK8sApiCoreV1PortworxVolumeSource + +const _property_types_IoK8sApiCoreV1PortworxVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("volumeID")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PortworxVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PortworxVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1PortworxVolumeSource) + o.volumeID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PortworxVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl new file mode 100644 index 00000000..bef050b2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1PreferredSchedulingTerm.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.PreferredSchedulingTerm +An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). + + IoK8sApiCoreV1PreferredSchedulingTerm(; + preference=nothing, + weight=nothing, + ) + + - preference::IoK8sApiCoreV1NodeSelectorTerm + - weight::Int64 : Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1PreferredSchedulingTerm <: OpenAPI.APIModel + preference = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSelectorTerm } + weight::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1PreferredSchedulingTerm(preference, weight, ) + OpenAPI.validate_property(IoK8sApiCoreV1PreferredSchedulingTerm, Symbol("preference"), preference) + OpenAPI.validate_property(IoK8sApiCoreV1PreferredSchedulingTerm, Symbol("weight"), weight) + return new(preference, weight, ) + end +end # type IoK8sApiCoreV1PreferredSchedulingTerm + +const _property_types_IoK8sApiCoreV1PreferredSchedulingTerm = Dict{Symbol,String}(Symbol("preference")=>"IoK8sApiCoreV1NodeSelectorTerm", Symbol("weight")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1PreferredSchedulingTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1PreferredSchedulingTerm[name]))} + +function check_required(o::IoK8sApiCoreV1PreferredSchedulingTerm) + o.preference === nothing && (return false) + o.weight === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1PreferredSchedulingTerm }, name::Symbol, val) + if name === Symbol("weight") + OpenAPI.validate_param(name, "IoK8sApiCoreV1PreferredSchedulingTerm", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Probe.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Probe.jl new file mode 100644 index 00000000..b871a94c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Probe.jl @@ -0,0 +1,74 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Probe +Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. + + IoK8sApiCoreV1Probe(; + exec=nothing, + failureThreshold=nothing, + httpGet=nothing, + initialDelaySeconds=nothing, + periodSeconds=nothing, + successThreshold=nothing, + tcpSocket=nothing, + timeoutSeconds=nothing, + ) + + - exec::IoK8sApiCoreV1ExecAction + - failureThreshold::Int64 : Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + - httpGet::IoK8sApiCoreV1HTTPGetAction + - initialDelaySeconds::Int64 : Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + - periodSeconds::Int64 : How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + - successThreshold::Int64 : Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + - tcpSocket::IoK8sApiCoreV1TCPSocketAction + - timeoutSeconds::Int64 : Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Probe <: OpenAPI.APIModel + exec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ExecAction } + failureThreshold::Union{Nothing, Int64} = nothing + httpGet = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1HTTPGetAction } + initialDelaySeconds::Union{Nothing, Int64} = nothing + periodSeconds::Union{Nothing, Int64} = nothing + successThreshold::Union{Nothing, Int64} = nothing + tcpSocket = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1TCPSocketAction } + timeoutSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1Probe(exec, failureThreshold, httpGet, initialDelaySeconds, periodSeconds, successThreshold, tcpSocket, timeoutSeconds, ) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("exec"), exec) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("failureThreshold"), failureThreshold) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("httpGet"), httpGet) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("initialDelaySeconds"), initialDelaySeconds) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("periodSeconds"), periodSeconds) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("successThreshold"), successThreshold) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("tcpSocket"), tcpSocket) + OpenAPI.validate_property(IoK8sApiCoreV1Probe, Symbol("timeoutSeconds"), timeoutSeconds) + return new(exec, failureThreshold, httpGet, initialDelaySeconds, periodSeconds, successThreshold, tcpSocket, timeoutSeconds, ) + end +end # type IoK8sApiCoreV1Probe + +const _property_types_IoK8sApiCoreV1Probe = Dict{Symbol,String}(Symbol("exec")=>"IoK8sApiCoreV1ExecAction", Symbol("failureThreshold")=>"Int64", Symbol("httpGet")=>"IoK8sApiCoreV1HTTPGetAction", Symbol("initialDelaySeconds")=>"Int64", Symbol("periodSeconds")=>"Int64", Symbol("successThreshold")=>"Int64", Symbol("tcpSocket")=>"IoK8sApiCoreV1TCPSocketAction", Symbol("timeoutSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Probe }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Probe[name]))} + +function check_required(o::IoK8sApiCoreV1Probe) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Probe }, name::Symbol, val) + if name === Symbol("failureThreshold") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Probe", :format, val, "int32") + end + if name === Symbol("initialDelaySeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Probe", :format, val, "int32") + end + if name === Symbol("periodSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Probe", :format, val, "int32") + end + if name === Symbol("successThreshold") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Probe", :format, val, "int32") + end + if name === Symbol("timeoutSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Probe", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ProjectedVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ProjectedVolumeSource.jl new file mode 100644 index 00000000..fb096ac3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ProjectedVolumeSource.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ProjectedVolumeSource +Represents a projected volume source + + IoK8sApiCoreV1ProjectedVolumeSource(; + defaultMode=nothing, + sources=nothing, + ) + + - defaultMode::Int64 : Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + - sources::Vector{IoK8sApiCoreV1VolumeProjection} : list of volume projections +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ProjectedVolumeSource <: OpenAPI.APIModel + defaultMode::Union{Nothing, Int64} = nothing + sources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeProjection} } + + function IoK8sApiCoreV1ProjectedVolumeSource(defaultMode, sources, ) + OpenAPI.validate_property(IoK8sApiCoreV1ProjectedVolumeSource, Symbol("defaultMode"), defaultMode) + OpenAPI.validate_property(IoK8sApiCoreV1ProjectedVolumeSource, Symbol("sources"), sources) + return new(defaultMode, sources, ) + end +end # type IoK8sApiCoreV1ProjectedVolumeSource + +const _property_types_IoK8sApiCoreV1ProjectedVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int64", Symbol("sources")=>"Vector{IoK8sApiCoreV1VolumeProjection}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ProjectedVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ProjectedVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1ProjectedVolumeSource) + o.sources === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ProjectedVolumeSource }, name::Symbol, val) + if name === Symbol("defaultMode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ProjectedVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1QuobyteVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1QuobyteVolumeSource.jl new file mode 100644 index 00000000..54478cb1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1QuobyteVolumeSource.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.QuobyteVolumeSource +Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. + + IoK8sApiCoreV1QuobyteVolumeSource(; + group=nothing, + readOnly=nothing, + registry=nothing, + tenant=nothing, + user=nothing, + volume=nothing, + ) + + - group::String : Group to map volume access to Default is no group + - readOnly::Bool : ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. + - registry::String : Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes + - tenant::String : Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin + - user::String : User to map volume access to Defaults to serivceaccount user + - volume::String : Volume is a string that references an already created Quobyte volume by name. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1QuobyteVolumeSource <: OpenAPI.APIModel + group::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + registry::Union{Nothing, String} = nothing + tenant::Union{Nothing, String} = nothing + user::Union{Nothing, String} = nothing + volume::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1QuobyteVolumeSource(group, readOnly, registry, tenant, user, volume, ) + OpenAPI.validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("registry"), registry) + OpenAPI.validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("tenant"), tenant) + OpenAPI.validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("user"), user) + OpenAPI.validate_property(IoK8sApiCoreV1QuobyteVolumeSource, Symbol("volume"), volume) + return new(group, readOnly, registry, tenant, user, volume, ) + end +end # type IoK8sApiCoreV1QuobyteVolumeSource + +const _property_types_IoK8sApiCoreV1QuobyteVolumeSource = Dict{Symbol,String}(Symbol("group")=>"String", Symbol("readOnly")=>"Bool", Symbol("registry")=>"String", Symbol("tenant")=>"String", Symbol("user")=>"String", Symbol("volume")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1QuobyteVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1QuobyteVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1QuobyteVolumeSource) + o.registry === nothing && (return false) + o.volume === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1QuobyteVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl new file mode 100644 index 00000000..86439791 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1RBDPersistentVolumeSource.jl @@ -0,0 +1,61 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.RBDPersistentVolumeSource +Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1RBDPersistentVolumeSource(; + fsType=nothing, + image=nothing, + keyring=nothing, + monitors=nothing, + pool=nothing, + readOnly=nothing, + secretRef=nothing, + user=nothing, + ) + + - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + - image::String : The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - keyring::String : Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - monitors::Vector{String} : A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - pool::String : The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - secretRef::IoK8sApiCoreV1SecretReference + - user::String : The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +""" +Base.@kwdef mutable struct IoK8sApiCoreV1RBDPersistentVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + image::Union{Nothing, String} = nothing + keyring::Union{Nothing, String} = nothing + monitors::Union{Nothing, Vector{String}} = nothing + pool::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + user::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1RBDPersistentVolumeSource(fsType, image, keyring, monitors, pool, readOnly, secretRef, user, ) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("image"), image) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("keyring"), keyring) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("monitors"), monitors) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("pool"), pool) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1RBDPersistentVolumeSource, Symbol("user"), user) + return new(fsType, image, keyring, monitors, pool, readOnly, secretRef, user, ) + end +end # type IoK8sApiCoreV1RBDPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1RBDPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("image")=>"String", Symbol("keyring")=>"String", Symbol("monitors")=>"Vector{String}", Symbol("pool")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1RBDPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1RBDPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1RBDPersistentVolumeSource) + o.image === nothing && (return false) + o.monitors === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1RBDPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1RBDVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1RBDVolumeSource.jl new file mode 100644 index 00000000..5b9fb9d6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1RBDVolumeSource.jl @@ -0,0 +1,61 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.RBDVolumeSource +Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1RBDVolumeSource(; + fsType=nothing, + image=nothing, + keyring=nothing, + monitors=nothing, + pool=nothing, + readOnly=nothing, + secretRef=nothing, + user=nothing, + ) + + - fsType::String : Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + - image::String : The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - keyring::String : Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - monitors::Vector{String} : A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - pool::String : The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - readOnly::Bool : ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + - secretRef::IoK8sApiCoreV1LocalObjectReference + - user::String : The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +""" +Base.@kwdef mutable struct IoK8sApiCoreV1RBDVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + image::Union{Nothing, String} = nothing + keyring::Union{Nothing, String} = nothing + monitors::Union{Nothing, Vector{String}} = nothing + pool::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + user::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1RBDVolumeSource(fsType, image, keyring, monitors, pool, readOnly, secretRef, user, ) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("image"), image) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("keyring"), keyring) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("monitors"), monitors) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("pool"), pool) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1RBDVolumeSource, Symbol("user"), user) + return new(fsType, image, keyring, monitors, pool, readOnly, secretRef, user, ) + end +end # type IoK8sApiCoreV1RBDVolumeSource + +const _property_types_IoK8sApiCoreV1RBDVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("image")=>"String", Symbol("keyring")=>"String", Symbol("monitors")=>"Vector{String}", Symbol("pool")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1RBDVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1RBDVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1RBDVolumeSource) + o.image === nothing && (return false) + o.monitors === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1RBDVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationController.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationController.jl new file mode 100644 index 00000000..7f00af5b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationController.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ReplicationController +ReplicationController represents the configuration of a replication controller. + + IoK8sApiCoreV1ReplicationController(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1ReplicationControllerSpec + - status::IoK8sApiCoreV1ReplicationControllerStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ReplicationController <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ReplicationControllerSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ReplicationControllerStatus } + + function IoK8sApiCoreV1ReplicationController(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationController, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationController, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationController, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationController, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationController, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1ReplicationController + +const _property_types_IoK8sApiCoreV1ReplicationController = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1ReplicationControllerSpec", Symbol("status")=>"IoK8sApiCoreV1ReplicationControllerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ReplicationController }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationController[name]))} + +function check_required(o::IoK8sApiCoreV1ReplicationController) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ReplicationController }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerCondition.jl new file mode 100644 index 00000000..ff661703 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ReplicationControllerCondition +ReplicationControllerCondition describes the state of a replication controller at a certain point. + + IoK8sApiCoreV1ReplicationControllerCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of replication controller condition. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ReplicationControllerCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ReplicationControllerCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiCoreV1ReplicationControllerCondition + +const _property_types_IoK8sApiCoreV1ReplicationControllerCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerCondition[name]))} + +function check_required(o::IoK8sApiCoreV1ReplicationControllerCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerList.jl new file mode 100644 index 00000000..51281e6a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ReplicationControllerList +ReplicationControllerList is a collection of replication controllers. + + IoK8sApiCoreV1ReplicationControllerList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1ReplicationController} : List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ReplicationControllerList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ReplicationController} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1ReplicationControllerList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1ReplicationControllerList + +const _property_types_IoK8sApiCoreV1ReplicationControllerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ReplicationController}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerList[name]))} + +function check_required(o::IoK8sApiCoreV1ReplicationControllerList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerSpec.jl new file mode 100644 index 00000000..bb6d7f3e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerSpec.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ReplicationControllerSpec +ReplicationControllerSpec is the specification of a replication controller. + + IoK8sApiCoreV1ReplicationControllerSpec(; + minReadySeconds=nothing, + replicas=nothing, + selector=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - replicas::Int64 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller + - selector::Dict{String, String} : Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ReplicationControllerSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + selector::Union{Nothing, Dict{String, String}} = nothing + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiCoreV1ReplicationControllerSpec(minReadySeconds, replicas, selector, template, ) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerSpec, Symbol("template"), template) + return new(minReadySeconds, replicas, selector, template, ) + end +end # type IoK8sApiCoreV1ReplicationControllerSpec + +const _property_types_IoK8sApiCoreV1ReplicationControllerSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("selector")=>"Dict{String, String}", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerSpec[name]))} + +function check_required(o::IoK8sApiCoreV1ReplicationControllerSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerStatus.jl new file mode 100644 index 00000000..cb23a2d6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ReplicationControllerStatus.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ReplicationControllerStatus +ReplicationControllerStatus represents the current status of a replication controller. + + IoK8sApiCoreV1ReplicationControllerStatus(; + availableReplicas=nothing, + conditions=nothing, + fullyLabeledReplicas=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + ) + + - availableReplicas::Int64 : The number of available replicas (ready for at least minReadySeconds) for this replication controller. + - conditions::Vector{IoK8sApiCoreV1ReplicationControllerCondition} : Represents the latest available observations of a replication controller's current state. + - fullyLabeledReplicas::Int64 : The number of pods that have labels matching the labels of the pod template of the replication controller. + - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed replication controller. + - readyReplicas::Int64 : The number of ready replicas for this replication controller. + - replicas::Int64 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ReplicationControllerStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ReplicationControllerCondition} } + fullyLabeledReplicas::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1ReplicationControllerStatus(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiCoreV1ReplicationControllerStatus, Symbol("replicas"), replicas) + return new(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + end +end # type IoK8sApiCoreV1ReplicationControllerStatus + +const _property_types_IoK8sApiCoreV1ReplicationControllerStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiCoreV1ReplicationControllerCondition}", Symbol("fullyLabeledReplicas")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ReplicationControllerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ReplicationControllerStatus[name]))} + +function check_required(o::IoK8sApiCoreV1ReplicationControllerStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ReplicationControllerStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerStatus", :format, val, "int32") + end + if name === Symbol("fullyLabeledReplicas") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ReplicationControllerStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceFieldSelector.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceFieldSelector.jl new file mode 100644 index 00000000..6d2c3c81 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceFieldSelector.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ResourceFieldSelector +ResourceFieldSelector represents container resources (cpu, memory) and their output format + + IoK8sApiCoreV1ResourceFieldSelector(; + containerName=nothing, + divisor=nothing, + resource=nothing, + ) + + - containerName::String : Container name: required for volumes, optional for env vars + - divisor::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - resource::String : Required: resource to select +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ResourceFieldSelector <: OpenAPI.APIModel + containerName::Union{Nothing, String} = nothing + divisor::Union{Nothing, String} = nothing + resource::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ResourceFieldSelector(containerName, divisor, resource, ) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceFieldSelector, Symbol("containerName"), containerName) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceFieldSelector, Symbol("divisor"), divisor) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceFieldSelector, Symbol("resource"), resource) + return new(containerName, divisor, resource, ) + end +end # type IoK8sApiCoreV1ResourceFieldSelector + +const _property_types_IoK8sApiCoreV1ResourceFieldSelector = Dict{Symbol,String}(Symbol("containerName")=>"String", Symbol("divisor")=>"String", Symbol("resource")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ResourceFieldSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceFieldSelector[name]))} + +function check_required(o::IoK8sApiCoreV1ResourceFieldSelector) + o.resource === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ResourceFieldSelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuota.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuota.jl new file mode 100644 index 00000000..b27b7269 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuota.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ResourceQuota +ResourceQuota sets aggregate quota restrictions enforced per namespace + + IoK8sApiCoreV1ResourceQuota(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1ResourceQuotaSpec + - status::IoK8sApiCoreV1ResourceQuotaStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ResourceQuota <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceQuotaSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ResourceQuotaStatus } + + function IoK8sApiCoreV1ResourceQuota(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuota, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1ResourceQuota + +const _property_types_IoK8sApiCoreV1ResourceQuota = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1ResourceQuotaSpec", Symbol("status")=>"IoK8sApiCoreV1ResourceQuotaStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ResourceQuota }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuota[name]))} + +function check_required(o::IoK8sApiCoreV1ResourceQuota) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ResourceQuota }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaList.jl new file mode 100644 index 00000000..21ef5ae7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ResourceQuotaList +ResourceQuotaList is a list of ResourceQuota items. + + IoK8sApiCoreV1ResourceQuotaList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1ResourceQuota} : Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ResourceQuotaList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ResourceQuota} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1ResourceQuotaList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1ResourceQuotaList + +const _property_types_IoK8sApiCoreV1ResourceQuotaList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ResourceQuota}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaList[name]))} + +function check_required(o::IoK8sApiCoreV1ResourceQuotaList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ResourceQuotaList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaSpec.jl new file mode 100644 index 00000000..17c57f5d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaSpec.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ResourceQuotaSpec +ResourceQuotaSpec defines the desired hard limits to enforce for Quota. + + IoK8sApiCoreV1ResourceQuotaSpec(; + hard=nothing, + scopeSelector=nothing, + scopes=nothing, + ) + + - hard::Dict{String, String} : hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + - scopeSelector::IoK8sApiCoreV1ScopeSelector + - scopes::Vector{String} : A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ResourceQuotaSpec <: OpenAPI.APIModel + hard::Union{Nothing, Dict{String, String}} = nothing + scopeSelector = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ScopeSelector } + scopes::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1ResourceQuotaSpec(hard, scopeSelector, scopes, ) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaSpec, Symbol("hard"), hard) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaSpec, Symbol("scopeSelector"), scopeSelector) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaSpec, Symbol("scopes"), scopes) + return new(hard, scopeSelector, scopes, ) + end +end # type IoK8sApiCoreV1ResourceQuotaSpec + +const _property_types_IoK8sApiCoreV1ResourceQuotaSpec = Dict{Symbol,String}(Symbol("hard")=>"Dict{String, String}", Symbol("scopeSelector")=>"IoK8sApiCoreV1ScopeSelector", Symbol("scopes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaSpec[name]))} + +function check_required(o::IoK8sApiCoreV1ResourceQuotaSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ResourceQuotaSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaStatus.jl new file mode 100644 index 00000000..9a142cc2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceQuotaStatus.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ResourceQuotaStatus +ResourceQuotaStatus defines the enforced hard limits and observed use. + + IoK8sApiCoreV1ResourceQuotaStatus(; + hard=nothing, + used=nothing, + ) + + - hard::Dict{String, String} : Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + - used::Dict{String, String} : Used is the current observed total usage of the resource in the namespace. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ResourceQuotaStatus <: OpenAPI.APIModel + hard::Union{Nothing, Dict{String, String}} = nothing + used::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiCoreV1ResourceQuotaStatus(hard, used, ) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaStatus, Symbol("hard"), hard) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceQuotaStatus, Symbol("used"), used) + return new(hard, used, ) + end +end # type IoK8sApiCoreV1ResourceQuotaStatus + +const _property_types_IoK8sApiCoreV1ResourceQuotaStatus = Dict{Symbol,String}(Symbol("hard")=>"Dict{String, String}", Symbol("used")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaStatus[name]))} + +function check_required(o::IoK8sApiCoreV1ResourceQuotaStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceRequirements.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceRequirements.jl new file mode 100644 index 00000000..7b06dfd1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ResourceRequirements.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ResourceRequirements +ResourceRequirements describes the compute resource requirements. + + IoK8sApiCoreV1ResourceRequirements(; + limits=nothing, + requests=nothing, + ) + + - limits::Dict{String, String} : Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + - requests::Dict{String, String} : Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ResourceRequirements <: OpenAPI.APIModel + limits::Union{Nothing, Dict{String, String}} = nothing + requests::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiCoreV1ResourceRequirements(limits, requests, ) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceRequirements, Symbol("limits"), limits) + OpenAPI.validate_property(IoK8sApiCoreV1ResourceRequirements, Symbol("requests"), requests) + return new(limits, requests, ) + end +end # type IoK8sApiCoreV1ResourceRequirements + +const _property_types_IoK8sApiCoreV1ResourceRequirements = Dict{Symbol,String}(Symbol("limits")=>"Dict{String, String}", Symbol("requests")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ResourceRequirements }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceRequirements[name]))} + +function check_required(o::IoK8sApiCoreV1ResourceRequirements) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ResourceRequirements }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SELinuxOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SELinuxOptions.jl new file mode 100644 index 00000000..bf4003f1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SELinuxOptions.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SELinuxOptions +SELinuxOptions are the labels to be applied to the container + + IoK8sApiCoreV1SELinuxOptions(; + level=nothing, + role=nothing, + type=nothing, + user=nothing, + ) + + - level::String : Level is SELinux level label that applies to the container. + - role::String : Role is a SELinux role label that applies to the container. + - type::String : Type is a SELinux type label that applies to the container. + - user::String : User is a SELinux user label that applies to the container. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SELinuxOptions <: OpenAPI.APIModel + level::Union{Nothing, String} = nothing + role::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + user::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1SELinuxOptions(level, role, type, user, ) + OpenAPI.validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("level"), level) + OpenAPI.validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("role"), role) + OpenAPI.validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("type"), type) + OpenAPI.validate_property(IoK8sApiCoreV1SELinuxOptions, Symbol("user"), user) + return new(level, role, type, user, ) + end +end # type IoK8sApiCoreV1SELinuxOptions + +const _property_types_IoK8sApiCoreV1SELinuxOptions = Dict{Symbol,String}(Symbol("level")=>"String", Symbol("role")=>"String", Symbol("type")=>"String", Symbol("user")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SELinuxOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SELinuxOptions[name]))} + +function check_required(o::IoK8sApiCoreV1SELinuxOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SELinuxOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl new file mode 100644 index 00000000..20a2d177 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScaleIOPersistentVolumeSource.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ScaleIOPersistentVolumeSource +ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume + + IoK8sApiCoreV1ScaleIOPersistentVolumeSource(; + fsType=nothing, + gateway=nothing, + protectionDomain=nothing, + readOnly=nothing, + secretRef=nothing, + sslEnabled=nothing, + storageMode=nothing, + storagePool=nothing, + system=nothing, + volumeName=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\" + - gateway::String : The host address of the ScaleIO API Gateway. + - protectionDomain::String : The name of the ScaleIO Protection Domain for the configured storage. + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretRef::IoK8sApiCoreV1SecretReference + - sslEnabled::Bool : Flag to enable/disable SSL communication with Gateway, default false + - storageMode::String : Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. + - storagePool::String : The ScaleIO Storage Pool associated with the protection domain. + - system::String : The name of the storage system as configured in ScaleIO. + - volumeName::String : The name of a volume already created in the ScaleIO system that is associated with this volume source. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ScaleIOPersistentVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + gateway::Union{Nothing, String} = nothing + protectionDomain::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretReference } + sslEnabled::Union{Nothing, Bool} = nothing + storageMode::Union{Nothing, String} = nothing + storagePool::Union{Nothing, String} = nothing + system::Union{Nothing, String} = nothing + volumeName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ScaleIOPersistentVolumeSource(fsType, gateway, protectionDomain, readOnly, secretRef, sslEnabled, storageMode, storagePool, system, volumeName, ) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("gateway"), gateway) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("protectionDomain"), protectionDomain) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("sslEnabled"), sslEnabled) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("storageMode"), storageMode) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("storagePool"), storagePool) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("system"), system) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOPersistentVolumeSource, Symbol("volumeName"), volumeName) + return new(fsType, gateway, protectionDomain, readOnly, secretRef, sslEnabled, storageMode, storagePool, system, volumeName, ) + end +end # type IoK8sApiCoreV1ScaleIOPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1ScaleIOPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("gateway")=>"String", Symbol("protectionDomain")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1SecretReference", Symbol("sslEnabled")=>"Bool", Symbol("storageMode")=>"String", Symbol("storagePool")=>"String", Symbol("system")=>"String", Symbol("volumeName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ScaleIOPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScaleIOPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1ScaleIOPersistentVolumeSource) + o.gateway === nothing && (return false) + o.secretRef === nothing && (return false) + o.system === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ScaleIOPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl new file mode 100644 index 00000000..fed50017 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScaleIOVolumeSource.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ScaleIOVolumeSource +ScaleIOVolumeSource represents a persistent ScaleIO volume + + IoK8sApiCoreV1ScaleIOVolumeSource(; + fsType=nothing, + gateway=nothing, + protectionDomain=nothing, + readOnly=nothing, + secretRef=nothing, + sslEnabled=nothing, + storageMode=nothing, + storagePool=nothing, + system=nothing, + volumeName=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". + - gateway::String : The host address of the ScaleIO API Gateway. + - protectionDomain::String : The name of the ScaleIO Protection Domain for the configured storage. + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretRef::IoK8sApiCoreV1LocalObjectReference + - sslEnabled::Bool : Flag to enable/disable SSL communication with Gateway, default false + - storageMode::String : Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. + - storagePool::String : The ScaleIO Storage Pool associated with the protection domain. + - system::String : The name of the storage system as configured in ScaleIO. + - volumeName::String : The name of a volume already created in the ScaleIO system that is associated with this volume source. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ScaleIOVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + gateway::Union{Nothing, String} = nothing + protectionDomain::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + sslEnabled::Union{Nothing, Bool} = nothing + storageMode::Union{Nothing, String} = nothing + storagePool::Union{Nothing, String} = nothing + system::Union{Nothing, String} = nothing + volumeName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ScaleIOVolumeSource(fsType, gateway, protectionDomain, readOnly, secretRef, sslEnabled, storageMode, storagePool, system, volumeName, ) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("gateway"), gateway) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("protectionDomain"), protectionDomain) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("sslEnabled"), sslEnabled) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("storageMode"), storageMode) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("storagePool"), storagePool) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("system"), system) + OpenAPI.validate_property(IoK8sApiCoreV1ScaleIOVolumeSource, Symbol("volumeName"), volumeName) + return new(fsType, gateway, protectionDomain, readOnly, secretRef, sslEnabled, storageMode, storagePool, system, volumeName, ) + end +end # type IoK8sApiCoreV1ScaleIOVolumeSource + +const _property_types_IoK8sApiCoreV1ScaleIOVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("gateway")=>"String", Symbol("protectionDomain")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("sslEnabled")=>"Bool", Symbol("storageMode")=>"String", Symbol("storagePool")=>"String", Symbol("system")=>"String", Symbol("volumeName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ScaleIOVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScaleIOVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1ScaleIOVolumeSource) + o.gateway === nothing && (return false) + o.secretRef === nothing && (return false) + o.system === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ScaleIOVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScopeSelector.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScopeSelector.jl new file mode 100644 index 00000000..1f321e86 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScopeSelector.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ScopeSelector +A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. + + IoK8sApiCoreV1ScopeSelector(; + matchExpressions=nothing, + ) + + - matchExpressions::Vector{IoK8sApiCoreV1ScopedResourceSelectorRequirement} : A list of scope selector requirements by scope of the resources. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ScopeSelector <: OpenAPI.APIModel + matchExpressions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ScopedResourceSelectorRequirement} } + + function IoK8sApiCoreV1ScopeSelector(matchExpressions, ) + OpenAPI.validate_property(IoK8sApiCoreV1ScopeSelector, Symbol("matchExpressions"), matchExpressions) + return new(matchExpressions, ) + end +end # type IoK8sApiCoreV1ScopeSelector + +const _property_types_IoK8sApiCoreV1ScopeSelector = Dict{Symbol,String}(Symbol("matchExpressions")=>"Vector{IoK8sApiCoreV1ScopedResourceSelectorRequirement}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ScopeSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScopeSelector[name]))} + +function check_required(o::IoK8sApiCoreV1ScopeSelector) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ScopeSelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl new file mode 100644 index 00000000..8b9e4213 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ScopedResourceSelectorRequirement.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ScopedResourceSelectorRequirement +A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. + + IoK8sApiCoreV1ScopedResourceSelectorRequirement(; + operator=nothing, + scopeName=nothing, + values=nothing, + ) + + - operator::String : Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. + - scopeName::String : The name of the scope that the selector applies to. + - values::Vector{String} : An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ScopedResourceSelectorRequirement <: OpenAPI.APIModel + operator::Union{Nothing, String} = nothing + scopeName::Union{Nothing, String} = nothing + values::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1ScopedResourceSelectorRequirement(operator, scopeName, values, ) + OpenAPI.validate_property(IoK8sApiCoreV1ScopedResourceSelectorRequirement, Symbol("operator"), operator) + OpenAPI.validate_property(IoK8sApiCoreV1ScopedResourceSelectorRequirement, Symbol("scopeName"), scopeName) + OpenAPI.validate_property(IoK8sApiCoreV1ScopedResourceSelectorRequirement, Symbol("values"), values) + return new(operator, scopeName, values, ) + end +end # type IoK8sApiCoreV1ScopedResourceSelectorRequirement + +const _property_types_IoK8sApiCoreV1ScopedResourceSelectorRequirement = Dict{Symbol,String}(Symbol("operator")=>"String", Symbol("scopeName")=>"String", Symbol("values")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ScopedResourceSelectorRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ScopedResourceSelectorRequirement[name]))} + +function check_required(o::IoK8sApiCoreV1ScopedResourceSelectorRequirement) + o.operator === nothing && (return false) + o.scopeName === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ScopedResourceSelectorRequirement }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Secret.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Secret.jl new file mode 100644 index 00000000..130c9702 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Secret.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Secret +Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. + + IoK8sApiCoreV1Secret(; + apiVersion=nothing, + data=nothing, + kind=nothing, + metadata=nothing, + stringData=nothing, + type=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - data::Dict{String, Vector{UInt8}} : Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - stringData::Dict{String, String} : stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. + - type::String : Used to facilitate programmatic handling of secret data. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Secret <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + data::Union{Nothing, Dict{String, Vector{UInt8}}} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + stringData::Union{Nothing, Dict{String, String}} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1Secret(apiVersion, data, kind, metadata, stringData, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1Secret, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Secret, Symbol("data"), data) + OpenAPI.validate_property(IoK8sApiCoreV1Secret, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Secret, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Secret, Symbol("stringData"), stringData) + OpenAPI.validate_property(IoK8sApiCoreV1Secret, Symbol("type"), type) + return new(apiVersion, data, kind, metadata, stringData, type, ) + end +end # type IoK8sApiCoreV1Secret + +const _property_types_IoK8sApiCoreV1Secret = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("data")=>"Dict{String, Vector{UInt8}}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("stringData")=>"Dict{String, String}", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Secret }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Secret[name]))} + +function check_required(o::IoK8sApiCoreV1Secret) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Secret }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretEnvSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretEnvSource.jl new file mode 100644 index 00000000..833f8607 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretEnvSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecretEnvSource +SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables. + + IoK8sApiCoreV1SecretEnvSource(; + name=nothing, + optional=nothing, + ) + + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the Secret must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecretEnvSource <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1SecretEnvSource(name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecretEnvSource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1SecretEnvSource, Symbol("optional"), optional) + return new(name, optional, ) + end +end # type IoK8sApiCoreV1SecretEnvSource + +const _property_types_IoK8sApiCoreV1SecretEnvSource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecretEnvSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretEnvSource[name]))} + +function check_required(o::IoK8sApiCoreV1SecretEnvSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecretEnvSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretKeySelector.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretKeySelector.jl new file mode 100644 index 00000000..300cc0e1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretKeySelector.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecretKeySelector +SecretKeySelector selects a key of a Secret. + + IoK8sApiCoreV1SecretKeySelector(; + key=nothing, + name=nothing, + optional=nothing, + ) + + - key::String : The key of the secret to select from. Must be a valid secret key. + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the Secret or its key must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecretKeySelector <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1SecretKeySelector(key, name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecretKeySelector, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1SecretKeySelector, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1SecretKeySelector, Symbol("optional"), optional) + return new(key, name, optional, ) + end +end # type IoK8sApiCoreV1SecretKeySelector + +const _property_types_IoK8sApiCoreV1SecretKeySelector = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecretKeySelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretKeySelector[name]))} + +function check_required(o::IoK8sApiCoreV1SecretKeySelector) + o.key === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecretKeySelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretList.jl new file mode 100644 index 00000000..f68c8b8d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecretList +SecretList is a list of Secret. + + IoK8sApiCoreV1SecretList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Secret} : Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecretList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Secret} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1SecretList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecretList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1SecretList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1SecretList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1SecretList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1SecretList + +const _property_types_IoK8sApiCoreV1SecretList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Secret}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecretList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretList[name]))} + +function check_required(o::IoK8sApiCoreV1SecretList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecretList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretProjection.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretProjection.jl new file mode 100644 index 00000000..98472657 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretProjection.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecretProjection +Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. + + IoK8sApiCoreV1SecretProjection(; + items=nothing, + name=nothing, + optional=nothing, + ) + + - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. + - name::String : Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - optional::Bool : Specify whether the Secret or its key must be defined +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecretProjection <: OpenAPI.APIModel + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } + name::Union{Nothing, String} = nothing + optional::Union{Nothing, Bool} = nothing + + function IoK8sApiCoreV1SecretProjection(items, name, optional, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecretProjection, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1SecretProjection, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1SecretProjection, Symbol("optional"), optional) + return new(items, name, optional, ) + end +end # type IoK8sApiCoreV1SecretProjection + +const _property_types_IoK8sApiCoreV1SecretProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("name")=>"String", Symbol("optional")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecretProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretProjection[name]))} + +function check_required(o::IoK8sApiCoreV1SecretProjection) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecretProjection }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretReference.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretReference.jl new file mode 100644 index 00000000..905cc31f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretReference.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecretReference +SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace + + IoK8sApiCoreV1SecretReference(; + name=nothing, + namespace=nothing, + ) + + - name::String : Name is unique within a namespace to reference a secret resource. + - namespace::String : Namespace defines the space within which the secret name must be unique. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecretReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1SecretReference(name, namespace, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecretReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1SecretReference, Symbol("namespace"), namespace) + return new(name, namespace, ) + end +end # type IoK8sApiCoreV1SecretReference + +const _property_types_IoK8sApiCoreV1SecretReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecretReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretReference[name]))} + +function check_required(o::IoK8sApiCoreV1SecretReference) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecretReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretVolumeSource.jl new file mode 100644 index 00000000..95555f9c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecretVolumeSource.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecretVolumeSource +Adapts a Secret into a volume. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. + + IoK8sApiCoreV1SecretVolumeSource(; + defaultMode=nothing, + items=nothing, + optional=nothing, + secretName=nothing, + ) + + - defaultMode::Int64 : Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + - items::Vector{IoK8sApiCoreV1KeyToPath} : If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. + - optional::Bool : Specify whether the Secret or its keys must be defined + - secretName::String : Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecretVolumeSource <: OpenAPI.APIModel + defaultMode::Union{Nothing, Int64} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1KeyToPath} } + optional::Union{Nothing, Bool} = nothing + secretName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1SecretVolumeSource(defaultMode, items, optional, secretName, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("defaultMode"), defaultMode) + OpenAPI.validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("optional"), optional) + OpenAPI.validate_property(IoK8sApiCoreV1SecretVolumeSource, Symbol("secretName"), secretName) + return new(defaultMode, items, optional, secretName, ) + end +end # type IoK8sApiCoreV1SecretVolumeSource + +const _property_types_IoK8sApiCoreV1SecretVolumeSource = Dict{Symbol,String}(Symbol("defaultMode")=>"Int64", Symbol("items")=>"Vector{IoK8sApiCoreV1KeyToPath}", Symbol("optional")=>"Bool", Symbol("secretName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecretVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecretVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1SecretVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecretVolumeSource }, name::Symbol, val) + if name === Symbol("defaultMode") + OpenAPI.validate_param(name, "IoK8sApiCoreV1SecretVolumeSource", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecurityContext.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecurityContext.jl new file mode 100644 index 00000000..d557dc7d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SecurityContext.jl @@ -0,0 +1,73 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SecurityContext +SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. + + IoK8sApiCoreV1SecurityContext(; + allowPrivilegeEscalation=nothing, + capabilities=nothing, + privileged=nothing, + procMount=nothing, + readOnlyRootFilesystem=nothing, + runAsGroup=nothing, + runAsNonRoot=nothing, + runAsUser=nothing, + seLinuxOptions=nothing, + windowsOptions=nothing, + ) + + - allowPrivilegeEscalation::Bool : AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN + - capabilities::IoK8sApiCoreV1Capabilities + - privileged::Bool : Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. + - procMount::String : procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. + - readOnlyRootFilesystem::Bool : Whether this container has a read-only root filesystem. Default is false. + - runAsGroup::Int64 : The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + - runAsNonRoot::Bool : Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + - runAsUser::Int64 : The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions + - windowsOptions::IoK8sApiCoreV1WindowsSecurityContextOptions +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SecurityContext <: OpenAPI.APIModel + allowPrivilegeEscalation::Union{Nothing, Bool} = nothing + capabilities = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1Capabilities } + privileged::Union{Nothing, Bool} = nothing + procMount::Union{Nothing, String} = nothing + readOnlyRootFilesystem::Union{Nothing, Bool} = nothing + runAsGroup::Union{Nothing, Int64} = nothing + runAsNonRoot::Union{Nothing, Bool} = nothing + runAsUser::Union{Nothing, Int64} = nothing + seLinuxOptions = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } + windowsOptions = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1WindowsSecurityContextOptions } + + function IoK8sApiCoreV1SecurityContext(allowPrivilegeEscalation, capabilities, privileged, procMount, readOnlyRootFilesystem, runAsGroup, runAsNonRoot, runAsUser, seLinuxOptions, windowsOptions, ) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("capabilities"), capabilities) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("privileged"), privileged) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("procMount"), procMount) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("runAsGroup"), runAsGroup) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("runAsNonRoot"), runAsNonRoot) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("runAsUser"), runAsUser) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("seLinuxOptions"), seLinuxOptions) + OpenAPI.validate_property(IoK8sApiCoreV1SecurityContext, Symbol("windowsOptions"), windowsOptions) + return new(allowPrivilegeEscalation, capabilities, privileged, procMount, readOnlyRootFilesystem, runAsGroup, runAsNonRoot, runAsUser, seLinuxOptions, windowsOptions, ) + end +end # type IoK8sApiCoreV1SecurityContext + +const _property_types_IoK8sApiCoreV1SecurityContext = Dict{Symbol,String}(Symbol("allowPrivilegeEscalation")=>"Bool", Symbol("capabilities")=>"IoK8sApiCoreV1Capabilities", Symbol("privileged")=>"Bool", Symbol("procMount")=>"String", Symbol("readOnlyRootFilesystem")=>"Bool", Symbol("runAsGroup")=>"Int64", Symbol("runAsNonRoot")=>"Bool", Symbol("runAsUser")=>"Int64", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions", Symbol("windowsOptions")=>"IoK8sApiCoreV1WindowsSecurityContextOptions", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SecurityContext }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SecurityContext[name]))} + +function check_required(o::IoK8sApiCoreV1SecurityContext) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SecurityContext }, name::Symbol, val) + if name === Symbol("runAsGroup") + OpenAPI.validate_param(name, "IoK8sApiCoreV1SecurityContext", :format, val, "int64") + end + if name === Symbol("runAsUser") + OpenAPI.validate_param(name, "IoK8sApiCoreV1SecurityContext", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Service.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Service.jl new file mode 100644 index 00000000..e83fa211 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Service.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Service +Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. + + IoK8sApiCoreV1Service(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiCoreV1ServiceSpec + - status::IoK8sApiCoreV1ServiceStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Service <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ServiceSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ServiceStatus } + + function IoK8sApiCoreV1Service(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiCoreV1Service, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1Service, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1Service, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1Service, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiCoreV1Service, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiCoreV1Service + +const _property_types_IoK8sApiCoreV1Service = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiCoreV1ServiceSpec", Symbol("status")=>"IoK8sApiCoreV1ServiceStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Service }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Service[name]))} + +function check_required(o::IoK8sApiCoreV1Service) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Service }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccount.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccount.jl new file mode 100644 index 00000000..f7afcd51 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccount.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServiceAccount +ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets + + IoK8sApiCoreV1ServiceAccount(; + apiVersion=nothing, + automountServiceAccountToken=nothing, + imagePullSecrets=nothing, + kind=nothing, + metadata=nothing, + secrets=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - automountServiceAccountToken::Bool : AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. + - imagePullSecrets::Vector{IoK8sApiCoreV1LocalObjectReference} : ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - secrets::Vector{IoK8sApiCoreV1ObjectReference} : Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServiceAccount <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + automountServiceAccountToken::Union{Nothing, Bool} = nothing + imagePullSecrets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1LocalObjectReference} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + secrets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ObjectReference} } + + function IoK8sApiCoreV1ServiceAccount(apiVersion, automountServiceAccountToken, imagePullSecrets, kind, metadata, secrets, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("automountServiceAccountToken"), automountServiceAccountToken) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("imagePullSecrets"), imagePullSecrets) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccount, Symbol("secrets"), secrets) + return new(apiVersion, automountServiceAccountToken, imagePullSecrets, kind, metadata, secrets, ) + end +end # type IoK8sApiCoreV1ServiceAccount + +const _property_types_IoK8sApiCoreV1ServiceAccount = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("automountServiceAccountToken")=>"Bool", Symbol("imagePullSecrets")=>"Vector{IoK8sApiCoreV1LocalObjectReference}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("secrets")=>"Vector{IoK8sApiCoreV1ObjectReference}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServiceAccount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceAccount[name]))} + +function check_required(o::IoK8sApiCoreV1ServiceAccount) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServiceAccount }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccountList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccountList.jl new file mode 100644 index 00000000..c102945f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccountList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServiceAccountList +ServiceAccountList is a list of ServiceAccount objects + + IoK8sApiCoreV1ServiceAccountList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1ServiceAccount} : List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServiceAccountList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ServiceAccount} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1ServiceAccountList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1ServiceAccountList + +const _property_types_IoK8sApiCoreV1ServiceAccountList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1ServiceAccount}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServiceAccountList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceAccountList[name]))} + +function check_required(o::IoK8sApiCoreV1ServiceAccountList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServiceAccountList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl new file mode 100644 index 00000000..6a28704b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceAccountTokenProjection.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServiceAccountTokenProjection +ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). + + IoK8sApiCoreV1ServiceAccountTokenProjection(; + audience=nothing, + expirationSeconds=nothing, + path=nothing, + ) + + - audience::String : Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. + - expirationSeconds::Int64 : ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. + - path::String : Path is the path relative to the mount point of the file to project the token into. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServiceAccountTokenProjection <: OpenAPI.APIModel + audience::Union{Nothing, String} = nothing + expirationSeconds::Union{Nothing, Int64} = nothing + path::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ServiceAccountTokenProjection(audience, expirationSeconds, path, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountTokenProjection, Symbol("audience"), audience) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountTokenProjection, Symbol("expirationSeconds"), expirationSeconds) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceAccountTokenProjection, Symbol("path"), path) + return new(audience, expirationSeconds, path, ) + end +end # type IoK8sApiCoreV1ServiceAccountTokenProjection + +const _property_types_IoK8sApiCoreV1ServiceAccountTokenProjection = Dict{Symbol,String}(Symbol("audience")=>"String", Symbol("expirationSeconds")=>"Int64", Symbol("path")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServiceAccountTokenProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceAccountTokenProjection[name]))} + +function check_required(o::IoK8sApiCoreV1ServiceAccountTokenProjection) + o.path === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServiceAccountTokenProjection }, name::Symbol, val) + if name === Symbol("expirationSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ServiceAccountTokenProjection", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceList.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceList.jl new file mode 100644 index 00000000..5136d577 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServiceList +ServiceList holds a list of services. + + IoK8sApiCoreV1ServiceList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCoreV1Service} : List of services + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServiceList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Service} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCoreV1ServiceList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCoreV1ServiceList + +const _property_types_IoK8sApiCoreV1ServiceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCoreV1Service}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServiceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceList[name]))} + +function check_required(o::IoK8sApiCoreV1ServiceList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServiceList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServicePort.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServicePort.jl new file mode 100644 index 00000000..85910a83 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServicePort.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServicePort +ServicePort contains information on service's port. + + IoK8sApiCoreV1ServicePort(; + name=nothing, + nodePort=nothing, + port=nothing, + protocol=nothing, + targetPort=nothing, + ) + + - name::String : The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. + - nodePort::Int64 : The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport + - port::Int64 : The port that will be exposed by this service. + - protocol::String : The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP. + - targetPort::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServicePort <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + nodePort::Union{Nothing, Int64} = nothing + port::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + targetPort::Union{Nothing, Any} = nothing + + function IoK8sApiCoreV1ServicePort(name, nodePort, port, protocol, targetPort, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServicePort, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1ServicePort, Symbol("nodePort"), nodePort) + OpenAPI.validate_property(IoK8sApiCoreV1ServicePort, Symbol("port"), port) + OpenAPI.validate_property(IoK8sApiCoreV1ServicePort, Symbol("protocol"), protocol) + OpenAPI.validate_property(IoK8sApiCoreV1ServicePort, Symbol("targetPort"), targetPort) + return new(name, nodePort, port, protocol, targetPort, ) + end +end # type IoK8sApiCoreV1ServicePort + +const _property_types_IoK8sApiCoreV1ServicePort = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("nodePort")=>"Int64", Symbol("port")=>"Int64", Symbol("protocol")=>"String", Symbol("targetPort")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServicePort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServicePort[name]))} + +function check_required(o::IoK8sApiCoreV1ServicePort) + o.port === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServicePort }, name::Symbol, val) + if name === Symbol("nodePort") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ServicePort", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ServicePort", :format, val, "int32") + end + if name === Symbol("targetPort") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ServicePort", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceSpec.jl new file mode 100644 index 00000000..3dc2dc9d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceSpec.jl @@ -0,0 +1,90 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServiceSpec +ServiceSpec describes the attributes that a user creates on a service. + + IoK8sApiCoreV1ServiceSpec(; + clusterIP=nothing, + externalIPs=nothing, + externalName=nothing, + externalTrafficPolicy=nothing, + healthCheckNodePort=nothing, + ipFamily=nothing, + loadBalancerIP=nothing, + loadBalancerSourceRanges=nothing, + ports=nothing, + publishNotReadyAddresses=nothing, + selector=nothing, + sessionAffinity=nothing, + sessionAffinityConfig=nothing, + topologyKeys=nothing, + type=nothing, + ) + + - clusterIP::String : clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + - externalIPs::Vector{String} : externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. + - externalName::String : externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName. + - externalTrafficPolicy::String : externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. + - healthCheckNodePort::Int64 : healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local. + - ipFamily::String : ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment. + - loadBalancerIP::String : Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. + - loadBalancerSourceRanges::Vector{String} : If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ + - ports::Vector{IoK8sApiCoreV1ServicePort} : The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + - publishNotReadyAddresses::Bool : publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. + - selector::Dict{String, String} : Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ + - sessionAffinity::String : Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + - sessionAffinityConfig::IoK8sApiCoreV1SessionAffinityConfig + - topologyKeys::Vector{String} : topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. + - type::String : type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServiceSpec <: OpenAPI.APIModel + clusterIP::Union{Nothing, String} = nothing + externalIPs::Union{Nothing, Vector{String}} = nothing + externalName::Union{Nothing, String} = nothing + externalTrafficPolicy::Union{Nothing, String} = nothing + healthCheckNodePort::Union{Nothing, Int64} = nothing + ipFamily::Union{Nothing, String} = nothing + loadBalancerIP::Union{Nothing, String} = nothing + loadBalancerSourceRanges::Union{Nothing, Vector{String}} = nothing + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1ServicePort} } + publishNotReadyAddresses::Union{Nothing, Bool} = nothing + selector::Union{Nothing, Dict{String, String}} = nothing + sessionAffinity::Union{Nothing, String} = nothing + sessionAffinityConfig = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SessionAffinityConfig } + topologyKeys::Union{Nothing, Vector{String}} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1ServiceSpec(clusterIP, externalIPs, externalName, externalTrafficPolicy, healthCheckNodePort, ipFamily, loadBalancerIP, loadBalancerSourceRanges, ports, publishNotReadyAddresses, selector, sessionAffinity, sessionAffinityConfig, topologyKeys, type, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("clusterIP"), clusterIP) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("externalIPs"), externalIPs) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("externalName"), externalName) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("externalTrafficPolicy"), externalTrafficPolicy) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("healthCheckNodePort"), healthCheckNodePort) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("ipFamily"), ipFamily) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("loadBalancerIP"), loadBalancerIP) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("loadBalancerSourceRanges"), loadBalancerSourceRanges) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("ports"), ports) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("publishNotReadyAddresses"), publishNotReadyAddresses) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("sessionAffinity"), sessionAffinity) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("sessionAffinityConfig"), sessionAffinityConfig) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("topologyKeys"), topologyKeys) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceSpec, Symbol("type"), type) + return new(clusterIP, externalIPs, externalName, externalTrafficPolicy, healthCheckNodePort, ipFamily, loadBalancerIP, loadBalancerSourceRanges, ports, publishNotReadyAddresses, selector, sessionAffinity, sessionAffinityConfig, topologyKeys, type, ) + end +end # type IoK8sApiCoreV1ServiceSpec + +const _property_types_IoK8sApiCoreV1ServiceSpec = Dict{Symbol,String}(Symbol("clusterIP")=>"String", Symbol("externalIPs")=>"Vector{String}", Symbol("externalName")=>"String", Symbol("externalTrafficPolicy")=>"String", Symbol("healthCheckNodePort")=>"Int64", Symbol("ipFamily")=>"String", Symbol("loadBalancerIP")=>"String", Symbol("loadBalancerSourceRanges")=>"Vector{String}", Symbol("ports")=>"Vector{IoK8sApiCoreV1ServicePort}", Symbol("publishNotReadyAddresses")=>"Bool", Symbol("selector")=>"Dict{String, String}", Symbol("sessionAffinity")=>"String", Symbol("sessionAffinityConfig")=>"IoK8sApiCoreV1SessionAffinityConfig", Symbol("topologyKeys")=>"Vector{String}", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServiceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceSpec[name]))} + +function check_required(o::IoK8sApiCoreV1ServiceSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServiceSpec }, name::Symbol, val) + if name === Symbol("healthCheckNodePort") + OpenAPI.validate_param(name, "IoK8sApiCoreV1ServiceSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceStatus.jl new file mode 100644 index 00000000..044354b4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1ServiceStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.ServiceStatus +ServiceStatus represents the current status of a service. + + IoK8sApiCoreV1ServiceStatus(; + loadBalancer=nothing, + ) + + - loadBalancer::IoK8sApiCoreV1LoadBalancerStatus +""" +Base.@kwdef mutable struct IoK8sApiCoreV1ServiceStatus <: OpenAPI.APIModel + loadBalancer = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } + + function IoK8sApiCoreV1ServiceStatus(loadBalancer, ) + OpenAPI.validate_property(IoK8sApiCoreV1ServiceStatus, Symbol("loadBalancer"), loadBalancer) + return new(loadBalancer, ) + end +end # type IoK8sApiCoreV1ServiceStatus + +const _property_types_IoK8sApiCoreV1ServiceStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1ServiceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ServiceStatus[name]))} + +function check_required(o::IoK8sApiCoreV1ServiceStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1ServiceStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1SessionAffinityConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SessionAffinityConfig.jl new file mode 100644 index 00000000..76e27b10 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1SessionAffinityConfig.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.SessionAffinityConfig +SessionAffinityConfig represents the configurations of session affinity. + + IoK8sApiCoreV1SessionAffinityConfig(; + clientIP=nothing, + ) + + - clientIP::IoK8sApiCoreV1ClientIPConfig +""" +Base.@kwdef mutable struct IoK8sApiCoreV1SessionAffinityConfig <: OpenAPI.APIModel + clientIP = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ClientIPConfig } + + function IoK8sApiCoreV1SessionAffinityConfig(clientIP, ) + OpenAPI.validate_property(IoK8sApiCoreV1SessionAffinityConfig, Symbol("clientIP"), clientIP) + return new(clientIP, ) + end +end # type IoK8sApiCoreV1SessionAffinityConfig + +const _property_types_IoK8sApiCoreV1SessionAffinityConfig = Dict{Symbol,String}(Symbol("clientIP")=>"IoK8sApiCoreV1ClientIPConfig", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1SessionAffinityConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1SessionAffinityConfig[name]))} + +function check_required(o::IoK8sApiCoreV1SessionAffinityConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1SessionAffinityConfig }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl new file mode 100644 index 00000000..e2ecab66 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1StorageOSPersistentVolumeSource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.StorageOSPersistentVolumeSource +Represents a StorageOS persistent volume resource. + + IoK8sApiCoreV1StorageOSPersistentVolumeSource(; + fsType=nothing, + readOnly=nothing, + secretRef=nothing, + volumeName=nothing, + volumeNamespace=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretRef::IoK8sApiCoreV1ObjectReference + - volumeName::String : VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. + - volumeNamespace::String : VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1StorageOSPersistentVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + volumeName::Union{Nothing, String} = nothing + volumeNamespace::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1StorageOSPersistentVolumeSource(fsType, readOnly, secretRef, volumeName, volumeNamespace, ) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("volumeName"), volumeName) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSPersistentVolumeSource, Symbol("volumeNamespace"), volumeNamespace) + return new(fsType, readOnly, secretRef, volumeName, volumeNamespace, ) + end +end # type IoK8sApiCoreV1StorageOSPersistentVolumeSource + +const _property_types_IoK8sApiCoreV1StorageOSPersistentVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1ObjectReference", Symbol("volumeName")=>"String", Symbol("volumeNamespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1StorageOSPersistentVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1StorageOSPersistentVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1StorageOSPersistentVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1StorageOSPersistentVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1StorageOSVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1StorageOSVolumeSource.jl new file mode 100644 index 00000000..0f8f4e68 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1StorageOSVolumeSource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.StorageOSVolumeSource +Represents a StorageOS persistent volume resource. + + IoK8sApiCoreV1StorageOSVolumeSource(; + fsType=nothing, + readOnly=nothing, + secretRef=nothing, + volumeName=nothing, + volumeNamespace=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + - readOnly::Bool : Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + - secretRef::IoK8sApiCoreV1LocalObjectReference + - volumeName::String : VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. + - volumeNamespace::String : VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1StorageOSVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + secretRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LocalObjectReference } + volumeName::Union{Nothing, String} = nothing + volumeNamespace::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1StorageOSVolumeSource(fsType, readOnly, secretRef, volumeName, volumeNamespace, ) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("secretRef"), secretRef) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("volumeName"), volumeName) + OpenAPI.validate_property(IoK8sApiCoreV1StorageOSVolumeSource, Symbol("volumeNamespace"), volumeNamespace) + return new(fsType, readOnly, secretRef, volumeName, volumeNamespace, ) + end +end # type IoK8sApiCoreV1StorageOSVolumeSource + +const _property_types_IoK8sApiCoreV1StorageOSVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("readOnly")=>"Bool", Symbol("secretRef")=>"IoK8sApiCoreV1LocalObjectReference", Symbol("volumeName")=>"String", Symbol("volumeNamespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1StorageOSVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1StorageOSVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1StorageOSVolumeSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1StorageOSVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Sysctl.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Sysctl.jl new file mode 100644 index 00000000..66d9db47 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Sysctl.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Sysctl +Sysctl defines a kernel parameter to be set + + IoK8sApiCoreV1Sysctl(; + name=nothing, + value=nothing, + ) + + - name::String : Name of a property to set + - value::String : Value of a property to set +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Sysctl <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1Sysctl(name, value, ) + OpenAPI.validate_property(IoK8sApiCoreV1Sysctl, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1Sysctl, Symbol("value"), value) + return new(name, value, ) + end +end # type IoK8sApiCoreV1Sysctl + +const _property_types_IoK8sApiCoreV1Sysctl = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Sysctl }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Sysctl[name]))} + +function check_required(o::IoK8sApiCoreV1Sysctl) + o.name === nothing && (return false) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Sysctl }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1TCPSocketAction.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TCPSocketAction.jl new file mode 100644 index 00000000..974e598e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TCPSocketAction.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.TCPSocketAction +TCPSocketAction describes an action based on opening a socket + + IoK8sApiCoreV1TCPSocketAction(; + host=nothing, + port=nothing, + ) + + - host::String : Optional: Host name to connect to, defaults to the pod IP. + - port::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1TCPSocketAction <: OpenAPI.APIModel + host::Union{Nothing, String} = nothing + port::Union{Nothing, Any} = nothing + + function IoK8sApiCoreV1TCPSocketAction(host, port, ) + OpenAPI.validate_property(IoK8sApiCoreV1TCPSocketAction, Symbol("host"), host) + OpenAPI.validate_property(IoK8sApiCoreV1TCPSocketAction, Symbol("port"), port) + return new(host, port, ) + end +end # type IoK8sApiCoreV1TCPSocketAction + +const _property_types_IoK8sApiCoreV1TCPSocketAction = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("port")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1TCPSocketAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TCPSocketAction[name]))} + +function check_required(o::IoK8sApiCoreV1TCPSocketAction) + o.port === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1TCPSocketAction }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiCoreV1TCPSocketAction", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Taint.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Taint.jl new file mode 100644 index 00000000..859e0599 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Taint.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Taint +The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. + + IoK8sApiCoreV1Taint(; + effect=nothing, + key=nothing, + timeAdded=nothing, + value=nothing, + ) + + - effect::String : Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. + - key::String : Required. The taint key to be applied to a node. + - timeAdded::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - value::String : Required. The taint value corresponding to the taint key. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Taint <: OpenAPI.APIModel + effect::Union{Nothing, String} = nothing + key::Union{Nothing, String} = nothing + timeAdded::Union{Nothing, ZonedDateTime} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1Taint(effect, key, timeAdded, value, ) + OpenAPI.validate_property(IoK8sApiCoreV1Taint, Symbol("effect"), effect) + OpenAPI.validate_property(IoK8sApiCoreV1Taint, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1Taint, Symbol("timeAdded"), timeAdded) + OpenAPI.validate_property(IoK8sApiCoreV1Taint, Symbol("value"), value) + return new(effect, key, timeAdded, value, ) + end +end # type IoK8sApiCoreV1Taint + +const _property_types_IoK8sApiCoreV1Taint = Dict{Symbol,String}(Symbol("effect")=>"String", Symbol("key")=>"String", Symbol("timeAdded")=>"ZonedDateTime", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Taint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Taint[name]))} + +function check_required(o::IoK8sApiCoreV1Taint) + o.effect === nothing && (return false) + o.key === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Taint }, name::Symbol, val) + if name === Symbol("timeAdded") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Taint", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Toleration.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Toleration.jl new file mode 100644 index 00000000..cbde8f05 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Toleration.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Toleration +The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. + + IoK8sApiCoreV1Toleration(; + effect=nothing, + key=nothing, + operator=nothing, + tolerationSeconds=nothing, + value=nothing, + ) + + - effect::String : Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + - key::String : Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + - operator::String : Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + - tolerationSeconds::Int64 : TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + - value::String : Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Toleration <: OpenAPI.APIModel + effect::Union{Nothing, String} = nothing + key::Union{Nothing, String} = nothing + operator::Union{Nothing, String} = nothing + tolerationSeconds::Union{Nothing, Int64} = nothing + value::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1Toleration(effect, key, operator, tolerationSeconds, value, ) + OpenAPI.validate_property(IoK8sApiCoreV1Toleration, Symbol("effect"), effect) + OpenAPI.validate_property(IoK8sApiCoreV1Toleration, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1Toleration, Symbol("operator"), operator) + OpenAPI.validate_property(IoK8sApiCoreV1Toleration, Symbol("tolerationSeconds"), tolerationSeconds) + OpenAPI.validate_property(IoK8sApiCoreV1Toleration, Symbol("value"), value) + return new(effect, key, operator, tolerationSeconds, value, ) + end +end # type IoK8sApiCoreV1Toleration + +const _property_types_IoK8sApiCoreV1Toleration = Dict{Symbol,String}(Symbol("effect")=>"String", Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("tolerationSeconds")=>"Int64", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Toleration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Toleration[name]))} + +function check_required(o::IoK8sApiCoreV1Toleration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Toleration }, name::Symbol, val) + if name === Symbol("tolerationSeconds") + OpenAPI.validate_param(name, "IoK8sApiCoreV1Toleration", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl new file mode 100644 index 00000000..2907c46c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySelectorLabelRequirement.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.TopologySelectorLabelRequirement +A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. + + IoK8sApiCoreV1TopologySelectorLabelRequirement(; + key=nothing, + values=nothing, + ) + + - key::String : The label key that the selector applies to. + - values::Vector{String} : An array of string values. One value must match the label to be selected. Each entry in Values is ORed. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1TopologySelectorLabelRequirement <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + values::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiCoreV1TopologySelectorLabelRequirement(key, values, ) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySelectorLabelRequirement, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySelectorLabelRequirement, Symbol("values"), values) + return new(key, values, ) + end +end # type IoK8sApiCoreV1TopologySelectorLabelRequirement + +const _property_types_IoK8sApiCoreV1TopologySelectorLabelRequirement = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("values")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1TopologySelectorLabelRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TopologySelectorLabelRequirement[name]))} + +function check_required(o::IoK8sApiCoreV1TopologySelectorLabelRequirement) + o.key === nothing && (return false) + o.values === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1TopologySelectorLabelRequirement }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySelectorTerm.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySelectorTerm.jl new file mode 100644 index 00000000..331fccc1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySelectorTerm.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.TopologySelectorTerm +A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. + + IoK8sApiCoreV1TopologySelectorTerm(; + matchLabelExpressions=nothing, + ) + + - matchLabelExpressions::Vector{IoK8sApiCoreV1TopologySelectorLabelRequirement} : A list of topology selector requirements by labels. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1TopologySelectorTerm <: OpenAPI.APIModel + matchLabelExpressions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySelectorLabelRequirement} } + + function IoK8sApiCoreV1TopologySelectorTerm(matchLabelExpressions, ) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySelectorTerm, Symbol("matchLabelExpressions"), matchLabelExpressions) + return new(matchLabelExpressions, ) + end +end # type IoK8sApiCoreV1TopologySelectorTerm + +const _property_types_IoK8sApiCoreV1TopologySelectorTerm = Dict{Symbol,String}(Symbol("matchLabelExpressions")=>"Vector{IoK8sApiCoreV1TopologySelectorLabelRequirement}", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1TopologySelectorTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TopologySelectorTerm[name]))} + +function check_required(o::IoK8sApiCoreV1TopologySelectorTerm) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1TopologySelectorTerm }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySpreadConstraint.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySpreadConstraint.jl new file mode 100644 index 00000000..b89684ee --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TopologySpreadConstraint.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.TopologySpreadConstraint +TopologySpreadConstraint specifies how to spread matching pods among the given topology. + + IoK8sApiCoreV1TopologySpreadConstraint(; + labelSelector=nothing, + maxSkew=nothing, + topologyKey=nothing, + whenUnsatisfiable=nothing, + ) + + - labelSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - maxSkew::Int64 : MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed. + - topologyKey::String : TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field. + - whenUnsatisfiable::String : WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1TopologySpreadConstraint <: OpenAPI.APIModel + labelSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + maxSkew::Union{Nothing, Int64} = nothing + topologyKey::Union{Nothing, String} = nothing + whenUnsatisfiable::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1TopologySpreadConstraint(labelSelector, maxSkew, topologyKey, whenUnsatisfiable, ) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("labelSelector"), labelSelector) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("maxSkew"), maxSkew) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("topologyKey"), topologyKey) + OpenAPI.validate_property(IoK8sApiCoreV1TopologySpreadConstraint, Symbol("whenUnsatisfiable"), whenUnsatisfiable) + return new(labelSelector, maxSkew, topologyKey, whenUnsatisfiable, ) + end +end # type IoK8sApiCoreV1TopologySpreadConstraint + +const _property_types_IoK8sApiCoreV1TopologySpreadConstraint = Dict{Symbol,String}(Symbol("labelSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("maxSkew")=>"Int64", Symbol("topologyKey")=>"String", Symbol("whenUnsatisfiable")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1TopologySpreadConstraint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TopologySpreadConstraint[name]))} + +function check_required(o::IoK8sApiCoreV1TopologySpreadConstraint) + o.maxSkew === nothing && (return false) + o.topologyKey === nothing && (return false) + o.whenUnsatisfiable === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1TopologySpreadConstraint }, name::Symbol, val) + if name === Symbol("maxSkew") + OpenAPI.validate_param(name, "IoK8sApiCoreV1TopologySpreadConstraint", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1TypedLocalObjectReference.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TypedLocalObjectReference.jl new file mode 100644 index 00000000..5ff3bc8e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1TypedLocalObjectReference.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.TypedLocalObjectReference +TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. + + IoK8sApiCoreV1TypedLocalObjectReference(; + apiGroup=nothing, + kind=nothing, + name=nothing, + ) + + - apiGroup::String : APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + - kind::String : Kind is the type of resource being referenced + - name::String : Name is the name of resource being referenced +""" +Base.@kwdef mutable struct IoK8sApiCoreV1TypedLocalObjectReference <: OpenAPI.APIModel + apiGroup::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1TypedLocalObjectReference(apiGroup, kind, name, ) + OpenAPI.validate_property(IoK8sApiCoreV1TypedLocalObjectReference, Symbol("apiGroup"), apiGroup) + OpenAPI.validate_property(IoK8sApiCoreV1TypedLocalObjectReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCoreV1TypedLocalObjectReference, Symbol("name"), name) + return new(apiGroup, kind, name, ) + end +end # type IoK8sApiCoreV1TypedLocalObjectReference + +const _property_types_IoK8sApiCoreV1TypedLocalObjectReference = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1TypedLocalObjectReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1TypedLocalObjectReference[name]))} + +function check_required(o::IoK8sApiCoreV1TypedLocalObjectReference) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1TypedLocalObjectReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1Volume.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Volume.jl new file mode 100644 index 00000000..689713d3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1Volume.jl @@ -0,0 +1,144 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.Volume +Volume represents a named volume in a pod that may be accessed by any container in the pod. + + IoK8sApiCoreV1Volume(; + awsElasticBlockStore=nothing, + azureDisk=nothing, + azureFile=nothing, + cephfs=nothing, + cinder=nothing, + configMap=nothing, + csi=nothing, + downwardAPI=nothing, + emptyDir=nothing, + fc=nothing, + flexVolume=nothing, + flocker=nothing, + gcePersistentDisk=nothing, + gitRepo=nothing, + glusterfs=nothing, + hostPath=nothing, + iscsi=nothing, + name=nothing, + nfs=nothing, + persistentVolumeClaim=nothing, + photonPersistentDisk=nothing, + portworxVolume=nothing, + projected=nothing, + quobyte=nothing, + rbd=nothing, + scaleIO=nothing, + secret=nothing, + storageos=nothing, + vsphereVolume=nothing, + ) + + - awsElasticBlockStore::IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + - azureDisk::IoK8sApiCoreV1AzureDiskVolumeSource + - azureFile::IoK8sApiCoreV1AzureFileVolumeSource + - cephfs::IoK8sApiCoreV1CephFSVolumeSource + - cinder::IoK8sApiCoreV1CinderVolumeSource + - configMap::IoK8sApiCoreV1ConfigMapVolumeSource + - csi::IoK8sApiCoreV1CSIVolumeSource + - downwardAPI::IoK8sApiCoreV1DownwardAPIVolumeSource + - emptyDir::IoK8sApiCoreV1EmptyDirVolumeSource + - fc::IoK8sApiCoreV1FCVolumeSource + - flexVolume::IoK8sApiCoreV1FlexVolumeSource + - flocker::IoK8sApiCoreV1FlockerVolumeSource + - gcePersistentDisk::IoK8sApiCoreV1GCEPersistentDiskVolumeSource + - gitRepo::IoK8sApiCoreV1GitRepoVolumeSource + - glusterfs::IoK8sApiCoreV1GlusterfsVolumeSource + - hostPath::IoK8sApiCoreV1HostPathVolumeSource + - iscsi::IoK8sApiCoreV1ISCSIVolumeSource + - name::String : Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + - nfs::IoK8sApiCoreV1NFSVolumeSource + - persistentVolumeClaim::IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + - photonPersistentDisk::IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + - portworxVolume::IoK8sApiCoreV1PortworxVolumeSource + - projected::IoK8sApiCoreV1ProjectedVolumeSource + - quobyte::IoK8sApiCoreV1QuobyteVolumeSource + - rbd::IoK8sApiCoreV1RBDVolumeSource + - scaleIO::IoK8sApiCoreV1ScaleIOVolumeSource + - secret::IoK8sApiCoreV1SecretVolumeSource + - storageos::IoK8sApiCoreV1StorageOSVolumeSource + - vsphereVolume::IoK8sApiCoreV1VsphereVirtualDiskVolumeSource +""" +Base.@kwdef mutable struct IoK8sApiCoreV1Volume <: OpenAPI.APIModel + awsElasticBlockStore = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } + azureDisk = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1AzureDiskVolumeSource } + azureFile = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1AzureFileVolumeSource } + cephfs = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1CephFSVolumeSource } + cinder = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1CinderVolumeSource } + configMap = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapVolumeSource } + csi = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1CSIVolumeSource } + downwardAPI = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1DownwardAPIVolumeSource } + emptyDir = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1EmptyDirVolumeSource } + fc = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1FCVolumeSource } + flexVolume = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1FlexVolumeSource } + flocker = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1FlockerVolumeSource } + gcePersistentDisk = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1GCEPersistentDiskVolumeSource } + gitRepo = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1GitRepoVolumeSource } + glusterfs = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1GlusterfsVolumeSource } + hostPath = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1HostPathVolumeSource } + iscsi = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ISCSIVolumeSource } + name::Union{Nothing, String} = nothing + nfs = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NFSVolumeSource } + persistentVolumeClaim = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } + photonPersistentDisk = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } + portworxVolume = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PortworxVolumeSource } + projected = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ProjectedVolumeSource } + quobyte = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1QuobyteVolumeSource } + rbd = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1RBDVolumeSource } + scaleIO = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ScaleIOVolumeSource } + secret = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretVolumeSource } + storageos = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1StorageOSVolumeSource } + vsphereVolume = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } + + function IoK8sApiCoreV1Volume(awsElasticBlockStore, azureDisk, azureFile, cephfs, cinder, configMap, csi, downwardAPI, emptyDir, fc, flexVolume, flocker, gcePersistentDisk, gitRepo, glusterfs, hostPath, iscsi, name, nfs, persistentVolumeClaim, photonPersistentDisk, portworxVolume, projected, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume, ) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("awsElasticBlockStore"), awsElasticBlockStore) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("azureDisk"), azureDisk) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("azureFile"), azureFile) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("cephfs"), cephfs) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("cinder"), cinder) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("configMap"), configMap) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("csi"), csi) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("downwardAPI"), downwardAPI) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("emptyDir"), emptyDir) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("fc"), fc) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("flexVolume"), flexVolume) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("flocker"), flocker) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("gcePersistentDisk"), gcePersistentDisk) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("gitRepo"), gitRepo) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("glusterfs"), glusterfs) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("hostPath"), hostPath) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("iscsi"), iscsi) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("nfs"), nfs) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("persistentVolumeClaim"), persistentVolumeClaim) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("photonPersistentDisk"), photonPersistentDisk) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("portworxVolume"), portworxVolume) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("projected"), projected) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("quobyte"), quobyte) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("rbd"), rbd) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("scaleIO"), scaleIO) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("secret"), secret) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("storageos"), storageos) + OpenAPI.validate_property(IoK8sApiCoreV1Volume, Symbol("vsphereVolume"), vsphereVolume) + return new(awsElasticBlockStore, azureDisk, azureFile, cephfs, cinder, configMap, csi, downwardAPI, emptyDir, fc, flexVolume, flocker, gcePersistentDisk, gitRepo, glusterfs, hostPath, iscsi, name, nfs, persistentVolumeClaim, photonPersistentDisk, portworxVolume, projected, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume, ) + end +end # type IoK8sApiCoreV1Volume + +const _property_types_IoK8sApiCoreV1Volume = Dict{Symbol,String}(Symbol("awsElasticBlockStore")=>"IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", Symbol("azureDisk")=>"IoK8sApiCoreV1AzureDiskVolumeSource", Symbol("azureFile")=>"IoK8sApiCoreV1AzureFileVolumeSource", Symbol("cephfs")=>"IoK8sApiCoreV1CephFSVolumeSource", Symbol("cinder")=>"IoK8sApiCoreV1CinderVolumeSource", Symbol("configMap")=>"IoK8sApiCoreV1ConfigMapVolumeSource", Symbol("csi")=>"IoK8sApiCoreV1CSIVolumeSource", Symbol("downwardAPI")=>"IoK8sApiCoreV1DownwardAPIVolumeSource", Symbol("emptyDir")=>"IoK8sApiCoreV1EmptyDirVolumeSource", Symbol("fc")=>"IoK8sApiCoreV1FCVolumeSource", Symbol("flexVolume")=>"IoK8sApiCoreV1FlexVolumeSource", Symbol("flocker")=>"IoK8sApiCoreV1FlockerVolumeSource", Symbol("gcePersistentDisk")=>"IoK8sApiCoreV1GCEPersistentDiskVolumeSource", Symbol("gitRepo")=>"IoK8sApiCoreV1GitRepoVolumeSource", Symbol("glusterfs")=>"IoK8sApiCoreV1GlusterfsVolumeSource", Symbol("hostPath")=>"IoK8sApiCoreV1HostPathVolumeSource", Symbol("iscsi")=>"IoK8sApiCoreV1ISCSIVolumeSource", Symbol("name")=>"String", Symbol("nfs")=>"IoK8sApiCoreV1NFSVolumeSource", Symbol("persistentVolumeClaim")=>"IoK8sApiCoreV1PersistentVolumeClaimVolumeSource", Symbol("photonPersistentDisk")=>"IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", Symbol("portworxVolume")=>"IoK8sApiCoreV1PortworxVolumeSource", Symbol("projected")=>"IoK8sApiCoreV1ProjectedVolumeSource", Symbol("quobyte")=>"IoK8sApiCoreV1QuobyteVolumeSource", Symbol("rbd")=>"IoK8sApiCoreV1RBDVolumeSource", Symbol("scaleIO")=>"IoK8sApiCoreV1ScaleIOVolumeSource", Symbol("secret")=>"IoK8sApiCoreV1SecretVolumeSource", Symbol("storageos")=>"IoK8sApiCoreV1StorageOSVolumeSource", Symbol("vsphereVolume")=>"IoK8sApiCoreV1VsphereVirtualDiskVolumeSource", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1Volume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1Volume[name]))} + +function check_required(o::IoK8sApiCoreV1Volume) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1Volume }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeDevice.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeDevice.jl new file mode 100644 index 00000000..da418300 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeDevice.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.VolumeDevice +volumeDevice describes a mapping of a raw block device within a container. + + IoK8sApiCoreV1VolumeDevice(; + devicePath=nothing, + name=nothing, + ) + + - devicePath::String : devicePath is the path inside of the container that the device will be mapped to. + - name::String : name must match the name of a persistentVolumeClaim in the pod +""" +Base.@kwdef mutable struct IoK8sApiCoreV1VolumeDevice <: OpenAPI.APIModel + devicePath::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1VolumeDevice(devicePath, name, ) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeDevice, Symbol("devicePath"), devicePath) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeDevice, Symbol("name"), name) + return new(devicePath, name, ) + end +end # type IoK8sApiCoreV1VolumeDevice + +const _property_types_IoK8sApiCoreV1VolumeDevice = Dict{Symbol,String}(Symbol("devicePath")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1VolumeDevice }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeDevice[name]))} + +function check_required(o::IoK8sApiCoreV1VolumeDevice) + o.devicePath === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1VolumeDevice }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeMount.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeMount.jl new file mode 100644 index 00000000..23c0db53 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeMount.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.VolumeMount +VolumeMount describes a mounting of a Volume within a container. + + IoK8sApiCoreV1VolumeMount(; + mountPath=nothing, + mountPropagation=nothing, + name=nothing, + readOnly=nothing, + subPath=nothing, + subPathExpr=nothing, + ) + + - mountPath::String : Path within the container at which the volume should be mounted. Must not contain ':'. + - mountPropagation::String : mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. + - name::String : This must match the Name of a Volume. + - readOnly::Bool : Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. + - subPath::String : Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). + - subPathExpr::String : Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1VolumeMount <: OpenAPI.APIModel + mountPath::Union{Nothing, String} = nothing + mountPropagation::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + subPath::Union{Nothing, String} = nothing + subPathExpr::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1VolumeMount(mountPath, mountPropagation, name, readOnly, subPath, subPathExpr, ) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeMount, Symbol("mountPath"), mountPath) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeMount, Symbol("mountPropagation"), mountPropagation) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeMount, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeMount, Symbol("readOnly"), readOnly) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeMount, Symbol("subPath"), subPath) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeMount, Symbol("subPathExpr"), subPathExpr) + return new(mountPath, mountPropagation, name, readOnly, subPath, subPathExpr, ) + end +end # type IoK8sApiCoreV1VolumeMount + +const _property_types_IoK8sApiCoreV1VolumeMount = Dict{Symbol,String}(Symbol("mountPath")=>"String", Symbol("mountPropagation")=>"String", Symbol("name")=>"String", Symbol("readOnly")=>"Bool", Symbol("subPath")=>"String", Symbol("subPathExpr")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1VolumeMount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeMount[name]))} + +function check_required(o::IoK8sApiCoreV1VolumeMount) + o.mountPath === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1VolumeMount }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeNodeAffinity.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeNodeAffinity.jl new file mode 100644 index 00000000..6584ba26 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeNodeAffinity.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.VolumeNodeAffinity +VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. + + IoK8sApiCoreV1VolumeNodeAffinity(; + required=nothing, + ) + + - required::IoK8sApiCoreV1NodeSelector +""" +Base.@kwdef mutable struct IoK8sApiCoreV1VolumeNodeAffinity <: OpenAPI.APIModel + required = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1NodeSelector } + + function IoK8sApiCoreV1VolumeNodeAffinity(required, ) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeNodeAffinity, Symbol("required"), required) + return new(required, ) + end +end # type IoK8sApiCoreV1VolumeNodeAffinity + +const _property_types_IoK8sApiCoreV1VolumeNodeAffinity = Dict{Symbol,String}(Symbol("required")=>"IoK8sApiCoreV1NodeSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1VolumeNodeAffinity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeNodeAffinity[name]))} + +function check_required(o::IoK8sApiCoreV1VolumeNodeAffinity) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1VolumeNodeAffinity }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeProjection.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeProjection.jl new file mode 100644 index 00000000..da19725a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VolumeProjection.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.VolumeProjection +Projection that may be projected along with other supported volume types + + IoK8sApiCoreV1VolumeProjection(; + configMap=nothing, + downwardAPI=nothing, + secret=nothing, + serviceAccountToken=nothing, + ) + + - configMap::IoK8sApiCoreV1ConfigMapProjection + - downwardAPI::IoK8sApiCoreV1DownwardAPIProjection + - secret::IoK8sApiCoreV1SecretProjection + - serviceAccountToken::IoK8sApiCoreV1ServiceAccountTokenProjection +""" +Base.@kwdef mutable struct IoK8sApiCoreV1VolumeProjection <: OpenAPI.APIModel + configMap = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ConfigMapProjection } + downwardAPI = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1DownwardAPIProjection } + secret = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SecretProjection } + serviceAccountToken = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ServiceAccountTokenProjection } + + function IoK8sApiCoreV1VolumeProjection(configMap, downwardAPI, secret, serviceAccountToken, ) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("configMap"), configMap) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("downwardAPI"), downwardAPI) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("secret"), secret) + OpenAPI.validate_property(IoK8sApiCoreV1VolumeProjection, Symbol("serviceAccountToken"), serviceAccountToken) + return new(configMap, downwardAPI, secret, serviceAccountToken, ) + end +end # type IoK8sApiCoreV1VolumeProjection + +const _property_types_IoK8sApiCoreV1VolumeProjection = Dict{Symbol,String}(Symbol("configMap")=>"IoK8sApiCoreV1ConfigMapProjection", Symbol("downwardAPI")=>"IoK8sApiCoreV1DownwardAPIProjection", Symbol("secret")=>"IoK8sApiCoreV1SecretProjection", Symbol("serviceAccountToken")=>"IoK8sApiCoreV1ServiceAccountTokenProjection", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1VolumeProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VolumeProjection[name]))} + +function check_required(o::IoK8sApiCoreV1VolumeProjection) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1VolumeProjection }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl new file mode 100644 index 00000000..acfd11f3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource +Represents a vSphere volume resource. + + IoK8sApiCoreV1VsphereVirtualDiskVolumeSource(; + fsType=nothing, + storagePolicyID=nothing, + storagePolicyName=nothing, + volumePath=nothing, + ) + + - fsType::String : Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + - storagePolicyID::String : Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + - storagePolicyName::String : Storage Policy Based Management (SPBM) profile name. + - volumePath::String : Path that identifies vSphere volume vmdk +""" +Base.@kwdef mutable struct IoK8sApiCoreV1VsphereVirtualDiskVolumeSource <: OpenAPI.APIModel + fsType::Union{Nothing, String} = nothing + storagePolicyID::Union{Nothing, String} = nothing + storagePolicyName::Union{Nothing, String} = nothing + volumePath::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1VsphereVirtualDiskVolumeSource(fsType, storagePolicyID, storagePolicyName, volumePath, ) + OpenAPI.validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("fsType"), fsType) + OpenAPI.validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("storagePolicyID"), storagePolicyID) + OpenAPI.validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("storagePolicyName"), storagePolicyName) + OpenAPI.validate_property(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, Symbol("volumePath"), volumePath) + return new(fsType, storagePolicyID, storagePolicyName, volumePath, ) + end +end # type IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + +const _property_types_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource = Dict{Symbol,String}(Symbol("fsType")=>"String", Symbol("storagePolicyID")=>"String", Symbol("storagePolicyName")=>"String", Symbol("volumePath")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1VsphereVirtualDiskVolumeSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource[name]))} + +function check_required(o::IoK8sApiCoreV1VsphereVirtualDiskVolumeSource) + o.volumePath === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1VsphereVirtualDiskVolumeSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl new file mode 100644 index 00000000..794ed0fe --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1WeightedPodAffinityTerm.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.WeightedPodAffinityTerm +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) + + IoK8sApiCoreV1WeightedPodAffinityTerm(; + podAffinityTerm=nothing, + weight=nothing, + ) + + - podAffinityTerm::IoK8sApiCoreV1PodAffinityTerm + - weight::Int64 : weight associated with matching the corresponding podAffinityTerm, in the range 1-100. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1WeightedPodAffinityTerm <: OpenAPI.APIModel + podAffinityTerm = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodAffinityTerm } + weight::Union{Nothing, Int64} = nothing + + function IoK8sApiCoreV1WeightedPodAffinityTerm(podAffinityTerm, weight, ) + OpenAPI.validate_property(IoK8sApiCoreV1WeightedPodAffinityTerm, Symbol("podAffinityTerm"), podAffinityTerm) + OpenAPI.validate_property(IoK8sApiCoreV1WeightedPodAffinityTerm, Symbol("weight"), weight) + return new(podAffinityTerm, weight, ) + end +end # type IoK8sApiCoreV1WeightedPodAffinityTerm + +const _property_types_IoK8sApiCoreV1WeightedPodAffinityTerm = Dict{Symbol,String}(Symbol("podAffinityTerm")=>"IoK8sApiCoreV1PodAffinityTerm", Symbol("weight")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1WeightedPodAffinityTerm }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1WeightedPodAffinityTerm[name]))} + +function check_required(o::IoK8sApiCoreV1WeightedPodAffinityTerm) + o.podAffinityTerm === nothing && (return false) + o.weight === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1WeightedPodAffinityTerm }, name::Symbol, val) + if name === Symbol("weight") + OpenAPI.validate_param(name, "IoK8sApiCoreV1WeightedPodAffinityTerm", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl new file mode 100644 index 00000000..57d477e1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCoreV1WindowsSecurityContextOptions.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.core.v1.WindowsSecurityContextOptions +WindowsSecurityContextOptions contain Windows-specific options and credentials. + + IoK8sApiCoreV1WindowsSecurityContextOptions(; + gmsaCredentialSpec=nothing, + gmsaCredentialSpecName=nothing, + runAsUserName=nothing, + ) + + - gmsaCredentialSpec::String : GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag. + - gmsaCredentialSpecName::String : GMSACredentialSpecName is the name of the GMSA credential spec to use. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag. + - runAsUserName::String : The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag. +""" +Base.@kwdef mutable struct IoK8sApiCoreV1WindowsSecurityContextOptions <: OpenAPI.APIModel + gmsaCredentialSpec::Union{Nothing, String} = nothing + gmsaCredentialSpecName::Union{Nothing, String} = nothing + runAsUserName::Union{Nothing, String} = nothing + + function IoK8sApiCoreV1WindowsSecurityContextOptions(gmsaCredentialSpec, gmsaCredentialSpecName, runAsUserName, ) + OpenAPI.validate_property(IoK8sApiCoreV1WindowsSecurityContextOptions, Symbol("gmsaCredentialSpec"), gmsaCredentialSpec) + OpenAPI.validate_property(IoK8sApiCoreV1WindowsSecurityContextOptions, Symbol("gmsaCredentialSpecName"), gmsaCredentialSpecName) + OpenAPI.validate_property(IoK8sApiCoreV1WindowsSecurityContextOptions, Symbol("runAsUserName"), runAsUserName) + return new(gmsaCredentialSpec, gmsaCredentialSpecName, runAsUserName, ) + end +end # type IoK8sApiCoreV1WindowsSecurityContextOptions + +const _property_types_IoK8sApiCoreV1WindowsSecurityContextOptions = Dict{Symbol,String}(Symbol("gmsaCredentialSpec")=>"String", Symbol("gmsaCredentialSpecName")=>"String", Symbol("runAsUserName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiCoreV1WindowsSecurityContextOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1WindowsSecurityContextOptions[name]))} + +function check_required(o::IoK8sApiCoreV1WindowsSecurityContextOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCoreV1WindowsSecurityContextOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl b/src/ApiImpl/api/models/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl new file mode 100644 index 00000000..4f748249 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCustomMetricsV1beta1MetricValue.jl @@ -0,0 +1,61 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.custom.metrics.v1beta1.MetricValue +a metric value for some object + + IoK8sApiCustomMetricsV1beta1MetricValue(; + apiVersion=nothing, + describedObject=nothing, + kind=nothing, + metricName=nothing, + timestamp=nothing, + value=nothing, + windowSeconds=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - describedObject::IoK8sApiCoreV1ObjectReference + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metricName::String : the name of the metric + - timestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - value::String : Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + - windowSeconds::Int64 : indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics). +""" +Base.@kwdef mutable struct IoK8sApiCustomMetricsV1beta1MetricValue <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + describedObject = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + kind::Union{Nothing, String} = nothing + metricName::Union{Nothing, String} = nothing + timestamp::Union{Nothing, ZonedDateTime} = nothing + value::Union{Nothing, String} = nothing + windowSeconds::Union{Nothing, Int64} = nothing + + function IoK8sApiCustomMetricsV1beta1MetricValue(apiVersion, describedObject, kind, metricName, timestamp, value, windowSeconds, ) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("describedObject"), describedObject) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("metricName"), metricName) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("timestamp"), timestamp) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("value"), value) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValue, Symbol("windowSeconds"), windowSeconds) + return new(apiVersion, describedObject, kind, metricName, timestamp, value, windowSeconds, ) + end +end # type IoK8sApiCustomMetricsV1beta1MetricValue + +const _property_types_IoK8sApiCustomMetricsV1beta1MetricValue = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("describedObject")=>"IoK8sApiCoreV1ObjectReference", Symbol("kind")=>"String", Symbol("metricName")=>"String", Symbol("timestamp")=>"ZonedDateTime", Symbol("value")=>"String", Symbol("windowSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiCustomMetricsV1beta1MetricValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCustomMetricsV1beta1MetricValue[name]))} + +function check_required(o::IoK8sApiCustomMetricsV1beta1MetricValue) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCustomMetricsV1beta1MetricValue }, name::Symbol, val) + if name === Symbol("timestamp") + OpenAPI.validate_param(name, "IoK8sApiCustomMetricsV1beta1MetricValue", :format, val, "date-time") + end + if name === Symbol("windowSeconds") + OpenAPI.validate_param(name, "IoK8sApiCustomMetricsV1beta1MetricValue", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl b/src/ApiImpl/api/models/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl new file mode 100644 index 00000000..057cf84a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiCustomMetricsV1beta1MetricValueList.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.custom.metrics.v1beta1.MetricValueList +a list of values for a given metric for some set of objects + + IoK8sApiCustomMetricsV1beta1MetricValueList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiCustomMetricsV1beta1MetricValue} : the value of the metric across the described objects + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiCustomMetricsV1beta1MetricValueList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCustomMetricsV1beta1MetricValue} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiCustomMetricsV1beta1MetricValueList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiCustomMetricsV1beta1MetricValueList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiCustomMetricsV1beta1MetricValueList + +const _property_types_IoK8sApiCustomMetricsV1beta1MetricValueList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiCustomMetricsV1beta1MetricValue}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiCustomMetricsV1beta1MetricValueList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCustomMetricsV1beta1MetricValueList[name]))} + +function check_required(o::IoK8sApiCustomMetricsV1beta1MetricValueList) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiCustomMetricsV1beta1MetricValueList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1Endpoint.jl b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1Endpoint.jl new file mode 100644 index 00000000..f858cb3f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1Endpoint.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.discovery.v1beta1.Endpoint +Endpoint represents a single logical \"backend\" implementing a service. + + IoK8sApiDiscoveryV1beta1Endpoint(; + addresses=nothing, + conditions=nothing, + hostname=nothing, + targetRef=nothing, + topology=nothing, + ) + + - addresses::Vector{String} : addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. + - conditions::IoK8sApiDiscoveryV1beta1EndpointConditions + - hostname::String : hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation. + - targetRef::IoK8sApiCoreV1ObjectReference + - topology::Dict{String, String} : topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. +""" +Base.@kwdef mutable struct IoK8sApiDiscoveryV1beta1Endpoint <: OpenAPI.APIModel + addresses::Union{Nothing, Vector{String}} = nothing + conditions = nothing # spec type: Union{ Nothing, IoK8sApiDiscoveryV1beta1EndpointConditions } + hostname::Union{Nothing, String} = nothing + targetRef = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + topology::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiDiscoveryV1beta1Endpoint(addresses, conditions, hostname, targetRef, topology, ) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("addresses"), addresses) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("hostname"), hostname) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("targetRef"), targetRef) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1Endpoint, Symbol("topology"), topology) + return new(addresses, conditions, hostname, targetRef, topology, ) + end +end # type IoK8sApiDiscoveryV1beta1Endpoint + +const _property_types_IoK8sApiDiscoveryV1beta1Endpoint = Dict{Symbol,String}(Symbol("addresses")=>"Vector{String}", Symbol("conditions")=>"IoK8sApiDiscoveryV1beta1EndpointConditions", Symbol("hostname")=>"String", Symbol("targetRef")=>"IoK8sApiCoreV1ObjectReference", Symbol("topology")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiDiscoveryV1beta1Endpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1Endpoint[name]))} + +function check_required(o::IoK8sApiDiscoveryV1beta1Endpoint) + o.addresses === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiDiscoveryV1beta1Endpoint }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl new file mode 100644 index 00000000..eaf844b0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointConditions.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.discovery.v1beta1.EndpointConditions +EndpointConditions represents the current condition of an endpoint. + + IoK8sApiDiscoveryV1beta1EndpointConditions(; + ready=nothing, + ) + + - ready::Bool : ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. +""" +Base.@kwdef mutable struct IoK8sApiDiscoveryV1beta1EndpointConditions <: OpenAPI.APIModel + ready::Union{Nothing, Bool} = nothing + + function IoK8sApiDiscoveryV1beta1EndpointConditions(ready, ) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointConditions, Symbol("ready"), ready) + return new(ready, ) + end +end # type IoK8sApiDiscoveryV1beta1EndpointConditions + +const _property_types_IoK8sApiDiscoveryV1beta1EndpointConditions = Dict{Symbol,String}(Symbol("ready")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointConditions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointConditions[name]))} + +function check_required(o::IoK8sApiDiscoveryV1beta1EndpointConditions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointConditions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl new file mode 100644 index 00000000..a681c0ca --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointPort.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.discovery.v1beta1.EndpointPort +EndpointPort represents a Port used by an EndpointSlice + + IoK8sApiDiscoveryV1beta1EndpointPort(; + appProtocol=nothing, + name=nothing, + port=nothing, + protocol=nothing, + ) + + - appProtocol::String : The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string. + - name::String : The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. + - port::Int64 : The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. + - protocol::String : The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +""" +Base.@kwdef mutable struct IoK8sApiDiscoveryV1beta1EndpointPort <: OpenAPI.APIModel + appProtocol::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + + function IoK8sApiDiscoveryV1beta1EndpointPort(appProtocol, name, port, protocol, ) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("appProtocol"), appProtocol) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("port"), port) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointPort, Symbol("protocol"), protocol) + return new(appProtocol, name, port, protocol, ) + end +end # type IoK8sApiDiscoveryV1beta1EndpointPort + +const _property_types_IoK8sApiDiscoveryV1beta1EndpointPort = Dict{Symbol,String}(Symbol("appProtocol")=>"String", Symbol("name")=>"String", Symbol("port")=>"Int64", Symbol("protocol")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointPort[name]))} + +function check_required(o::IoK8sApiDiscoveryV1beta1EndpointPort) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointPort }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiDiscoveryV1beta1EndpointPort", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl new file mode 100644 index 00000000..8c61af56 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointSlice.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.discovery.v1beta1.EndpointSlice +EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints. + + IoK8sApiDiscoveryV1beta1EndpointSlice(; + addressType=nothing, + apiVersion=nothing, + endpoints=nothing, + kind=nothing, + metadata=nothing, + ports=nothing, + ) + + - addressType::String : addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - endpoints::Vector{IoK8sApiDiscoveryV1beta1Endpoint} : endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - ports::Vector{IoK8sApiDiscoveryV1beta1EndpointPort} : ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. +""" +Base.@kwdef mutable struct IoK8sApiDiscoveryV1beta1EndpointSlice <: OpenAPI.APIModel + addressType::Union{Nothing, String} = nothing + apiVersion::Union{Nothing, String} = nothing + endpoints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiDiscoveryV1beta1Endpoint} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiDiscoveryV1beta1EndpointPort} } + + function IoK8sApiDiscoveryV1beta1EndpointSlice(addressType, apiVersion, endpoints, kind, metadata, ports, ) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("addressType"), addressType) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("endpoints"), endpoints) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSlice, Symbol("ports"), ports) + return new(addressType, apiVersion, endpoints, kind, metadata, ports, ) + end +end # type IoK8sApiDiscoveryV1beta1EndpointSlice + +const _property_types_IoK8sApiDiscoveryV1beta1EndpointSlice = Dict{Symbol,String}(Symbol("addressType")=>"String", Symbol("apiVersion")=>"String", Symbol("endpoints")=>"Vector{IoK8sApiDiscoveryV1beta1Endpoint}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("ports")=>"Vector{IoK8sApiDiscoveryV1beta1EndpointPort}", ) +OpenAPI.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointSlice }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointSlice[name]))} + +function check_required(o::IoK8sApiDiscoveryV1beta1EndpointSlice) + o.addressType === nothing && (return false) + o.endpoints === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointSlice }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl new file mode 100644 index 00000000..4c02eb8c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiDiscoveryV1beta1EndpointSliceList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.discovery.v1beta1.EndpointSliceList +EndpointSliceList represents a list of endpoint slices + + IoK8sApiDiscoveryV1beta1EndpointSliceList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiDiscoveryV1beta1EndpointSlice} : List of endpoint slices + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiDiscoveryV1beta1EndpointSliceList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiDiscoveryV1beta1EndpointSlice} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiDiscoveryV1beta1EndpointSliceList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiDiscoveryV1beta1EndpointSliceList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiDiscoveryV1beta1EndpointSliceList + +const _property_types_IoK8sApiDiscoveryV1beta1EndpointSliceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiDiscoveryV1beta1EndpointSlice}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiDiscoveryV1beta1EndpointSliceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiDiscoveryV1beta1EndpointSliceList[name]))} + +function check_required(o::IoK8sApiDiscoveryV1beta1EndpointSliceList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiDiscoveryV1beta1EndpointSliceList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1Event.jl b/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1Event.jl new file mode 100644 index 00000000..6797953c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1Event.jl @@ -0,0 +1,108 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.events.v1beta1.Event +Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. + + IoK8sApiEventsV1beta1Event(; + action=nothing, + apiVersion=nothing, + deprecatedCount=nothing, + deprecatedFirstTimestamp=nothing, + deprecatedLastTimestamp=nothing, + deprecatedSource=nothing, + eventTime=nothing, + kind=nothing, + metadata=nothing, + note=nothing, + reason=nothing, + regarding=nothing, + related=nothing, + reportingController=nothing, + reportingInstance=nothing, + series=nothing, + type=nothing, + ) + + - action::String : What action was taken/failed regarding to the regarding object. + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - deprecatedCount::Int64 : Deprecated field assuring backward compatibility with core.v1 Event type + - deprecatedFirstTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - deprecatedLastTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - deprecatedSource::IoK8sApiCoreV1EventSource + - eventTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - note::String : Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. + - reason::String : Why the action was taken. + - regarding::IoK8sApiCoreV1ObjectReference + - related::IoK8sApiCoreV1ObjectReference + - reportingController::String : Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + - reportingInstance::String : ID of the controller instance, e.g. `kubelet-xyzf`. + - series::IoK8sApiEventsV1beta1EventSeries + - type::String : Type of this event (Normal, Warning), new types could be added in the future. +""" +Base.@kwdef mutable struct IoK8sApiEventsV1beta1Event <: OpenAPI.APIModel + action::Union{Nothing, String} = nothing + apiVersion::Union{Nothing, String} = nothing + deprecatedCount::Union{Nothing, Int64} = nothing + deprecatedFirstTimestamp::Union{Nothing, ZonedDateTime} = nothing + deprecatedLastTimestamp::Union{Nothing, ZonedDateTime} = nothing + deprecatedSource = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1EventSource } + eventTime::Union{Nothing, ZonedDateTime} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + note::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + regarding = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + related = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1ObjectReference } + reportingController::Union{Nothing, String} = nothing + reportingInstance::Union{Nothing, String} = nothing + series = nothing # spec type: Union{ Nothing, IoK8sApiEventsV1beta1EventSeries } + type::Union{Nothing, String} = nothing + + function IoK8sApiEventsV1beta1Event(action, apiVersion, deprecatedCount, deprecatedFirstTimestamp, deprecatedLastTimestamp, deprecatedSource, eventTime, kind, metadata, note, reason, regarding, related, reportingController, reportingInstance, series, type, ) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("action"), action) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedCount"), deprecatedCount) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedFirstTimestamp"), deprecatedFirstTimestamp) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedLastTimestamp"), deprecatedLastTimestamp) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("deprecatedSource"), deprecatedSource) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("eventTime"), eventTime) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("note"), note) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("regarding"), regarding) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("related"), related) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("reportingController"), reportingController) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("reportingInstance"), reportingInstance) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("series"), series) + OpenAPI.validate_property(IoK8sApiEventsV1beta1Event, Symbol("type"), type) + return new(action, apiVersion, deprecatedCount, deprecatedFirstTimestamp, deprecatedLastTimestamp, deprecatedSource, eventTime, kind, metadata, note, reason, regarding, related, reportingController, reportingInstance, series, type, ) + end +end # type IoK8sApiEventsV1beta1Event + +const _property_types_IoK8sApiEventsV1beta1Event = Dict{Symbol,String}(Symbol("action")=>"String", Symbol("apiVersion")=>"String", Symbol("deprecatedCount")=>"Int64", Symbol("deprecatedFirstTimestamp")=>"ZonedDateTime", Symbol("deprecatedLastTimestamp")=>"ZonedDateTime", Symbol("deprecatedSource")=>"IoK8sApiCoreV1EventSource", Symbol("eventTime")=>"ZonedDateTime", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("note")=>"String", Symbol("reason")=>"String", Symbol("regarding")=>"IoK8sApiCoreV1ObjectReference", Symbol("related")=>"IoK8sApiCoreV1ObjectReference", Symbol("reportingController")=>"String", Symbol("reportingInstance")=>"String", Symbol("series")=>"IoK8sApiEventsV1beta1EventSeries", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiEventsV1beta1Event }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiEventsV1beta1Event[name]))} + +function check_required(o::IoK8sApiEventsV1beta1Event) + o.eventTime === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiEventsV1beta1Event }, name::Symbol, val) + if name === Symbol("deprecatedCount") + OpenAPI.validate_param(name, "IoK8sApiEventsV1beta1Event", :format, val, "int32") + end + if name === Symbol("deprecatedFirstTimestamp") + OpenAPI.validate_param(name, "IoK8sApiEventsV1beta1Event", :format, val, "date-time") + end + if name === Symbol("deprecatedLastTimestamp") + OpenAPI.validate_param(name, "IoK8sApiEventsV1beta1Event", :format, val, "date-time") + end + if name === Symbol("eventTime") + OpenAPI.validate_param(name, "IoK8sApiEventsV1beta1Event", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1EventList.jl b/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1EventList.jl new file mode 100644 index 00000000..c86b3784 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1EventList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.events.v1beta1.EventList +EventList is a list of Event objects. + + IoK8sApiEventsV1beta1EventList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiEventsV1beta1Event} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiEventsV1beta1EventList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiEventsV1beta1Event} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiEventsV1beta1EventList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiEventsV1beta1EventList + +const _property_types_IoK8sApiEventsV1beta1EventList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiEventsV1beta1Event}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiEventsV1beta1EventList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiEventsV1beta1EventList[name]))} + +function check_required(o::IoK8sApiEventsV1beta1EventList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiEventsV1beta1EventList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1EventSeries.jl b/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1EventSeries.jl new file mode 100644 index 00000000..bc14e463 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiEventsV1beta1EventSeries.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.events.v1beta1.EventSeries +EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. + + IoK8sApiEventsV1beta1EventSeries(; + count=nothing, + lastObservedTime=nothing, + state=nothing, + ) + + - count::Int64 : Number of occurrences in this series up to the last heartbeat time + - lastObservedTime::ZonedDateTime : MicroTime is version of Time with microsecond level precision. + - state::String : Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18 +""" +Base.@kwdef mutable struct IoK8sApiEventsV1beta1EventSeries <: OpenAPI.APIModel + count::Union{Nothing, Int64} = nothing + lastObservedTime::Union{Nothing, ZonedDateTime} = nothing + state::Union{Nothing, String} = nothing + + function IoK8sApiEventsV1beta1EventSeries(count, lastObservedTime, state, ) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventSeries, Symbol("count"), count) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventSeries, Symbol("lastObservedTime"), lastObservedTime) + OpenAPI.validate_property(IoK8sApiEventsV1beta1EventSeries, Symbol("state"), state) + return new(count, lastObservedTime, state, ) + end +end # type IoK8sApiEventsV1beta1EventSeries + +const _property_types_IoK8sApiEventsV1beta1EventSeries = Dict{Symbol,String}(Symbol("count")=>"Int64", Symbol("lastObservedTime")=>"ZonedDateTime", Symbol("state")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiEventsV1beta1EventSeries }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiEventsV1beta1EventSeries[name]))} + +function check_required(o::IoK8sApiEventsV1beta1EventSeries) + o.count === nothing && (return false) + o.lastObservedTime === nothing && (return false) + o.state === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiEventsV1beta1EventSeries }, name::Symbol, val) + if name === Symbol("count") + OpenAPI.validate_param(name, "IoK8sApiEventsV1beta1EventSeries", :format, val, "int32") + end + if name === Symbol("lastObservedTime") + OpenAPI.validate_param(name, "IoK8sApiEventsV1beta1EventSeries", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl new file mode 100644 index 00000000..029a0762 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedCSIDriver.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.AllowedCSIDriver +AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used. + + IoK8sApiExtensionsV1beta1AllowedCSIDriver(; + name=nothing, + ) + + - name::String : Name is the registered name of the CSI driver +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1AllowedCSIDriver <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1AllowedCSIDriver(name, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1AllowedCSIDriver, Symbol("name"), name) + return new(name, ) + end +end # type IoK8sApiExtensionsV1beta1AllowedCSIDriver + +const _property_types_IoK8sApiExtensionsV1beta1AllowedCSIDriver = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1AllowedCSIDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1AllowedCSIDriver[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1AllowedCSIDriver) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1AllowedCSIDriver }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl new file mode 100644 index 00000000..1c20519d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedFlexVolume.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.AllowedFlexVolume +AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead. + + IoK8sApiExtensionsV1beta1AllowedFlexVolume(; + driver=nothing, + ) + + - driver::String : driver is the name of the Flexvolume driver. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1AllowedFlexVolume <: OpenAPI.APIModel + driver::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1AllowedFlexVolume(driver, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1AllowedFlexVolume, Symbol("driver"), driver) + return new(driver, ) + end +end # type IoK8sApiExtensionsV1beta1AllowedFlexVolume + +const _property_types_IoK8sApiExtensionsV1beta1AllowedFlexVolume = Dict{Symbol,String}(Symbol("driver")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1AllowedFlexVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1AllowedFlexVolume[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1AllowedFlexVolume) + o.driver === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1AllowedFlexVolume }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl new file mode 100644 index 00000000..685fd3e8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1AllowedHostPath.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.AllowedHostPath +AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead. + + IoK8sApiExtensionsV1beta1AllowedHostPath(; + pathPrefix=nothing, + readOnly=nothing, + ) + + - pathPrefix::String : pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + - readOnly::Bool : when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1AllowedHostPath <: OpenAPI.APIModel + pathPrefix::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiExtensionsV1beta1AllowedHostPath(pathPrefix, readOnly, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1AllowedHostPath, Symbol("pathPrefix"), pathPrefix) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1AllowedHostPath, Symbol("readOnly"), readOnly) + return new(pathPrefix, readOnly, ) + end +end # type IoK8sApiExtensionsV1beta1AllowedHostPath + +const _property_types_IoK8sApiExtensionsV1beta1AllowedHostPath = Dict{Symbol,String}(Symbol("pathPrefix")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1AllowedHostPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1AllowedHostPath[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1AllowedHostPath) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1AllowedHostPath }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSet.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSet.jl new file mode 100644 index 00000000..d2ab26c0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DaemonSet +DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. + + IoK8sApiExtensionsV1beta1DaemonSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1DaemonSetSpec + - status::IoK8sApiExtensionsV1beta1DaemonSetStatus +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DaemonSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DaemonSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DaemonSetStatus } + + function IoK8sApiExtensionsV1beta1DaemonSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiExtensionsV1beta1DaemonSet + +const _property_types_IoK8sApiExtensionsV1beta1DaemonSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1DaemonSetSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1DaemonSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSet[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DaemonSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl new file mode 100644 index 00000000..0bec6485 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DaemonSetCondition +DaemonSetCondition describes the state of a DaemonSet at a certain point. + + IoK8sApiExtensionsV1beta1DaemonSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of DaemonSet condition. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DaemonSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1DaemonSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiExtensionsV1beta1DaemonSetCondition + +const _property_types_IoK8sApiExtensionsV1beta1DaemonSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetCondition[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl new file mode 100644 index 00000000..8566252b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DaemonSetList +DaemonSetList is a collection of daemon sets. + + IoK8sApiExtensionsV1beta1DaemonSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiExtensionsV1beta1DaemonSet} : A list of daemon sets. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DaemonSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1DaemonSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiExtensionsV1beta1DaemonSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiExtensionsV1beta1DaemonSetList + +const _property_types_IoK8sApiExtensionsV1beta1DaemonSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1DaemonSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetList[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl new file mode 100644 index 00000000..b34506e5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetSpec.jl @@ -0,0 +1,61 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DaemonSetSpec +DaemonSetSpec is the specification of a daemon set. + + IoK8sApiExtensionsV1beta1DaemonSetSpec(; + minReadySeconds=nothing, + revisionHistoryLimit=nothing, + selector=nothing, + template=nothing, + templateGeneration=nothing, + updateStrategy=nothing, + ) + + - minReadySeconds::Int64 : The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). + - revisionHistoryLimit::Int64 : The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec + - templateGeneration::Int64 : DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. + - updateStrategy::IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DaemonSetSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + templateGeneration::Union{Nothing, Int64} = nothing + updateStrategy = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy } + + function IoK8sApiExtensionsV1beta1DaemonSetSpec(minReadySeconds, revisionHistoryLimit, selector, template, templateGeneration, updateStrategy, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("template"), template) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("templateGeneration"), templateGeneration) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetSpec, Symbol("updateStrategy"), updateStrategy) + return new(minReadySeconds, revisionHistoryLimit, selector, template, templateGeneration, updateStrategy, ) + end +end # type IoK8sApiExtensionsV1beta1DaemonSetSpec + +const _property_types_IoK8sApiExtensionsV1beta1DaemonSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", Symbol("templateGeneration")=>"Int64", Symbol("updateStrategy")=>"IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetSpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetSpec) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetSpec", :format, val, "int32") + end + if name === Symbol("templateGeneration") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetSpec", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl new file mode 100644 index 00000000..2cf53ebf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetStatus.jl @@ -0,0 +1,98 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DaemonSetStatus +DaemonSetStatus represents the current status of a daemon set. + + IoK8sApiExtensionsV1beta1DaemonSetStatus(; + collisionCount=nothing, + conditions=nothing, + currentNumberScheduled=nothing, + desiredNumberScheduled=nothing, + numberAvailable=nothing, + numberMisscheduled=nothing, + numberReady=nothing, + numberUnavailable=nothing, + observedGeneration=nothing, + updatedNumberScheduled=nothing, + ) + + - collisionCount::Int64 : Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + - conditions::Vector{IoK8sApiExtensionsV1beta1DaemonSetCondition} : Represents the latest available observations of a DaemonSet's current state. + - currentNumberScheduled::Int64 : The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - desiredNumberScheduled::Int64 : The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - numberAvailable::Int64 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) + - numberMisscheduled::Int64 : The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + - numberReady::Int64 : The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. + - numberUnavailable::Int64 : The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) + - observedGeneration::Int64 : The most recent generation observed by the daemon set controller. + - updatedNumberScheduled::Int64 : The total number of nodes that are running updated daemon pod +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DaemonSetStatus <: OpenAPI.APIModel + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1DaemonSetCondition} } + currentNumberScheduled::Union{Nothing, Int64} = nothing + desiredNumberScheduled::Union{Nothing, Int64} = nothing + numberAvailable::Union{Nothing, Int64} = nothing + numberMisscheduled::Union{Nothing, Int64} = nothing + numberReady::Union{Nothing, Int64} = nothing + numberUnavailable::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + updatedNumberScheduled::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1DaemonSetStatus(collisionCount, conditions, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("currentNumberScheduled"), currentNumberScheduled) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("desiredNumberScheduled"), desiredNumberScheduled) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberAvailable"), numberAvailable) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberMisscheduled"), numberMisscheduled) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberReady"), numberReady) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("numberUnavailable"), numberUnavailable) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetStatus, Symbol("updatedNumberScheduled"), updatedNumberScheduled) + return new(collisionCount, conditions, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled, ) + end +end # type IoK8sApiExtensionsV1beta1DaemonSetStatus + +const _property_types_IoK8sApiExtensionsV1beta1DaemonSetStatus = Dict{Symbol,String}(Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiExtensionsV1beta1DaemonSetCondition}", Symbol("currentNumberScheduled")=>"Int64", Symbol("desiredNumberScheduled")=>"Int64", Symbol("numberAvailable")=>"Int64", Symbol("numberMisscheduled")=>"Int64", Symbol("numberReady")=>"Int64", Symbol("numberUnavailable")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("updatedNumberScheduled")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetStatus[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetStatus) + o.currentNumberScheduled === nothing && (return false) + o.desiredNumberScheduled === nothing && (return false) + o.numberMisscheduled === nothing && (return false) + o.numberReady === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetStatus }, name::Symbol, val) + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("currentNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("desiredNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberAvailable") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberMisscheduled") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberReady") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("numberUnavailable") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int64") + end + if name === Symbol("updatedNumberScheduled") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DaemonSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl new file mode 100644 index 00000000..c4315cf2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DaemonSetUpdateStrategy + + IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet + - type::String : Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet } + type::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy + +const _property_types_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Deployment.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Deployment.jl new file mode 100644 index 00000000..4d8eff07 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Deployment.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.Deployment +DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. + + IoK8sApiExtensionsV1beta1Deployment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1DeploymentSpec + - status::IoK8sApiExtensionsV1beta1DeploymentStatus +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1Deployment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DeploymentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DeploymentStatus } + + function IoK8sApiExtensionsV1beta1Deployment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Deployment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiExtensionsV1beta1Deployment + +const _property_types_IoK8sApiExtensionsV1beta1Deployment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1DeploymentSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1DeploymentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1Deployment[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1Deployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1Deployment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl new file mode 100644 index 00000000..45da6cc5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentCondition.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DeploymentCondition +DeploymentCondition describes the state of a deployment at a certain point. + + IoK8sApiExtensionsV1beta1DeploymentCondition(; + lastTransitionTime=nothing, + lastUpdateTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - lastUpdateTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of deployment condition. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DeploymentCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + lastUpdateTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1DeploymentCondition(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("lastUpdateTime"), lastUpdateTime) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentCondition, Symbol("type"), type) + return new(lastTransitionTime, lastUpdateTime, message, reason, status, type, ) + end +end # type IoK8sApiExtensionsV1beta1DeploymentCondition + +const _property_types_IoK8sApiExtensionsV1beta1DeploymentCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("lastUpdateTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentCondition[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DeploymentCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentCondition", :format, val, "date-time") + end + if name === Symbol("lastUpdateTime") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentList.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentList.jl new file mode 100644 index 00000000..a73fcd19 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DeploymentList +DeploymentList is a list of Deployments. + + IoK8sApiExtensionsV1beta1DeploymentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiExtensionsV1beta1Deployment} : Items is the list of Deployments. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DeploymentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1Deployment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiExtensionsV1beta1DeploymentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiExtensionsV1beta1DeploymentList + +const _property_types_IoK8sApiExtensionsV1beta1DeploymentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1Deployment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentList[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DeploymentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl new file mode 100644 index 00000000..2ef2d62c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentRollback.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DeploymentRollback +DEPRECATED. DeploymentRollback stores the information required to rollback a deployment. + + IoK8sApiExtensionsV1beta1DeploymentRollback(; + apiVersion=nothing, + kind=nothing, + name=nothing, + rollbackTo=nothing, + updatedAnnotations=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : Required: This must match the Name of a deployment. + - rollbackTo::IoK8sApiExtensionsV1beta1RollbackConfig + - updatedAnnotations::Dict{String, String} : The annotations to be updated to a deployment +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DeploymentRollback <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + rollbackTo = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollbackConfig } + updatedAnnotations::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiExtensionsV1beta1DeploymentRollback(apiVersion, kind, name, rollbackTo, updatedAnnotations, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("rollbackTo"), rollbackTo) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentRollback, Symbol("updatedAnnotations"), updatedAnnotations) + return new(apiVersion, kind, name, rollbackTo, updatedAnnotations, ) + end +end # type IoK8sApiExtensionsV1beta1DeploymentRollback + +const _property_types_IoK8sApiExtensionsV1beta1DeploymentRollback = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("rollbackTo")=>"IoK8sApiExtensionsV1beta1RollbackConfig", Symbol("updatedAnnotations")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentRollback }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentRollback[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DeploymentRollback) + o.name === nothing && (return false) + o.rollbackTo === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentRollback }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl new file mode 100644 index 00000000..a67881a8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentSpec.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DeploymentSpec +DeploymentSpec is the specification of the desired behavior of the Deployment. + + IoK8sApiExtensionsV1beta1DeploymentSpec(; + minReadySeconds=nothing, + paused=nothing, + progressDeadlineSeconds=nothing, + replicas=nothing, + revisionHistoryLimit=nothing, + rollbackTo=nothing, + selector=nothing, + strategy=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - paused::Bool : Indicates that the deployment is paused and will not be processed by the deployment controller. + - progressDeadlineSeconds::Int64 : The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\". + - replicas::Int64 : Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + - revisionHistoryLimit::Int64 : The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". + - rollbackTo::IoK8sApiExtensionsV1beta1RollbackConfig + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - strategy::IoK8sApiExtensionsV1beta1DeploymentStrategy + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DeploymentSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + paused::Union{Nothing, Bool} = nothing + progressDeadlineSeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + revisionHistoryLimit::Union{Nothing, Int64} = nothing + rollbackTo = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollbackConfig } + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + strategy = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1DeploymentStrategy } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiExtensionsV1beta1DeploymentSpec(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, rollbackTo, selector, strategy, template, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("paused"), paused) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("progressDeadlineSeconds"), progressDeadlineSeconds) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("revisionHistoryLimit"), revisionHistoryLimit) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("rollbackTo"), rollbackTo) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("strategy"), strategy) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentSpec, Symbol("template"), template) + return new(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, rollbackTo, selector, strategy, template, ) + end +end # type IoK8sApiExtensionsV1beta1DeploymentSpec + +const _property_types_IoK8sApiExtensionsV1beta1DeploymentSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("paused")=>"Bool", Symbol("progressDeadlineSeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("revisionHistoryLimit")=>"Int64", Symbol("rollbackTo")=>"IoK8sApiExtensionsV1beta1RollbackConfig", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("strategy")=>"IoK8sApiExtensionsV1beta1DeploymentStrategy", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentSpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DeploymentSpec) + o.template === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("progressDeadlineSeconds") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentSpec", :format, val, "int32") + end + if name === Symbol("revisionHistoryLimit") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl new file mode 100644 index 00000000..a59a4148 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentStatus.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DeploymentStatus +DeploymentStatus is the most recently observed status of the Deployment. + + IoK8sApiExtensionsV1beta1DeploymentStatus(; + availableReplicas=nothing, + collisionCount=nothing, + conditions=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + unavailableReplicas=nothing, + updatedReplicas=nothing, + ) + + - availableReplicas::Int64 : Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + - collisionCount::Int64 : Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + - conditions::Vector{IoK8sApiExtensionsV1beta1DeploymentCondition} : Represents the latest available observations of a deployment's current state. + - observedGeneration::Int64 : The generation observed by the deployment controller. + - readyReplicas::Int64 : Total number of ready pods targeted by this deployment. + - replicas::Int64 : Total number of non-terminated pods targeted by this deployment (their labels match the selector). + - unavailableReplicas::Int64 : Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. + - updatedReplicas::Int64 : Total number of non-terminated pods targeted by this deployment that have the desired template spec. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DeploymentStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + collisionCount::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1DeploymentCondition} } + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + unavailableReplicas::Union{Nothing, Int64} = nothing + updatedReplicas::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1DeploymentStatus(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("collisionCount"), collisionCount) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("unavailableReplicas"), unavailableReplicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStatus, Symbol("updatedReplicas"), updatedReplicas) + return new(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas, ) + end +end # type IoK8sApiExtensionsV1beta1DeploymentStatus + +const _property_types_IoK8sApiExtensionsV1beta1DeploymentStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("collisionCount")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiExtensionsV1beta1DeploymentCondition}", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", Symbol("unavailableReplicas")=>"Int64", Symbol("updatedReplicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentStatus[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DeploymentStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("collisionCount") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("unavailableReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int32") + end + if name === Symbol("updatedReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1DeploymentStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl new file mode 100644 index 00000000..1a3c1dff --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1DeploymentStrategy.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.DeploymentStrategy +DeploymentStrategy describes how to replace existing pods with new ones. + + IoK8sApiExtensionsV1beta1DeploymentStrategy(; + rollingUpdate=nothing, + type=nothing, + ) + + - rollingUpdate::IoK8sApiExtensionsV1beta1RollingUpdateDeployment + - type::String : Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1DeploymentStrategy <: OpenAPI.APIModel + rollingUpdate = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RollingUpdateDeployment } + type::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1DeploymentStrategy(rollingUpdate, type, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStrategy, Symbol("rollingUpdate"), rollingUpdate) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1DeploymentStrategy, Symbol("type"), type) + return new(rollingUpdate, type, ) + end +end # type IoK8sApiExtensionsV1beta1DeploymentStrategy + +const _property_types_IoK8sApiExtensionsV1beta1DeploymentStrategy = Dict{Symbol,String}(Symbol("rollingUpdate")=>"IoK8sApiExtensionsV1beta1RollingUpdateDeployment", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1DeploymentStrategy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1DeploymentStrategy[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1DeploymentStrategy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1DeploymentStrategy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl new file mode 100644 index 00000000..84d1e0bf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions +FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead. + + IoK8sApiExtensionsV1beta1FSGroupStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1FSGroupStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1FSGroupStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1FSGroupStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1FSGroupStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiExtensionsV1beta1FSGroupStrategyOptions + +const _property_types_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1FSGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1FSGroupStrategyOptions[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1FSGroupStrategyOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1FSGroupStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl new file mode 100644 index 00000000..009e9f2c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HTTPIngressPath.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.HTTPIngressPath +HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend. + + IoK8sApiExtensionsV1beta1HTTPIngressPath(; + backend=nothing, + path=nothing, + ) + + - backend::IoK8sApiExtensionsV1beta1IngressBackend + - path::String : Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1HTTPIngressPath <: OpenAPI.APIModel + backend = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressBackend } + path::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1HTTPIngressPath(backend, path, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1HTTPIngressPath, Symbol("backend"), backend) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1HTTPIngressPath, Symbol("path"), path) + return new(backend, path, ) + end +end # type IoK8sApiExtensionsV1beta1HTTPIngressPath + +const _property_types_IoK8sApiExtensionsV1beta1HTTPIngressPath = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiExtensionsV1beta1IngressBackend", Symbol("path")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1HTTPIngressPath[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1HTTPIngressPath) + o.backend === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressPath }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl new file mode 100644 index 00000000..a0c68cd6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue +HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. + + IoK8sApiExtensionsV1beta1HTTPIngressRuleValue(; + paths=nothing, + ) + + - paths::Vector{IoK8sApiExtensionsV1beta1HTTPIngressPath} : A collection of paths that map requests to backends. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1HTTPIngressRuleValue <: OpenAPI.APIModel + paths::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1HTTPIngressPath} } + + function IoK8sApiExtensionsV1beta1HTTPIngressRuleValue(paths, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1HTTPIngressRuleValue, Symbol("paths"), paths) + return new(paths, ) + end +end # type IoK8sApiExtensionsV1beta1HTTPIngressRuleValue + +const _property_types_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue = Dict{Symbol,String}(Symbol("paths")=>"Vector{IoK8sApiExtensionsV1beta1HTTPIngressPath}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressRuleValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1HTTPIngressRuleValue[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1HTTPIngressRuleValue) + o.paths === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1HTTPIngressRuleValue }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HostPortRange.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HostPortRange.jl new file mode 100644 index 00000000..b41a6ca4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1HostPortRange.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.HostPortRange +HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead. + + IoK8sApiExtensionsV1beta1HostPortRange(; + max=nothing, + min=nothing, + ) + + - max::Int64 : max is the end of the range, inclusive. + - min::Int64 : min is the start of the range, inclusive. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1HostPortRange <: OpenAPI.APIModel + max::Union{Nothing, Int64} = nothing + min::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1HostPortRange(max, min, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1HostPortRange, Symbol("max"), max) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1HostPortRange, Symbol("min"), min) + return new(max, min, ) + end +end # type IoK8sApiExtensionsV1beta1HostPortRange + +const _property_types_IoK8sApiExtensionsV1beta1HostPortRange = Dict{Symbol,String}(Symbol("max")=>"Int64", Symbol("min")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1HostPortRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1HostPortRange[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1HostPortRange) + o.max === nothing && (return false) + o.min === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1HostPortRange }, name::Symbol, val) + if name === Symbol("max") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1HostPortRange", :format, val, "int32") + end + if name === Symbol("min") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1HostPortRange", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IDRange.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IDRange.jl new file mode 100644 index 00000000..795916fa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IDRange.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IDRange +IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead. + + IoK8sApiExtensionsV1beta1IDRange(; + max=nothing, + min=nothing, + ) + + - max::Int64 : max is the end of the range, inclusive. + - min::Int64 : min is the start of the range, inclusive. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IDRange <: OpenAPI.APIModel + max::Union{Nothing, Int64} = nothing + min::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1IDRange(max, min, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IDRange, Symbol("max"), max) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IDRange, Symbol("min"), min) + return new(max, min, ) + end +end # type IoK8sApiExtensionsV1beta1IDRange + +const _property_types_IoK8sApiExtensionsV1beta1IDRange = Dict{Symbol,String}(Symbol("max")=>"Int64", Symbol("min")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IDRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IDRange[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IDRange) + o.max === nothing && (return false) + o.min === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IDRange }, name::Symbol, val) + if name === Symbol("max") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1IDRange", :format, val, "int64") + end + if name === Symbol("min") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1IDRange", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IPBlock.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IPBlock.jl new file mode 100644 index 00000000..786c3cad --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IPBlock.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IPBlock +DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. + + IoK8sApiExtensionsV1beta1IPBlock(; + cidr=nothing, + except=nothing, + ) + + - cidr::String : CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" + - except::Vector{String} : Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IPBlock <: OpenAPI.APIModel + cidr::Union{Nothing, String} = nothing + except::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiExtensionsV1beta1IPBlock(cidr, except, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IPBlock, Symbol("cidr"), cidr) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IPBlock, Symbol("except"), except) + return new(cidr, except, ) + end +end # type IoK8sApiExtensionsV1beta1IPBlock + +const _property_types_IoK8sApiExtensionsV1beta1IPBlock = Dict{Symbol,String}(Symbol("cidr")=>"String", Symbol("except")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IPBlock }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IPBlock[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IPBlock) + o.cidr === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IPBlock }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Ingress.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Ingress.jl new file mode 100644 index 00000000..ad9b9b22 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Ingress.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.Ingress +Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information. + + IoK8sApiExtensionsV1beta1Ingress(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1IngressSpec + - status::IoK8sApiExtensionsV1beta1IngressStatus +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1Ingress <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressStatus } + + function IoK8sApiExtensionsV1beta1Ingress(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Ingress, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiExtensionsV1beta1Ingress + +const _property_types_IoK8sApiExtensionsV1beta1Ingress = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1IngressSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1IngressStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1Ingress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1Ingress[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1Ingress) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1Ingress }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressBackend.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressBackend.jl new file mode 100644 index 00000000..884f40a6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressBackend.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IngressBackend +IngressBackend describes all endpoints for a given service and port. + + IoK8sApiExtensionsV1beta1IngressBackend(; + serviceName=nothing, + servicePort=nothing, + ) + + - serviceName::String : Specifies the name of the referenced service. + - servicePort::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IngressBackend <: OpenAPI.APIModel + serviceName::Union{Nothing, String} = nothing + servicePort::Union{Nothing, Any} = nothing + + function IoK8sApiExtensionsV1beta1IngressBackend(serviceName, servicePort, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressBackend, Symbol("serviceName"), serviceName) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressBackend, Symbol("servicePort"), servicePort) + return new(serviceName, servicePort, ) + end +end # type IoK8sApiExtensionsV1beta1IngressBackend + +const _property_types_IoK8sApiExtensionsV1beta1IngressBackend = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("servicePort")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressBackend }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressBackend[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IngressBackend) + o.serviceName === nothing && (return false) + o.servicePort === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressBackend }, name::Symbol, val) + if name === Symbol("servicePort") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1IngressBackend", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressList.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressList.jl new file mode 100644 index 00000000..014eec45 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IngressList +IngressList is a collection of Ingress. + + IoK8sApiExtensionsV1beta1IngressList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiExtensionsV1beta1Ingress} : Items is the list of Ingress. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IngressList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1Ingress} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiExtensionsV1beta1IngressList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiExtensionsV1beta1IngressList + +const _property_types_IoK8sApiExtensionsV1beta1IngressList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1Ingress}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressList[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IngressList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressRule.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressRule.jl new file mode 100644 index 00000000..12efce2a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressRule.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IngressRule +IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. + + IoK8sApiExtensionsV1beta1IngressRule(; + host=nothing, + http=nothing, + ) + + - host::String : Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. + - http::IoK8sApiExtensionsV1beta1HTTPIngressRuleValue +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IngressRule <: OpenAPI.APIModel + host::Union{Nothing, String} = nothing + http = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1HTTPIngressRuleValue } + + function IoK8sApiExtensionsV1beta1IngressRule(host, http, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressRule, Symbol("host"), host) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressRule, Symbol("http"), http) + return new(host, http, ) + end +end # type IoK8sApiExtensionsV1beta1IngressRule + +const _property_types_IoK8sApiExtensionsV1beta1IngressRule = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("http")=>"IoK8sApiExtensionsV1beta1HTTPIngressRuleValue", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressRule[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IngressRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressSpec.jl new file mode 100644 index 00000000..1bae7f5d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressSpec.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IngressSpec +IngressSpec describes the Ingress the user wishes to exist. + + IoK8sApiExtensionsV1beta1IngressSpec(; + backend=nothing, + rules=nothing, + tls=nothing, + ) + + - backend::IoK8sApiExtensionsV1beta1IngressBackend + - rules::Vector{IoK8sApiExtensionsV1beta1IngressRule} : A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. + - tls::Vector{IoK8sApiExtensionsV1beta1IngressTLS} : TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IngressSpec <: OpenAPI.APIModel + backend = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IngressBackend } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IngressRule} } + tls::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IngressTLS} } + + function IoK8sApiExtensionsV1beta1IngressSpec(backend, rules, tls, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressSpec, Symbol("backend"), backend) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressSpec, Symbol("rules"), rules) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressSpec, Symbol("tls"), tls) + return new(backend, rules, tls, ) + end +end # type IoK8sApiExtensionsV1beta1IngressSpec + +const _property_types_IoK8sApiExtensionsV1beta1IngressSpec = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiExtensionsV1beta1IngressBackend", Symbol("rules")=>"Vector{IoK8sApiExtensionsV1beta1IngressRule}", Symbol("tls")=>"Vector{IoK8sApiExtensionsV1beta1IngressTLS}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressSpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IngressSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressStatus.jl new file mode 100644 index 00000000..46cebf25 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IngressStatus +IngressStatus describe the current state of the Ingress. + + IoK8sApiExtensionsV1beta1IngressStatus(; + loadBalancer=nothing, + ) + + - loadBalancer::IoK8sApiCoreV1LoadBalancerStatus +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IngressStatus <: OpenAPI.APIModel + loadBalancer = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } + + function IoK8sApiExtensionsV1beta1IngressStatus(loadBalancer, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressStatus, Symbol("loadBalancer"), loadBalancer) + return new(loadBalancer, ) + end +end # type IoK8sApiExtensionsV1beta1IngressStatus + +const _property_types_IoK8sApiExtensionsV1beta1IngressStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressStatus[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IngressStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressTLS.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressTLS.jl new file mode 100644 index 00000000..13843603 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1IngressTLS.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.IngressTLS +IngressTLS describes the transport layer security associated with an Ingress. + + IoK8sApiExtensionsV1beta1IngressTLS(; + hosts=nothing, + secretName=nothing, + ) + + - hosts::Vector{String} : Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. + - secretName::String : SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1IngressTLS <: OpenAPI.APIModel + hosts::Union{Nothing, Vector{String}} = nothing + secretName::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1IngressTLS(hosts, secretName, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressTLS, Symbol("hosts"), hosts) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1IngressTLS, Symbol("secretName"), secretName) + return new(hosts, secretName, ) + end +end # type IoK8sApiExtensionsV1beta1IngressTLS + +const _property_types_IoK8sApiExtensionsV1beta1IngressTLS = Dict{Symbol,String}(Symbol("hosts")=>"Vector{String}", Symbol("secretName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressTLS }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressTLS[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1IngressTLS) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1IngressTLS }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl new file mode 100644 index 00000000..c81bd889 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicy.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicy +DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods + + IoK8sApiExtensionsV1beta1NetworkPolicy(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1NetworkPolicySpec +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicy <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1NetworkPolicySpec } + + function IoK8sApiExtensionsV1beta1NetworkPolicy(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicy, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicy + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1NetworkPolicySpec", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicy[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl new file mode 100644 index 00000000..aacee3ca --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicyEgressRule +DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 + + IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule(; + ports=nothing, + to=nothing, + ) + + - ports::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} : List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. + - to::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} : List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule <: OpenAPI.APIModel + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} } + to::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} } + + function IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule(ports, to, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule, Symbol("ports"), ports) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule, Symbol("to"), to) + return new(ports, to, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule = Dict{Symbol,String}(Symbol("ports")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort}", Symbol("to")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl new file mode 100644 index 00000000..c6bd11fb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicyIngressRule +DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from. + + IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule(; + from=nothing, + ports=nothing, + ) + + - from::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} : List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. + - ports::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} : List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule <: OpenAPI.APIModel + from::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer} } + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort} } + + function IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule(from, ports, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule, Symbol("from"), from) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule, Symbol("ports"), ports) + return new(from, ports, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule = Dict{Symbol,String}(Symbol("from")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPeer}", Symbol("ports")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyPort}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl new file mode 100644 index 00000000..9b8b2cca --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicyList +DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects. + + IoK8sApiExtensionsV1beta1NetworkPolicyList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiExtensionsV1beta1NetworkPolicy} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicy} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiExtensionsV1beta1NetworkPolicyList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicyList + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyList[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl new file mode 100644 index 00000000..337c4678 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPeer.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicyPeer +DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer. + + IoK8sApiExtensionsV1beta1NetworkPolicyPeer(; + ipBlock=nothing, + namespaceSelector=nothing, + podSelector=nothing, + ) + + - ipBlock::IoK8sApiExtensionsV1beta1IPBlock + - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyPeer <: OpenAPI.APIModel + ipBlock = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1IPBlock } + namespaceSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + podSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + + function IoK8sApiExtensionsV1beta1NetworkPolicyPeer(ipBlock, namespaceSelector, podSelector, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPeer, Symbol("ipBlock"), ipBlock) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPeer, Symbol("namespaceSelector"), namespaceSelector) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPeer, Symbol("podSelector"), podSelector) + return new(ipBlock, namespaceSelector, podSelector, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicyPeer + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPeer = Dict{Symbol,String}(Symbol("ipBlock")=>"IoK8sApiExtensionsV1beta1IPBlock", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPeer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPeer[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyPeer) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPeer }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl new file mode 100644 index 00000000..b738ef9c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicyPort.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicyPort +DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort. + + IoK8sApiExtensionsV1beta1NetworkPolicyPort(; + port=nothing, + protocol=nothing, + ) + + - port::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - protocol::String : Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicyPort <: OpenAPI.APIModel + port::Union{Nothing, Any} = nothing + protocol::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1NetworkPolicyPort(port, protocol, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPort, Symbol("port"), port) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicyPort, Symbol("protocol"), protocol) + return new(port, protocol, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicyPort + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPort = Dict{Symbol,String}(Symbol("port")=>"Any", Symbol("protocol")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicyPort[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicyPort) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicyPort }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1NetworkPolicyPort", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl new file mode 100644 index 00000000..c224d9ce --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1NetworkPolicySpec.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.NetworkPolicySpec +DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec. + + IoK8sApiExtensionsV1beta1NetworkPolicySpec(; + egress=nothing, + ingress=nothing, + podSelector=nothing, + policyTypes=nothing, + ) + + - egress::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule} : List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 + - ingress::Vector{IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule} : List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). + - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - policyTypes::Vector{String} : List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1NetworkPolicySpec <: OpenAPI.APIModel + egress::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule} } + ingress::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule} } + podSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + policyTypes::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiExtensionsV1beta1NetworkPolicySpec(egress, ingress, podSelector, policyTypes, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("egress"), egress) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("ingress"), ingress) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("podSelector"), podSelector) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1NetworkPolicySpec, Symbol("policyTypes"), policyTypes) + return new(egress, ingress, podSelector, policyTypes, ) + end +end # type IoK8sApiExtensionsV1beta1NetworkPolicySpec + +const _property_types_IoK8sApiExtensionsV1beta1NetworkPolicySpec = Dict{Symbol,String}(Symbol("egress")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule}", Symbol("ingress")=>"Vector{IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule}", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("policyTypes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1NetworkPolicySpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1NetworkPolicySpec) + o.podSelector === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1NetworkPolicySpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl new file mode 100644 index 00000000..f8613599 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicy.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.PodSecurityPolicy +PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead. + + IoK8sApiExtensionsV1beta1PodSecurityPolicy(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1PodSecurityPolicySpec +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1PodSecurityPolicy <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1PodSecurityPolicySpec } + + function IoK8sApiExtensionsV1beta1PodSecurityPolicy(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicy, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiExtensionsV1beta1PodSecurityPolicy + +const _property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1PodSecurityPolicySpec", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicy[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1PodSecurityPolicy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl new file mode 100644 index 00000000..2f1d2638 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicyList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.PodSecurityPolicyList +PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead. + + IoK8sApiExtensionsV1beta1PodSecurityPolicyList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiExtensionsV1beta1PodSecurityPolicy} : items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1PodSecurityPolicyList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1PodSecurityPolicy} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiExtensionsV1beta1PodSecurityPolicyList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicyList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiExtensionsV1beta1PodSecurityPolicyList + +const _property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1PodSecurityPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicyList[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1PodSecurityPolicyList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicyList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl new file mode 100644 index 00000000..e4a841bb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec.jl @@ -0,0 +1,127 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec +PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead. + + IoK8sApiExtensionsV1beta1PodSecurityPolicySpec(; + allowPrivilegeEscalation=nothing, + allowedCSIDrivers=nothing, + allowedCapabilities=nothing, + allowedFlexVolumes=nothing, + allowedHostPaths=nothing, + allowedProcMountTypes=nothing, + allowedUnsafeSysctls=nothing, + defaultAddCapabilities=nothing, + defaultAllowPrivilegeEscalation=nothing, + forbiddenSysctls=nothing, + fsGroup=nothing, + hostIPC=nothing, + hostNetwork=nothing, + hostPID=nothing, + hostPorts=nothing, + privileged=nothing, + readOnlyRootFilesystem=nothing, + requiredDropCapabilities=nothing, + runAsGroup=nothing, + runAsUser=nothing, + runtimeClass=nothing, + seLinux=nothing, + supplementalGroups=nothing, + volumes=nothing, + ) + + - allowPrivilegeEscalation::Bool : allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + - allowedCSIDrivers::Vector{IoK8sApiExtensionsV1beta1AllowedCSIDriver} : AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. + - allowedCapabilities::Vector{String} : allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. + - allowedFlexVolumes::Vector{IoK8sApiExtensionsV1beta1AllowedFlexVolume} : allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. + - allowedHostPaths::Vector{IoK8sApiExtensionsV1beta1AllowedHostPath} : allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. + - allowedProcMountTypes::Vector{String} : AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. + - allowedUnsafeSysctls::Vector{String} : allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + - defaultAddCapabilities::Vector{String} : defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. + - defaultAllowPrivilegeEscalation::Bool : defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + - forbiddenSysctls::Vector{String} : forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + - fsGroup::IoK8sApiExtensionsV1beta1FSGroupStrategyOptions + - hostIPC::Bool : hostIPC determines if the policy allows the use of HostIPC in the pod spec. + - hostNetwork::Bool : hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. + - hostPID::Bool : hostPID determines if the policy allows the use of HostPID in the pod spec. + - hostPorts::Vector{IoK8sApiExtensionsV1beta1HostPortRange} : hostPorts determines which host port ranges are allowed to be exposed. + - privileged::Bool : privileged determines if a pod can request to be run as privileged. + - readOnlyRootFilesystem::Bool : readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + - requiredDropCapabilities::Vector{String} : requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + - runAsGroup::IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions + - runAsUser::IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions + - runtimeClass::IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions + - seLinux::IoK8sApiExtensionsV1beta1SELinuxStrategyOptions + - supplementalGroups::IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions + - volumes::Vector{String} : volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1PodSecurityPolicySpec <: OpenAPI.APIModel + allowPrivilegeEscalation::Union{Nothing, Bool} = nothing + allowedCSIDrivers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1AllowedCSIDriver} } + allowedCapabilities::Union{Nothing, Vector{String}} = nothing + allowedFlexVolumes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1AllowedFlexVolume} } + allowedHostPaths::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1AllowedHostPath} } + allowedProcMountTypes::Union{Nothing, Vector{String}} = nothing + allowedUnsafeSysctls::Union{Nothing, Vector{String}} = nothing + defaultAddCapabilities::Union{Nothing, Vector{String}} = nothing + defaultAllowPrivilegeEscalation::Union{Nothing, Bool} = nothing + forbiddenSysctls::Union{Nothing, Vector{String}} = nothing + fsGroup = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1FSGroupStrategyOptions } + hostIPC::Union{Nothing, Bool} = nothing + hostNetwork::Union{Nothing, Bool} = nothing + hostPID::Union{Nothing, Bool} = nothing + hostPorts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1HostPortRange} } + privileged::Union{Nothing, Bool} = nothing + readOnlyRootFilesystem::Union{Nothing, Bool} = nothing + requiredDropCapabilities::Union{Nothing, Vector{String}} = nothing + runAsGroup = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions } + runAsUser = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions } + runtimeClass = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions } + seLinux = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1SELinuxStrategyOptions } + supplementalGroups = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions } + volumes::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiExtensionsV1beta1PodSecurityPolicySpec(allowPrivilegeEscalation, allowedCSIDrivers, allowedCapabilities, allowedFlexVolumes, allowedHostPaths, allowedProcMountTypes, allowedUnsafeSysctls, defaultAddCapabilities, defaultAllowPrivilegeEscalation, forbiddenSysctls, fsGroup, hostIPC, hostNetwork, hostPID, hostPorts, privileged, readOnlyRootFilesystem, requiredDropCapabilities, runAsGroup, runAsUser, runtimeClass, seLinux, supplementalGroups, volumes, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedCSIDrivers"), allowedCSIDrivers) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedCapabilities"), allowedCapabilities) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedFlexVolumes"), allowedFlexVolumes) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedHostPaths"), allowedHostPaths) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedProcMountTypes"), allowedProcMountTypes) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("allowedUnsafeSysctls"), allowedUnsafeSysctls) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("defaultAddCapabilities"), defaultAddCapabilities) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("defaultAllowPrivilegeEscalation"), defaultAllowPrivilegeEscalation) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("forbiddenSysctls"), forbiddenSysctls) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("fsGroup"), fsGroup) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostIPC"), hostIPC) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostNetwork"), hostNetwork) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostPID"), hostPID) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("hostPorts"), hostPorts) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("privileged"), privileged) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("requiredDropCapabilities"), requiredDropCapabilities) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("runAsGroup"), runAsGroup) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("runAsUser"), runAsUser) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("runtimeClass"), runtimeClass) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("seLinux"), seLinux) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("supplementalGroups"), supplementalGroups) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1PodSecurityPolicySpec, Symbol("volumes"), volumes) + return new(allowPrivilegeEscalation, allowedCSIDrivers, allowedCapabilities, allowedFlexVolumes, allowedHostPaths, allowedProcMountTypes, allowedUnsafeSysctls, defaultAddCapabilities, defaultAllowPrivilegeEscalation, forbiddenSysctls, fsGroup, hostIPC, hostNetwork, hostPID, hostPorts, privileged, readOnlyRootFilesystem, requiredDropCapabilities, runAsGroup, runAsUser, runtimeClass, seLinux, supplementalGroups, volumes, ) + end +end # type IoK8sApiExtensionsV1beta1PodSecurityPolicySpec + +const _property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec = Dict{Symbol,String}(Symbol("allowPrivilegeEscalation")=>"Bool", Symbol("allowedCSIDrivers")=>"Vector{IoK8sApiExtensionsV1beta1AllowedCSIDriver}", Symbol("allowedCapabilities")=>"Vector{String}", Symbol("allowedFlexVolumes")=>"Vector{IoK8sApiExtensionsV1beta1AllowedFlexVolume}", Symbol("allowedHostPaths")=>"Vector{IoK8sApiExtensionsV1beta1AllowedHostPath}", Symbol("allowedProcMountTypes")=>"Vector{String}", Symbol("allowedUnsafeSysctls")=>"Vector{String}", Symbol("defaultAddCapabilities")=>"Vector{String}", Symbol("defaultAllowPrivilegeEscalation")=>"Bool", Symbol("forbiddenSysctls")=>"Vector{String}", Symbol("fsGroup")=>"IoK8sApiExtensionsV1beta1FSGroupStrategyOptions", Symbol("hostIPC")=>"Bool", Symbol("hostNetwork")=>"Bool", Symbol("hostPID")=>"Bool", Symbol("hostPorts")=>"Vector{IoK8sApiExtensionsV1beta1HostPortRange}", Symbol("privileged")=>"Bool", Symbol("readOnlyRootFilesystem")=>"Bool", Symbol("requiredDropCapabilities")=>"Vector{String}", Symbol("runAsGroup")=>"IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions", Symbol("runAsUser")=>"IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions", Symbol("runtimeClass")=>"IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions", Symbol("seLinux")=>"IoK8sApiExtensionsV1beta1SELinuxStrategyOptions", Symbol("supplementalGroups")=>"IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions", Symbol("volumes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1PodSecurityPolicySpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1PodSecurityPolicySpec) + o.fsGroup === nothing && (return false) + o.runAsUser === nothing && (return false) + o.seLinux === nothing && (return false) + o.supplementalGroups === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1PodSecurityPolicySpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl new file mode 100644 index 00000000..d591502a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSet.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ReplicaSet +DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. + + IoK8sApiExtensionsV1beta1ReplicaSet(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1ReplicaSetSpec + - status::IoK8sApiExtensionsV1beta1ReplicaSetStatus +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ReplicaSet <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ReplicaSetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ReplicaSetStatus } + + function IoK8sApiExtensionsV1beta1ReplicaSet(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiExtensionsV1beta1ReplicaSet + +const _property_types_IoK8sApiExtensionsV1beta1ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1ReplicaSetSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1ReplicaSetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSet[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl new file mode 100644 index 00000000..0fe28b2b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ReplicaSetCondition +ReplicaSetCondition describes the state of a replica set at a certain point. + + IoK8sApiExtensionsV1beta1ReplicaSetCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of replica set condition. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ReplicaSetCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1ReplicaSetCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiExtensionsV1beta1ReplicaSetCondition + +const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetCondition[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl new file mode 100644 index 00000000..5d830e6c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ReplicaSetList +ReplicaSetList is a collection of ReplicaSets. + + IoK8sApiExtensionsV1beta1ReplicaSetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiExtensionsV1beta1ReplicaSet} : List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ReplicaSetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1ReplicaSet} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiExtensionsV1beta1ReplicaSetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiExtensionsV1beta1ReplicaSetList + +const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiExtensionsV1beta1ReplicaSet}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetList[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl new file mode 100644 index 00000000..9c9b158f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetSpec.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ReplicaSetSpec +ReplicaSetSpec is the specification of a ReplicaSet. + + IoK8sApiExtensionsV1beta1ReplicaSetSpec(; + minReadySeconds=nothing, + replicas=nothing, + selector=nothing, + template=nothing, + ) + + - minReadySeconds::Int64 : Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + - replicas::Int64 : Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - template::IoK8sApiCoreV1PodTemplateSpec +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ReplicaSetSpec <: OpenAPI.APIModel + minReadySeconds::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + template = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PodTemplateSpec } + + function IoK8sApiExtensionsV1beta1ReplicaSetSpec(minReadySeconds, replicas, selector, template, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("minReadySeconds"), minReadySeconds) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetSpec, Symbol("template"), template) + return new(minReadySeconds, replicas, selector, template, ) + end +end # type IoK8sApiExtensionsV1beta1ReplicaSetSpec + +const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetSpec = Dict{Symbol,String}(Symbol("minReadySeconds")=>"Int64", Symbol("replicas")=>"Int64", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("template")=>"IoK8sApiCoreV1PodTemplateSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetSpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetSpec }, name::Symbol, val) + if name === Symbol("minReadySeconds") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetSpec", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl new file mode 100644 index 00000000..24ac29ab --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ReplicaSetStatus.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ReplicaSetStatus +ReplicaSetStatus represents the current status of a ReplicaSet. + + IoK8sApiExtensionsV1beta1ReplicaSetStatus(; + availableReplicas=nothing, + conditions=nothing, + fullyLabeledReplicas=nothing, + observedGeneration=nothing, + readyReplicas=nothing, + replicas=nothing, + ) + + - availableReplicas::Int64 : The number of available replicas (ready for at least minReadySeconds) for this replica set. + - conditions::Vector{IoK8sApiExtensionsV1beta1ReplicaSetCondition} : Represents the latest available observations of a replica set's current state. + - fullyLabeledReplicas::Int64 : The number of pods that have labels matching the labels of the pod template of the replicaset. + - observedGeneration::Int64 : ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + - readyReplicas::Int64 : The number of ready replicas for this replica set. + - replicas::Int64 : Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ReplicaSetStatus <: OpenAPI.APIModel + availableReplicas::Union{Nothing, Int64} = nothing + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1ReplicaSetCondition} } + fullyLabeledReplicas::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + readyReplicas::Union{Nothing, Int64} = nothing + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1ReplicaSetStatus(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("availableReplicas"), availableReplicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("fullyLabeledReplicas"), fullyLabeledReplicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("observedGeneration"), observedGeneration) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("readyReplicas"), readyReplicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ReplicaSetStatus, Symbol("replicas"), replicas) + return new(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas, ) + end +end # type IoK8sApiExtensionsV1beta1ReplicaSetStatus + +const _property_types_IoK8sApiExtensionsV1beta1ReplicaSetStatus = Dict{Symbol,String}(Symbol("availableReplicas")=>"Int64", Symbol("conditions")=>"Vector{IoK8sApiExtensionsV1beta1ReplicaSetCondition}", Symbol("fullyLabeledReplicas")=>"Int64", Symbol("observedGeneration")=>"Int64", Symbol("readyReplicas")=>"Int64", Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSetStatus[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSetStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ReplicaSetStatus }, name::Symbol, val) + if name === Symbol("availableReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("fullyLabeledReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetStatus", :format, val, "int64") + end + if name === Symbol("readyReplicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetStatus", :format, val, "int32") + end + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ReplicaSetStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl new file mode 100644 index 00000000..e9fec7d3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollbackConfig.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.RollbackConfig +DEPRECATED. + + IoK8sApiExtensionsV1beta1RollbackConfig(; + revision=nothing, + ) + + - revision::Int64 : The revision to rollback to. If set to 0, rollback to the last revision. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1RollbackConfig <: OpenAPI.APIModel + revision::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1RollbackConfig(revision, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RollbackConfig, Symbol("revision"), revision) + return new(revision, ) + end +end # type IoK8sApiExtensionsV1beta1RollbackConfig + +const _property_types_IoK8sApiExtensionsV1beta1RollbackConfig = Dict{Symbol,String}(Symbol("revision")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1RollbackConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RollbackConfig[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1RollbackConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1RollbackConfig }, name::Symbol, val) + if name === Symbol("revision") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1RollbackConfig", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl new file mode 100644 index 00000000..b0999c7f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.RollingUpdateDaemonSet +Spec to control the desired behavior of daemon set rolling update. + + IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet(; + maxUnavailable=nothing, + ) + + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet <: OpenAPI.APIModel + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet(maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet, Symbol("maxUnavailable"), maxUnavailable) + return new(maxUnavailable, ) + end +end # type IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet + +const _property_types_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet = Dict{Symbol,String}(Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet }, name::Symbol, val) + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl new file mode 100644 index 00000000..000004cd --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RollingUpdateDeployment.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.RollingUpdateDeployment +Spec to control the desired behavior of rolling update. + + IoK8sApiExtensionsV1beta1RollingUpdateDeployment(; + maxSurge=nothing, + maxUnavailable=nothing, + ) + + - maxSurge::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1RollingUpdateDeployment <: OpenAPI.APIModel + maxSurge::Union{Nothing, Any} = nothing + maxUnavailable::Union{Nothing, Any} = nothing + + function IoK8sApiExtensionsV1beta1RollingUpdateDeployment(maxSurge, maxUnavailable, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RollingUpdateDeployment, Symbol("maxSurge"), maxSurge) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RollingUpdateDeployment, Symbol("maxUnavailable"), maxUnavailable) + return new(maxSurge, maxUnavailable, ) + end +end # type IoK8sApiExtensionsV1beta1RollingUpdateDeployment + +const _property_types_IoK8sApiExtensionsV1beta1RollingUpdateDeployment = Dict{Symbol,String}(Symbol("maxSurge")=>"Any", Symbol("maxUnavailable")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RollingUpdateDeployment[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1RollingUpdateDeployment) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1RollingUpdateDeployment }, name::Symbol, val) + if name === Symbol("maxSurge") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1RollingUpdateDeployment", :format, val, "int-or-string") + end + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1RollingUpdateDeployment", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl new file mode 100644 index 00000000..096ce03b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions +RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead. + + IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate the allowable RunAsGroup values that may be set. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions + +const _property_types_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions) + o.rule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl new file mode 100644 index 00000000..770b5551 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions +RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead. + + IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate the allowable RunAsUser values that may be set. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions + +const _property_types_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions) + o.rule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl new file mode 100644 index 00000000..39a6b466 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.RuntimeClassStrategyOptions +RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod. + + IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions(; + allowedRuntimeClassNames=nothing, + defaultRuntimeClassName=nothing, + ) + + - allowedRuntimeClassNames::Vector{String} : allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset. + - defaultRuntimeClassName::String : defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions <: OpenAPI.APIModel + allowedRuntimeClassNames::Union{Nothing, Vector{String}} = nothing + defaultRuntimeClassName::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions(allowedRuntimeClassNames, defaultRuntimeClassName, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions, Symbol("allowedRuntimeClassNames"), allowedRuntimeClassNames) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions, Symbol("defaultRuntimeClassName"), defaultRuntimeClassName) + return new(allowedRuntimeClassNames, defaultRuntimeClassName, ) + end +end # type IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions + +const _property_types_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions = Dict{Symbol,String}(Symbol("allowedRuntimeClassNames")=>"Vector{String}", Symbol("defaultRuntimeClassName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions) + o.allowedRuntimeClassNames === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl new file mode 100644 index 00000000..0be4f911 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions +SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead. + + IoK8sApiExtensionsV1beta1SELinuxStrategyOptions(; + rule=nothing, + seLinuxOptions=nothing, + ) + + - rule::String : rule is the strategy that will dictate the allowable labels that may be set. + - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1SELinuxStrategyOptions <: OpenAPI.APIModel + rule::Union{Nothing, String} = nothing + seLinuxOptions = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } + + function IoK8sApiExtensionsV1beta1SELinuxStrategyOptions(rule, seLinuxOptions, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1SELinuxStrategyOptions, Symbol("rule"), rule) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1SELinuxStrategyOptions, Symbol("seLinuxOptions"), seLinuxOptions) + return new(rule, seLinuxOptions, ) + end +end # type IoK8sApiExtensionsV1beta1SELinuxStrategyOptions + +const _property_types_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions = Dict{Symbol,String}(Symbol("rule")=>"String", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1SELinuxStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1SELinuxStrategyOptions[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1SELinuxStrategyOptions) + o.rule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1SELinuxStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Scale.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Scale.jl new file mode 100644 index 00000000..4f66cb98 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1Scale.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.Scale +represents a scaling request for a resource. + + IoK8sApiExtensionsV1beta1Scale(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiExtensionsV1beta1ScaleSpec + - status::IoK8sApiExtensionsV1beta1ScaleStatus +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1Scale <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ScaleSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ScaleStatus } + + function IoK8sApiExtensionsV1beta1Scale(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1Scale, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiExtensionsV1beta1Scale + +const _property_types_IoK8sApiExtensionsV1beta1Scale = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1ScaleSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1ScaleStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1Scale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1Scale[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1Scale) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1Scale }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl new file mode 100644 index 00000000..8b74c607 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ScaleSpec.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ScaleSpec +describes the attributes of a scale subresource + + IoK8sApiExtensionsV1beta1ScaleSpec(; + replicas=nothing, + ) + + - replicas::Int64 : desired number of instances for the scaled object. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ScaleSpec <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + + function IoK8sApiExtensionsV1beta1ScaleSpec(replicas, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ScaleSpec, Symbol("replicas"), replicas) + return new(replicas, ) + end +end # type IoK8sApiExtensionsV1beta1ScaleSpec + +const _property_types_IoK8sApiExtensionsV1beta1ScaleSpec = Dict{Symbol,String}(Symbol("replicas")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ScaleSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ScaleSpec[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ScaleSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ScaleSpec }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ScaleSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl new file mode 100644 index 00000000..f95e84bc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1ScaleStatus.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.ScaleStatus +represents the current status of a scale subresource. + + IoK8sApiExtensionsV1beta1ScaleStatus(; + replicas=nothing, + selector=nothing, + targetSelector=nothing, + ) + + - replicas::Int64 : actual number of observed instances of the scaled object. + - selector::Dict{String, String} : label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + - targetSelector::String : label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1ScaleStatus <: OpenAPI.APIModel + replicas::Union{Nothing, Int64} = nothing + selector::Union{Nothing, Dict{String, String}} = nothing + targetSelector::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1ScaleStatus(replicas, selector, targetSelector, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ScaleStatus, Symbol("replicas"), replicas) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ScaleStatus, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1ScaleStatus, Symbol("targetSelector"), targetSelector) + return new(replicas, selector, targetSelector, ) + end +end # type IoK8sApiExtensionsV1beta1ScaleStatus + +const _property_types_IoK8sApiExtensionsV1beta1ScaleStatus = Dict{Symbol,String}(Symbol("replicas")=>"Int64", Symbol("selector")=>"Dict{String, String}", Symbol("targetSelector")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1ScaleStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ScaleStatus[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1ScaleStatus) + o.replicas === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1ScaleStatus }, name::Symbol, val) + if name === Symbol("replicas") + OpenAPI.validate_param(name, "IoK8sApiExtensionsV1beta1ScaleStatus", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl new file mode 100644 index 00000000..7084bd03 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions +SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead. + + IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiExtensionsV1beta1IDRange} : ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. +""" +Base.@kwdef mutable struct IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiExtensionsV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions + +const _property_types_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiExtensionsV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions[name]))} + +function check_required(o::IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl new file mode 100644 index 00000000..92db228f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod +FlowDistinguisherMethod specifies the method of a flow distinguisher. + + IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod(; + type=nothing, + ) + + - type::String : `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod(type, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod, Symbol("type"), type) + return new(type, ) + end +end # type IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod + +const _property_types_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod = Dict{Symbol,String}(Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl new file mode 100644 index 00000000..eef9004a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchema.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.FlowSchema +FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". + + IoK8sApiFlowcontrolV1alpha1FlowSchema(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec + - status::IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchema <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus } + + function IoK8sApiFlowcontrolV1alpha1FlowSchema(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchema, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiFlowcontrolV1alpha1FlowSchema + +const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchema = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec", Symbol("status")=>"IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchema }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchema[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchema) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchema }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl new file mode 100644 index 00000000..45024601 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition +FlowSchemaCondition describes conditions for a FlowSchema. + + IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : `message` is a human-readable message indicating details about last transition. + - reason::String : `reason` is a unique, one-word, CamelCase reason for the condition's last transition. + - status::String : `status` is the status of the condition. Can be True, False, Unknown. Required. + - type::String : `type` is the type of the condition. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition + +const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl new file mode 100644 index 00000000..04418e5c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList +FlowSchemaList is a list of FlowSchema objects. + + IoK8sApiFlowcontrolV1alpha1FlowSchemaList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiFlowcontrolV1alpha1FlowSchema} : `items` is a list of FlowSchemas. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1FlowSchema} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiFlowcontrolV1alpha1FlowSchemaList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaList + +const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiFlowcontrolV1alpha1FlowSchema}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaList[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl new file mode 100644 index 00000000..ae3e6dc8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec +FlowSchemaSpec describes how the FlowSchema's specification looks like. + + IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec(; + distinguisherMethod=nothing, + matchingPrecedence=nothing, + priorityLevelConfiguration=nothing, + rules=nothing, + ) + + - distinguisherMethod::IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod + - matchingPrecedence::Int64 : `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default. + - priorityLevelConfiguration::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference + - rules::Vector{IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects} : `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec <: OpenAPI.APIModel + distinguisherMethod = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod } + matchingPrecedence::Union{Nothing, Int64} = nothing + priorityLevelConfiguration = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects} } + + function IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec(distinguisherMethod, matchingPrecedence, priorityLevelConfiguration, rules, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("distinguisherMethod"), distinguisherMethod) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("matchingPrecedence"), matchingPrecedence) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("priorityLevelConfiguration"), priorityLevelConfiguration) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec, Symbol("rules"), rules) + return new(distinguisherMethod, matchingPrecedence, priorityLevelConfiguration, rules, ) + end +end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec + +const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec = Dict{Symbol,String}(Symbol("distinguisherMethod")=>"IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod", Symbol("matchingPrecedence")=>"Int64", Symbol("priorityLevelConfiguration")=>"IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference", Symbol("rules")=>"Vector{IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects}", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec) + o.priorityLevelConfiguration === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec }, name::Symbol, val) + if name === Symbol("matchingPrecedence") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl new file mode 100644 index 00000000..bb6df0d0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus +FlowSchemaStatus represents the current state of a FlowSchema. + + IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus(; + conditions=nothing, + ) + + - conditions::Vector{IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition} : `conditions` is a list of the current states of FlowSchema. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition} } + + function IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus(conditions, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus, Symbol("conditions"), conditions) + return new(conditions, ) + end +end # type IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus + +const _property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition}", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl new file mode 100644 index 00000000..8d19438a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1GroupSubject.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.GroupSubject +GroupSubject holds detailed information for group-kind subject. + + IoK8sApiFlowcontrolV1alpha1GroupSubject(; + name=nothing, + ) + + - name::String : name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1GroupSubject <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1GroupSubject(name, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1GroupSubject, Symbol("name"), name) + return new(name, ) + end +end # type IoK8sApiFlowcontrolV1alpha1GroupSubject + +const _property_types_IoK8sApiFlowcontrolV1alpha1GroupSubject = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1GroupSubject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1GroupSubject[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1GroupSubject) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1GroupSubject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl new file mode 100644 index 00000000..fc0c6095 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1LimitResponse.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.LimitResponse +LimitResponse defines how to handle requests that can not be executed right now. + + IoK8sApiFlowcontrolV1alpha1LimitResponse(; + queuing=nothing, + type=nothing, + ) + + - queuing::IoK8sApiFlowcontrolV1alpha1QueuingConfiguration + - type::String : `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1LimitResponse <: OpenAPI.APIModel + queuing = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1QueuingConfiguration } + type::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1LimitResponse(queuing, type, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1LimitResponse, Symbol("queuing"), queuing) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1LimitResponse, Symbol("type"), type) + return new(queuing, type, ) + end +end # type IoK8sApiFlowcontrolV1alpha1LimitResponse + +const _property_types_IoK8sApiFlowcontrolV1alpha1LimitResponse = Dict{Symbol,String}(Symbol("queuing")=>"IoK8sApiFlowcontrolV1alpha1QueuingConfiguration", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1LimitResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1LimitResponse[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1LimitResponse) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1LimitResponse }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl new file mode 100644 index 00000000..5a44877a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration +LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: * How are requests for this priority level limited? * What should be done with requests that exceed the limit? + + IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration(; + assuredConcurrencyShares=nothing, + limitResponse=nothing, + ) + + - assuredConcurrencyShares::Int64 : `assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level: ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30. + - limitResponse::IoK8sApiFlowcontrolV1alpha1LimitResponse +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration <: OpenAPI.APIModel + assuredConcurrencyShares::Union{Nothing, Int64} = nothing + limitResponse = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1LimitResponse } + + function IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration(assuredConcurrencyShares, limitResponse, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration, Symbol("assuredConcurrencyShares"), assuredConcurrencyShares) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration, Symbol("limitResponse"), limitResponse) + return new(assuredConcurrencyShares, limitResponse, ) + end +end # type IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration + +const _property_types_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration = Dict{Symbol,String}(Symbol("assuredConcurrencyShares")=>"Int64", Symbol("limitResponse")=>"IoK8sApiFlowcontrolV1alpha1LimitResponse", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration }, name::Symbol, val) + if name === Symbol("assuredConcurrencyShares") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl new file mode 100644 index 00000000..80901d27 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule +NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. + + IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule(; + nonResourceURLs=nothing, + verbs=nothing, + ) + + - nonResourceURLs::Vector{String} : `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/*\" also matches nothing - \"/healthz/*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required. + - verbs::Vector{String} : `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule <: OpenAPI.APIModel + nonResourceURLs::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule(nonResourceURLs, verbs, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule, Symbol("verbs"), verbs) + return new(nonResourceURLs, verbs, ) + end +end # type IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule + +const _property_types_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule = Dict{Symbol,String}(Symbol("nonResourceURLs")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule) + o.nonResourceURLs === nothing && (return false) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl new file mode 100644 index 00000000..08502600 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects +PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request. + + IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects(; + nonResourceRules=nothing, + resourceRules=nothing, + subjects=nothing, + ) + + - nonResourceRules::Vector{IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule} : `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. + - resourceRules::Vector{IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule} : `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty. + - subjects::Vector{IoK8sApiFlowcontrolV1alpha1Subject} : subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects <: OpenAPI.APIModel + nonResourceRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule} } + resourceRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule} } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1Subject} } + + function IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects(nonResourceRules, resourceRules, subjects, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects, Symbol("nonResourceRules"), nonResourceRules) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects, Symbol("resourceRules"), resourceRules) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects, Symbol("subjects"), subjects) + return new(nonResourceRules, resourceRules, subjects, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects + +const _property_types_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects = Dict{Symbol,String}(Symbol("nonResourceRules")=>"Vector{IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule}", Symbol("resourceRules")=>"Vector{IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule}", Symbol("subjects")=>"Vector{IoK8sApiFlowcontrolV1alpha1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects) + o.subjects === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl new file mode 100644 index 00000000..7319f48a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration +PriorityLevelConfiguration represents the configuration of a priority level. + + IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec + - status::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus } + + function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration + +const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec", Symbol("status")=>"IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl new file mode 100644 index 00000000..f59c6efe --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition +PriorityLevelConfigurationCondition defines the condition of priority level. + + IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : `message` is a human-readable message indicating details about last transition. + - reason::String : `reason` is a unique, one-word, CamelCase reason for the condition's last transition. + - status::String : `status` is the status of the condition. Can be True, False, Unknown. Required. + - type::String : `type` is the type of the condition. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition + +const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl new file mode 100644 index 00000000..b50f248a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList +PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects. + + IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration} : `items` is a list of request-priorities. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList + +const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl new file mode 100644 index 00000000..594d9171 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference +PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. + + IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference(; + name=nothing, + ) + + - name::String : `name` is the name of the priority level configuration being referenced Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference(name, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference, Symbol("name"), name) + return new(name, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference + +const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl new file mode 100644 index 00000000..9de51b51 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec +PriorityLevelConfigurationSpec specifies the configuration of a priority level. + + IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec(; + limited=nothing, + type=nothing, + ) + + - limited::IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration + - type::String : `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec <: OpenAPI.APIModel + limited = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration } + type::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec(limited, type, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec, Symbol("limited"), limited) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec, Symbol("type"), type) + return new(limited, type, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec + +const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec = Dict{Symbol,String}(Symbol("limited")=>"IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl new file mode 100644 index 00000000..0af88538 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus +PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". + + IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus(; + conditions=nothing, + ) + + - conditions::Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition} : `conditions` is the current state of \"request-priority\". +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition} } + + function IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus(conditions, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus, Symbol("conditions"), conditions) + return new(conditions, ) + end +end # type IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus + +const _property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition}", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl new file mode 100644 index 00000000..886103fa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration +QueuingConfiguration holds the configuration parameters for queuing + + IoK8sApiFlowcontrolV1alpha1QueuingConfiguration(; + handSize=nothing, + queueLengthLimit=nothing, + queues=nothing, + ) + + - handSize::Int64 : `handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8. + - queueLengthLimit::Int64 : `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50. + - queues::Int64 : `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1QueuingConfiguration <: OpenAPI.APIModel + handSize::Union{Nothing, Int64} = nothing + queueLengthLimit::Union{Nothing, Int64} = nothing + queues::Union{Nothing, Int64} = nothing + + function IoK8sApiFlowcontrolV1alpha1QueuingConfiguration(handSize, queueLengthLimit, queues, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1QueuingConfiguration, Symbol("handSize"), handSize) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1QueuingConfiguration, Symbol("queueLengthLimit"), queueLengthLimit) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1QueuingConfiguration, Symbol("queues"), queues) + return new(handSize, queueLengthLimit, queues, ) + end +end # type IoK8sApiFlowcontrolV1alpha1QueuingConfiguration + +const _property_types_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration = Dict{Symbol,String}(Symbol("handSize")=>"Int64", Symbol("queueLengthLimit")=>"Int64", Symbol("queues")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1QueuingConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1QueuingConfiguration[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1QueuingConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1QueuingConfiguration }, name::Symbol, val) + if name === Symbol("handSize") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1QueuingConfiguration", :format, val, "int32") + end + if name === Symbol("queueLengthLimit") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1QueuingConfiguration", :format, val, "int32") + end + if name === Symbol("queues") + OpenAPI.validate_param(name, "IoK8sApiFlowcontrolV1alpha1QueuingConfiguration", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl new file mode 100644 index 00000000..1583e6aa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule +ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request. + + IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule(; + apiGroups=nothing, + clusterScope=nothing, + namespaces=nothing, + resources=nothing, + verbs=nothing, + ) + + - apiGroups::Vector{String} : `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. + - clusterScope::Bool : `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list. + - namespaces::Vector{String} : `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true. + - resources::Vector{String} : `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required. + - verbs::Vector{String} : `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + clusterScope::Union{Nothing, Bool} = nothing + namespaces::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule(apiGroups, clusterScope, namespaces, resources, verbs, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("clusterScope"), clusterScope) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("namespaces"), namespaces) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule, Symbol("verbs"), verbs) + return new(apiGroups, clusterScope, namespaces, resources, verbs, ) + end +end # type IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule + +const _property_types_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("clusterScope")=>"Bool", Symbol("namespaces")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule) + o.apiGroups === nothing && (return false) + o.resources === nothing && (return false) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl new file mode 100644 index 00000000..3169e6ae --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject +ServiceAccountSubject holds detailed information for service-account-kind subject. + + IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject(; + name=nothing, + namespace=nothing, + ) + + - name::String : `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. + - namespace::String : `namespace` is the namespace of matching ServiceAccount objects. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject(name, namespace, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject, Symbol("namespace"), namespace) + return new(name, namespace, ) + end +end # type IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject + +const _property_types_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1Subject.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1Subject.jl new file mode 100644 index 00000000..30ebc65f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1Subject.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.Subject +Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. + + IoK8sApiFlowcontrolV1alpha1Subject(; + group=nothing, + kind=nothing, + serviceAccount=nothing, + user=nothing, + ) + + - group::IoK8sApiFlowcontrolV1alpha1GroupSubject + - kind::String : Required + - serviceAccount::IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject + - user::IoK8sApiFlowcontrolV1alpha1UserSubject +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1Subject <: OpenAPI.APIModel + group = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1GroupSubject } + kind::Union{Nothing, String} = nothing + serviceAccount = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject } + user = nothing # spec type: Union{ Nothing, IoK8sApiFlowcontrolV1alpha1UserSubject } + + function IoK8sApiFlowcontrolV1alpha1Subject(group, kind, serviceAccount, user, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("serviceAccount"), serviceAccount) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1Subject, Symbol("user"), user) + return new(group, kind, serviceAccount, user, ) + end +end # type IoK8sApiFlowcontrolV1alpha1Subject + +const _property_types_IoK8sApiFlowcontrolV1alpha1Subject = Dict{Symbol,String}(Symbol("group")=>"IoK8sApiFlowcontrolV1alpha1GroupSubject", Symbol("kind")=>"String", Symbol("serviceAccount")=>"IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject", Symbol("user")=>"IoK8sApiFlowcontrolV1alpha1UserSubject", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1Subject[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1Subject) + o.kind === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1Subject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl new file mode 100644 index 00000000..f30a8945 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiFlowcontrolV1alpha1UserSubject.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.flowcontrol.v1alpha1.UserSubject +UserSubject holds detailed information for user-kind subject. + + IoK8sApiFlowcontrolV1alpha1UserSubject(; + name=nothing, + ) + + - name::String : `name` is the username that matches, or \"*\" to match all usernames. Required. +""" +Base.@kwdef mutable struct IoK8sApiFlowcontrolV1alpha1UserSubject <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function IoK8sApiFlowcontrolV1alpha1UserSubject(name, ) + OpenAPI.validate_property(IoK8sApiFlowcontrolV1alpha1UserSubject, Symbol("name"), name) + return new(name, ) + end +end # type IoK8sApiFlowcontrolV1alpha1UserSubject + +const _property_types_IoK8sApiFlowcontrolV1alpha1UserSubject = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiFlowcontrolV1alpha1UserSubject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiFlowcontrolV1alpha1UserSubject[name]))} + +function check_required(o::IoK8sApiFlowcontrolV1alpha1UserSubject) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiFlowcontrolV1alpha1UserSubject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl new file mode 100644 index 00000000..a17ca6f8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1ContainerMetrics.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.metrics.v1beta1.ContainerMetrics +ContainerMetrics sets resource usage metrics of a container. + + IoK8sApiMetricsV1beta1ContainerMetrics(; + name=nothing, + usage=nothing, + ) + + - name::String : Container name corresponding to the one from pod.spec.containers. + - usage::Dict{String, String} : The memory usage is the memory working set. +""" +Base.@kwdef mutable struct IoK8sApiMetricsV1beta1ContainerMetrics <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + usage::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiMetricsV1beta1ContainerMetrics(name, usage, ) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1ContainerMetrics, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1ContainerMetrics, Symbol("usage"), usage) + return new(name, usage, ) + end +end # type IoK8sApiMetricsV1beta1ContainerMetrics + +const _property_types_IoK8sApiMetricsV1beta1ContainerMetrics = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("usage")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiMetricsV1beta1ContainerMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1ContainerMetrics[name]))} + +function check_required(o::IoK8sApiMetricsV1beta1ContainerMetrics) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiMetricsV1beta1ContainerMetrics }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1NodeMetrics.jl b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1NodeMetrics.jl new file mode 100644 index 00000000..d8ad42fc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1NodeMetrics.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.metrics.v1beta1.NodeMetrics +NodeMetrics sets resource usage metrics of a node. + + IoK8sApiMetricsV1beta1NodeMetrics(; + metadata=nothing, + timestamp=nothing, + usage=nothing, + window=nothing, + ) + + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - timestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - usage::Dict{String, String} : The memory usage is the memory working set. + - window::String : Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json. +""" +Base.@kwdef mutable struct IoK8sApiMetricsV1beta1NodeMetrics <: OpenAPI.APIModel + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + timestamp::Union{Nothing, ZonedDateTime} = nothing + usage::Union{Nothing, Dict{String, String}} = nothing + window::Union{Nothing, String} = nothing + + function IoK8sApiMetricsV1beta1NodeMetrics(metadata, timestamp, usage, window, ) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("timestamp"), timestamp) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("usage"), usage) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1NodeMetrics, Symbol("window"), window) + return new(metadata, timestamp, usage, window, ) + end +end # type IoK8sApiMetricsV1beta1NodeMetrics + +const _property_types_IoK8sApiMetricsV1beta1NodeMetrics = Dict{Symbol,String}(Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("timestamp")=>"ZonedDateTime", Symbol("usage")=>"Dict{String, String}", Symbol("window")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiMetricsV1beta1NodeMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1NodeMetrics[name]))} + +function check_required(o::IoK8sApiMetricsV1beta1NodeMetrics) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiMetricsV1beta1NodeMetrics }, name::Symbol, val) + if name === Symbol("timestamp") + OpenAPI.validate_param(name, "IoK8sApiMetricsV1beta1NodeMetrics", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl new file mode 100644 index 00000000..430eb65e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1NodeMetricsList.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.metrics.v1beta1.NodeMetricsList +NodeMetricsList is a list of NodeMetrics. + + IoK8sApiMetricsV1beta1NodeMetricsList(; + items=nothing, + metadata=nothing, + ) + + - items::Vector{IoK8sApiMetricsV1beta1NodeMetrics} : List of node metrics. + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiMetricsV1beta1NodeMetricsList <: OpenAPI.APIModel + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiMetricsV1beta1NodeMetrics} } + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiMetricsV1beta1NodeMetricsList(items, metadata, ) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1NodeMetricsList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1NodeMetricsList, Symbol("metadata"), metadata) + return new(items, metadata, ) + end +end # type IoK8sApiMetricsV1beta1NodeMetricsList + +const _property_types_IoK8sApiMetricsV1beta1NodeMetricsList = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiMetricsV1beta1NodeMetrics}", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiMetricsV1beta1NodeMetricsList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1NodeMetricsList[name]))} + +function check_required(o::IoK8sApiMetricsV1beta1NodeMetricsList) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiMetricsV1beta1NodeMetricsList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1PodMetrics.jl b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1PodMetrics.jl new file mode 100644 index 00000000..c6c2074b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1PodMetrics.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.metrics.v1beta1.PodMetrics +PodMetrics sets resource usage metrics of a pod. + + IoK8sApiMetricsV1beta1PodMetrics(; + containers=nothing, + metadata=nothing, + timestamp=nothing, + window=nothing, + ) + + - containers::Vector{IoK8sApiMetricsV1beta1ContainerMetrics} : Metrics for all containers are collected within the same time window. + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - timestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - window::String : Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json. +""" +Base.@kwdef mutable struct IoK8sApiMetricsV1beta1PodMetrics <: OpenAPI.APIModel + containers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiMetricsV1beta1ContainerMetrics} } + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + timestamp::Union{Nothing, ZonedDateTime} = nothing + window::Union{Nothing, String} = nothing + + function IoK8sApiMetricsV1beta1PodMetrics(containers, metadata, timestamp, window, ) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("containers"), containers) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("timestamp"), timestamp) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1PodMetrics, Symbol("window"), window) + return new(containers, metadata, timestamp, window, ) + end +end # type IoK8sApiMetricsV1beta1PodMetrics + +const _property_types_IoK8sApiMetricsV1beta1PodMetrics = Dict{Symbol,String}(Symbol("containers")=>"Vector{IoK8sApiMetricsV1beta1ContainerMetrics}", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("timestamp")=>"ZonedDateTime", Symbol("window")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiMetricsV1beta1PodMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1PodMetrics[name]))} + +function check_required(o::IoK8sApiMetricsV1beta1PodMetrics) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiMetricsV1beta1PodMetrics }, name::Symbol, val) + if name === Symbol("timestamp") + OpenAPI.validate_param(name, "IoK8sApiMetricsV1beta1PodMetrics", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1PodMetricsList.jl b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1PodMetricsList.jl new file mode 100644 index 00000000..39be09d5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiMetricsV1beta1PodMetricsList.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.metrics.v1beta1.PodMetricsList +PodMetricsList is a list of PodMetrics. + + IoK8sApiMetricsV1beta1PodMetricsList(; + items=nothing, + metadata=nothing, + ) + + - items::Vector{IoK8sApiMetricsV1beta1PodMetrics} : List of pod metrics. + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiMetricsV1beta1PodMetricsList <: OpenAPI.APIModel + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiMetricsV1beta1PodMetrics} } + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiMetricsV1beta1PodMetricsList(items, metadata, ) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1PodMetricsList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiMetricsV1beta1PodMetricsList, Symbol("metadata"), metadata) + return new(items, metadata, ) + end +end # type IoK8sApiMetricsV1beta1PodMetricsList + +const _property_types_IoK8sApiMetricsV1beta1PodMetricsList = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiMetricsV1beta1PodMetrics}", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiMetricsV1beta1PodMetricsList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiMetricsV1beta1PodMetricsList[name]))} + +function check_required(o::IoK8sApiMetricsV1beta1PodMetricsList) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiMetricsV1beta1PodMetricsList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1IPBlock.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1IPBlock.jl new file mode 100644 index 00000000..0d25838e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1IPBlock.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.IPBlock +IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. + + IoK8sApiNetworkingV1IPBlock(; + cidr=nothing, + except=nothing, + ) + + - cidr::String : CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" + - except::Vector{String} : Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1IPBlock <: OpenAPI.APIModel + cidr::Union{Nothing, String} = nothing + except::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiNetworkingV1IPBlock(cidr, except, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1IPBlock, Symbol("cidr"), cidr) + OpenAPI.validate_property(IoK8sApiNetworkingV1IPBlock, Symbol("except"), except) + return new(cidr, except, ) + end +end # type IoK8sApiNetworkingV1IPBlock + +const _property_types_IoK8sApiNetworkingV1IPBlock = Dict{Symbol,String}(Symbol("cidr")=>"String", Symbol("except")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1IPBlock }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1IPBlock[name]))} + +function check_required(o::IoK8sApiNetworkingV1IPBlock) + o.cidr === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1IPBlock }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicy.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicy.jl new file mode 100644 index 00000000..92274efb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicy.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicy +NetworkPolicy describes what network traffic is allowed for a set of Pods + + IoK8sApiNetworkingV1NetworkPolicy(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiNetworkingV1NetworkPolicySpec +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicy <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1NetworkPolicySpec } + + function IoK8sApiNetworkingV1NetworkPolicy(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicy, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicy + +const _property_types_IoK8sApiNetworkingV1NetworkPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiNetworkingV1NetworkPolicySpec", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicy[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl new file mode 100644 index 00000000..ff6d78a7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyEgressRule.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicyEgressRule +NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 + + IoK8sApiNetworkingV1NetworkPolicyEgressRule(; + ports=nothing, + to=nothing, + ) + + - ports::Vector{IoK8sApiNetworkingV1NetworkPolicyPort} : List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. + - to::Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} : List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicyEgressRule <: OpenAPI.APIModel + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPort} } + to::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} } + + function IoK8sApiNetworkingV1NetworkPolicyEgressRule(ports, to, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyEgressRule, Symbol("ports"), ports) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyEgressRule, Symbol("to"), to) + return new(ports, to, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicyEgressRule + +const _property_types_IoK8sApiNetworkingV1NetworkPolicyEgressRule = Dict{Symbol,String}(Symbol("ports")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPort}", Symbol("to")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPeer}", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyEgressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyEgressRule[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicyEgressRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyEgressRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl new file mode 100644 index 00000000..1c825136 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyIngressRule.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicyIngressRule +NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. + + IoK8sApiNetworkingV1NetworkPolicyIngressRule(; + from=nothing, + ports=nothing, + ) + + - from::Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} : List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. + - ports::Vector{IoK8sApiNetworkingV1NetworkPolicyPort} : List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicyIngressRule <: OpenAPI.APIModel + from::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPeer} } + ports::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyPort} } + + function IoK8sApiNetworkingV1NetworkPolicyIngressRule(from, ports, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyIngressRule, Symbol("from"), from) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyIngressRule, Symbol("ports"), ports) + return new(from, ports, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicyIngressRule + +const _property_types_IoK8sApiNetworkingV1NetworkPolicyIngressRule = Dict{Symbol,String}(Symbol("from")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPeer}", Symbol("ports")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyPort}", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyIngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyIngressRule[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicyIngressRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyIngressRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyList.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyList.jl new file mode 100644 index 00000000..4ead92b4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicyList +NetworkPolicyList is a list of NetworkPolicy objects. + + IoK8sApiNetworkingV1NetworkPolicyList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiNetworkingV1NetworkPolicy} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicyList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicy} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiNetworkingV1NetworkPolicyList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicyList + +const _property_types_IoK8sApiNetworkingV1NetworkPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNetworkingV1NetworkPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyList[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicyList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl new file mode 100644 index 00000000..cdbc9ae9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyPeer.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicyPeer +NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed + + IoK8sApiNetworkingV1NetworkPolicyPeer(; + ipBlock=nothing, + namespaceSelector=nothing, + podSelector=nothing, + ) + + - ipBlock::IoK8sApiNetworkingV1IPBlock + - namespaceSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicyPeer <: OpenAPI.APIModel + ipBlock = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1IPBlock } + namespaceSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + podSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + + function IoK8sApiNetworkingV1NetworkPolicyPeer(ipBlock, namespaceSelector, podSelector, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyPeer, Symbol("ipBlock"), ipBlock) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyPeer, Symbol("namespaceSelector"), namespaceSelector) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyPeer, Symbol("podSelector"), podSelector) + return new(ipBlock, namespaceSelector, podSelector, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicyPeer + +const _property_types_IoK8sApiNetworkingV1NetworkPolicyPeer = Dict{Symbol,String}(Symbol("ipBlock")=>"IoK8sApiNetworkingV1IPBlock", Symbol("namespaceSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyPeer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyPeer[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicyPeer) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyPeer }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl new file mode 100644 index 00000000..cbb70a64 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicyPort.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicyPort +NetworkPolicyPort describes a port to allow traffic on + + IoK8sApiNetworkingV1NetworkPolicyPort(; + port=nothing, + protocol=nothing, + ) + + - port::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - protocol::String : The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicyPort <: OpenAPI.APIModel + port::Union{Nothing, Any} = nothing + protocol::Union{Nothing, String} = nothing + + function IoK8sApiNetworkingV1NetworkPolicyPort(port, protocol, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyPort, Symbol("port"), port) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicyPort, Symbol("protocol"), protocol) + return new(port, protocol, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicyPort + +const _property_types_IoK8sApiNetworkingV1NetworkPolicyPort = Dict{Symbol,String}(Symbol("port")=>"Any", Symbol("protocol")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicyPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicyPort[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicyPort) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicyPort }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiNetworkingV1NetworkPolicyPort", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl new file mode 100644 index 00000000..23981605 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1NetworkPolicySpec.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1.NetworkPolicySpec +NetworkPolicySpec provides the specification of a NetworkPolicy + + IoK8sApiNetworkingV1NetworkPolicySpec(; + egress=nothing, + ingress=nothing, + podSelector=nothing, + policyTypes=nothing, + ) + + - egress::Vector{IoK8sApiNetworkingV1NetworkPolicyEgressRule} : List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 + - ingress::Vector{IoK8sApiNetworkingV1NetworkPolicyIngressRule} : List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) + - podSelector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - policyTypes::Vector{String} : List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1NetworkPolicySpec <: OpenAPI.APIModel + egress::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyEgressRule} } + ingress::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1NetworkPolicyIngressRule} } + podSelector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + policyTypes::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiNetworkingV1NetworkPolicySpec(egress, ingress, podSelector, policyTypes, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("egress"), egress) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("ingress"), ingress) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("podSelector"), podSelector) + OpenAPI.validate_property(IoK8sApiNetworkingV1NetworkPolicySpec, Symbol("policyTypes"), policyTypes) + return new(egress, ingress, podSelector, policyTypes, ) + end +end # type IoK8sApiNetworkingV1NetworkPolicySpec + +const _property_types_IoK8sApiNetworkingV1NetworkPolicySpec = Dict{Symbol,String}(Symbol("egress")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyEgressRule}", Symbol("ingress")=>"Vector{IoK8sApiNetworkingV1NetworkPolicyIngressRule}", Symbol("podSelector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("policyTypes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1NetworkPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1NetworkPolicySpec[name]))} + +function check_required(o::IoK8sApiNetworkingV1NetworkPolicySpec) + o.podSelector === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1NetworkPolicySpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl new file mode 100644 index 00000000..919cbd1c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1HTTPIngressPath.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.HTTPIngressPath +HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend. + + IoK8sApiNetworkingV1beta1HTTPIngressPath(; + backend=nothing, + path=nothing, + ) + + - backend::IoK8sApiNetworkingV1beta1IngressBackend + - path::String : Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1HTTPIngressPath <: OpenAPI.APIModel + backend = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressBackend } + path::Union{Nothing, String} = nothing + + function IoK8sApiNetworkingV1beta1HTTPIngressPath(backend, path, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1HTTPIngressPath, Symbol("backend"), backend) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1HTTPIngressPath, Symbol("path"), path) + return new(backend, path, ) + end +end # type IoK8sApiNetworkingV1beta1HTTPIngressPath + +const _property_types_IoK8sApiNetworkingV1beta1HTTPIngressPath = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiNetworkingV1beta1IngressBackend", Symbol("path")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1HTTPIngressPath[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1HTTPIngressPath) + o.backend === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressPath }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl new file mode 100644 index 00000000..3e266506 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.HTTPIngressRuleValue +HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. + + IoK8sApiNetworkingV1beta1HTTPIngressRuleValue(; + paths=nothing, + ) + + - paths::Vector{IoK8sApiNetworkingV1beta1HTTPIngressPath} : A collection of paths that map requests to backends. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1HTTPIngressRuleValue <: OpenAPI.APIModel + paths::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1HTTPIngressPath} } + + function IoK8sApiNetworkingV1beta1HTTPIngressRuleValue(paths, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1HTTPIngressRuleValue, Symbol("paths"), paths) + return new(paths, ) + end +end # type IoK8sApiNetworkingV1beta1HTTPIngressRuleValue + +const _property_types_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue = Dict{Symbol,String}(Symbol("paths")=>"Vector{IoK8sApiNetworkingV1beta1HTTPIngressPath}", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressRuleValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1HTTPIngressRuleValue[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1HTTPIngressRuleValue) + o.paths === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1HTTPIngressRuleValue }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1Ingress.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1Ingress.jl new file mode 100644 index 00000000..d353dd35 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1Ingress.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.Ingress +Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. + + IoK8sApiNetworkingV1beta1Ingress(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiNetworkingV1beta1IngressSpec + - status::IoK8sApiNetworkingV1beta1IngressStatus +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1Ingress <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressStatus } + + function IoK8sApiNetworkingV1beta1Ingress(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1Ingress, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiNetworkingV1beta1Ingress + +const _property_types_IoK8sApiNetworkingV1beta1Ingress = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiNetworkingV1beta1IngressSpec", Symbol("status")=>"IoK8sApiNetworkingV1beta1IngressStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1Ingress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1Ingress[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1Ingress) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1Ingress }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressBackend.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressBackend.jl new file mode 100644 index 00000000..edb79895 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressBackend.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.IngressBackend +IngressBackend describes all endpoints for a given service and port. + + IoK8sApiNetworkingV1beta1IngressBackend(; + serviceName=nothing, + servicePort=nothing, + ) + + - serviceName::String : Specifies the name of the referenced service. + - servicePort::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1IngressBackend <: OpenAPI.APIModel + serviceName::Union{Nothing, String} = nothing + servicePort::Union{Nothing, Any} = nothing + + function IoK8sApiNetworkingV1beta1IngressBackend(serviceName, servicePort, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressBackend, Symbol("serviceName"), serviceName) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressBackend, Symbol("servicePort"), servicePort) + return new(serviceName, servicePort, ) + end +end # type IoK8sApiNetworkingV1beta1IngressBackend + +const _property_types_IoK8sApiNetworkingV1beta1IngressBackend = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("servicePort")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressBackend }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressBackend[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1IngressBackend) + o.serviceName === nothing && (return false) + o.servicePort === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressBackend }, name::Symbol, val) + if name === Symbol("servicePort") + OpenAPI.validate_param(name, "IoK8sApiNetworkingV1beta1IngressBackend", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressList.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressList.jl new file mode 100644 index 00000000..d190e83d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.IngressList +IngressList is a collection of Ingress. + + IoK8sApiNetworkingV1beta1IngressList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiNetworkingV1beta1Ingress} : Items is the list of Ingress. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1IngressList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1Ingress} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiNetworkingV1beta1IngressList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiNetworkingV1beta1IngressList + +const _property_types_IoK8sApiNetworkingV1beta1IngressList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNetworkingV1beta1Ingress}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressList[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1IngressList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressRule.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressRule.jl new file mode 100644 index 00000000..27f9f21b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressRule.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.IngressRule +IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. + + IoK8sApiNetworkingV1beta1IngressRule(; + host=nothing, + http=nothing, + ) + + - host::String : Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. + - http::IoK8sApiNetworkingV1beta1HTTPIngressRuleValue +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1IngressRule <: OpenAPI.APIModel + host::Union{Nothing, String} = nothing + http = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1HTTPIngressRuleValue } + + function IoK8sApiNetworkingV1beta1IngressRule(host, http, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressRule, Symbol("host"), host) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressRule, Symbol("http"), http) + return new(host, http, ) + end +end # type IoK8sApiNetworkingV1beta1IngressRule + +const _property_types_IoK8sApiNetworkingV1beta1IngressRule = Dict{Symbol,String}(Symbol("host")=>"String", Symbol("http")=>"IoK8sApiNetworkingV1beta1HTTPIngressRuleValue", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressRule[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1IngressRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressSpec.jl new file mode 100644 index 00000000..79b8b9af --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressSpec.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.IngressSpec +IngressSpec describes the Ingress the user wishes to exist. + + IoK8sApiNetworkingV1beta1IngressSpec(; + backend=nothing, + rules=nothing, + tls=nothing, + ) + + - backend::IoK8sApiNetworkingV1beta1IngressBackend + - rules::Vector{IoK8sApiNetworkingV1beta1IngressRule} : A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. + - tls::Vector{IoK8sApiNetworkingV1beta1IngressTLS} : TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1IngressSpec <: OpenAPI.APIModel + backend = nothing # spec type: Union{ Nothing, IoK8sApiNetworkingV1beta1IngressBackend } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1IngressRule} } + tls::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNetworkingV1beta1IngressTLS} } + + function IoK8sApiNetworkingV1beta1IngressSpec(backend, rules, tls, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressSpec, Symbol("backend"), backend) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressSpec, Symbol("rules"), rules) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressSpec, Symbol("tls"), tls) + return new(backend, rules, tls, ) + end +end # type IoK8sApiNetworkingV1beta1IngressSpec + +const _property_types_IoK8sApiNetworkingV1beta1IngressSpec = Dict{Symbol,String}(Symbol("backend")=>"IoK8sApiNetworkingV1beta1IngressBackend", Symbol("rules")=>"Vector{IoK8sApiNetworkingV1beta1IngressRule}", Symbol("tls")=>"Vector{IoK8sApiNetworkingV1beta1IngressTLS}", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressSpec[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1IngressSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressStatus.jl new file mode 100644 index 00000000..d7773d8a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.IngressStatus +IngressStatus describe the current state of the Ingress. + + IoK8sApiNetworkingV1beta1IngressStatus(; + loadBalancer=nothing, + ) + + - loadBalancer::IoK8sApiCoreV1LoadBalancerStatus +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1IngressStatus <: OpenAPI.APIModel + loadBalancer = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } + + function IoK8sApiNetworkingV1beta1IngressStatus(loadBalancer, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressStatus, Symbol("loadBalancer"), loadBalancer) + return new(loadBalancer, ) + end +end # type IoK8sApiNetworkingV1beta1IngressStatus + +const _property_types_IoK8sApiNetworkingV1beta1IngressStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressStatus[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1IngressStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressTLS.jl b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressTLS.jl new file mode 100644 index 00000000..f71467be --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNetworkingV1beta1IngressTLS.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.networking.v1beta1.IngressTLS +IngressTLS describes the transport layer security associated with an Ingress. + + IoK8sApiNetworkingV1beta1IngressTLS(; + hosts=nothing, + secretName=nothing, + ) + + - hosts::Vector{String} : Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. + - secretName::String : SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. +""" +Base.@kwdef mutable struct IoK8sApiNetworkingV1beta1IngressTLS <: OpenAPI.APIModel + hosts::Union{Nothing, Vector{String}} = nothing + secretName::Union{Nothing, String} = nothing + + function IoK8sApiNetworkingV1beta1IngressTLS(hosts, secretName, ) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressTLS, Symbol("hosts"), hosts) + OpenAPI.validate_property(IoK8sApiNetworkingV1beta1IngressTLS, Symbol("secretName"), secretName) + return new(hosts, secretName, ) + end +end # type IoK8sApiNetworkingV1beta1IngressTLS + +const _property_types_IoK8sApiNetworkingV1beta1IngressTLS = Dict{Symbol,String}(Symbol("hosts")=>"Vector{String}", Symbol("secretName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiNetworkingV1beta1IngressTLS }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNetworkingV1beta1IngressTLS[name]))} + +function check_required(o::IoK8sApiNetworkingV1beta1IngressTLS) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNetworkingV1beta1IngressTLS }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1Overhead.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1Overhead.jl new file mode 100644 index 00000000..806e764a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1Overhead.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1alpha1.Overhead +Overhead structure represents the resource overhead associated with running a pod. + + IoK8sApiNodeV1alpha1Overhead(; + podFixed=nothing, + ) + + - podFixed::Dict{String, String} : PodFixed represents the fixed resource overhead associated with running a pod. +""" +Base.@kwdef mutable struct IoK8sApiNodeV1alpha1Overhead <: OpenAPI.APIModel + podFixed::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiNodeV1alpha1Overhead(podFixed, ) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1Overhead, Symbol("podFixed"), podFixed) + return new(podFixed, ) + end +end # type IoK8sApiNodeV1alpha1Overhead + +const _property_types_IoK8sApiNodeV1alpha1Overhead = Dict{Symbol,String}(Symbol("podFixed")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1alpha1Overhead }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1Overhead[name]))} + +function check_required(o::IoK8sApiNodeV1alpha1Overhead) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1alpha1Overhead }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClass.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClass.jl new file mode 100644 index 00000000..6fbf034c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClass.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1alpha1.RuntimeClass +RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md + + IoK8sApiNodeV1alpha1RuntimeClass(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiNodeV1alpha1RuntimeClassSpec +""" +Base.@kwdef mutable struct IoK8sApiNodeV1alpha1RuntimeClass <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiNodeV1alpha1RuntimeClassSpec } + + function IoK8sApiNodeV1alpha1RuntimeClass(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClass, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiNodeV1alpha1RuntimeClass + +const _property_types_IoK8sApiNodeV1alpha1RuntimeClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiNodeV1alpha1RuntimeClassSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1alpha1RuntimeClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1RuntimeClass[name]))} + +function check_required(o::IoK8sApiNodeV1alpha1RuntimeClass) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1alpha1RuntimeClass }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl new file mode 100644 index 00000000..b7b14b8a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1alpha1.RuntimeClassList +RuntimeClassList is a list of RuntimeClass objects. + + IoK8sApiNodeV1alpha1RuntimeClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiNodeV1alpha1RuntimeClass} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiNodeV1alpha1RuntimeClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNodeV1alpha1RuntimeClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiNodeV1alpha1RuntimeClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiNodeV1alpha1RuntimeClassList + +const _property_types_IoK8sApiNodeV1alpha1RuntimeClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNodeV1alpha1RuntimeClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1alpha1RuntimeClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1RuntimeClassList[name]))} + +function check_required(o::IoK8sApiNodeV1alpha1RuntimeClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1alpha1RuntimeClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl new file mode 100644 index 00000000..a9158165 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1RuntimeClassSpec.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1alpha1.RuntimeClassSpec +RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable. + + IoK8sApiNodeV1alpha1RuntimeClassSpec(; + overhead=nothing, + runtimeHandler=nothing, + scheduling=nothing, + ) + + - overhead::IoK8sApiNodeV1alpha1Overhead + - runtimeHandler::String : RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable. + - scheduling::IoK8sApiNodeV1alpha1Scheduling +""" +Base.@kwdef mutable struct IoK8sApiNodeV1alpha1RuntimeClassSpec <: OpenAPI.APIModel + overhead = nothing # spec type: Union{ Nothing, IoK8sApiNodeV1alpha1Overhead } + runtimeHandler::Union{Nothing, String} = nothing + scheduling = nothing # spec type: Union{ Nothing, IoK8sApiNodeV1alpha1Scheduling } + + function IoK8sApiNodeV1alpha1RuntimeClassSpec(overhead, runtimeHandler, scheduling, ) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassSpec, Symbol("overhead"), overhead) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassSpec, Symbol("runtimeHandler"), runtimeHandler) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1RuntimeClassSpec, Symbol("scheduling"), scheduling) + return new(overhead, runtimeHandler, scheduling, ) + end +end # type IoK8sApiNodeV1alpha1RuntimeClassSpec + +const _property_types_IoK8sApiNodeV1alpha1RuntimeClassSpec = Dict{Symbol,String}(Symbol("overhead")=>"IoK8sApiNodeV1alpha1Overhead", Symbol("runtimeHandler")=>"String", Symbol("scheduling")=>"IoK8sApiNodeV1alpha1Scheduling", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1alpha1RuntimeClassSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1RuntimeClassSpec[name]))} + +function check_required(o::IoK8sApiNodeV1alpha1RuntimeClassSpec) + o.runtimeHandler === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1alpha1RuntimeClassSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1Scheduling.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1Scheduling.jl new file mode 100644 index 00000000..47bfb11e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1alpha1Scheduling.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1alpha1.Scheduling +Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. + + IoK8sApiNodeV1alpha1Scheduling(; + nodeSelector=nothing, + tolerations=nothing, + ) + + - nodeSelector::Dict{String, String} : nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission. + - tolerations::Vector{IoK8sApiCoreV1Toleration} : tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. +""" +Base.@kwdef mutable struct IoK8sApiNodeV1alpha1Scheduling <: OpenAPI.APIModel + nodeSelector::Union{Nothing, Dict{String, String}} = nothing + tolerations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Toleration} } + + function IoK8sApiNodeV1alpha1Scheduling(nodeSelector, tolerations, ) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1Scheduling, Symbol("nodeSelector"), nodeSelector) + OpenAPI.validate_property(IoK8sApiNodeV1alpha1Scheduling, Symbol("tolerations"), tolerations) + return new(nodeSelector, tolerations, ) + end +end # type IoK8sApiNodeV1alpha1Scheduling + +const _property_types_IoK8sApiNodeV1alpha1Scheduling = Dict{Symbol,String}(Symbol("nodeSelector")=>"Dict{String, String}", Symbol("tolerations")=>"Vector{IoK8sApiCoreV1Toleration}", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1alpha1Scheduling }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1alpha1Scheduling[name]))} + +function check_required(o::IoK8sApiNodeV1alpha1Scheduling) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1alpha1Scheduling }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1Overhead.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1Overhead.jl new file mode 100644 index 00000000..74992ee2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1Overhead.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1beta1.Overhead +Overhead structure represents the resource overhead associated with running a pod. + + IoK8sApiNodeV1beta1Overhead(; + podFixed=nothing, + ) + + - podFixed::Dict{String, String} : PodFixed represents the fixed resource overhead associated with running a pod. +""" +Base.@kwdef mutable struct IoK8sApiNodeV1beta1Overhead <: OpenAPI.APIModel + podFixed::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApiNodeV1beta1Overhead(podFixed, ) + OpenAPI.validate_property(IoK8sApiNodeV1beta1Overhead, Symbol("podFixed"), podFixed) + return new(podFixed, ) + end +end # type IoK8sApiNodeV1beta1Overhead + +const _property_types_IoK8sApiNodeV1beta1Overhead = Dict{Symbol,String}(Symbol("podFixed")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1beta1Overhead }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1Overhead[name]))} + +function check_required(o::IoK8sApiNodeV1beta1Overhead) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1beta1Overhead }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1RuntimeClass.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1RuntimeClass.jl new file mode 100644 index 00000000..d7400a65 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1RuntimeClass.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1beta1.RuntimeClass +RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md + + IoK8sApiNodeV1beta1RuntimeClass(; + apiVersion=nothing, + handler=nothing, + kind=nothing, + metadata=nothing, + overhead=nothing, + scheduling=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - handler::String : Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - overhead::IoK8sApiNodeV1beta1Overhead + - scheduling::IoK8sApiNodeV1beta1Scheduling +""" +Base.@kwdef mutable struct IoK8sApiNodeV1beta1RuntimeClass <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + handler::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + overhead = nothing # spec type: Union{ Nothing, IoK8sApiNodeV1beta1Overhead } + scheduling = nothing # spec type: Union{ Nothing, IoK8sApiNodeV1beta1Scheduling } + + function IoK8sApiNodeV1beta1RuntimeClass(apiVersion, handler, kind, metadata, overhead, scheduling, ) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("handler"), handler) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("overhead"), overhead) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClass, Symbol("scheduling"), scheduling) + return new(apiVersion, handler, kind, metadata, overhead, scheduling, ) + end +end # type IoK8sApiNodeV1beta1RuntimeClass + +const _property_types_IoK8sApiNodeV1beta1RuntimeClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("handler")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("overhead")=>"IoK8sApiNodeV1beta1Overhead", Symbol("scheduling")=>"IoK8sApiNodeV1beta1Scheduling", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1beta1RuntimeClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1RuntimeClass[name]))} + +function check_required(o::IoK8sApiNodeV1beta1RuntimeClass) + o.handler === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1beta1RuntimeClass }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1RuntimeClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1RuntimeClassList.jl new file mode 100644 index 00000000..83e0ee88 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1RuntimeClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1beta1.RuntimeClassList +RuntimeClassList is a list of RuntimeClass objects. + + IoK8sApiNodeV1beta1RuntimeClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiNodeV1beta1RuntimeClass} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiNodeV1beta1RuntimeClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiNodeV1beta1RuntimeClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiNodeV1beta1RuntimeClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiNodeV1beta1RuntimeClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiNodeV1beta1RuntimeClassList + +const _property_types_IoK8sApiNodeV1beta1RuntimeClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiNodeV1beta1RuntimeClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1beta1RuntimeClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1RuntimeClassList[name]))} + +function check_required(o::IoK8sApiNodeV1beta1RuntimeClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1beta1RuntimeClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1Scheduling.jl b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1Scheduling.jl new file mode 100644 index 00000000..2d249e5c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiNodeV1beta1Scheduling.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.node.v1beta1.Scheduling +Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. + + IoK8sApiNodeV1beta1Scheduling(; + nodeSelector=nothing, + tolerations=nothing, + ) + + - nodeSelector::Dict{String, String} : nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission. + - tolerations::Vector{IoK8sApiCoreV1Toleration} : tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. +""" +Base.@kwdef mutable struct IoK8sApiNodeV1beta1Scheduling <: OpenAPI.APIModel + nodeSelector::Union{Nothing, Dict{String, String}} = nothing + tolerations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Toleration} } + + function IoK8sApiNodeV1beta1Scheduling(nodeSelector, tolerations, ) + OpenAPI.validate_property(IoK8sApiNodeV1beta1Scheduling, Symbol("nodeSelector"), nodeSelector) + OpenAPI.validate_property(IoK8sApiNodeV1beta1Scheduling, Symbol("tolerations"), tolerations) + return new(nodeSelector, tolerations, ) + end +end # type IoK8sApiNodeV1beta1Scheduling + +const _property_types_IoK8sApiNodeV1beta1Scheduling = Dict{Symbol,String}(Symbol("nodeSelector")=>"Dict{String, String}", Symbol("tolerations")=>"Vector{IoK8sApiCoreV1Toleration}", ) +OpenAPI.property_type(::Type{ IoK8sApiNodeV1beta1Scheduling }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiNodeV1beta1Scheduling[name]))} + +function check_required(o::IoK8sApiNodeV1beta1Scheduling) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiNodeV1beta1Scheduling }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl new file mode 100644 index 00000000..c01b5bc1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedCSIDriver.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.AllowedCSIDriver +AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used. + + IoK8sApiPolicyV1beta1AllowedCSIDriver(; + name=nothing, + ) + + - name::String : Name is the registered name of the CSI driver +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1AllowedCSIDriver <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1AllowedCSIDriver(name, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1AllowedCSIDriver, Symbol("name"), name) + return new(name, ) + end +end # type IoK8sApiPolicyV1beta1AllowedCSIDriver + +const _property_types_IoK8sApiPolicyV1beta1AllowedCSIDriver = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1AllowedCSIDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1AllowedCSIDriver[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1AllowedCSIDriver) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1AllowedCSIDriver }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl new file mode 100644 index 00000000..8f830cb9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedFlexVolume.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.AllowedFlexVolume +AllowedFlexVolume represents a single Flexvolume that is allowed to be used. + + IoK8sApiPolicyV1beta1AllowedFlexVolume(; + driver=nothing, + ) + + - driver::String : driver is the name of the Flexvolume driver. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1AllowedFlexVolume <: OpenAPI.APIModel + driver::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1AllowedFlexVolume(driver, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1AllowedFlexVolume, Symbol("driver"), driver) + return new(driver, ) + end +end # type IoK8sApiPolicyV1beta1AllowedFlexVolume + +const _property_types_IoK8sApiPolicyV1beta1AllowedFlexVolume = Dict{Symbol,String}(Symbol("driver")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1AllowedFlexVolume }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1AllowedFlexVolume[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1AllowedFlexVolume) + o.driver === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1AllowedFlexVolume }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl new file mode 100644 index 00000000..22c197d1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1AllowedHostPath.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.AllowedHostPath +AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. + + IoK8sApiPolicyV1beta1AllowedHostPath(; + pathPrefix=nothing, + readOnly=nothing, + ) + + - pathPrefix::String : pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + - readOnly::Bool : when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1AllowedHostPath <: OpenAPI.APIModel + pathPrefix::Union{Nothing, String} = nothing + readOnly::Union{Nothing, Bool} = nothing + + function IoK8sApiPolicyV1beta1AllowedHostPath(pathPrefix, readOnly, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1AllowedHostPath, Symbol("pathPrefix"), pathPrefix) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1AllowedHostPath, Symbol("readOnly"), readOnly) + return new(pathPrefix, readOnly, ) + end +end # type IoK8sApiPolicyV1beta1AllowedHostPath + +const _property_types_IoK8sApiPolicyV1beta1AllowedHostPath = Dict{Symbol,String}(Symbol("pathPrefix")=>"String", Symbol("readOnly")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1AllowedHostPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1AllowedHostPath[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1AllowedHostPath) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1AllowedHostPath }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1Eviction.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1Eviction.jl new file mode 100644 index 00000000..a591272b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1Eviction.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.Eviction +Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions. + + IoK8sApiPolicyV1beta1Eviction(; + apiVersion=nothing, + deleteOptions=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - deleteOptions::IoK8sApimachineryPkgApisMetaV1DeleteOptions + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1Eviction <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + deleteOptions = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1DeleteOptions } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + + function IoK8sApiPolicyV1beta1Eviction(apiVersion, deleteOptions, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("deleteOptions"), deleteOptions) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1Eviction, Symbol("metadata"), metadata) + return new(apiVersion, deleteOptions, kind, metadata, ) + end +end # type IoK8sApiPolicyV1beta1Eviction + +const _property_types_IoK8sApiPolicyV1beta1Eviction = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("deleteOptions")=>"IoK8sApimachineryPkgApisMetaV1DeleteOptions", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1Eviction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1Eviction[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1Eviction) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1Eviction }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl new file mode 100644 index 00000000..e5124485 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1FSGroupStrategyOptions.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.FSGroupStrategyOptions +FSGroupStrategyOptions defines the strategy type and options used to create the strategy. + + IoK8sApiPolicyV1beta1FSGroupStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1FSGroupStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1FSGroupStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1FSGroupStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1FSGroupStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiPolicyV1beta1FSGroupStrategyOptions + +const _property_types_IoK8sApiPolicyV1beta1FSGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1FSGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1FSGroupStrategyOptions[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1FSGroupStrategyOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1FSGroupStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1HostPortRange.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1HostPortRange.jl new file mode 100644 index 00000000..99c76382 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1HostPortRange.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.HostPortRange +HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. + + IoK8sApiPolicyV1beta1HostPortRange(; + max=nothing, + min=nothing, + ) + + - max::Int64 : max is the end of the range, inclusive. + - min::Int64 : min is the start of the range, inclusive. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1HostPortRange <: OpenAPI.APIModel + max::Union{Nothing, Int64} = nothing + min::Union{Nothing, Int64} = nothing + + function IoK8sApiPolicyV1beta1HostPortRange(max, min, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1HostPortRange, Symbol("max"), max) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1HostPortRange, Symbol("min"), min) + return new(max, min, ) + end +end # type IoK8sApiPolicyV1beta1HostPortRange + +const _property_types_IoK8sApiPolicyV1beta1HostPortRange = Dict{Symbol,String}(Symbol("max")=>"Int64", Symbol("min")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1HostPortRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1HostPortRange[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1HostPortRange) + o.max === nothing && (return false) + o.min === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1HostPortRange }, name::Symbol, val) + if name === Symbol("max") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1HostPortRange", :format, val, "int32") + end + if name === Symbol("min") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1HostPortRange", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1IDRange.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1IDRange.jl new file mode 100644 index 00000000..3e722019 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1IDRange.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.IDRange +IDRange provides a min/max of an allowed range of IDs. + + IoK8sApiPolicyV1beta1IDRange(; + max=nothing, + min=nothing, + ) + + - max::Int64 : max is the end of the range, inclusive. + - min::Int64 : min is the start of the range, inclusive. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1IDRange <: OpenAPI.APIModel + max::Union{Nothing, Int64} = nothing + min::Union{Nothing, Int64} = nothing + + function IoK8sApiPolicyV1beta1IDRange(max, min, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1IDRange, Symbol("max"), max) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1IDRange, Symbol("min"), min) + return new(max, min, ) + end +end # type IoK8sApiPolicyV1beta1IDRange + +const _property_types_IoK8sApiPolicyV1beta1IDRange = Dict{Symbol,String}(Symbol("max")=>"Int64", Symbol("min")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1IDRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1IDRange[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1IDRange) + o.max === nothing && (return false) + o.min === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1IDRange }, name::Symbol, val) + if name === Symbol("max") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1IDRange", :format, val, "int64") + end + if name === Symbol("min") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1IDRange", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl new file mode 100644 index 00000000..929bf386 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudget.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodDisruptionBudget +PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods + + IoK8sApiPolicyV1beta1PodDisruptionBudget(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec + - status::IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudget <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus } + + function IoK8sApiPolicyV1beta1PodDisruptionBudget(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudget, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiPolicyV1beta1PodDisruptionBudget + +const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudget = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec", Symbol("status")=>"IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudget }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudget[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudget) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudget }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl new file mode 100644 index 00000000..ea87a499 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodDisruptionBudgetList +PodDisruptionBudgetList is a collection of PodDisruptionBudgets. + + IoK8sApiPolicyV1beta1PodDisruptionBudgetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiPolicyV1beta1PodDisruptionBudget} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudgetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1PodDisruptionBudget} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiPolicyV1beta1PodDisruptionBudgetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiPolicyV1beta1PodDisruptionBudgetList + +const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiPolicyV1beta1PodDisruptionBudget}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetList[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudgetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl new file mode 100644 index 00000000..e88e765c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec +PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. + + IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(; + maxUnavailable=nothing, + minAvailable=nothing, + selector=nothing, + ) + + - maxUnavailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - minAvailable::Any : IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec <: OpenAPI.APIModel + maxUnavailable::Union{Nothing, Any} = nothing + minAvailable::Union{Nothing, Any} = nothing + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + + function IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(maxUnavailable, minAvailable, selector, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec, Symbol("maxUnavailable"), maxUnavailable) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec, Symbol("minAvailable"), minAvailable) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec, Symbol("selector"), selector) + return new(maxUnavailable, minAvailable, selector, ) + end +end # type IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec + +const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec = Dict{Symbol,String}(Symbol("maxUnavailable")=>"Any", Symbol("minAvailable")=>"Any", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec }, name::Symbol, val) + if name === Symbol("maxUnavailable") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec", :format, val, "int-or-string") + end + if name === Symbol("minAvailable") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec", :format, val, "int-or-string") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl new file mode 100644 index 00000000..923e38a2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus +PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system. + + IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus(; + currentHealthy=nothing, + desiredHealthy=nothing, + disruptedPods=nothing, + disruptionsAllowed=nothing, + expectedPods=nothing, + observedGeneration=nothing, + ) + + - currentHealthy::Int64 : current number of healthy pods + - desiredHealthy::Int64 : minimum desired number of healthy pods + - disruptedPods::Dict{String, ZonedDateTime} : DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. + - disruptionsAllowed::Int64 : Number of pod disruptions that are currently allowed. + - expectedPods::Int64 : total number of pods counted by this disruption budget + - observedGeneration::Int64 : Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus <: OpenAPI.APIModel + currentHealthy::Union{Nothing, Int64} = nothing + desiredHealthy::Union{Nothing, Int64} = nothing + disruptedPods::Union{Nothing, Dict{String, ZonedDateTime}} = nothing + disruptionsAllowed::Union{Nothing, Int64} = nothing + expectedPods::Union{Nothing, Int64} = nothing + observedGeneration::Union{Nothing, Int64} = nothing + + function IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus(currentHealthy, desiredHealthy, disruptedPods, disruptionsAllowed, expectedPods, observedGeneration, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("currentHealthy"), currentHealthy) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("desiredHealthy"), desiredHealthy) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("disruptedPods"), disruptedPods) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("disruptionsAllowed"), disruptionsAllowed) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("expectedPods"), expectedPods) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus, Symbol("observedGeneration"), observedGeneration) + return new(currentHealthy, desiredHealthy, disruptedPods, disruptionsAllowed, expectedPods, observedGeneration, ) + end +end # type IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus + +const _property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus = Dict{Symbol,String}(Symbol("currentHealthy")=>"Int64", Symbol("desiredHealthy")=>"Int64", Symbol("disruptedPods")=>"Dict{String, ZonedDateTime}", Symbol("disruptionsAllowed")=>"Int64", Symbol("expectedPods")=>"Int64", Symbol("observedGeneration")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus) + o.currentHealthy === nothing && (return false) + o.desiredHealthy === nothing && (return false) + o.disruptionsAllowed === nothing && (return false) + o.expectedPods === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus }, name::Symbol, val) + if name === Symbol("currentHealthy") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus", :format, val, "int32") + end + if name === Symbol("desiredHealthy") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus", :format, val, "int32") + end + if name === Symbol("disruptionsAllowed") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus", :format, val, "int32") + end + if name === Symbol("expectedPods") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus", :format, val, "int32") + end + if name === Symbol("observedGeneration") + OpenAPI.validate_param(name, "IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl new file mode 100644 index 00000000..36a7b95b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicy.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodSecurityPolicy +PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. + + IoK8sApiPolicyV1beta1PodSecurityPolicy(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiPolicyV1beta1PodSecurityPolicySpec +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodSecurityPolicy <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1PodSecurityPolicySpec } + + function IoK8sApiPolicyV1beta1PodSecurityPolicy(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicy, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiPolicyV1beta1PodSecurityPolicy + +const _property_types_IoK8sApiPolicyV1beta1PodSecurityPolicy = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiPolicyV1beta1PodSecurityPolicySpec", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodSecurityPolicy[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodSecurityPolicy) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicy }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl new file mode 100644 index 00000000..0005a6fb --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicyList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodSecurityPolicyList +PodSecurityPolicyList is a list of PodSecurityPolicy objects. + + IoK8sApiPolicyV1beta1PodSecurityPolicyList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiPolicyV1beta1PodSecurityPolicy} : items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodSecurityPolicyList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1PodSecurityPolicy} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiPolicyV1beta1PodSecurityPolicyList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicyList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiPolicyV1beta1PodSecurityPolicyList + +const _property_types_IoK8sApiPolicyV1beta1PodSecurityPolicyList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiPolicyV1beta1PodSecurityPolicy}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicyList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodSecurityPolicyList[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodSecurityPolicyList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicyList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl new file mode 100644 index 00000000..94c1a453 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1PodSecurityPolicySpec.jl @@ -0,0 +1,127 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.PodSecurityPolicySpec +PodSecurityPolicySpec defines the policy enforced. + + IoK8sApiPolicyV1beta1PodSecurityPolicySpec(; + allowPrivilegeEscalation=nothing, + allowedCSIDrivers=nothing, + allowedCapabilities=nothing, + allowedFlexVolumes=nothing, + allowedHostPaths=nothing, + allowedProcMountTypes=nothing, + allowedUnsafeSysctls=nothing, + defaultAddCapabilities=nothing, + defaultAllowPrivilegeEscalation=nothing, + forbiddenSysctls=nothing, + fsGroup=nothing, + hostIPC=nothing, + hostNetwork=nothing, + hostPID=nothing, + hostPorts=nothing, + privileged=nothing, + readOnlyRootFilesystem=nothing, + requiredDropCapabilities=nothing, + runAsGroup=nothing, + runAsUser=nothing, + runtimeClass=nothing, + seLinux=nothing, + supplementalGroups=nothing, + volumes=nothing, + ) + + - allowPrivilegeEscalation::Bool : allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + - allowedCSIDrivers::Vector{IoK8sApiPolicyV1beta1AllowedCSIDriver} : AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate. + - allowedCapabilities::Vector{String} : allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. + - allowedFlexVolumes::Vector{IoK8sApiPolicyV1beta1AllowedFlexVolume} : allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. + - allowedHostPaths::Vector{IoK8sApiPolicyV1beta1AllowedHostPath} : allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. + - allowedProcMountTypes::Vector{String} : AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. + - allowedUnsafeSysctls::Vector{String} : allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + - defaultAddCapabilities::Vector{String} : defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. + - defaultAllowPrivilegeEscalation::Bool : defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + - forbiddenSysctls::Vector{String} : forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + - fsGroup::IoK8sApiPolicyV1beta1FSGroupStrategyOptions + - hostIPC::Bool : hostIPC determines if the policy allows the use of HostIPC in the pod spec. + - hostNetwork::Bool : hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. + - hostPID::Bool : hostPID determines if the policy allows the use of HostPID in the pod spec. + - hostPorts::Vector{IoK8sApiPolicyV1beta1HostPortRange} : hostPorts determines which host port ranges are allowed to be exposed. + - privileged::Bool : privileged determines if a pod can request to be run as privileged. + - readOnlyRootFilesystem::Bool : readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + - requiredDropCapabilities::Vector{String} : requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + - runAsGroup::IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions + - runAsUser::IoK8sApiPolicyV1beta1RunAsUserStrategyOptions + - runtimeClass::IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions + - seLinux::IoK8sApiPolicyV1beta1SELinuxStrategyOptions + - supplementalGroups::IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions + - volumes::Vector{String} : volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1PodSecurityPolicySpec <: OpenAPI.APIModel + allowPrivilegeEscalation::Union{Nothing, Bool} = nothing + allowedCSIDrivers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1AllowedCSIDriver} } + allowedCapabilities::Union{Nothing, Vector{String}} = nothing + allowedFlexVolumes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1AllowedFlexVolume} } + allowedHostPaths::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1AllowedHostPath} } + allowedProcMountTypes::Union{Nothing, Vector{String}} = nothing + allowedUnsafeSysctls::Union{Nothing, Vector{String}} = nothing + defaultAddCapabilities::Union{Nothing, Vector{String}} = nothing + defaultAllowPrivilegeEscalation::Union{Nothing, Bool} = nothing + forbiddenSysctls::Union{Nothing, Vector{String}} = nothing + fsGroup = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1FSGroupStrategyOptions } + hostIPC::Union{Nothing, Bool} = nothing + hostNetwork::Union{Nothing, Bool} = nothing + hostPID::Union{Nothing, Bool} = nothing + hostPorts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1HostPortRange} } + privileged::Union{Nothing, Bool} = nothing + readOnlyRootFilesystem::Union{Nothing, Bool} = nothing + requiredDropCapabilities::Union{Nothing, Vector{String}} = nothing + runAsGroup = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions } + runAsUser = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1RunAsUserStrategyOptions } + runtimeClass = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions } + seLinux = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1SELinuxStrategyOptions } + supplementalGroups = nothing # spec type: Union{ Nothing, IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions } + volumes::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiPolicyV1beta1PodSecurityPolicySpec(allowPrivilegeEscalation, allowedCSIDrivers, allowedCapabilities, allowedFlexVolumes, allowedHostPaths, allowedProcMountTypes, allowedUnsafeSysctls, defaultAddCapabilities, defaultAllowPrivilegeEscalation, forbiddenSysctls, fsGroup, hostIPC, hostNetwork, hostPID, hostPorts, privileged, readOnlyRootFilesystem, requiredDropCapabilities, runAsGroup, runAsUser, runtimeClass, seLinux, supplementalGroups, volumes, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowPrivilegeEscalation"), allowPrivilegeEscalation) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedCSIDrivers"), allowedCSIDrivers) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedCapabilities"), allowedCapabilities) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedFlexVolumes"), allowedFlexVolumes) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedHostPaths"), allowedHostPaths) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedProcMountTypes"), allowedProcMountTypes) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("allowedUnsafeSysctls"), allowedUnsafeSysctls) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("defaultAddCapabilities"), defaultAddCapabilities) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("defaultAllowPrivilegeEscalation"), defaultAllowPrivilegeEscalation) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("forbiddenSysctls"), forbiddenSysctls) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("fsGroup"), fsGroup) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostIPC"), hostIPC) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostNetwork"), hostNetwork) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostPID"), hostPID) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("hostPorts"), hostPorts) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("privileged"), privileged) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("readOnlyRootFilesystem"), readOnlyRootFilesystem) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("requiredDropCapabilities"), requiredDropCapabilities) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("runAsGroup"), runAsGroup) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("runAsUser"), runAsUser) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("runtimeClass"), runtimeClass) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("seLinux"), seLinux) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("supplementalGroups"), supplementalGroups) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1PodSecurityPolicySpec, Symbol("volumes"), volumes) + return new(allowPrivilegeEscalation, allowedCSIDrivers, allowedCapabilities, allowedFlexVolumes, allowedHostPaths, allowedProcMountTypes, allowedUnsafeSysctls, defaultAddCapabilities, defaultAllowPrivilegeEscalation, forbiddenSysctls, fsGroup, hostIPC, hostNetwork, hostPID, hostPorts, privileged, readOnlyRootFilesystem, requiredDropCapabilities, runAsGroup, runAsUser, runtimeClass, seLinux, supplementalGroups, volumes, ) + end +end # type IoK8sApiPolicyV1beta1PodSecurityPolicySpec + +const _property_types_IoK8sApiPolicyV1beta1PodSecurityPolicySpec = Dict{Symbol,String}(Symbol("allowPrivilegeEscalation")=>"Bool", Symbol("allowedCSIDrivers")=>"Vector{IoK8sApiPolicyV1beta1AllowedCSIDriver}", Symbol("allowedCapabilities")=>"Vector{String}", Symbol("allowedFlexVolumes")=>"Vector{IoK8sApiPolicyV1beta1AllowedFlexVolume}", Symbol("allowedHostPaths")=>"Vector{IoK8sApiPolicyV1beta1AllowedHostPath}", Symbol("allowedProcMountTypes")=>"Vector{String}", Symbol("allowedUnsafeSysctls")=>"Vector{String}", Symbol("defaultAddCapabilities")=>"Vector{String}", Symbol("defaultAllowPrivilegeEscalation")=>"Bool", Symbol("forbiddenSysctls")=>"Vector{String}", Symbol("fsGroup")=>"IoK8sApiPolicyV1beta1FSGroupStrategyOptions", Symbol("hostIPC")=>"Bool", Symbol("hostNetwork")=>"Bool", Symbol("hostPID")=>"Bool", Symbol("hostPorts")=>"Vector{IoK8sApiPolicyV1beta1HostPortRange}", Symbol("privileged")=>"Bool", Symbol("readOnlyRootFilesystem")=>"Bool", Symbol("requiredDropCapabilities")=>"Vector{String}", Symbol("runAsGroup")=>"IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions", Symbol("runAsUser")=>"IoK8sApiPolicyV1beta1RunAsUserStrategyOptions", Symbol("runtimeClass")=>"IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions", Symbol("seLinux")=>"IoK8sApiPolicyV1beta1SELinuxStrategyOptions", Symbol("supplementalGroups")=>"IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions", Symbol("volumes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicySpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1PodSecurityPolicySpec[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1PodSecurityPolicySpec) + o.fsGroup === nothing && (return false) + o.runAsUser === nothing && (return false) + o.seLinux === nothing && (return false) + o.supplementalGroups === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1PodSecurityPolicySpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl new file mode 100644 index 00000000..8ac3e85f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions +RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. + + IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate the allowable RunAsGroup values that may be set. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions + +const _property_types_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions) + o.rule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl new file mode 100644 index 00000000..0d43bf33 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions +RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. + + IoK8sApiPolicyV1beta1RunAsUserStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate the allowable RunAsUser values that may be set. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1RunAsUserStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1RunAsUserStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1RunAsUserStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1RunAsUserStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiPolicyV1beta1RunAsUserStrategyOptions + +const _property_types_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1RunAsUserStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1RunAsUserStrategyOptions[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1RunAsUserStrategyOptions) + o.rule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1RunAsUserStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl new file mode 100644 index 00000000..ed274cc7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions +RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod. + + IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions(; + allowedRuntimeClassNames=nothing, + defaultRuntimeClassName=nothing, + ) + + - allowedRuntimeClassNames::Vector{String} : allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset. + - defaultRuntimeClassName::String : defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions <: OpenAPI.APIModel + allowedRuntimeClassNames::Union{Nothing, Vector{String}} = nothing + defaultRuntimeClassName::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions(allowedRuntimeClassNames, defaultRuntimeClassName, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions, Symbol("allowedRuntimeClassNames"), allowedRuntimeClassNames) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions, Symbol("defaultRuntimeClassName"), defaultRuntimeClassName) + return new(allowedRuntimeClassNames, defaultRuntimeClassName, ) + end +end # type IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions + +const _property_types_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions = Dict{Symbol,String}(Symbol("allowedRuntimeClassNames")=>"Vector{String}", Symbol("defaultRuntimeClassName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions) + o.allowedRuntimeClassNames === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl new file mode 100644 index 00000000..10d6ba6f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1SELinuxStrategyOptions.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.SELinuxStrategyOptions +SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. + + IoK8sApiPolicyV1beta1SELinuxStrategyOptions(; + rule=nothing, + seLinuxOptions=nothing, + ) + + - rule::String : rule is the strategy that will dictate the allowable labels that may be set. + - seLinuxOptions::IoK8sApiCoreV1SELinuxOptions +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1SELinuxStrategyOptions <: OpenAPI.APIModel + rule::Union{Nothing, String} = nothing + seLinuxOptions = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1SELinuxOptions } + + function IoK8sApiPolicyV1beta1SELinuxStrategyOptions(rule, seLinuxOptions, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1SELinuxStrategyOptions, Symbol("rule"), rule) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1SELinuxStrategyOptions, Symbol("seLinuxOptions"), seLinuxOptions) + return new(rule, seLinuxOptions, ) + end +end # type IoK8sApiPolicyV1beta1SELinuxStrategyOptions + +const _property_types_IoK8sApiPolicyV1beta1SELinuxStrategyOptions = Dict{Symbol,String}(Symbol("rule")=>"String", Symbol("seLinuxOptions")=>"IoK8sApiCoreV1SELinuxOptions", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1SELinuxStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1SELinuxStrategyOptions[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1SELinuxStrategyOptions) + o.rule === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1SELinuxStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl new file mode 100644 index 00000000..a15549ec --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions +SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. + + IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions(; + ranges=nothing, + rule=nothing, + ) + + - ranges::Vector{IoK8sApiPolicyV1beta1IDRange} : ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. + - rule::String : rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. +""" +Base.@kwdef mutable struct IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions <: OpenAPI.APIModel + ranges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiPolicyV1beta1IDRange} } + rule::Union{Nothing, String} = nothing + + function IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions(ranges, rule, ) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions, Symbol("ranges"), ranges) + OpenAPI.validate_property(IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions, Symbol("rule"), rule) + return new(ranges, rule, ) + end +end # type IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions + +const _property_types_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions = Dict{Symbol,String}(Symbol("ranges")=>"Vector{IoK8sApiPolicyV1beta1IDRange}", Symbol("rule")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions[name]))} + +function check_required(o::IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1AggregationRule.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1AggregationRule.jl new file mode 100644 index 00000000..fe3b51d7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1AggregationRule.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.AggregationRule +AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole + + IoK8sApiRbacV1AggregationRule(; + clusterRoleSelectors=nothing, + ) + + - clusterRoleSelectors::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} : ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added +""" +Base.@kwdef mutable struct IoK8sApiRbacV1AggregationRule <: OpenAPI.APIModel + clusterRoleSelectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} } + + function IoK8sApiRbacV1AggregationRule(clusterRoleSelectors, ) + OpenAPI.validate_property(IoK8sApiRbacV1AggregationRule, Symbol("clusterRoleSelectors"), clusterRoleSelectors) + return new(clusterRoleSelectors, ) + end +end # type IoK8sApiRbacV1AggregationRule + +const _property_types_IoK8sApiRbacV1AggregationRule = Dict{Symbol,String}(Symbol("clusterRoleSelectors")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1AggregationRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1AggregationRule[name]))} + +function check_required(o::IoK8sApiRbacV1AggregationRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1AggregationRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRole.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRole.jl new file mode 100644 index 00000000..e0d1a44e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRole.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.ClusterRole +ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. + + IoK8sApiRbacV1ClusterRole(; + aggregationRule=nothing, + apiVersion=nothing, + kind=nothing, + metadata=nothing, + rules=nothing, + ) + + - aggregationRule::IoK8sApiRbacV1AggregationRule + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - rules::Vector{IoK8sApiRbacV1PolicyRule} : Rules holds all the PolicyRules for this ClusterRole +""" +Base.@kwdef mutable struct IoK8sApiRbacV1ClusterRole <: OpenAPI.APIModel + aggregationRule = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1AggregationRule } + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1PolicyRule} } + + function IoK8sApiRbacV1ClusterRole(aggregationRule, apiVersion, kind, metadata, rules, ) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRole, Symbol("aggregationRule"), aggregationRule) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRole, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRole, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRole, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRole, Symbol("rules"), rules) + return new(aggregationRule, apiVersion, kind, metadata, rules, ) + end +end # type IoK8sApiRbacV1ClusterRole + +const _property_types_IoK8sApiRbacV1ClusterRole = Dict{Symbol,String}(Symbol("aggregationRule")=>"IoK8sApiRbacV1AggregationRule", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1PolicyRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1ClusterRole }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRole[name]))} + +function check_required(o::IoK8sApiRbacV1ClusterRole) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1ClusterRole }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleBinding.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleBinding.jl new file mode 100644 index 00000000..c932349b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleBinding.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.ClusterRoleBinding +ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. + + IoK8sApiRbacV1ClusterRoleBinding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + roleRef=nothing, + subjects=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - roleRef::IoK8sApiRbacV1RoleRef + - subjects::Vector{IoK8sApiRbacV1Subject} : Subjects holds references to the objects the role applies to. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1ClusterRoleBinding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + roleRef = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1RoleRef } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1Subject} } + + function IoK8sApiRbacV1ClusterRoleBinding(apiVersion, kind, metadata, roleRef, subjects, ) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("roleRef"), roleRef) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBinding, Symbol("subjects"), subjects) + return new(apiVersion, kind, metadata, roleRef, subjects, ) + end +end # type IoK8sApiRbacV1ClusterRoleBinding + +const _property_types_IoK8sApiRbacV1ClusterRoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1ClusterRoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRoleBinding[name]))} + +function check_required(o::IoK8sApiRbacV1ClusterRoleBinding) + o.roleRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1ClusterRoleBinding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleBindingList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleBindingList.jl new file mode 100644 index 00000000..7e1696d4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleBindingList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.ClusterRoleBindingList +ClusterRoleBindingList is a collection of ClusterRoleBindings + + IoK8sApiRbacV1ClusterRoleBindingList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1ClusterRoleBinding} : Items is a list of ClusterRoleBindings + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1ClusterRoleBindingList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1ClusterRoleBinding} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1ClusterRoleBindingList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleBindingList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1ClusterRoleBindingList + +const _property_types_IoK8sApiRbacV1ClusterRoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1ClusterRoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1ClusterRoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRoleBindingList[name]))} + +function check_required(o::IoK8sApiRbacV1ClusterRoleBindingList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1ClusterRoleBindingList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleList.jl new file mode 100644 index 00000000..b45498b5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1ClusterRoleList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.ClusterRoleList +ClusterRoleList is a collection of ClusterRoles + + IoK8sApiRbacV1ClusterRoleList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1ClusterRole} : Items is a list of ClusterRoles + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1ClusterRoleList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1ClusterRole} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1ClusterRoleList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1ClusterRoleList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1ClusterRoleList + +const _property_types_IoK8sApiRbacV1ClusterRoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1ClusterRole}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1ClusterRoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1ClusterRoleList[name]))} + +function check_required(o::IoK8sApiRbacV1ClusterRoleList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1ClusterRoleList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1PolicyRule.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1PolicyRule.jl new file mode 100644 index 00000000..84bf12dc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1PolicyRule.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.PolicyRule +PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. + + IoK8sApiRbacV1PolicyRule(; + apiGroups=nothing, + nonResourceURLs=nothing, + resourceNames=nothing, + resources=nothing, + verbs=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. + - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. + - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + - resources::Vector{String} : Resources is a list of resources this rule applies to. ResourceAll represents all resources. + - verbs::Vector{String} : Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1PolicyRule <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + nonResourceURLs::Union{Nothing, Vector{String}} = nothing + resourceNames::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiRbacV1PolicyRule(apiGroups, nonResourceURLs, resourceNames, resources, verbs, ) + OpenAPI.validate_property(IoK8sApiRbacV1PolicyRule, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiRbacV1PolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) + OpenAPI.validate_property(IoK8sApiRbacV1PolicyRule, Symbol("resourceNames"), resourceNames) + OpenAPI.validate_property(IoK8sApiRbacV1PolicyRule, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiRbacV1PolicyRule, Symbol("verbs"), verbs) + return new(apiGroups, nonResourceURLs, resourceNames, resources, verbs, ) + end +end # type IoK8sApiRbacV1PolicyRule + +const _property_types_IoK8sApiRbacV1PolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("nonResourceURLs")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1PolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1PolicyRule[name]))} + +function check_required(o::IoK8sApiRbacV1PolicyRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1PolicyRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1Role.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1Role.jl new file mode 100644 index 00000000..6b1f7836 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1Role.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.Role +Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. + + IoK8sApiRbacV1Role(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + rules=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - rules::Vector{IoK8sApiRbacV1PolicyRule} : Rules holds all the PolicyRules for this Role +""" +Base.@kwdef mutable struct IoK8sApiRbacV1Role <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1PolicyRule} } + + function IoK8sApiRbacV1Role(apiVersion, kind, metadata, rules, ) + OpenAPI.validate_property(IoK8sApiRbacV1Role, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1Role, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1Role, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1Role, Symbol("rules"), rules) + return new(apiVersion, kind, metadata, rules, ) + end +end # type IoK8sApiRbacV1Role + +const _property_types_IoK8sApiRbacV1Role = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1PolicyRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1Role }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1Role[name]))} + +function check_required(o::IoK8sApiRbacV1Role) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1Role }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleBinding.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleBinding.jl new file mode 100644 index 00000000..0a20beb3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleBinding.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.RoleBinding +RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. + + IoK8sApiRbacV1RoleBinding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + roleRef=nothing, + subjects=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - roleRef::IoK8sApiRbacV1RoleRef + - subjects::Vector{IoK8sApiRbacV1Subject} : Subjects holds references to the objects the role applies to. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1RoleBinding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + roleRef = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1RoleRef } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1Subject} } + + function IoK8sApiRbacV1RoleBinding(apiVersion, kind, metadata, roleRef, subjects, ) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBinding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBinding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBinding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBinding, Symbol("roleRef"), roleRef) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBinding, Symbol("subjects"), subjects) + return new(apiVersion, kind, metadata, roleRef, subjects, ) + end +end # type IoK8sApiRbacV1RoleBinding + +const _property_types_IoK8sApiRbacV1RoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1RoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleBinding[name]))} + +function check_required(o::IoK8sApiRbacV1RoleBinding) + o.roleRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1RoleBinding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleBindingList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleBindingList.jl new file mode 100644 index 00000000..a461c365 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleBindingList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.RoleBindingList +RoleBindingList is a collection of RoleBindings + + IoK8sApiRbacV1RoleBindingList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1RoleBinding} : Items is a list of RoleBindings + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1RoleBindingList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1RoleBinding} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1RoleBindingList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1RoleBindingList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1RoleBindingList + +const _property_types_IoK8sApiRbacV1RoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1RoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1RoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleBindingList[name]))} + +function check_required(o::IoK8sApiRbacV1RoleBindingList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1RoleBindingList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleList.jl new file mode 100644 index 00000000..992513c4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.RoleList +RoleList is a collection of Roles + + IoK8sApiRbacV1RoleList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1Role} : Items is a list of Roles + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1RoleList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1Role} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1RoleList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1RoleList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1RoleList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1RoleList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1RoleList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1RoleList + +const _property_types_IoK8sApiRbacV1RoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1Role}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1RoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleList[name]))} + +function check_required(o::IoK8sApiRbacV1RoleList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1RoleList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleRef.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleRef.jl new file mode 100644 index 00000000..f48b7e4e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1RoleRef.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.RoleRef +RoleRef contains information that points to the role being used + + IoK8sApiRbacV1RoleRef(; + apiGroup=nothing, + kind=nothing, + name=nothing, + ) + + - apiGroup::String : APIGroup is the group for the resource being referenced + - kind::String : Kind is the type of resource being referenced + - name::String : Name is the name of resource being referenced +""" +Base.@kwdef mutable struct IoK8sApiRbacV1RoleRef <: OpenAPI.APIModel + apiGroup::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiRbacV1RoleRef(apiGroup, kind, name, ) + OpenAPI.validate_property(IoK8sApiRbacV1RoleRef, Symbol("apiGroup"), apiGroup) + OpenAPI.validate_property(IoK8sApiRbacV1RoleRef, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1RoleRef, Symbol("name"), name) + return new(apiGroup, kind, name, ) + end +end # type IoK8sApiRbacV1RoleRef + +const _property_types_IoK8sApiRbacV1RoleRef = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1RoleRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1RoleRef[name]))} + +function check_required(o::IoK8sApiRbacV1RoleRef) + o.apiGroup === nothing && (return false) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1RoleRef }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1Subject.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1Subject.jl new file mode 100644 index 00000000..83419ad1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1Subject.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1.Subject +Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. + + IoK8sApiRbacV1Subject(; + apiGroup=nothing, + kind=nothing, + name=nothing, + namespace=nothing, + ) + + - apiGroup::String : APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. + - kind::String : Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. + - name::String : Name of the object being referenced. + - namespace::String : Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1Subject <: OpenAPI.APIModel + apiGroup::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + + function IoK8sApiRbacV1Subject(apiGroup, kind, name, namespace, ) + OpenAPI.validate_property(IoK8sApiRbacV1Subject, Symbol("apiGroup"), apiGroup) + OpenAPI.validate_property(IoK8sApiRbacV1Subject, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1Subject, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiRbacV1Subject, Symbol("namespace"), namespace) + return new(apiGroup, kind, name, namespace, ) + end +end # type IoK8sApiRbacV1Subject + +const _property_types_IoK8sApiRbacV1Subject = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1Subject[name]))} + +function check_required(o::IoK8sApiRbacV1Subject) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1Subject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1AggregationRule.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1AggregationRule.jl new file mode 100644 index 00000000..7c46e025 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1AggregationRule.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.AggregationRule +AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole + + IoK8sApiRbacV1alpha1AggregationRule(; + clusterRoleSelectors=nothing, + ) + + - clusterRoleSelectors::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} : ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1AggregationRule <: OpenAPI.APIModel + clusterRoleSelectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} } + + function IoK8sApiRbacV1alpha1AggregationRule(clusterRoleSelectors, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1AggregationRule, Symbol("clusterRoleSelectors"), clusterRoleSelectors) + return new(clusterRoleSelectors, ) + end +end # type IoK8sApiRbacV1alpha1AggregationRule + +const _property_types_IoK8sApiRbacV1alpha1AggregationRule = Dict{Symbol,String}(Symbol("clusterRoleSelectors")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1AggregationRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1AggregationRule[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1AggregationRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1AggregationRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRole.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRole.jl new file mode 100644 index 00000000..47862a8d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRole.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.ClusterRole +ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1ClusterRole(; + aggregationRule=nothing, + apiVersion=nothing, + kind=nothing, + metadata=nothing, + rules=nothing, + ) + + - aggregationRule::IoK8sApiRbacV1alpha1AggregationRule + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - rules::Vector{IoK8sApiRbacV1alpha1PolicyRule} : Rules holds all the PolicyRules for this ClusterRole +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1ClusterRole <: OpenAPI.APIModel + aggregationRule = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1alpha1AggregationRule } + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1PolicyRule} } + + function IoK8sApiRbacV1alpha1ClusterRole(aggregationRule, apiVersion, kind, metadata, rules, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("aggregationRule"), aggregationRule) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRole, Symbol("rules"), rules) + return new(aggregationRule, apiVersion, kind, metadata, rules, ) + end +end # type IoK8sApiRbacV1alpha1ClusterRole + +const _property_types_IoK8sApiRbacV1alpha1ClusterRole = Dict{Symbol,String}(Symbol("aggregationRule")=>"IoK8sApiRbacV1alpha1AggregationRule", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1alpha1PolicyRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRole }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRole[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1ClusterRole) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRole }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl new file mode 100644 index 00000000..9f839c84 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleBinding.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.ClusterRoleBinding +ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1ClusterRoleBinding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + roleRef=nothing, + subjects=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - roleRef::IoK8sApiRbacV1alpha1RoleRef + - subjects::Vector{IoK8sApiRbacV1alpha1Subject} : Subjects holds references to the objects the role applies to. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1ClusterRoleBinding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + roleRef = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1alpha1RoleRef } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1Subject} } + + function IoK8sApiRbacV1alpha1ClusterRoleBinding(apiVersion, kind, metadata, roleRef, subjects, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("roleRef"), roleRef) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBinding, Symbol("subjects"), subjects) + return new(apiVersion, kind, metadata, roleRef, subjects, ) + end +end # type IoK8sApiRbacV1alpha1ClusterRoleBinding + +const _property_types_IoK8sApiRbacV1alpha1ClusterRoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1alpha1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1alpha1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRoleBinding[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1ClusterRoleBinding) + o.roleRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBinding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl new file mode 100644 index 00000000..c7ba134e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleBindingList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList +ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1ClusterRoleBindingList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1alpha1ClusterRoleBinding} : Items is a list of ClusterRoleBindings + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1ClusterRoleBindingList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1ClusterRoleBinding} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1alpha1ClusterRoleBindingList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleBindingList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1alpha1ClusterRoleBindingList + +const _property_types_IoK8sApiRbacV1alpha1ClusterRoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1ClusterRoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRoleBindingList[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1ClusterRoleBindingList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRoleBindingList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl new file mode 100644 index 00000000..17596ea1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1ClusterRoleList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.ClusterRoleList +ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1ClusterRoleList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1alpha1ClusterRole} : Items is a list of ClusterRoles + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1ClusterRoleList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1ClusterRole} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1alpha1ClusterRoleList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1ClusterRoleList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1alpha1ClusterRoleList + +const _property_types_IoK8sApiRbacV1alpha1ClusterRoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1ClusterRole}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1ClusterRoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1ClusterRoleList[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1ClusterRoleList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1ClusterRoleList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1PolicyRule.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1PolicyRule.jl new file mode 100644 index 00000000..4862b767 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1PolicyRule.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.PolicyRule +PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. + + IoK8sApiRbacV1alpha1PolicyRule(; + apiGroups=nothing, + nonResourceURLs=nothing, + resourceNames=nothing, + resources=nothing, + verbs=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. + - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. + - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + - resources::Vector{String} : Resources is a list of resources this rule applies to. ResourceAll represents all resources. + - verbs::Vector{String} : Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1PolicyRule <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + nonResourceURLs::Union{Nothing, Vector{String}} = nothing + resourceNames::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiRbacV1alpha1PolicyRule(apiGroups, nonResourceURLs, resourceNames, resources, verbs, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("resourceNames"), resourceNames) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1PolicyRule, Symbol("verbs"), verbs) + return new(apiGroups, nonResourceURLs, resourceNames, resources, verbs, ) + end +end # type IoK8sApiRbacV1alpha1PolicyRule + +const _property_types_IoK8sApiRbacV1alpha1PolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("nonResourceURLs")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1PolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1PolicyRule[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1PolicyRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1PolicyRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1Role.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1Role.jl new file mode 100644 index 00000000..13a92c36 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1Role.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.Role +Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1Role(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + rules=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - rules::Vector{IoK8sApiRbacV1alpha1PolicyRule} : Rules holds all the PolicyRules for this Role +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1Role <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1PolicyRule} } + + function IoK8sApiRbacV1alpha1Role(apiVersion, kind, metadata, rules, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Role, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Role, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Role, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Role, Symbol("rules"), rules) + return new(apiVersion, kind, metadata, rules, ) + end +end # type IoK8sApiRbacV1alpha1Role + +const _property_types_IoK8sApiRbacV1alpha1Role = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1alpha1PolicyRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1Role }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1Role[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1Role) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1Role }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleBinding.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleBinding.jl new file mode 100644 index 00000000..8880317e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleBinding.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.RoleBinding +RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1RoleBinding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + roleRef=nothing, + subjects=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - roleRef::IoK8sApiRbacV1alpha1RoleRef + - subjects::Vector{IoK8sApiRbacV1alpha1Subject} : Subjects holds references to the objects the role applies to. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1RoleBinding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + roleRef = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1alpha1RoleRef } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1Subject} } + + function IoK8sApiRbacV1alpha1RoleBinding(apiVersion, kind, metadata, roleRef, subjects, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("roleRef"), roleRef) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBinding, Symbol("subjects"), subjects) + return new(apiVersion, kind, metadata, roleRef, subjects, ) + end +end # type IoK8sApiRbacV1alpha1RoleBinding + +const _property_types_IoK8sApiRbacV1alpha1RoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1alpha1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1alpha1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1RoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleBinding[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1RoleBinding) + o.roleRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1RoleBinding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleBindingList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleBindingList.jl new file mode 100644 index 00000000..801ec818 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleBindingList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.RoleBindingList +RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1RoleBindingList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1alpha1RoleBinding} : Items is a list of RoleBindings + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1RoleBindingList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1RoleBinding} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1alpha1RoleBindingList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleBindingList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1alpha1RoleBindingList + +const _property_types_IoK8sApiRbacV1alpha1RoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1RoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1RoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleBindingList[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1RoleBindingList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1RoleBindingList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleList.jl new file mode 100644 index 00000000..d5785bfe --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.RoleList +RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20. + + IoK8sApiRbacV1alpha1RoleList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1alpha1Role} : Items is a list of Roles + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1RoleList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1alpha1Role} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1alpha1RoleList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1alpha1RoleList + +const _property_types_IoK8sApiRbacV1alpha1RoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1alpha1Role}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1RoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleList[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1RoleList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1RoleList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleRef.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleRef.jl new file mode 100644 index 00000000..9d89770d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1RoleRef.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.RoleRef +RoleRef contains information that points to the role being used + + IoK8sApiRbacV1alpha1RoleRef(; + apiGroup=nothing, + kind=nothing, + name=nothing, + ) + + - apiGroup::String : APIGroup is the group for the resource being referenced + - kind::String : Kind is the type of resource being referenced + - name::String : Name is the name of resource being referenced +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1RoleRef <: OpenAPI.APIModel + apiGroup::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiRbacV1alpha1RoleRef(apiGroup, kind, name, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleRef, Symbol("apiGroup"), apiGroup) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleRef, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1RoleRef, Symbol("name"), name) + return new(apiGroup, kind, name, ) + end +end # type IoK8sApiRbacV1alpha1RoleRef + +const _property_types_IoK8sApiRbacV1alpha1RoleRef = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1RoleRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1RoleRef[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1RoleRef) + o.apiGroup === nothing && (return false) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1RoleRef }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1Subject.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1Subject.jl new file mode 100644 index 00000000..f7285c22 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1alpha1Subject.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1alpha1.Subject +Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. + + IoK8sApiRbacV1alpha1Subject(; + apiVersion=nothing, + kind=nothing, + name=nothing, + namespace=nothing, + ) + + - apiVersion::String : APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects. + - kind::String : Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. + - name::String : Name of the object being referenced. + - namespace::String : Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1alpha1Subject <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + + function IoK8sApiRbacV1alpha1Subject(apiVersion, kind, name, namespace, ) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiRbacV1alpha1Subject, Symbol("namespace"), namespace) + return new(apiVersion, kind, name, namespace, ) + end +end # type IoK8sApiRbacV1alpha1Subject + +const _property_types_IoK8sApiRbacV1alpha1Subject = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1alpha1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1alpha1Subject[name]))} + +function check_required(o::IoK8sApiRbacV1alpha1Subject) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1alpha1Subject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1AggregationRule.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1AggregationRule.jl new file mode 100644 index 00000000..f1240e6c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1AggregationRule.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.AggregationRule +AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole + + IoK8sApiRbacV1beta1AggregationRule(; + clusterRoleSelectors=nothing, + ) + + - clusterRoleSelectors::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} : ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1AggregationRule <: OpenAPI.APIModel + clusterRoleSelectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector} } + + function IoK8sApiRbacV1beta1AggregationRule(clusterRoleSelectors, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1AggregationRule, Symbol("clusterRoleSelectors"), clusterRoleSelectors) + return new(clusterRoleSelectors, ) + end +end # type IoK8sApiRbacV1beta1AggregationRule + +const _property_types_IoK8sApiRbacV1beta1AggregationRule = Dict{Symbol,String}(Symbol("clusterRoleSelectors")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelector}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1AggregationRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1AggregationRule[name]))} + +function check_required(o::IoK8sApiRbacV1beta1AggregationRule) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1AggregationRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRole.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRole.jl new file mode 100644 index 00000000..282a371a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRole.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.ClusterRole +ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1ClusterRole(; + aggregationRule=nothing, + apiVersion=nothing, + kind=nothing, + metadata=nothing, + rules=nothing, + ) + + - aggregationRule::IoK8sApiRbacV1beta1AggregationRule + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - rules::Vector{IoK8sApiRbacV1beta1PolicyRule} : Rules holds all the PolicyRules for this ClusterRole +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1ClusterRole <: OpenAPI.APIModel + aggregationRule = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1beta1AggregationRule } + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1PolicyRule} } + + function IoK8sApiRbacV1beta1ClusterRole(aggregationRule, apiVersion, kind, metadata, rules, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("aggregationRule"), aggregationRule) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRole, Symbol("rules"), rules) + return new(aggregationRule, apiVersion, kind, metadata, rules, ) + end +end # type IoK8sApiRbacV1beta1ClusterRole + +const _property_types_IoK8sApiRbacV1beta1ClusterRole = Dict{Symbol,String}(Symbol("aggregationRule")=>"IoK8sApiRbacV1beta1AggregationRule", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1beta1PolicyRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRole }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRole[name]))} + +function check_required(o::IoK8sApiRbacV1beta1ClusterRole) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRole }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl new file mode 100644 index 00000000..f6c53d74 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleBinding.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.ClusterRoleBinding +ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1ClusterRoleBinding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + roleRef=nothing, + subjects=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - roleRef::IoK8sApiRbacV1beta1RoleRef + - subjects::Vector{IoK8sApiRbacV1beta1Subject} : Subjects holds references to the objects the role applies to. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1ClusterRoleBinding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + roleRef = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1beta1RoleRef } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1Subject} } + + function IoK8sApiRbacV1beta1ClusterRoleBinding(apiVersion, kind, metadata, roleRef, subjects, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("roleRef"), roleRef) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBinding, Symbol("subjects"), subjects) + return new(apiVersion, kind, metadata, roleRef, subjects, ) + end +end # type IoK8sApiRbacV1beta1ClusterRoleBinding + +const _property_types_IoK8sApiRbacV1beta1ClusterRoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1beta1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1beta1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRoleBinding[name]))} + +function check_required(o::IoK8sApiRbacV1beta1ClusterRoleBinding) + o.roleRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRoleBinding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl new file mode 100644 index 00000000..82bc034e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleBindingList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.ClusterRoleBindingList +ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1ClusterRoleBindingList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1beta1ClusterRoleBinding} : Items is a list of ClusterRoleBindings + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1ClusterRoleBindingList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1ClusterRoleBinding} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1beta1ClusterRoleBindingList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleBindingList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1beta1ClusterRoleBindingList + +const _property_types_IoK8sApiRbacV1beta1ClusterRoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1ClusterRoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRoleBindingList[name]))} + +function check_required(o::IoK8sApiRbacV1beta1ClusterRoleBindingList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRoleBindingList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleList.jl new file mode 100644 index 00000000..2e52d3c1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1ClusterRoleList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.ClusterRoleList +ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1ClusterRoleList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1beta1ClusterRole} : Items is a list of ClusterRoles + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1ClusterRoleList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1ClusterRole} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1beta1ClusterRoleList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1ClusterRoleList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1beta1ClusterRoleList + +const _property_types_IoK8sApiRbacV1beta1ClusterRoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1ClusterRole}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1ClusterRoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1ClusterRoleList[name]))} + +function check_required(o::IoK8sApiRbacV1beta1ClusterRoleList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1ClusterRoleList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1PolicyRule.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1PolicyRule.jl new file mode 100644 index 00000000..e393f6f0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1PolicyRule.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.PolicyRule +PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. + + IoK8sApiRbacV1beta1PolicyRule(; + apiGroups=nothing, + nonResourceURLs=nothing, + resourceNames=nothing, + resources=nothing, + verbs=nothing, + ) + + - apiGroups::Vector{String} : APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. + - nonResourceURLs::Vector{String} : NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. + - resourceNames::Vector{String} : ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + - resources::Vector{String} : Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. + - verbs::Vector{String} : Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1PolicyRule <: OpenAPI.APIModel + apiGroups::Union{Nothing, Vector{String}} = nothing + nonResourceURLs::Union{Nothing, Vector{String}} = nothing + resourceNames::Union{Nothing, Vector{String}} = nothing + resources::Union{Nothing, Vector{String}} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiRbacV1beta1PolicyRule(apiGroups, nonResourceURLs, resourceNames, resources, verbs, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("apiGroups"), apiGroups) + OpenAPI.validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("nonResourceURLs"), nonResourceURLs) + OpenAPI.validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("resourceNames"), resourceNames) + OpenAPI.validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("resources"), resources) + OpenAPI.validate_property(IoK8sApiRbacV1beta1PolicyRule, Symbol("verbs"), verbs) + return new(apiGroups, nonResourceURLs, resourceNames, resources, verbs, ) + end +end # type IoK8sApiRbacV1beta1PolicyRule + +const _property_types_IoK8sApiRbacV1beta1PolicyRule = Dict{Symbol,String}(Symbol("apiGroups")=>"Vector{String}", Symbol("nonResourceURLs")=>"Vector{String}", Symbol("resourceNames")=>"Vector{String}", Symbol("resources")=>"Vector{String}", Symbol("verbs")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1PolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1PolicyRule[name]))} + +function check_required(o::IoK8sApiRbacV1beta1PolicyRule) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1PolicyRule }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1Role.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1Role.jl new file mode 100644 index 00000000..714bc83b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1Role.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.Role +Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1Role(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + rules=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - rules::Vector{IoK8sApiRbacV1beta1PolicyRule} : Rules holds all the PolicyRules for this Role +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1Role <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1PolicyRule} } + + function IoK8sApiRbacV1beta1Role(apiVersion, kind, metadata, rules, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Role, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Role, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Role, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Role, Symbol("rules"), rules) + return new(apiVersion, kind, metadata, rules, ) + end +end # type IoK8sApiRbacV1beta1Role + +const _property_types_IoK8sApiRbacV1beta1Role = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("rules")=>"Vector{IoK8sApiRbacV1beta1PolicyRule}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1Role }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1Role[name]))} + +function check_required(o::IoK8sApiRbacV1beta1Role) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1Role }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleBinding.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleBinding.jl new file mode 100644 index 00000000..749abf0d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleBinding.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.RoleBinding +RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1RoleBinding(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + roleRef=nothing, + subjects=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - roleRef::IoK8sApiRbacV1beta1RoleRef + - subjects::Vector{IoK8sApiRbacV1beta1Subject} : Subjects holds references to the objects the role applies to. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1RoleBinding <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + roleRef = nothing # spec type: Union{ Nothing, IoK8sApiRbacV1beta1RoleRef } + subjects::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1Subject} } + + function IoK8sApiRbacV1beta1RoleBinding(apiVersion, kind, metadata, roleRef, subjects, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("roleRef"), roleRef) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBinding, Symbol("subjects"), subjects) + return new(apiVersion, kind, metadata, roleRef, subjects, ) + end +end # type IoK8sApiRbacV1beta1RoleBinding + +const _property_types_IoK8sApiRbacV1beta1RoleBinding = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("roleRef")=>"IoK8sApiRbacV1beta1RoleRef", Symbol("subjects")=>"Vector{IoK8sApiRbacV1beta1Subject}", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1RoleBinding }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleBinding[name]))} + +function check_required(o::IoK8sApiRbacV1beta1RoleBinding) + o.roleRef === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1RoleBinding }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleBindingList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleBindingList.jl new file mode 100644 index 00000000..a300697c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleBindingList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.RoleBindingList +RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1RoleBindingList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1beta1RoleBinding} : Items is a list of RoleBindings + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1RoleBindingList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1RoleBinding} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1beta1RoleBindingList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleBindingList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1beta1RoleBindingList + +const _property_types_IoK8sApiRbacV1beta1RoleBindingList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1RoleBinding}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1RoleBindingList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleBindingList[name]))} + +function check_required(o::IoK8sApiRbacV1beta1RoleBindingList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1RoleBindingList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleList.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleList.jl new file mode 100644 index 00000000..c8f1d68f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.RoleList +RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20. + + IoK8sApiRbacV1beta1RoleList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiRbacV1beta1Role} : Items is a list of Roles + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1RoleList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiRbacV1beta1Role} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiRbacV1beta1RoleList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiRbacV1beta1RoleList + +const _property_types_IoK8sApiRbacV1beta1RoleList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiRbacV1beta1Role}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1RoleList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleList[name]))} + +function check_required(o::IoK8sApiRbacV1beta1RoleList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1RoleList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleRef.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleRef.jl new file mode 100644 index 00000000..fc269f22 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1RoleRef.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.RoleRef +RoleRef contains information that points to the role being used + + IoK8sApiRbacV1beta1RoleRef(; + apiGroup=nothing, + kind=nothing, + name=nothing, + ) + + - apiGroup::String : APIGroup is the group for the resource being referenced + - kind::String : Kind is the type of resource being referenced + - name::String : Name is the name of resource being referenced +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1RoleRef <: OpenAPI.APIModel + apiGroup::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function IoK8sApiRbacV1beta1RoleRef(apiGroup, kind, name, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleRef, Symbol("apiGroup"), apiGroup) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleRef, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1RoleRef, Symbol("name"), name) + return new(apiGroup, kind, name, ) + end +end # type IoK8sApiRbacV1beta1RoleRef + +const _property_types_IoK8sApiRbacV1beta1RoleRef = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1RoleRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1RoleRef[name]))} + +function check_required(o::IoK8sApiRbacV1beta1RoleRef) + o.apiGroup === nothing && (return false) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1RoleRef }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1Subject.jl b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1Subject.jl new file mode 100644 index 00000000..00286686 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiRbacV1beta1Subject.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.rbac.v1beta1.Subject +Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. + + IoK8sApiRbacV1beta1Subject(; + apiGroup=nothing, + kind=nothing, + name=nothing, + namespace=nothing, + ) + + - apiGroup::String : APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. + - kind::String : Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. + - name::String : Name of the object being referenced. + - namespace::String : Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. +""" +Base.@kwdef mutable struct IoK8sApiRbacV1beta1Subject <: OpenAPI.APIModel + apiGroup::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + + function IoK8sApiRbacV1beta1Subject(apiGroup, kind, name, namespace, ) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Subject, Symbol("apiGroup"), apiGroup) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Subject, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Subject, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiRbacV1beta1Subject, Symbol("namespace"), namespace) + return new(apiGroup, kind, name, namespace, ) + end +end # type IoK8sApiRbacV1beta1Subject + +const _property_types_IoK8sApiRbacV1beta1Subject = Dict{Symbol,String}(Symbol("apiGroup")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespace")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiRbacV1beta1Subject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiRbacV1beta1Subject[name]))} + +function check_required(o::IoK8sApiRbacV1beta1Subject) + o.kind === nothing && (return false) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiRbacV1beta1Subject }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1PriorityClass.jl b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1PriorityClass.jl new file mode 100644 index 00000000..6cd607ac --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1PriorityClass.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.scheduling.v1.PriorityClass +PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. + + IoK8sApiSchedulingV1PriorityClass(; + apiVersion=nothing, + description=nothing, + globalDefault=nothing, + kind=nothing, + metadata=nothing, + preemptionPolicy=nothing, + value=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - description::String : description is an arbitrary string that usually provides guidelines on when this priority class should be used. + - globalDefault::Bool : globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. + - value::Int64 : The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. +""" +Base.@kwdef mutable struct IoK8sApiSchedulingV1PriorityClass <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + description::Union{Nothing, String} = nothing + globalDefault::Union{Nothing, Bool} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + preemptionPolicy::Union{Nothing, String} = nothing + value::Union{Nothing, Int64} = nothing + + function IoK8sApiSchedulingV1PriorityClass(apiVersion, description, globalDefault, kind, metadata, preemptionPolicy, value, ) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("globalDefault"), globalDefault) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("preemptionPolicy"), preemptionPolicy) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClass, Symbol("value"), value) + return new(apiVersion, description, globalDefault, kind, metadata, preemptionPolicy, value, ) + end +end # type IoK8sApiSchedulingV1PriorityClass + +const _property_types_IoK8sApiSchedulingV1PriorityClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("description")=>"String", Symbol("globalDefault")=>"Bool", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("preemptionPolicy")=>"String", Symbol("value")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiSchedulingV1PriorityClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1PriorityClass[name]))} + +function check_required(o::IoK8sApiSchedulingV1PriorityClass) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSchedulingV1PriorityClass }, name::Symbol, val) + if name === Symbol("value") + OpenAPI.validate_param(name, "IoK8sApiSchedulingV1PriorityClass", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1PriorityClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1PriorityClassList.jl new file mode 100644 index 00000000..25fb14e5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1PriorityClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.scheduling.v1.PriorityClassList +PriorityClassList is a collection of priority classes. + + IoK8sApiSchedulingV1PriorityClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiSchedulingV1PriorityClass} : items is the list of PriorityClasses + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiSchedulingV1PriorityClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiSchedulingV1PriorityClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiSchedulingV1PriorityClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSchedulingV1PriorityClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiSchedulingV1PriorityClassList + +const _property_types_IoK8sApiSchedulingV1PriorityClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSchedulingV1PriorityClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiSchedulingV1PriorityClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1PriorityClassList[name]))} + +function check_required(o::IoK8sApiSchedulingV1PriorityClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSchedulingV1PriorityClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl new file mode 100644 index 00000000..743a8210 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1alpha1PriorityClass.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.scheduling.v1alpha1.PriorityClass +DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. + + IoK8sApiSchedulingV1alpha1PriorityClass(; + apiVersion=nothing, + description=nothing, + globalDefault=nothing, + kind=nothing, + metadata=nothing, + preemptionPolicy=nothing, + value=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - description::String : description is an arbitrary string that usually provides guidelines on when this priority class should be used. + - globalDefault::Bool : globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. + - value::Int64 : The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. +""" +Base.@kwdef mutable struct IoK8sApiSchedulingV1alpha1PriorityClass <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + description::Union{Nothing, String} = nothing + globalDefault::Union{Nothing, Bool} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + preemptionPolicy::Union{Nothing, String} = nothing + value::Union{Nothing, Int64} = nothing + + function IoK8sApiSchedulingV1alpha1PriorityClass(apiVersion, description, globalDefault, kind, metadata, preemptionPolicy, value, ) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("globalDefault"), globalDefault) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("preemptionPolicy"), preemptionPolicy) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClass, Symbol("value"), value) + return new(apiVersion, description, globalDefault, kind, metadata, preemptionPolicy, value, ) + end +end # type IoK8sApiSchedulingV1alpha1PriorityClass + +const _property_types_IoK8sApiSchedulingV1alpha1PriorityClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("description")=>"String", Symbol("globalDefault")=>"Bool", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("preemptionPolicy")=>"String", Symbol("value")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiSchedulingV1alpha1PriorityClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1alpha1PriorityClass[name]))} + +function check_required(o::IoK8sApiSchedulingV1alpha1PriorityClass) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSchedulingV1alpha1PriorityClass }, name::Symbol, val) + if name === Symbol("value") + OpenAPI.validate_param(name, "IoK8sApiSchedulingV1alpha1PriorityClass", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl new file mode 100644 index 00000000..f2e81acc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1alpha1PriorityClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.scheduling.v1alpha1.PriorityClassList +PriorityClassList is a collection of priority classes. + + IoK8sApiSchedulingV1alpha1PriorityClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiSchedulingV1alpha1PriorityClass} : items is the list of PriorityClasses + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiSchedulingV1alpha1PriorityClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiSchedulingV1alpha1PriorityClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiSchedulingV1alpha1PriorityClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSchedulingV1alpha1PriorityClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiSchedulingV1alpha1PriorityClassList + +const _property_types_IoK8sApiSchedulingV1alpha1PriorityClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSchedulingV1alpha1PriorityClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiSchedulingV1alpha1PriorityClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1alpha1PriorityClassList[name]))} + +function check_required(o::IoK8sApiSchedulingV1alpha1PriorityClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSchedulingV1alpha1PriorityClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1beta1PriorityClass.jl b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1beta1PriorityClass.jl new file mode 100644 index 00000000..2bdcad8d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1beta1PriorityClass.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.scheduling.v1beta1.PriorityClass +DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. + + IoK8sApiSchedulingV1beta1PriorityClass(; + apiVersion=nothing, + description=nothing, + globalDefault=nothing, + kind=nothing, + metadata=nothing, + preemptionPolicy=nothing, + value=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - description::String : description is an arbitrary string that usually provides guidelines on when this priority class should be used. + - globalDefault::Bool : globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - preemptionPolicy::String : PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. + - value::Int64 : The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. +""" +Base.@kwdef mutable struct IoK8sApiSchedulingV1beta1PriorityClass <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + description::Union{Nothing, String} = nothing + globalDefault::Union{Nothing, Bool} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + preemptionPolicy::Union{Nothing, String} = nothing + value::Union{Nothing, Int64} = nothing + + function IoK8sApiSchedulingV1beta1PriorityClass(apiVersion, description, globalDefault, kind, metadata, preemptionPolicy, value, ) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("globalDefault"), globalDefault) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("preemptionPolicy"), preemptionPolicy) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClass, Symbol("value"), value) + return new(apiVersion, description, globalDefault, kind, metadata, preemptionPolicy, value, ) + end +end # type IoK8sApiSchedulingV1beta1PriorityClass + +const _property_types_IoK8sApiSchedulingV1beta1PriorityClass = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("description")=>"String", Symbol("globalDefault")=>"Bool", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("preemptionPolicy")=>"String", Symbol("value")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiSchedulingV1beta1PriorityClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1beta1PriorityClass[name]))} + +function check_required(o::IoK8sApiSchedulingV1beta1PriorityClass) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSchedulingV1beta1PriorityClass }, name::Symbol, val) + if name === Symbol("value") + OpenAPI.validate_param(name, "IoK8sApiSchedulingV1beta1PriorityClass", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl new file mode 100644 index 00000000..4ce82a69 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSchedulingV1beta1PriorityClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.scheduling.v1beta1.PriorityClassList +PriorityClassList is a collection of priority classes. + + IoK8sApiSchedulingV1beta1PriorityClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiSchedulingV1beta1PriorityClass} : items is the list of PriorityClasses + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiSchedulingV1beta1PriorityClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiSchedulingV1beta1PriorityClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiSchedulingV1beta1PriorityClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSchedulingV1beta1PriorityClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiSchedulingV1beta1PriorityClassList + +const _property_types_IoK8sApiSchedulingV1beta1PriorityClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSchedulingV1beta1PriorityClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiSchedulingV1beta1PriorityClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSchedulingV1beta1PriorityClassList[name]))} + +function check_required(o::IoK8sApiSchedulingV1beta1PriorityClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSchedulingV1beta1PriorityClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPreset.jl b/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPreset.jl new file mode 100644 index 00000000..a09ccc75 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPreset.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.settings.v1alpha1.PodPreset +PodPreset is a policy resource that defines additional runtime requirements for a Pod. + + IoK8sApiSettingsV1alpha1PodPreset(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiSettingsV1alpha1PodPresetSpec +""" +Base.@kwdef mutable struct IoK8sApiSettingsV1alpha1PodPreset <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiSettingsV1alpha1PodPresetSpec } + + function IoK8sApiSettingsV1alpha1PodPreset(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPreset, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiSettingsV1alpha1PodPreset + +const _property_types_IoK8sApiSettingsV1alpha1PodPreset = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiSettingsV1alpha1PodPresetSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiSettingsV1alpha1PodPreset }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSettingsV1alpha1PodPreset[name]))} + +function check_required(o::IoK8sApiSettingsV1alpha1PodPreset) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSettingsV1alpha1PodPreset }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPresetList.jl b/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPresetList.jl new file mode 100644 index 00000000..bb757158 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPresetList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.settings.v1alpha1.PodPresetList +PodPresetList is a list of PodPreset objects. + + IoK8sApiSettingsV1alpha1PodPresetList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiSettingsV1alpha1PodPreset} : Items is a list of schema objects. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiSettingsV1alpha1PodPresetList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiSettingsV1alpha1PodPreset} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiSettingsV1alpha1PodPresetList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiSettingsV1alpha1PodPresetList + +const _property_types_IoK8sApiSettingsV1alpha1PodPresetList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiSettingsV1alpha1PodPreset}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiSettingsV1alpha1PodPresetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSettingsV1alpha1PodPresetList[name]))} + +function check_required(o::IoK8sApiSettingsV1alpha1PodPresetList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSettingsV1alpha1PodPresetList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl new file mode 100644 index 00000000..8279ae35 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiSettingsV1alpha1PodPresetSpec.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.settings.v1alpha1.PodPresetSpec +PodPresetSpec is a description of a pod preset. + + IoK8sApiSettingsV1alpha1PodPresetSpec(; + env=nothing, + envFrom=nothing, + selector=nothing, + volumeMounts=nothing, + volumes=nothing, + ) + + - env::Vector{IoK8sApiCoreV1EnvVar} : Env defines the collection of EnvVar to inject into containers. + - envFrom::Vector{IoK8sApiCoreV1EnvFromSource} : EnvFrom defines the collection of EnvFromSource to inject into containers. + - selector::IoK8sApimachineryPkgApisMetaV1LabelSelector + - volumeMounts::Vector{IoK8sApiCoreV1VolumeMount} : VolumeMounts defines the collection of VolumeMount to inject into containers. + - volumes::Vector{IoK8sApiCoreV1Volume} : Volumes defines the collection of Volume to inject into the pod. +""" +Base.@kwdef mutable struct IoK8sApiSettingsV1alpha1PodPresetSpec <: OpenAPI.APIModel + env::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvVar} } + envFrom::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1EnvFromSource} } + selector = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1LabelSelector } + volumeMounts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1VolumeMount} } + volumes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1Volume} } + + function IoK8sApiSettingsV1alpha1PodPresetSpec(env, envFrom, selector, volumeMounts, volumes, ) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("env"), env) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("envFrom"), envFrom) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("selector"), selector) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("volumeMounts"), volumeMounts) + OpenAPI.validate_property(IoK8sApiSettingsV1alpha1PodPresetSpec, Symbol("volumes"), volumes) + return new(env, envFrom, selector, volumeMounts, volumes, ) + end +end # type IoK8sApiSettingsV1alpha1PodPresetSpec + +const _property_types_IoK8sApiSettingsV1alpha1PodPresetSpec = Dict{Symbol,String}(Symbol("env")=>"Vector{IoK8sApiCoreV1EnvVar}", Symbol("envFrom")=>"Vector{IoK8sApiCoreV1EnvFromSource}", Symbol("selector")=>"IoK8sApimachineryPkgApisMetaV1LabelSelector", Symbol("volumeMounts")=>"Vector{IoK8sApiCoreV1VolumeMount}", Symbol("volumes")=>"Vector{IoK8sApiCoreV1Volume}", ) +OpenAPI.property_type(::Type{ IoK8sApiSettingsV1alpha1PodPresetSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiSettingsV1alpha1PodPresetSpec[name]))} + +function check_required(o::IoK8sApiSettingsV1alpha1PodPresetSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiSettingsV1alpha1PodPresetSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINode.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINode.jl new file mode 100644 index 00000000..ea34826a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINode.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.CSINode +CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. + + IoK8sApiStorageV1CSINode(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiStorageV1CSINodeSpec +""" +Base.@kwdef mutable struct IoK8sApiStorageV1CSINode <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1CSINodeSpec } + + function IoK8sApiStorageV1CSINode(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiStorageV1CSINode, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1CSINode, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1CSINode, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1CSINode, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiStorageV1CSINode + +const _property_types_IoK8sApiStorageV1CSINode = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1CSINodeSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1CSINode }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINode[name]))} + +function check_required(o::IoK8sApiStorageV1CSINode) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1CSINode }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeDriver.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeDriver.jl new file mode 100644 index 00000000..c8dbd3ba --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeDriver.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.CSINodeDriver +CSINodeDriver holds information about the specification of one CSI driver installed on a node + + IoK8sApiStorageV1CSINodeDriver(; + allocatable=nothing, + name=nothing, + nodeID=nothing, + topologyKeys=nothing, + ) + + - allocatable::IoK8sApiStorageV1VolumeNodeResources + - name::String : This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. + - nodeID::String : nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. + - topologyKeys::Vector{String} : topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1CSINodeDriver <: OpenAPI.APIModel + allocatable = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeNodeResources } + name::Union{Nothing, String} = nothing + nodeID::Union{Nothing, String} = nothing + topologyKeys::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiStorageV1CSINodeDriver(allocatable, name, nodeID, topologyKeys, ) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("allocatable"), allocatable) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("nodeID"), nodeID) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeDriver, Symbol("topologyKeys"), topologyKeys) + return new(allocatable, name, nodeID, topologyKeys, ) + end +end # type IoK8sApiStorageV1CSINodeDriver + +const _property_types_IoK8sApiStorageV1CSINodeDriver = Dict{Symbol,String}(Symbol("allocatable")=>"IoK8sApiStorageV1VolumeNodeResources", Symbol("name")=>"String", Symbol("nodeID")=>"String", Symbol("topologyKeys")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1CSINodeDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINodeDriver[name]))} + +function check_required(o::IoK8sApiStorageV1CSINodeDriver) + o.name === nothing && (return false) + o.nodeID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1CSINodeDriver }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeList.jl new file mode 100644 index 00000000..b8068827 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.CSINodeList +CSINodeList is a collection of CSINode objects. + + IoK8sApiStorageV1CSINodeList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1CSINode} : items is the list of CSINode + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1CSINodeList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1CSINode} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1CSINodeList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1CSINodeList + +const _property_types_IoK8sApiStorageV1CSINodeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1CSINode}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1CSINodeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINodeList[name]))} + +function check_required(o::IoK8sApiStorageV1CSINodeList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1CSINodeList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeSpec.jl new file mode 100644 index 00000000..4e8f3e7d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1CSINodeSpec.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.CSINodeSpec +CSINodeSpec holds information about the specification of all CSI drivers installed on a node + + IoK8sApiStorageV1CSINodeSpec(; + drivers=nothing, + ) + + - drivers::Vector{IoK8sApiStorageV1CSINodeDriver} : drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1CSINodeSpec <: OpenAPI.APIModel + drivers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1CSINodeDriver} } + + function IoK8sApiStorageV1CSINodeSpec(drivers, ) + OpenAPI.validate_property(IoK8sApiStorageV1CSINodeSpec, Symbol("drivers"), drivers) + return new(drivers, ) + end +end # type IoK8sApiStorageV1CSINodeSpec + +const _property_types_IoK8sApiStorageV1CSINodeSpec = Dict{Symbol,String}(Symbol("drivers")=>"Vector{IoK8sApiStorageV1CSINodeDriver}", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1CSINodeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1CSINodeSpec[name]))} + +function check_required(o::IoK8sApiStorageV1CSINodeSpec) + o.drivers === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1CSINodeSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1StorageClass.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1StorageClass.jl new file mode 100644 index 00000000..2942ac14 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1StorageClass.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.StorageClass +StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. + + IoK8sApiStorageV1StorageClass(; + allowVolumeExpansion=nothing, + allowedTopologies=nothing, + apiVersion=nothing, + kind=nothing, + metadata=nothing, + mountOptions=nothing, + parameters=nothing, + provisioner=nothing, + reclaimPolicy=nothing, + volumeBindingMode=nothing, + ) + + - allowVolumeExpansion::Bool : AllowVolumeExpansion shows whether the storage class allow volume expand + - allowedTopologies::Vector{IoK8sApiCoreV1TopologySelectorTerm} : Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - mountOptions::Vector{String} : Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. + - parameters::Dict{String, String} : Parameters holds the parameters for the provisioner that should create volumes of this storage class. + - provisioner::String : Provisioner indicates the type of the provisioner. + - reclaimPolicy::String : Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. + - volumeBindingMode::String : VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1StorageClass <: OpenAPI.APIModel + allowVolumeExpansion::Union{Nothing, Bool} = nothing + allowedTopologies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySelectorTerm} } + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + mountOptions::Union{Nothing, Vector{String}} = nothing + parameters::Union{Nothing, Dict{String, String}} = nothing + provisioner::Union{Nothing, String} = nothing + reclaimPolicy::Union{Nothing, String} = nothing + volumeBindingMode::Union{Nothing, String} = nothing + + function IoK8sApiStorageV1StorageClass(allowVolumeExpansion, allowedTopologies, apiVersion, kind, metadata, mountOptions, parameters, provisioner, reclaimPolicy, volumeBindingMode, ) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("allowVolumeExpansion"), allowVolumeExpansion) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("allowedTopologies"), allowedTopologies) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("mountOptions"), mountOptions) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("parameters"), parameters) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("provisioner"), provisioner) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("reclaimPolicy"), reclaimPolicy) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClass, Symbol("volumeBindingMode"), volumeBindingMode) + return new(allowVolumeExpansion, allowedTopologies, apiVersion, kind, metadata, mountOptions, parameters, provisioner, reclaimPolicy, volumeBindingMode, ) + end +end # type IoK8sApiStorageV1StorageClass + +const _property_types_IoK8sApiStorageV1StorageClass = Dict{Symbol,String}(Symbol("allowVolumeExpansion")=>"Bool", Symbol("allowedTopologies")=>"Vector{IoK8sApiCoreV1TopologySelectorTerm}", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("mountOptions")=>"Vector{String}", Symbol("parameters")=>"Dict{String, String}", Symbol("provisioner")=>"String", Symbol("reclaimPolicy")=>"String", Symbol("volumeBindingMode")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1StorageClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1StorageClass[name]))} + +function check_required(o::IoK8sApiStorageV1StorageClass) + o.provisioner === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1StorageClass }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1StorageClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1StorageClassList.jl new file mode 100644 index 00000000..e162d4cd --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1StorageClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.StorageClassList +StorageClassList is a collection of storage classes. + + IoK8sApiStorageV1StorageClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1StorageClass} : Items is the list of StorageClasses + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1StorageClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1StorageClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1StorageClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1StorageClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1StorageClassList + +const _property_types_IoK8sApiStorageV1StorageClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1StorageClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1StorageClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1StorageClassList[name]))} + +function check_required(o::IoK8sApiStorageV1StorageClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1StorageClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachment.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachment.jl new file mode 100644 index 00000000..eadfe362 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachment.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeAttachment +VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. + + IoK8sApiStorageV1VolumeAttachment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiStorageV1VolumeAttachmentSpec + - status::IoK8sApiStorageV1VolumeAttachmentStatus +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeAttachment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeAttachmentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeAttachmentStatus } + + function IoK8sApiStorageV1VolumeAttachment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiStorageV1VolumeAttachment + +const _property_types_IoK8sApiStorageV1VolumeAttachment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1VolumeAttachmentSpec", Symbol("status")=>"IoK8sApiStorageV1VolumeAttachmentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeAttachment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachment[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeAttachment) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeAttachment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentList.jl new file mode 100644 index 00000000..f78f83d0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeAttachmentList +VolumeAttachmentList is a collection of VolumeAttachment objects. + + IoK8sApiStorageV1VolumeAttachmentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1VolumeAttachment} : Items is the list of VolumeAttachments + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeAttachmentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1VolumeAttachment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1VolumeAttachmentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1VolumeAttachmentList + +const _property_types_IoK8sApiStorageV1VolumeAttachmentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1VolumeAttachment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentList[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeAttachmentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentSource.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentSource.jl new file mode 100644 index 00000000..ae465e8c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeAttachmentSource +VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. + + IoK8sApiStorageV1VolumeAttachmentSource(; + inlineVolumeSpec=nothing, + persistentVolumeName=nothing, + ) + + - inlineVolumeSpec::IoK8sApiCoreV1PersistentVolumeSpec + - persistentVolumeName::String : Name of the persistent volume to attach. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeAttachmentSource <: OpenAPI.APIModel + inlineVolumeSpec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } + persistentVolumeName::Union{Nothing, String} = nothing + + function IoK8sApiStorageV1VolumeAttachmentSource(inlineVolumeSpec, persistentVolumeName, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentSource, Symbol("inlineVolumeSpec"), inlineVolumeSpec) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentSource, Symbol("persistentVolumeName"), persistentVolumeName) + return new(inlineVolumeSpec, persistentVolumeName, ) + end +end # type IoK8sApiStorageV1VolumeAttachmentSource + +const _property_types_IoK8sApiStorageV1VolumeAttachmentSource = Dict{Symbol,String}(Symbol("inlineVolumeSpec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("persistentVolumeName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentSource[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeAttachmentSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl new file mode 100644 index 00000000..3ec93c7c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentSpec.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeAttachmentSpec +VolumeAttachmentSpec is the specification of a VolumeAttachment request. + + IoK8sApiStorageV1VolumeAttachmentSpec(; + attacher=nothing, + nodeName=nothing, + source=nothing, + ) + + - attacher::String : Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + - nodeName::String : The node that the volume should be attached to. + - source::IoK8sApiStorageV1VolumeAttachmentSource +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeAttachmentSpec <: OpenAPI.APIModel + attacher::Union{Nothing, String} = nothing + nodeName::Union{Nothing, String} = nothing + source = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeAttachmentSource } + + function IoK8sApiStorageV1VolumeAttachmentSpec(attacher, nodeName, source, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentSpec, Symbol("attacher"), attacher) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentSpec, Symbol("nodeName"), nodeName) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentSpec, Symbol("source"), source) + return new(attacher, nodeName, source, ) + end +end # type IoK8sApiStorageV1VolumeAttachmentSpec + +const _property_types_IoK8sApiStorageV1VolumeAttachmentSpec = Dict{Symbol,String}(Symbol("attacher")=>"String", Symbol("nodeName")=>"String", Symbol("source")=>"IoK8sApiStorageV1VolumeAttachmentSource", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentSpec[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeAttachmentSpec) + o.attacher === nothing && (return false) + o.nodeName === nothing && (return false) + o.source === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl new file mode 100644 index 00000000..68405b86 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeAttachmentStatus.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeAttachmentStatus +VolumeAttachmentStatus is the status of a VolumeAttachment request. + + IoK8sApiStorageV1VolumeAttachmentStatus(; + attachError=nothing, + attached=nothing, + attachmentMetadata=nothing, + detachError=nothing, + ) + + - attachError::IoK8sApiStorageV1VolumeError + - attached::Bool : Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + - attachmentMetadata::Dict{String, String} : Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + - detachError::IoK8sApiStorageV1VolumeError +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeAttachmentStatus <: OpenAPI.APIModel + attachError = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeError } + attached::Union{Nothing, Bool} = nothing + attachmentMetadata::Union{Nothing, Dict{String, String}} = nothing + detachError = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1VolumeError } + + function IoK8sApiStorageV1VolumeAttachmentStatus(attachError, attached, attachmentMetadata, detachError, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("attachError"), attachError) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("attached"), attached) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("attachmentMetadata"), attachmentMetadata) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeAttachmentStatus, Symbol("detachError"), detachError) + return new(attachError, attached, attachmentMetadata, detachError, ) + end +end # type IoK8sApiStorageV1VolumeAttachmentStatus + +const _property_types_IoK8sApiStorageV1VolumeAttachmentStatus = Dict{Symbol,String}(Symbol("attachError")=>"IoK8sApiStorageV1VolumeError", Symbol("attached")=>"Bool", Symbol("attachmentMetadata")=>"Dict{String, String}", Symbol("detachError")=>"IoK8sApiStorageV1VolumeError", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeAttachmentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeAttachmentStatus[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeAttachmentStatus) + o.attached === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeAttachmentStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeError.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeError.jl new file mode 100644 index 00000000..c2937cdc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeError.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeError +VolumeError captures an error encountered during a volume operation. + + IoK8sApiStorageV1VolumeError(; + message=nothing, + time=nothing, + ) + + - message::String : String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. + - time::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeError <: OpenAPI.APIModel + message::Union{Nothing, String} = nothing + time::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiStorageV1VolumeError(message, time, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeError, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeError, Symbol("time"), time) + return new(message, time, ) + end +end # type IoK8sApiStorageV1VolumeError + +const _property_types_IoK8sApiStorageV1VolumeError = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("time")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeError[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeError) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeError }, name::Symbol, val) + if name === Symbol("time") + OpenAPI.validate_param(name, "IoK8sApiStorageV1VolumeError", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeNodeResources.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeNodeResources.jl new file mode 100644 index 00000000..160d62aa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1VolumeNodeResources.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1.VolumeNodeResources +VolumeNodeResources is a set of resource limits for scheduling of volumes. + + IoK8sApiStorageV1VolumeNodeResources(; + count=nothing, + ) + + - count::Int64 : Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1VolumeNodeResources <: OpenAPI.APIModel + count::Union{Nothing, Int64} = nothing + + function IoK8sApiStorageV1VolumeNodeResources(count, ) + OpenAPI.validate_property(IoK8sApiStorageV1VolumeNodeResources, Symbol("count"), count) + return new(count, ) + end +end # type IoK8sApiStorageV1VolumeNodeResources + +const _property_types_IoK8sApiStorageV1VolumeNodeResources = Dict{Symbol,String}(Symbol("count")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1VolumeNodeResources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1VolumeNodeResources[name]))} + +function check_required(o::IoK8sApiStorageV1VolumeNodeResources) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1VolumeNodeResources }, name::Symbol, val) + if name === Symbol("count") + OpenAPI.validate_param(name, "IoK8sApiStorageV1VolumeNodeResources", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl new file mode 100644 index 00000000..498307e2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachment.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1alpha1.VolumeAttachment +VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. + + IoK8sApiStorageV1alpha1VolumeAttachment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiStorageV1alpha1VolumeAttachmentSpec + - status::IoK8sApiStorageV1alpha1VolumeAttachmentStatus +""" +Base.@kwdef mutable struct IoK8sApiStorageV1alpha1VolumeAttachment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeAttachmentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeAttachmentStatus } + + function IoK8sApiStorageV1alpha1VolumeAttachment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiStorageV1alpha1VolumeAttachment + +const _property_types_IoK8sApiStorageV1alpha1VolumeAttachment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1alpha1VolumeAttachmentSpec", Symbol("status")=>"IoK8sApiStorageV1alpha1VolumeAttachmentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachment[name]))} + +function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachment) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl new file mode 100644 index 00000000..0c99fd89 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1alpha1.VolumeAttachmentList +VolumeAttachmentList is a collection of VolumeAttachment objects. + + IoK8sApiStorageV1alpha1VolumeAttachmentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1alpha1VolumeAttachment} : Items is the list of VolumeAttachments + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1alpha1VolumeAttachment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1alpha1VolumeAttachmentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1alpha1VolumeAttachmentList + +const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1alpha1VolumeAttachment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentList[name]))} + +function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl new file mode 100644 index 00000000..a7a3a816 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1alpha1.VolumeAttachmentSource +VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. + + IoK8sApiStorageV1alpha1VolumeAttachmentSource(; + inlineVolumeSpec=nothing, + persistentVolumeName=nothing, + ) + + - inlineVolumeSpec::IoK8sApiCoreV1PersistentVolumeSpec + - persistentVolumeName::String : Name of the persistent volume to attach. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentSource <: OpenAPI.APIModel + inlineVolumeSpec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } + persistentVolumeName::Union{Nothing, String} = nothing + + function IoK8sApiStorageV1alpha1VolumeAttachmentSource(inlineVolumeSpec, persistentVolumeName, ) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSource, Symbol("inlineVolumeSpec"), inlineVolumeSpec) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSource, Symbol("persistentVolumeName"), persistentVolumeName) + return new(inlineVolumeSpec, persistentVolumeName, ) + end +end # type IoK8sApiStorageV1alpha1VolumeAttachmentSource + +const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSource = Dict{Symbol,String}(Symbol("inlineVolumeSpec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("persistentVolumeName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSource[name]))} + +function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl new file mode 100644 index 00000000..83379726 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentSpec.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec +VolumeAttachmentSpec is the specification of a VolumeAttachment request. + + IoK8sApiStorageV1alpha1VolumeAttachmentSpec(; + attacher=nothing, + nodeName=nothing, + source=nothing, + ) + + - attacher::String : Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + - nodeName::String : The node that the volume should be attached to. + - source::IoK8sApiStorageV1alpha1VolumeAttachmentSource +""" +Base.@kwdef mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentSpec <: OpenAPI.APIModel + attacher::Union{Nothing, String} = nothing + nodeName::Union{Nothing, String} = nothing + source = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeAttachmentSource } + + function IoK8sApiStorageV1alpha1VolumeAttachmentSpec(attacher, nodeName, source, ) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSpec, Symbol("attacher"), attacher) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSpec, Symbol("nodeName"), nodeName) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentSpec, Symbol("source"), source) + return new(attacher, nodeName, source, ) + end +end # type IoK8sApiStorageV1alpha1VolumeAttachmentSpec + +const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSpec = Dict{Symbol,String}(Symbol("attacher")=>"String", Symbol("nodeName")=>"String", Symbol("source")=>"IoK8sApiStorageV1alpha1VolumeAttachmentSource", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentSpec[name]))} + +function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentSpec) + o.attacher === nothing && (return false) + o.nodeName === nothing && (return false) + o.source === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl new file mode 100644 index 00000000..54783498 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeAttachmentStatus.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus +VolumeAttachmentStatus is the status of a VolumeAttachment request. + + IoK8sApiStorageV1alpha1VolumeAttachmentStatus(; + attachError=nothing, + attached=nothing, + attachmentMetadata=nothing, + detachError=nothing, + ) + + - attachError::IoK8sApiStorageV1alpha1VolumeError + - attached::Bool : Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + - attachmentMetadata::Dict{String, String} : Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + - detachError::IoK8sApiStorageV1alpha1VolumeError +""" +Base.@kwdef mutable struct IoK8sApiStorageV1alpha1VolumeAttachmentStatus <: OpenAPI.APIModel + attachError = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeError } + attached::Union{Nothing, Bool} = nothing + attachmentMetadata::Union{Nothing, Dict{String, String}} = nothing + detachError = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1alpha1VolumeError } + + function IoK8sApiStorageV1alpha1VolumeAttachmentStatus(attachError, attached, attachmentMetadata, detachError, ) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("attachError"), attachError) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("attached"), attached) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("attachmentMetadata"), attachmentMetadata) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeAttachmentStatus, Symbol("detachError"), detachError) + return new(attachError, attached, attachmentMetadata, detachError, ) + end +end # type IoK8sApiStorageV1alpha1VolumeAttachmentStatus + +const _property_types_IoK8sApiStorageV1alpha1VolumeAttachmentStatus = Dict{Symbol,String}(Symbol("attachError")=>"IoK8sApiStorageV1alpha1VolumeError", Symbol("attached")=>"Bool", Symbol("attachmentMetadata")=>"Dict{String, String}", Symbol("detachError")=>"IoK8sApiStorageV1alpha1VolumeError", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeAttachmentStatus[name]))} + +function check_required(o::IoK8sApiStorageV1alpha1VolumeAttachmentStatus) + o.attached === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeAttachmentStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeError.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeError.jl new file mode 100644 index 00000000..449764aa --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1alpha1VolumeError.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1alpha1.VolumeError +VolumeError captures an error encountered during a volume operation. + + IoK8sApiStorageV1alpha1VolumeError(; + message=nothing, + time=nothing, + ) + + - message::String : String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. + - time::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1alpha1VolumeError <: OpenAPI.APIModel + message::Union{Nothing, String} = nothing + time::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiStorageV1alpha1VolumeError(message, time, ) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeError, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiStorageV1alpha1VolumeError, Symbol("time"), time) + return new(message, time, ) + end +end # type IoK8sApiStorageV1alpha1VolumeError + +const _property_types_IoK8sApiStorageV1alpha1VolumeError = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("time")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1alpha1VolumeError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1alpha1VolumeError[name]))} + +function check_required(o::IoK8sApiStorageV1alpha1VolumeError) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1alpha1VolumeError }, name::Symbol, val) + if name === Symbol("time") + OpenAPI.validate_param(name, "IoK8sApiStorageV1alpha1VolumeError", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriver.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriver.jl new file mode 100644 index 00000000..1a911f5b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriver.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSIDriver +CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced. + + IoK8sApiStorageV1beta1CSIDriver(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiStorageV1beta1CSIDriverSpec +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSIDriver <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1CSIDriverSpec } + + function IoK8sApiStorageV1beta1CSIDriver(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriver, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiStorageV1beta1CSIDriver + +const _property_types_IoK8sApiStorageV1beta1CSIDriver = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1beta1CSIDriverSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSIDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSIDriver[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSIDriver) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSIDriver }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriverList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriverList.jl new file mode 100644 index 00000000..3a8b0052 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriverList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSIDriverList +CSIDriverList is a collection of CSIDriver objects. + + IoK8sApiStorageV1beta1CSIDriverList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1beta1CSIDriver} : items is the list of CSIDriver + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSIDriverList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1CSIDriver} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1beta1CSIDriverList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1beta1CSIDriverList + +const _property_types_IoK8sApiStorageV1beta1CSIDriverList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1CSIDriver}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSIDriverList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSIDriverList[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSIDriverList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSIDriverList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl new file mode 100644 index 00000000..cc40b997 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSIDriverSpec.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSIDriverSpec +CSIDriverSpec is the specification of a CSIDriver. + + IoK8sApiStorageV1beta1CSIDriverSpec(; + attachRequired=nothing, + podInfoOnMount=nothing, + volumeLifecycleModes=nothing, + ) + + - attachRequired::Bool : attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. + - podInfoOnMount::Bool : If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. + - volumeLifecycleModes::Vector{String} : VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSIDriverSpec <: OpenAPI.APIModel + attachRequired::Union{Nothing, Bool} = nothing + podInfoOnMount::Union{Nothing, Bool} = nothing + volumeLifecycleModes::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiStorageV1beta1CSIDriverSpec(attachRequired, podInfoOnMount, volumeLifecycleModes, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverSpec, Symbol("attachRequired"), attachRequired) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverSpec, Symbol("podInfoOnMount"), podInfoOnMount) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSIDriverSpec, Symbol("volumeLifecycleModes"), volumeLifecycleModes) + return new(attachRequired, podInfoOnMount, volumeLifecycleModes, ) + end +end # type IoK8sApiStorageV1beta1CSIDriverSpec + +const _property_types_IoK8sApiStorageV1beta1CSIDriverSpec = Dict{Symbol,String}(Symbol("attachRequired")=>"Bool", Symbol("podInfoOnMount")=>"Bool", Symbol("volumeLifecycleModes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSIDriverSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSIDriverSpec[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSIDriverSpec) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSIDriverSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINode.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINode.jl new file mode 100644 index 00000000..dbc294e9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINode.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSINode +DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. + + IoK8sApiStorageV1beta1CSINode(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiStorageV1beta1CSINodeSpec +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSINode <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1CSINodeSpec } + + function IoK8sApiStorageV1beta1CSINode(apiVersion, kind, metadata, spec, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINode, Symbol("spec"), spec) + return new(apiVersion, kind, metadata, spec, ) + end +end # type IoK8sApiStorageV1beta1CSINode + +const _property_types_IoK8sApiStorageV1beta1CSINode = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1beta1CSINodeSpec", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSINode }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINode[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSINode) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSINode }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeDriver.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeDriver.jl new file mode 100644 index 00000000..78833344 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeDriver.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSINodeDriver +CSINodeDriver holds information about the specification of one CSI driver installed on a node + + IoK8sApiStorageV1beta1CSINodeDriver(; + allocatable=nothing, + name=nothing, + nodeID=nothing, + topologyKeys=nothing, + ) + + - allocatable::IoK8sApiStorageV1beta1VolumeNodeResources + - name::String : This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. + - nodeID::String : nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. + - topologyKeys::Vector{String} : topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSINodeDriver <: OpenAPI.APIModel + allocatable = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeNodeResources } + name::Union{Nothing, String} = nothing + nodeID::Union{Nothing, String} = nothing + topologyKeys::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiStorageV1beta1CSINodeDriver(allocatable, name, nodeID, topologyKeys, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("allocatable"), allocatable) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("nodeID"), nodeID) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeDriver, Symbol("topologyKeys"), topologyKeys) + return new(allocatable, name, nodeID, topologyKeys, ) + end +end # type IoK8sApiStorageV1beta1CSINodeDriver + +const _property_types_IoK8sApiStorageV1beta1CSINodeDriver = Dict{Symbol,String}(Symbol("allocatable")=>"IoK8sApiStorageV1beta1VolumeNodeResources", Symbol("name")=>"String", Symbol("nodeID")=>"String", Symbol("topologyKeys")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSINodeDriver }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINodeDriver[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSINodeDriver) + o.name === nothing && (return false) + o.nodeID === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSINodeDriver }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeList.jl new file mode 100644 index 00000000..092d5f57 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSINodeList +CSINodeList is a collection of CSINode objects. + + IoK8sApiStorageV1beta1CSINodeList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1beta1CSINode} : items is the list of CSINode + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSINodeList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1CSINode} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1beta1CSINodeList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1beta1CSINodeList + +const _property_types_IoK8sApiStorageV1beta1CSINodeList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1CSINode}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSINodeList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINodeList[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSINodeList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSINodeList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeSpec.jl new file mode 100644 index 00000000..49e48eaf --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1CSINodeSpec.jl @@ -0,0 +1,32 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.CSINodeSpec +CSINodeSpec holds information about the specification of all CSI drivers installed on a node + + IoK8sApiStorageV1beta1CSINodeSpec(; + drivers=nothing, + ) + + - drivers::Vector{IoK8sApiStorageV1beta1CSINodeDriver} : drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1CSINodeSpec <: OpenAPI.APIModel + drivers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1CSINodeDriver} } + + function IoK8sApiStorageV1beta1CSINodeSpec(drivers, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1CSINodeSpec, Symbol("drivers"), drivers) + return new(drivers, ) + end +end # type IoK8sApiStorageV1beta1CSINodeSpec + +const _property_types_IoK8sApiStorageV1beta1CSINodeSpec = Dict{Symbol,String}(Symbol("drivers")=>"Vector{IoK8sApiStorageV1beta1CSINodeDriver}", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1CSINodeSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1CSINodeSpec[name]))} + +function check_required(o::IoK8sApiStorageV1beta1CSINodeSpec) + o.drivers === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1CSINodeSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1StorageClass.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1StorageClass.jl new file mode 100644 index 00000000..53ebd8a2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1StorageClass.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.StorageClass +StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. + + IoK8sApiStorageV1beta1StorageClass(; + allowVolumeExpansion=nothing, + allowedTopologies=nothing, + apiVersion=nothing, + kind=nothing, + metadata=nothing, + mountOptions=nothing, + parameters=nothing, + provisioner=nothing, + reclaimPolicy=nothing, + volumeBindingMode=nothing, + ) + + - allowVolumeExpansion::Bool : AllowVolumeExpansion shows whether the storage class allow volume expand + - allowedTopologies::Vector{IoK8sApiCoreV1TopologySelectorTerm} : Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - mountOptions::Vector{String} : Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. + - parameters::Dict{String, String} : Parameters holds the parameters for the provisioner that should create volumes of this storage class. + - provisioner::String : Provisioner indicates the type of the provisioner. + - reclaimPolicy::String : Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. + - volumeBindingMode::String : VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1StorageClass <: OpenAPI.APIModel + allowVolumeExpansion::Union{Nothing, Bool} = nothing + allowedTopologies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1TopologySelectorTerm} } + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + mountOptions::Union{Nothing, Vector{String}} = nothing + parameters::Union{Nothing, Dict{String, String}} = nothing + provisioner::Union{Nothing, String} = nothing + reclaimPolicy::Union{Nothing, String} = nothing + volumeBindingMode::Union{Nothing, String} = nothing + + function IoK8sApiStorageV1beta1StorageClass(allowVolumeExpansion, allowedTopologies, apiVersion, kind, metadata, mountOptions, parameters, provisioner, reclaimPolicy, volumeBindingMode, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("allowVolumeExpansion"), allowVolumeExpansion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("allowedTopologies"), allowedTopologies) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("mountOptions"), mountOptions) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("parameters"), parameters) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("provisioner"), provisioner) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("reclaimPolicy"), reclaimPolicy) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClass, Symbol("volumeBindingMode"), volumeBindingMode) + return new(allowVolumeExpansion, allowedTopologies, apiVersion, kind, metadata, mountOptions, parameters, provisioner, reclaimPolicy, volumeBindingMode, ) + end +end # type IoK8sApiStorageV1beta1StorageClass + +const _property_types_IoK8sApiStorageV1beta1StorageClass = Dict{Symbol,String}(Symbol("allowVolumeExpansion")=>"Bool", Symbol("allowedTopologies")=>"Vector{IoK8sApiCoreV1TopologySelectorTerm}", Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("mountOptions")=>"Vector{String}", Symbol("parameters")=>"Dict{String, String}", Symbol("provisioner")=>"String", Symbol("reclaimPolicy")=>"String", Symbol("volumeBindingMode")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1StorageClass }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1StorageClass[name]))} + +function check_required(o::IoK8sApiStorageV1beta1StorageClass) + o.provisioner === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1StorageClass }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1StorageClassList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1StorageClassList.jl new file mode 100644 index 00000000..26ec996b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1StorageClassList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.StorageClassList +StorageClassList is a collection of storage classes. + + IoK8sApiStorageV1beta1StorageClassList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1beta1StorageClass} : Items is the list of StorageClasses + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1StorageClassList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1StorageClass} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1beta1StorageClassList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1StorageClassList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1beta1StorageClassList + +const _property_types_IoK8sApiStorageV1beta1StorageClassList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1StorageClass}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1StorageClassList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1StorageClassList[name]))} + +function check_required(o::IoK8sApiStorageV1beta1StorageClassList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1StorageClassList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachment.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachment.jl new file mode 100644 index 00000000..a4b27d13 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachment.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeAttachment +VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. + + IoK8sApiStorageV1beta1VolumeAttachment(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiStorageV1beta1VolumeAttachmentSpec + - status::IoK8sApiStorageV1beta1VolumeAttachmentStatus +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeAttachment <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeAttachmentSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeAttachmentStatus } + + function IoK8sApiStorageV1beta1VolumeAttachment(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachment, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiStorageV1beta1VolumeAttachment + +const _property_types_IoK8sApiStorageV1beta1VolumeAttachment = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiStorageV1beta1VolumeAttachmentSpec", Symbol("status")=>"IoK8sApiStorageV1beta1VolumeAttachmentStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachment[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeAttachment) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachment }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl new file mode 100644 index 00000000..9147d14f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeAttachmentList +VolumeAttachmentList is a collection of VolumeAttachment objects. + + IoK8sApiStorageV1beta1VolumeAttachmentList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiStorageV1beta1VolumeAttachment} : Items is the list of VolumeAttachments + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeAttachmentList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiStorageV1beta1VolumeAttachment} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiStorageV1beta1VolumeAttachmentList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiStorageV1beta1VolumeAttachmentList + +const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiStorageV1beta1VolumeAttachment}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentList[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl new file mode 100644 index 00000000..6cc9a0b1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentSource.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeAttachmentSource +VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. + + IoK8sApiStorageV1beta1VolumeAttachmentSource(; + inlineVolumeSpec=nothing, + persistentVolumeName=nothing, + ) + + - inlineVolumeSpec::IoK8sApiCoreV1PersistentVolumeSpec + - persistentVolumeName::String : Name of the persistent volume to attach. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeAttachmentSource <: OpenAPI.APIModel + inlineVolumeSpec = nothing # spec type: Union{ Nothing, IoK8sApiCoreV1PersistentVolumeSpec } + persistentVolumeName::Union{Nothing, String} = nothing + + function IoK8sApiStorageV1beta1VolumeAttachmentSource(inlineVolumeSpec, persistentVolumeName, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSource, Symbol("inlineVolumeSpec"), inlineVolumeSpec) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSource, Symbol("persistentVolumeName"), persistentVolumeName) + return new(inlineVolumeSpec, persistentVolumeName, ) + end +end # type IoK8sApiStorageV1beta1VolumeAttachmentSource + +const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentSource = Dict{Symbol,String}(Symbol("inlineVolumeSpec")=>"IoK8sApiCoreV1PersistentVolumeSpec", Symbol("persistentVolumeName")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentSource[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentSource) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl new file mode 100644 index 00000000..20b4c8c7 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentSpec.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeAttachmentSpec +VolumeAttachmentSpec is the specification of a VolumeAttachment request. + + IoK8sApiStorageV1beta1VolumeAttachmentSpec(; + attacher=nothing, + nodeName=nothing, + source=nothing, + ) + + - attacher::String : Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + - nodeName::String : The node that the volume should be attached to. + - source::IoK8sApiStorageV1beta1VolumeAttachmentSource +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeAttachmentSpec <: OpenAPI.APIModel + attacher::Union{Nothing, String} = nothing + nodeName::Union{Nothing, String} = nothing + source = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeAttachmentSource } + + function IoK8sApiStorageV1beta1VolumeAttachmentSpec(attacher, nodeName, source, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSpec, Symbol("attacher"), attacher) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSpec, Symbol("nodeName"), nodeName) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentSpec, Symbol("source"), source) + return new(attacher, nodeName, source, ) + end +end # type IoK8sApiStorageV1beta1VolumeAttachmentSpec + +const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentSpec = Dict{Symbol,String}(Symbol("attacher")=>"String", Symbol("nodeName")=>"String", Symbol("source")=>"IoK8sApiStorageV1beta1VolumeAttachmentSource", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentSpec[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentSpec) + o.attacher === nothing && (return false) + o.nodeName === nothing && (return false) + o.source === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl new file mode 100644 index 00000000..29394b81 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeAttachmentStatus.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeAttachmentStatus +VolumeAttachmentStatus is the status of a VolumeAttachment request. + + IoK8sApiStorageV1beta1VolumeAttachmentStatus(; + attachError=nothing, + attached=nothing, + attachmentMetadata=nothing, + detachError=nothing, + ) + + - attachError::IoK8sApiStorageV1beta1VolumeError + - attached::Bool : Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + - attachmentMetadata::Dict{String, String} : Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + - detachError::IoK8sApiStorageV1beta1VolumeError +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeAttachmentStatus <: OpenAPI.APIModel + attachError = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeError } + attached::Union{Nothing, Bool} = nothing + attachmentMetadata::Union{Nothing, Dict{String, String}} = nothing + detachError = nothing # spec type: Union{ Nothing, IoK8sApiStorageV1beta1VolumeError } + + function IoK8sApiStorageV1beta1VolumeAttachmentStatus(attachError, attached, attachmentMetadata, detachError, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("attachError"), attachError) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("attached"), attached) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("attachmentMetadata"), attachmentMetadata) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeAttachmentStatus, Symbol("detachError"), detachError) + return new(attachError, attached, attachmentMetadata, detachError, ) + end +end # type IoK8sApiStorageV1beta1VolumeAttachmentStatus + +const _property_types_IoK8sApiStorageV1beta1VolumeAttachmentStatus = Dict{Symbol,String}(Symbol("attachError")=>"IoK8sApiStorageV1beta1VolumeError", Symbol("attached")=>"Bool", Symbol("attachmentMetadata")=>"Dict{String, String}", Symbol("detachError")=>"IoK8sApiStorageV1beta1VolumeError", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeAttachmentStatus[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeAttachmentStatus) + o.attached === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeAttachmentStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeError.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeError.jl new file mode 100644 index 00000000..2b004609 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeError.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeError +VolumeError captures an error encountered during a volume operation. + + IoK8sApiStorageV1beta1VolumeError(; + message=nothing, + time=nothing, + ) + + - message::String : String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. + - time::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeError <: OpenAPI.APIModel + message::Union{Nothing, String} = nothing + time::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApiStorageV1beta1VolumeError(message, time, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeError, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeError, Symbol("time"), time) + return new(message, time, ) + end +end # type IoK8sApiStorageV1beta1VolumeError + +const _property_types_IoK8sApiStorageV1beta1VolumeError = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("time")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeError[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeError) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeError }, name::Symbol, val) + if name === Symbol("time") + OpenAPI.validate_param(name, "IoK8sApiStorageV1beta1VolumeError", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl new file mode 100644 index 00000000..994559b2 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiStorageV1beta1VolumeNodeResources.jl @@ -0,0 +1,34 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.api.storage.v1beta1.VolumeNodeResources +VolumeNodeResources is a set of resource limits for scheduling of volumes. + + IoK8sApiStorageV1beta1VolumeNodeResources(; + count=nothing, + ) + + - count::Int64 : Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded. +""" +Base.@kwdef mutable struct IoK8sApiStorageV1beta1VolumeNodeResources <: OpenAPI.APIModel + count::Union{Nothing, Int64} = nothing + + function IoK8sApiStorageV1beta1VolumeNodeResources(count, ) + OpenAPI.validate_property(IoK8sApiStorageV1beta1VolumeNodeResources, Symbol("count"), count) + return new(count, ) + end +end # type IoK8sApiStorageV1beta1VolumeNodeResources + +const _property_types_IoK8sApiStorageV1beta1VolumeNodeResources = Dict{Symbol,String}(Symbol("count")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiStorageV1beta1VolumeNodeResources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiStorageV1beta1VolumeNodeResources[name]))} + +function check_required(o::IoK8sApiStorageV1beta1VolumeNodeResources) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiStorageV1beta1VolumeNodeResources }, name::Symbol, val) + if name === Symbol("count") + OpenAPI.validate_param(name, "IoK8sApiStorageV1beta1VolumeNodeResources", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl new file mode 100644 index 00000000..f3d20a40 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition +CustomResourceColumnDefinition specifies a column for server side printing. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition(; + description=nothing, + format=nothing, + jsonPath=nothing, + name=nothing, + priority=nothing, + type=nothing, + ) + + - description::String : description is a human readable description of this column. + - format::String : format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. + - jsonPath::String : jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. + - name::String : name is a human readable name for the column. + - priority::Int64 : priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. + - type::String : type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition <: OpenAPI.APIModel + description::Union{Nothing, String} = nothing + format::Union{Nothing, String} = nothing + jsonPath::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + priority::Union{Nothing, Int64} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition(description, format, jsonPath, name, priority, type, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("format"), format) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("jsonPath"), jsonPath) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("priority"), priority) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition, Symbol("type"), type) + return new(description, format, jsonPath, name, priority, type, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("format")=>"String", Symbol("jsonPath")=>"String", Symbol("name")=>"String", Symbol("priority")=>"Int64", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition) + o.jsonPath === nothing && (return false) + o.name === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition }, name::Symbol, val) + if name === Symbol("priority") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl new file mode 100644 index 00000000..2178d5a4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion +CustomResourceConversion describes how to convert different versions of a CR. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion(; + strategy=nothing, + webhook=nothing, + ) + + - strategy::String : strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set. + - webhook::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion <: OpenAPI.APIModel + strategy::Union{Nothing, String} = nothing + webhook = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion(strategy, webhook, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion, Symbol("strategy"), strategy) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion, Symbol("webhook"), webhook) + return new(strategy, webhook, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion = Dict{Symbol,String}(Symbol("strategy")=>"String", Symbol("webhook")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion) + o.strategy === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl new file mode 100644 index 00000000..fbd19a60 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition +CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec + - status::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec", Symbol("status")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl new file mode 100644 index 00000000..030fd7a3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition +CustomResourceDefinitionCondition contains details for the current condition of this pod. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : message is a human-readable message indicating details about last transition. + - reason::String : reason is a unique, one-word, CamelCase reason for the condition's last transition. + - status::String : status is the status of the condition. Can be True, False, Unknown. + - type::String : type is the type of the condition. Types include Established, NamesAccepted and Terminating. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl new file mode 100644 index 00000000..0f0cb02b --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList +CustomResourceDefinitionList is a list of CustomResourceDefinition objects. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition} : items list individual CustomResourceDefinition objects + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl new file mode 100644 index 00000000..3cf4a214 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames +CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames(; + categories=nothing, + kind=nothing, + listKind=nothing, + plural=nothing, + shortNames=nothing, + singular=nothing, + ) + + - categories::Vector{String} : categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. + - kind::String : kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. + - listKind::String : listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". + - plural::String : plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase. + - shortNames::Vector{String} : shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase. + - singular::String : singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames <: OpenAPI.APIModel + categories::Union{Nothing, Vector{String}} = nothing + kind::Union{Nothing, String} = nothing + listKind::Union{Nothing, String} = nothing + plural::Union{Nothing, String} = nothing + shortNames::Union{Nothing, Vector{String}} = nothing + singular::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames(categories, kind, listKind, plural, shortNames, singular, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("categories"), categories) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("listKind"), listKind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("plural"), plural) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("shortNames"), shortNames) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames, Symbol("singular"), singular) + return new(categories, kind, listKind, plural, shortNames, singular, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames = Dict{Symbol,String}(Symbol("categories")=>"Vector{String}", Symbol("kind")=>"String", Symbol("listKind")=>"String", Symbol("plural")=>"String", Symbol("shortNames")=>"Vector{String}", Symbol("singular")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames) + o.kind === nothing && (return false) + o.plural === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl new file mode 100644 index 00000000..5a72b78a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec +CustomResourceDefinitionSpec describes how a user wants their resource to appear + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec(; + conversion=nothing, + group=nothing, + names=nothing, + preserveUnknownFields=nothing, + scope=nothing, + versions=nothing, + ) + + - conversion::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion + - group::String : group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). + - names::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames + - preserveUnknownFields::Bool : preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. + - scope::String : scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. + - versions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion} : versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec <: OpenAPI.APIModel + conversion = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion } + group::Union{Nothing, String} = nothing + names = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames } + preserveUnknownFields::Union{Nothing, Bool} = nothing + scope::Union{Nothing, String} = nothing + versions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion} } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec(conversion, group, names, preserveUnknownFields, scope, versions, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("conversion"), conversion) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("names"), names) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("preserveUnknownFields"), preserveUnknownFields) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("scope"), scope) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec, Symbol("versions"), versions) + return new(conversion, group, names, preserveUnknownFields, scope, versions, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec = Dict{Symbol,String}(Symbol("conversion")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion", Symbol("group")=>"String", Symbol("names")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames", Symbol("preserveUnknownFields")=>"Bool", Symbol("scope")=>"String", Symbol("versions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion}", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec) + o.group === nothing && (return false) + o.names === nothing && (return false) + o.scope === nothing && (return false) + o.versions === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl new file mode 100644 index 00000000..84a2d579 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus +CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus(; + acceptedNames=nothing, + conditions=nothing, + storedVersions=nothing, + ) + + - acceptedNames::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames + - conditions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition} : conditions indicate state for particular aspects of a CustomResourceDefinition + - storedVersions::Vector{String} : storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus <: OpenAPI.APIModel + acceptedNames = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames } + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition} } + storedVersions::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus(acceptedNames, conditions, storedVersions, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus, Symbol("acceptedNames"), acceptedNames) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus, Symbol("storedVersions"), storedVersions) + return new(acceptedNames, conditions, storedVersions, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus = Dict{Symbol,String}(Symbol("acceptedNames")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames", Symbol("conditions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition}", Symbol("storedVersions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus) + o.acceptedNames === nothing && (return false) + o.storedVersions === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl new file mode 100644 index 00000000..57414a1d --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion +CustomResourceDefinitionVersion describes a version for CRD. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion(; + additionalPrinterColumns=nothing, + name=nothing, + schema=nothing, + served=nothing, + storage=nothing, + subresources=nothing, + ) + + - additionalPrinterColumns::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition} : additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used. + - name::String : name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. + - schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation + - served::Bool : served is a flag enabling/disabling this version from being served via REST APIs + - storage::Bool : storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. + - subresources::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion <: OpenAPI.APIModel + additionalPrinterColumns::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition} } + name::Union{Nothing, String} = nothing + schema = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation } + served::Union{Nothing, Bool} = nothing + storage::Union{Nothing, Bool} = nothing + subresources = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion(additionalPrinterColumns, name, schema, served, storage, subresources, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("additionalPrinterColumns"), additionalPrinterColumns) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("schema"), schema) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("served"), served) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("storage"), storage) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion, Symbol("subresources"), subresources) + return new(additionalPrinterColumns, name, schema, served, storage, subresources, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion = Dict{Symbol,String}(Symbol("additionalPrinterColumns")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition}", Symbol("name")=>"String", Symbol("schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation", Symbol("served")=>"Bool", Symbol("storage")=>"Bool", Symbol("subresources")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion) + o.name === nothing && (return false) + o.served === nothing && (return false) + o.storage === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl new file mode 100644 index 00000000..5984768f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale +CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale(; + labelSelectorPath=nothing, + specReplicasPath=nothing, + statusReplicasPath=nothing, + ) + + - labelSelectorPath::String : labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. + - specReplicasPath::String : specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. + - statusReplicasPath::String : statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale <: OpenAPI.APIModel + labelSelectorPath::Union{Nothing, String} = nothing + specReplicasPath::Union{Nothing, String} = nothing + statusReplicasPath::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale(labelSelectorPath, specReplicasPath, statusReplicasPath, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale, Symbol("labelSelectorPath"), labelSelectorPath) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale, Symbol("specReplicasPath"), specReplicasPath) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale, Symbol("statusReplicasPath"), statusReplicasPath) + return new(labelSelectorPath, specReplicasPath, statusReplicasPath, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale = Dict{Symbol,String}(Symbol("labelSelectorPath")=>"String", Symbol("specReplicasPath")=>"String", Symbol("statusReplicasPath")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale) + o.specReplicasPath === nothing && (return false) + o.statusReplicasPath === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl new file mode 100644 index 00000000..a265f47a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources +CustomResourceSubresources defines the status and scale subresources for CustomResources. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources(; + scale=nothing, + status=nothing, + ) + + - scale::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale + - status::Any : CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources <: OpenAPI.APIModel + scale = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale } + status::Union{Nothing, Any} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources(scale, status, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources, Symbol("scale"), scale) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources, Symbol("status"), status) + return new(scale, status, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources = Dict{Symbol,String}(Symbol("scale")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale", Symbol("status")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl new file mode 100644 index 00000000..4ba68390 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation +CustomResourceValidation is a list of validation methods for CustomResources. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation(; + openAPIV3Schema=nothing, + ) + + - openAPIV3Schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation <: OpenAPI.APIModel + openAPIV3Schema = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation(openAPIV3Schema, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation, Symbol("openAPIV3Schema"), openAPIV3Schema) + return new(openAPIV3Schema, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation = Dict{Symbol,String}(Symbol("openAPIV3Schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl new file mode 100644 index 00000000..aab79108 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation +ExternalDocumentation allows referencing an external resource for extended documentation. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation(; + description=nothing, + url=nothing, + ) + + - description::String + - url::String +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation <: OpenAPI.APIModel + description::Union{Nothing, String} = nothing + url::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation(description, url, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation, Symbol("url"), url) + return new(description, url, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl new file mode 100644 index 00000000..3f495409 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps.jl @@ -0,0 +1,226 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps +JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps(; + var"$ref"=nothing, + var"$schema"=nothing, + additionalItems=nothing, + additionalProperties=nothing, + allOf=nothing, + anyOf=nothing, + default=nothing, + definitions=nothing, + dependencies=nothing, + description=nothing, + enum=nothing, + example=nothing, + exclusiveMaximum=nothing, + exclusiveMinimum=nothing, + externalDocs=nothing, + format=nothing, + id=nothing, + items=nothing, + maxItems=nothing, + maxLength=nothing, + maxProperties=nothing, + maximum=nothing, + minItems=nothing, + minLength=nothing, + minProperties=nothing, + minimum=nothing, + multipleOf=nothing, + not=nothing, + nullable=nothing, + oneOf=nothing, + pattern=nothing, + patternProperties=nothing, + properties=nothing, + required=nothing, + title=nothing, + type=nothing, + uniqueItems=nothing, + var"x-kubernetes-embedded-resource"=nothing, + var"x-kubernetes-int-or-string"=nothing, + var"x-kubernetes-list-map-keys"=nothing, + var"x-kubernetes-list-type"=nothing, + var"x-kubernetes-map-type"=nothing, + var"x-kubernetes-preserve-unknown-fields"=nothing, + ) + + - var"$ref"::String + - var"$schema"::String + - additionalItems::Any : JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. + - additionalProperties::Any : JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. + - allOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} + - anyOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} + - default::Any : JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. + - definitions::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} + - dependencies::Dict{String, Any} + - description::String + - enum::Vector{Any} + - example::Any : JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. + - exclusiveMaximum::Bool + - exclusiveMinimum::Bool + - externalDocs::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation + - format::String : format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. + - id::String + - items::Any : JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. + - maxItems::Int64 + - maxLength::Int64 + - maxProperties::Int64 + - maximum::Float64 + - minItems::Int64 + - minLength::Int64 + - minProperties::Int64 + - minimum::Float64 + - multipleOf::Float64 + - not::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps + - nullable::Bool + - oneOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} + - pattern::String + - patternProperties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} + - properties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} + - required::Vector{String} + - title::String + - type::String + - uniqueItems::Bool + - var"x-kubernetes-embedded-resource"::Bool : x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata). + - var"x-kubernetes-int-or-string"::Bool : x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more + - var"x-kubernetes-list-map-keys"::Vector{String} : x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). + - var"x-kubernetes-list-type"::String : x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. + - var"x-kubernetes-map-type"::String : x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. + - var"x-kubernetes-preserve-unknown-fields"::Bool : x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps <: OpenAPI.APIModel + var"$ref"::Union{Nothing, String} = nothing + var"$schema"::Union{Nothing, String} = nothing + additionalItems::Union{Nothing, Any} = nothing + additionalProperties::Union{Nothing, Any} = nothing + allOf::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } + anyOf::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } + default::Union{Nothing, Any} = nothing + definitions::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } + dependencies::Union{Nothing, Dict{String, Any}} = nothing + description::Union{Nothing, String} = nothing + enum::Union{Nothing, Vector{Any}} = nothing + example::Union{Nothing, Any} = nothing + exclusiveMaximum::Union{Nothing, Bool} = nothing + exclusiveMinimum::Union{Nothing, Bool} = nothing + externalDocs = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation } + format::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + items::Union{Nothing, Any} = nothing + maxItems::Union{Nothing, Int64} = nothing + maxLength::Union{Nothing, Int64} = nothing + maxProperties::Union{Nothing, Int64} = nothing + maximum::Union{Nothing, Float64} = nothing + minItems::Union{Nothing, Int64} = nothing + minLength::Union{Nothing, Int64} = nothing + minProperties::Union{Nothing, Int64} = nothing + minimum::Union{Nothing, Float64} = nothing + multipleOf::Union{Nothing, Float64} = nothing + not = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps } + nullable::Union{Nothing, Bool} = nothing + oneOf::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } + pattern::Union{Nothing, String} = nothing + patternProperties::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } + properties::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps} } + required::Union{Nothing, Vector{String}} = nothing + title::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + uniqueItems::Union{Nothing, Bool} = nothing + var"x-kubernetes-embedded-resource"::Union{Nothing, Bool} = nothing + var"x-kubernetes-int-or-string"::Union{Nothing, Bool} = nothing + var"x-kubernetes-list-map-keys"::Union{Nothing, Vector{String}} = nothing + var"x-kubernetes-list-type"::Union{Nothing, String} = nothing + var"x-kubernetes-map-type"::Union{Nothing, String} = nothing + var"x-kubernetes-preserve-unknown-fields"::Union{Nothing, Bool} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps(var"$ref", var"$schema", additionalItems, additionalProperties, allOf, anyOf, default, definitions, dependencies, description, enum, example, exclusiveMaximum, exclusiveMinimum, externalDocs, format, id, items, maxItems, maxLength, maxProperties, maximum, minItems, minLength, minProperties, minimum, multipleOf, not, nullable, oneOf, pattern, patternProperties, properties, required, title, type, uniqueItems, var"x-kubernetes-embedded-resource", var"x-kubernetes-int-or-string", var"x-kubernetes-list-map-keys", var"x-kubernetes-list-type", var"x-kubernetes-map-type", var"x-kubernetes-preserve-unknown-fields", ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("\$ref"), var"$ref") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("\$schema"), var"$schema") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("additionalItems"), additionalItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("additionalProperties"), additionalProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("allOf"), allOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("anyOf"), anyOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("default"), default) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("definitions"), definitions) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("dependencies"), dependencies) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("enum"), enum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("example"), example) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("exclusiveMaximum"), exclusiveMaximum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("exclusiveMinimum"), exclusiveMinimum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("externalDocs"), externalDocs) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("format"), format) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("id"), id) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maxItems"), maxItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maxLength"), maxLength) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maxProperties"), maxProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("maximum"), maximum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minItems"), minItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minLength"), minLength) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minProperties"), minProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("minimum"), minimum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("multipleOf"), multipleOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("not"), not) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("nullable"), nullable) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("oneOf"), oneOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("pattern"), pattern) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("patternProperties"), patternProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("properties"), properties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("required"), required) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("title"), title) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("type"), type) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("uniqueItems"), uniqueItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-embedded-resource"), var"x-kubernetes-embedded-resource") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-int-or-string"), var"x-kubernetes-int-or-string") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-list-map-keys"), var"x-kubernetes-list-map-keys") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-list-type"), var"x-kubernetes-list-type") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-map-type"), var"x-kubernetes-map-type") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps, Symbol("x-kubernetes-preserve-unknown-fields"), var"x-kubernetes-preserve-unknown-fields") + return new(var"$ref", var"$schema", additionalItems, additionalProperties, allOf, anyOf, default, definitions, dependencies, description, enum, example, exclusiveMaximum, exclusiveMinimum, externalDocs, format, id, items, maxItems, maxLength, maxProperties, maximum, minItems, minLength, minProperties, minimum, multipleOf, not, nullable, oneOf, pattern, patternProperties, properties, required, title, type, uniqueItems, var"x-kubernetes-embedded-resource", var"x-kubernetes-int-or-string", var"x-kubernetes-list-map-keys", var"x-kubernetes-list-type", var"x-kubernetes-map-type", var"x-kubernetes-preserve-unknown-fields", ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps = Dict{Symbol,String}(Symbol("\$ref")=>"String", Symbol("\$schema")=>"String", Symbol("additionalItems")=>"Any", Symbol("additionalProperties")=>"Any", Symbol("allOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("anyOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("default")=>"Any", Symbol("definitions")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("dependencies")=>"Dict{String, Any}", Symbol("description")=>"String", Symbol("enum")=>"Vector{Any}", Symbol("example")=>"Any", Symbol("exclusiveMaximum")=>"Bool", Symbol("exclusiveMinimum")=>"Bool", Symbol("externalDocs")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation", Symbol("format")=>"String", Symbol("id")=>"String", Symbol("items")=>"Any", Symbol("maxItems")=>"Int64", Symbol("maxLength")=>"Int64", Symbol("maxProperties")=>"Int64", Symbol("maximum")=>"Float64", Symbol("minItems")=>"Int64", Symbol("minLength")=>"Int64", Symbol("minProperties")=>"Int64", Symbol("minimum")=>"Float64", Symbol("multipleOf")=>"Float64", Symbol("not")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", Symbol("nullable")=>"Bool", Symbol("oneOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("pattern")=>"String", Symbol("patternProperties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("properties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps}", Symbol("required")=>"Vector{String}", Symbol("title")=>"String", Symbol("type")=>"String", Symbol("uniqueItems")=>"Bool", Symbol("x-kubernetes-embedded-resource")=>"Bool", Symbol("x-kubernetes-int-or-string")=>"Bool", Symbol("x-kubernetes-list-map-keys")=>"Vector{String}", Symbol("x-kubernetes-list-type")=>"String", Symbol("x-kubernetes-map-type")=>"String", Symbol("x-kubernetes-preserve-unknown-fields")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps }, name::Symbol, val) + if name === Symbol("maxItems") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("maxLength") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("maxProperties") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("maximum") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "double") + end + if name === Symbol("minItems") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("minLength") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("minProperties") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("minimum") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "double") + end + if name === Symbol("multipleOf") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps", :format, val, "double") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl new file mode 100644 index 00000000..26ffae34 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference(; + name=nothing, + namespace=nothing, + path=nothing, + port=nothing, + ) + + - name::String : name is the name of the service. Required + - namespace::String : namespace is the namespace of the service. Required + - path::String : path is an optional URL path at which the webhook will be contacted. + - port::Int64 : port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference(name, namespace, path, port, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference, Symbol("port"), port) + return new(name, namespace, path, port, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl new file mode 100644 index 00000000..792a7667 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig +WebhookClientConfig contains the information to make a TLS connection with the webhook. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig(; + caBundle=nothing, + service=nothing, + url=nothing, + ) + + - caBundle::Vector{UInt8} : caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + - service::IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference + - url::String : url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference } + url::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig(caBundle, service, url, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig, Symbol("service"), service) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig, Symbol("url"), url) + return new(caBundle, service, url, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl new file mode 100644 index 00000000..5c1f7952 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion +WebhookConversion describes how to call a conversion webhook + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion(; + clientConfig=nothing, + conversionReviewVersions=nothing, + ) + + - clientConfig::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig + - conversionReviewVersions::Vector{String} : conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion <: OpenAPI.APIModel + clientConfig = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig } + conversionReviewVersions::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion(clientConfig, conversionReviewVersions, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion, Symbol("clientConfig"), clientConfig) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion, Symbol("conversionReviewVersions"), conversionReviewVersions) + return new(clientConfig, conversionReviewVersions, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion = Dict{Symbol,String}(Symbol("clientConfig")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig", Symbol("conversionReviewVersions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion) + o.conversionReviewVersions === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl new file mode 100644 index 00000000..c6c587a4 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition +CustomResourceColumnDefinition specifies a column for server side printing. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition(; + JSONPath=nothing, + description=nothing, + format=nothing, + name=nothing, + priority=nothing, + type=nothing, + ) + + - JSONPath::String : JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. + - description::String : description is a human readable description of this column. + - format::String : format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. + - name::String : name is a human readable name for the column. + - priority::Int64 : priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. + - type::String : type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition <: OpenAPI.APIModel + JSONPath::Union{Nothing, String} = nothing + description::Union{Nothing, String} = nothing + format::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + priority::Union{Nothing, Int64} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition(JSONPath, description, format, name, priority, type, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("JSONPath"), JSONPath) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("format"), format) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("priority"), priority) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition, Symbol("type"), type) + return new(JSONPath, description, format, name, priority, type, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition = Dict{Symbol,String}(Symbol("JSONPath")=>"String", Symbol("description")=>"String", Symbol("format")=>"String", Symbol("name")=>"String", Symbol("priority")=>"Int64", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition) + o.JSONPath === nothing && (return false) + o.name === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition }, name::Symbol, val) + if name === Symbol("priority") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl new file mode 100644 index 00000000..be2d382c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion +CustomResourceConversion describes how to convert different versions of a CR. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion(; + conversionReviewVersions=nothing, + strategy=nothing, + webhookClientConfig=nothing, + ) + + - conversionReviewVersions::Vector{String} : conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`. + - strategy::String : strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set. + - webhookClientConfig::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion <: OpenAPI.APIModel + conversionReviewVersions::Union{Nothing, Vector{String}} = nothing + strategy::Union{Nothing, String} = nothing + webhookClientConfig = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion(conversionReviewVersions, strategy, webhookClientConfig, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion, Symbol("conversionReviewVersions"), conversionReviewVersions) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion, Symbol("strategy"), strategy) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion, Symbol("webhookClientConfig"), webhookClientConfig) + return new(conversionReviewVersions, strategy, webhookClientConfig, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion = Dict{Symbol,String}(Symbol("conversionReviewVersions")=>"Vector{String}", Symbol("strategy")=>"String", Symbol("webhookClientConfig")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion) + o.strategy === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl new file mode 100644 index 00000000..bd6cd873 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition +CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec + - status::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec } + status = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec", Symbol("status")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition) + o.spec === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl new file mode 100644 index 00000000..ec3bd079 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition +CustomResourceDefinitionCondition contains details for the current condition of this pod. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : message is a human-readable message indicating details about last transition. + - reason::String : reason is a unique, one-word, CamelCase reason for the condition's last transition. + - status::String : status is the status of the condition. Can be True, False, Unknown. + - type::String : type is the type of the condition. Types include Established, NamesAccepted and Terminating. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl new file mode 100644 index 00000000..476db669 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList +CustomResourceDefinitionList is a list of CustomResourceDefinition objects. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition} : items list individual CustomResourceDefinition objects + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl new file mode 100644 index 00000000..fbe9030a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames +CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames(; + categories=nothing, + kind=nothing, + listKind=nothing, + plural=nothing, + shortNames=nothing, + singular=nothing, + ) + + - categories::Vector{String} : categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. + - kind::String : kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. + - listKind::String : listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". + - plural::String : plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase. + - shortNames::Vector{String} : shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase. + - singular::String : singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames <: OpenAPI.APIModel + categories::Union{Nothing, Vector{String}} = nothing + kind::Union{Nothing, String} = nothing + listKind::Union{Nothing, String} = nothing + plural::Union{Nothing, String} = nothing + shortNames::Union{Nothing, Vector{String}} = nothing + singular::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames(categories, kind, listKind, plural, shortNames, singular, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("categories"), categories) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("listKind"), listKind) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("plural"), plural) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("shortNames"), shortNames) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames, Symbol("singular"), singular) + return new(categories, kind, listKind, plural, shortNames, singular, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames = Dict{Symbol,String}(Symbol("categories")=>"Vector{String}", Symbol("kind")=>"String", Symbol("listKind")=>"String", Symbol("plural")=>"String", Symbol("shortNames")=>"Vector{String}", Symbol("singular")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames) + o.kind === nothing && (return false) + o.plural === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl new file mode 100644 index 00000000..797622c6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec +CustomResourceDefinitionSpec describes how a user wants their resource to appear + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec(; + additionalPrinterColumns=nothing, + conversion=nothing, + group=nothing, + names=nothing, + preserveUnknownFields=nothing, + scope=nothing, + subresources=nothing, + validation=nothing, + version=nothing, + versions=nothing, + ) + + - additionalPrinterColumns::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} : additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. + - conversion::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion + - group::String : group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). + - names::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames + - preserveUnknownFields::Bool : preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. + - scope::String : scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`. + - subresources::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources + - validation::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation + - version::String : version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. + - versions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion} : versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec <: OpenAPI.APIModel + additionalPrinterColumns::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} } + conversion = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion } + group::Union{Nothing, String} = nothing + names = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames } + preserveUnknownFields::Union{Nothing, Bool} = nothing + scope::Union{Nothing, String} = nothing + subresources = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources } + validation = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation } + version::Union{Nothing, String} = nothing + versions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion} } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec(additionalPrinterColumns, conversion, group, names, preserveUnknownFields, scope, subresources, validation, version, versions, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("additionalPrinterColumns"), additionalPrinterColumns) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("conversion"), conversion) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("names"), names) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("preserveUnknownFields"), preserveUnknownFields) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("scope"), scope) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("subresources"), subresources) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("validation"), validation) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("version"), version) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec, Symbol("versions"), versions) + return new(additionalPrinterColumns, conversion, group, names, preserveUnknownFields, scope, subresources, validation, version, versions, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec = Dict{Symbol,String}(Symbol("additionalPrinterColumns")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition}", Symbol("conversion")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion", Symbol("group")=>"String", Symbol("names")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames", Symbol("preserveUnknownFields")=>"Bool", Symbol("scope")=>"String", Symbol("subresources")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources", Symbol("validation")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation", Symbol("version")=>"String", Symbol("versions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion}", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec) + o.group === nothing && (return false) + o.names === nothing && (return false) + o.scope === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl new file mode 100644 index 00000000..94f9bc1a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus +CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus(; + acceptedNames=nothing, + conditions=nothing, + storedVersions=nothing, + ) + + - acceptedNames::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames + - conditions::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition} : conditions indicate state for particular aspects of a CustomResourceDefinition + - storedVersions::Vector{String} : storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus <: OpenAPI.APIModel + acceptedNames = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames } + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition} } + storedVersions::Union{Nothing, Vector{String}} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus(acceptedNames, conditions, storedVersions, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus, Symbol("acceptedNames"), acceptedNames) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus, Symbol("storedVersions"), storedVersions) + return new(acceptedNames, conditions, storedVersions, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus = Dict{Symbol,String}(Symbol("acceptedNames")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames", Symbol("conditions")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition}", Symbol("storedVersions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus) + o.acceptedNames === nothing && (return false) + o.storedVersions === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl new file mode 100644 index 00000000..397c6fd1 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion +CustomResourceDefinitionVersion describes a version for CRD. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion(; + additionalPrinterColumns=nothing, + name=nothing, + schema=nothing, + served=nothing, + storage=nothing, + subresources=nothing, + ) + + - additionalPrinterColumns::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} : additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. + - name::String : name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. + - schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation + - served::Bool : served is a flag enabling/disabling this version from being served via REST APIs + - storage::Bool : storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. + - subresources::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion <: OpenAPI.APIModel + additionalPrinterColumns::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition} } + name::Union{Nothing, String} = nothing + schema = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation } + served::Union{Nothing, Bool} = nothing + storage::Union{Nothing, Bool} = nothing + subresources = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion(additionalPrinterColumns, name, schema, served, storage, subresources, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("additionalPrinterColumns"), additionalPrinterColumns) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("schema"), schema) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("served"), served) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("storage"), storage) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion, Symbol("subresources"), subresources) + return new(additionalPrinterColumns, name, schema, served, storage, subresources, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion = Dict{Symbol,String}(Symbol("additionalPrinterColumns")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition}", Symbol("name")=>"String", Symbol("schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation", Symbol("served")=>"Bool", Symbol("storage")=>"Bool", Symbol("subresources")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion) + o.name === nothing && (return false) + o.served === nothing && (return false) + o.storage === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl new file mode 100644 index 00000000..4c91e834 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale +CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale(; + labelSelectorPath=nothing, + specReplicasPath=nothing, + statusReplicasPath=nothing, + ) + + - labelSelectorPath::String : labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. + - specReplicasPath::String : specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. + - statusReplicasPath::String : statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale <: OpenAPI.APIModel + labelSelectorPath::Union{Nothing, String} = nothing + specReplicasPath::Union{Nothing, String} = nothing + statusReplicasPath::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale(labelSelectorPath, specReplicasPath, statusReplicasPath, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale, Symbol("labelSelectorPath"), labelSelectorPath) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale, Symbol("specReplicasPath"), specReplicasPath) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale, Symbol("statusReplicasPath"), statusReplicasPath) + return new(labelSelectorPath, specReplicasPath, statusReplicasPath, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale = Dict{Symbol,String}(Symbol("labelSelectorPath")=>"String", Symbol("specReplicasPath")=>"String", Symbol("statusReplicasPath")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale) + o.specReplicasPath === nothing && (return false) + o.statusReplicasPath === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl new file mode 100644 index 00000000..21adc88e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources +CustomResourceSubresources defines the status and scale subresources for CustomResources. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources(; + scale=nothing, + status=nothing, + ) + + - scale::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale + - status::Any : CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources <: OpenAPI.APIModel + scale = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale } + status::Union{Nothing, Any} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources(scale, status, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources, Symbol("scale"), scale) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources, Symbol("status"), status) + return new(scale, status, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources = Dict{Symbol,String}(Symbol("scale")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale", Symbol("status")=>"Any", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl new file mode 100644 index 00000000..5156aedc --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation +CustomResourceValidation is a list of validation methods for CustomResources. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation(; + openAPIV3Schema=nothing, + ) + + - openAPIV3Schema::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation <: OpenAPI.APIModel + openAPIV3Schema = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps } + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation(openAPIV3Schema, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation, Symbol("openAPIV3Schema"), openAPIV3Schema) + return new(openAPIV3Schema, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation = Dict{Symbol,String}(Symbol("openAPIV3Schema")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl new file mode 100644 index 00000000..0cc0b3f8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation +ExternalDocumentation allows referencing an external resource for extended documentation. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation(; + description=nothing, + url=nothing, + ) + + - description::String + - url::String +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation <: OpenAPI.APIModel + description::Union{Nothing, String} = nothing + url::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation(description, url, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation, Symbol("url"), url) + return new(description, url, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl new file mode 100644 index 00000000..feb9a1ad --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps.jl @@ -0,0 +1,226 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps +JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps(; + var"$ref"=nothing, + var"$schema"=nothing, + additionalItems=nothing, + additionalProperties=nothing, + allOf=nothing, + anyOf=nothing, + default=nothing, + definitions=nothing, + dependencies=nothing, + description=nothing, + enum=nothing, + example=nothing, + exclusiveMaximum=nothing, + exclusiveMinimum=nothing, + externalDocs=nothing, + format=nothing, + id=nothing, + items=nothing, + maxItems=nothing, + maxLength=nothing, + maxProperties=nothing, + maximum=nothing, + minItems=nothing, + minLength=nothing, + minProperties=nothing, + minimum=nothing, + multipleOf=nothing, + not=nothing, + nullable=nothing, + oneOf=nothing, + pattern=nothing, + patternProperties=nothing, + properties=nothing, + required=nothing, + title=nothing, + type=nothing, + uniqueItems=nothing, + var"x-kubernetes-embedded-resource"=nothing, + var"x-kubernetes-int-or-string"=nothing, + var"x-kubernetes-list-map-keys"=nothing, + var"x-kubernetes-list-type"=nothing, + var"x-kubernetes-map-type"=nothing, + var"x-kubernetes-preserve-unknown-fields"=nothing, + ) + + - var"$ref"::String + - var"$schema"::String + - additionalItems::Any : JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. + - additionalProperties::Any : JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. + - allOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} + - anyOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} + - default::Any : JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. + - definitions::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} + - dependencies::Dict{String, Any} + - description::String + - enum::Vector{Any} + - example::Any : JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. + - exclusiveMaximum::Bool + - exclusiveMinimum::Bool + - externalDocs::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation + - format::String : format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. + - id::String + - items::Any : JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. + - maxItems::Int64 + - maxLength::Int64 + - maxProperties::Int64 + - maximum::Float64 + - minItems::Int64 + - minLength::Int64 + - minProperties::Int64 + - minimum::Float64 + - multipleOf::Float64 + - not::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps + - nullable::Bool + - oneOf::Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} + - pattern::String + - patternProperties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} + - properties::Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} + - required::Vector{String} + - title::String + - type::String + - uniqueItems::Bool + - var"x-kubernetes-embedded-resource"::Bool : x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata). + - var"x-kubernetes-int-or-string"::Bool : x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more + - var"x-kubernetes-list-map-keys"::Vector{String} : x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). + - var"x-kubernetes-list-type"::String : x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. + - var"x-kubernetes-map-type"::String : x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. + - var"x-kubernetes-preserve-unknown-fields"::Bool : x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps <: OpenAPI.APIModel + var"$ref"::Union{Nothing, String} = nothing + var"$schema"::Union{Nothing, String} = nothing + additionalItems::Union{Nothing, Any} = nothing + additionalProperties::Union{Nothing, Any} = nothing + allOf::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } + anyOf::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } + default::Union{Nothing, Any} = nothing + definitions::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } + dependencies::Union{Nothing, Dict{String, Any}} = nothing + description::Union{Nothing, String} = nothing + enum::Union{Nothing, Vector{Any}} = nothing + example::Union{Nothing, Any} = nothing + exclusiveMaximum::Union{Nothing, Bool} = nothing + exclusiveMinimum::Union{Nothing, Bool} = nothing + externalDocs = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation } + format::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + items::Union{Nothing, Any} = nothing + maxItems::Union{Nothing, Int64} = nothing + maxLength::Union{Nothing, Int64} = nothing + maxProperties::Union{Nothing, Int64} = nothing + maximum::Union{Nothing, Float64} = nothing + minItems::Union{Nothing, Int64} = nothing + minLength::Union{Nothing, Int64} = nothing + minProperties::Union{Nothing, Int64} = nothing + minimum::Union{Nothing, Float64} = nothing + multipleOf::Union{Nothing, Float64} = nothing + not = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps } + nullable::Union{Nothing, Bool} = nothing + oneOf::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } + pattern::Union{Nothing, String} = nothing + patternProperties::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } + properties::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps} } + required::Union{Nothing, Vector{String}} = nothing + title::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + uniqueItems::Union{Nothing, Bool} = nothing + var"x-kubernetes-embedded-resource"::Union{Nothing, Bool} = nothing + var"x-kubernetes-int-or-string"::Union{Nothing, Bool} = nothing + var"x-kubernetes-list-map-keys"::Union{Nothing, Vector{String}} = nothing + var"x-kubernetes-list-type"::Union{Nothing, String} = nothing + var"x-kubernetes-map-type"::Union{Nothing, String} = nothing + var"x-kubernetes-preserve-unknown-fields"::Union{Nothing, Bool} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps(var"$ref", var"$schema", additionalItems, additionalProperties, allOf, anyOf, default, definitions, dependencies, description, enum, example, exclusiveMaximum, exclusiveMinimum, externalDocs, format, id, items, maxItems, maxLength, maxProperties, maximum, minItems, minLength, minProperties, minimum, multipleOf, not, nullable, oneOf, pattern, patternProperties, properties, required, title, type, uniqueItems, var"x-kubernetes-embedded-resource", var"x-kubernetes-int-or-string", var"x-kubernetes-list-map-keys", var"x-kubernetes-list-type", var"x-kubernetes-map-type", var"x-kubernetes-preserve-unknown-fields", ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("\$ref"), var"$ref") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("\$schema"), var"$schema") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("additionalItems"), additionalItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("additionalProperties"), additionalProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("allOf"), allOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("anyOf"), anyOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("default"), default) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("definitions"), definitions) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("dependencies"), dependencies) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("description"), description) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("enum"), enum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("example"), example) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("exclusiveMaximum"), exclusiveMaximum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("exclusiveMinimum"), exclusiveMinimum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("externalDocs"), externalDocs) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("format"), format) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("id"), id) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("items"), items) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maxItems"), maxItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maxLength"), maxLength) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maxProperties"), maxProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("maximum"), maximum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minItems"), minItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minLength"), minLength) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minProperties"), minProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("minimum"), minimum) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("multipleOf"), multipleOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("not"), not) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("nullable"), nullable) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("oneOf"), oneOf) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("pattern"), pattern) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("patternProperties"), patternProperties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("properties"), properties) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("required"), required) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("title"), title) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("type"), type) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("uniqueItems"), uniqueItems) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-embedded-resource"), var"x-kubernetes-embedded-resource") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-int-or-string"), var"x-kubernetes-int-or-string") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-list-map-keys"), var"x-kubernetes-list-map-keys") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-list-type"), var"x-kubernetes-list-type") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-map-type"), var"x-kubernetes-map-type") + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps, Symbol("x-kubernetes-preserve-unknown-fields"), var"x-kubernetes-preserve-unknown-fields") + return new(var"$ref", var"$schema", additionalItems, additionalProperties, allOf, anyOf, default, definitions, dependencies, description, enum, example, exclusiveMaximum, exclusiveMinimum, externalDocs, format, id, items, maxItems, maxLength, maxProperties, maximum, minItems, minLength, minProperties, minimum, multipleOf, not, nullable, oneOf, pattern, patternProperties, properties, required, title, type, uniqueItems, var"x-kubernetes-embedded-resource", var"x-kubernetes-int-or-string", var"x-kubernetes-list-map-keys", var"x-kubernetes-list-type", var"x-kubernetes-map-type", var"x-kubernetes-preserve-unknown-fields", ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps = Dict{Symbol,String}(Symbol("\$ref")=>"String", Symbol("\$schema")=>"String", Symbol("additionalItems")=>"Any", Symbol("additionalProperties")=>"Any", Symbol("allOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("anyOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("default")=>"Any", Symbol("definitions")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("dependencies")=>"Dict{String, Any}", Symbol("description")=>"String", Symbol("enum")=>"Vector{Any}", Symbol("example")=>"Any", Symbol("exclusiveMaximum")=>"Bool", Symbol("exclusiveMinimum")=>"Bool", Symbol("externalDocs")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation", Symbol("format")=>"String", Symbol("id")=>"String", Symbol("items")=>"Any", Symbol("maxItems")=>"Int64", Symbol("maxLength")=>"Int64", Symbol("maxProperties")=>"Int64", Symbol("maximum")=>"Float64", Symbol("minItems")=>"Int64", Symbol("minLength")=>"Int64", Symbol("minProperties")=>"Int64", Symbol("minimum")=>"Float64", Symbol("multipleOf")=>"Float64", Symbol("not")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", Symbol("nullable")=>"Bool", Symbol("oneOf")=>"Vector{IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("pattern")=>"String", Symbol("patternProperties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("properties")=>"Dict{String, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps}", Symbol("required")=>"Vector{String}", Symbol("title")=>"String", Symbol("type")=>"String", Symbol("uniqueItems")=>"Bool", Symbol("x-kubernetes-embedded-resource")=>"Bool", Symbol("x-kubernetes-int-or-string")=>"Bool", Symbol("x-kubernetes-list-map-keys")=>"Vector{String}", Symbol("x-kubernetes-list-type")=>"String", Symbol("x-kubernetes-map-type")=>"String", Symbol("x-kubernetes-preserve-unknown-fields")=>"Bool", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps }, name::Symbol, val) + if name === Symbol("maxItems") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("maxLength") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("maxProperties") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("maximum") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "double") + end + if name === Symbol("minItems") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("minLength") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("minProperties") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "int64") + end + if name === Symbol("minimum") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "double") + end + if name === Symbol("multipleOf") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps", :format, val, "double") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl new file mode 100644 index 00000000..6ba25990 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference(; + name=nothing, + namespace=nothing, + path=nothing, + port=nothing, + ) + + - name::String : name is the name of the service. Required + - namespace::String : namespace is the namespace of the service. Required + - path::String : path is an optional URL path at which the webhook will be contacted. + - port::Int64 : port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + path::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference(name, namespace, path, port, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("path"), path) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference, Symbol("port"), port) + return new(name, namespace, path, port, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("path")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference) + o.name === nothing && (return false) + o.namespace === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl new file mode 100644 index 00000000..efb90f86 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig +WebhookClientConfig contains the information to make a TLS connection with the webhook. + + IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig(; + caBundle=nothing, + service=nothing, + url=nothing, + ) + + - caBundle::Vector{UInt8} : caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + - service::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference + - url::String : url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. +""" +Base.@kwdef mutable struct IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference } + url::Union{Nothing, String} = nothing + + function IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig(caBundle, service, url, ) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig, Symbol("service"), service) + OpenAPI.validate_property(IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig, Symbol("url"), url) + return new(caBundle, service, url, ) + end +end # type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig + +const _property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("service")=>"IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference", Symbol("url")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig[name]))} + +function check_required(o::IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl new file mode 100644 index 00000000..b6b33394 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIGroup.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup +APIGroup contains the name, the supported versions, and the preferred version of a group. + + IoK8sApimachineryPkgApisMetaV1APIGroup(; + apiVersion=nothing, + kind=nothing, + name=nothing, + preferredVersion=nothing, + serverAddressByClientCIDRs=nothing, + versions=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : name is the name of the group. + - preferredVersion::IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + - serverAddressByClientCIDRs::Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} : a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + - versions::Vector{IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery} : versions are the versions supported in this group. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1APIGroup <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + preferredVersion = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery } + serverAddressByClientCIDRs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} } + versions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery} } + + function IoK8sApimachineryPkgApisMetaV1APIGroup(apiVersion, kind, name, preferredVersion, serverAddressByClientCIDRs, versions, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("preferredVersion"), preferredVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("serverAddressByClientCIDRs"), serverAddressByClientCIDRs) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroup, Symbol("versions"), versions) + return new(apiVersion, kind, name, preferredVersion, serverAddressByClientCIDRs, versions, ) + end +end # type IoK8sApimachineryPkgApisMetaV1APIGroup + +const _property_types_IoK8sApimachineryPkgApisMetaV1APIGroup = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("preferredVersion")=>"IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery", Symbol("serverAddressByClientCIDRs")=>"Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR}", Symbol("versions")=>"Vector{IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery}", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIGroup[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1APIGroup) + o.name === nothing && (return false) + o.versions === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroup }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl new file mode 100644 index 00000000..303b8bd8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIGroupList.jl @@ -0,0 +1,40 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList +APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis. + + IoK8sApimachineryPkgApisMetaV1APIGroupList(; + apiVersion=nothing, + groups=nothing, + kind=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - groups::Vector{IoK8sApimachineryPkgApisMetaV1APIGroup} : groups is a list of APIGroup. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1APIGroupList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + groups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1APIGroup} } + kind::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1APIGroupList(apiVersion, groups, kind, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroupList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroupList, Symbol("groups"), groups) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIGroupList, Symbol("kind"), kind) + return new(apiVersion, groups, kind, ) + end +end # type IoK8sApimachineryPkgApisMetaV1APIGroupList + +const _property_types_IoK8sApimachineryPkgApisMetaV1APIGroupList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("groups")=>"Vector{IoK8sApimachineryPkgApisMetaV1APIGroup}", Symbol("kind")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroupList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIGroupList[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1APIGroupList) + o.groups === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIGroupList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl new file mode 100644 index 00000000..03bc55a3 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIResource.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.APIResource +APIResource specifies the name of a resource and whether it is namespaced. + + IoK8sApimachineryPkgApisMetaV1APIResource(; + categories=nothing, + group=nothing, + kind=nothing, + name=nothing, + namespaced=nothing, + shortNames=nothing, + singularName=nothing, + storageVersionHash=nothing, + verbs=nothing, + version=nothing, + ) + + - categories::Vector{String} : categories is a list of the grouped resources this resource belongs to (e.g. 'all') + - group::String : group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\". + - kind::String : kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') + - name::String : name is the plural name of the resource. + - namespaced::Bool : namespaced indicates if a resource is namespaced or not. + - shortNames::Vector{String} : shortNames is a list of suggested short names of the resource. + - singularName::String : singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. + - storageVersionHash::String : The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. + - verbs::Vector{String} : verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) + - version::String : version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1APIResource <: OpenAPI.APIModel + categories::Union{Nothing, Vector{String}} = nothing + group::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + namespaced::Union{Nothing, Bool} = nothing + shortNames::Union{Nothing, Vector{String}} = nothing + singularName::Union{Nothing, String} = nothing + storageVersionHash::Union{Nothing, String} = nothing + verbs::Union{Nothing, Vector{String}} = nothing + version::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1APIResource(categories, group, kind, name, namespaced, shortNames, singularName, storageVersionHash, verbs, version, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("categories"), categories) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("namespaced"), namespaced) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("shortNames"), shortNames) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("singularName"), singularName) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("storageVersionHash"), storageVersionHash) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("verbs"), verbs) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResource, Symbol("version"), version) + return new(categories, group, kind, name, namespaced, shortNames, singularName, storageVersionHash, verbs, version, ) + end +end # type IoK8sApimachineryPkgApisMetaV1APIResource + +const _property_types_IoK8sApimachineryPkgApisMetaV1APIResource = Dict{Symbol,String}(Symbol("categories")=>"Vector{String}", Symbol("group")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("namespaced")=>"Bool", Symbol("shortNames")=>"Vector{String}", Symbol("singularName")=>"String", Symbol("storageVersionHash")=>"String", Symbol("verbs")=>"Vector{String}", Symbol("version")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIResource[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1APIResource) + o.kind === nothing && (return false) + o.name === nothing && (return false) + o.namespaced === nothing && (return false) + o.singularName === nothing && (return false) + o.verbs === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIResource }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl new file mode 100644 index 00000000..12666363 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIResourceList.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList +APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced. + + IoK8sApimachineryPkgApisMetaV1APIResourceList(; + apiVersion=nothing, + groupVersion=nothing, + kind=nothing, + resources=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - groupVersion::String : groupVersion is the group and version this APIResourceList is for. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - resources::Vector{IoK8sApimachineryPkgApisMetaV1APIResource} : resources contains the name of the resources and if they are namespaced. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1APIResourceList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + groupVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + resources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1APIResource} } + + function IoK8sApimachineryPkgApisMetaV1APIResourceList(apiVersion, groupVersion, kind, resources, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("groupVersion"), groupVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIResourceList, Symbol("resources"), resources) + return new(apiVersion, groupVersion, kind, resources, ) + end +end # type IoK8sApimachineryPkgApisMetaV1APIResourceList + +const _property_types_IoK8sApimachineryPkgApisMetaV1APIResourceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("groupVersion")=>"String", Symbol("kind")=>"String", Symbol("resources")=>"Vector{IoK8sApimachineryPkgApisMetaV1APIResource}", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIResourceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIResourceList[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1APIResourceList) + o.groupVersion === nothing && (return false) + o.resources === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIResourceList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl new file mode 100644 index 00000000..60ac82c0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1APIVersions.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions +APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API. + + IoK8sApimachineryPkgApisMetaV1APIVersions(; + apiVersion=nothing, + kind=nothing, + serverAddressByClientCIDRs=nothing, + versions=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - serverAddressByClientCIDRs::Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} : a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + - versions::Vector{String} : versions are the api versions that are available. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1APIVersions <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + serverAddressByClientCIDRs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR} } + versions::Union{Nothing, Vector{String}} = nothing + + function IoK8sApimachineryPkgApisMetaV1APIVersions(apiVersion, kind, serverAddressByClientCIDRs, versions, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("serverAddressByClientCIDRs"), serverAddressByClientCIDRs) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1APIVersions, Symbol("versions"), versions) + return new(apiVersion, kind, serverAddressByClientCIDRs, versions, ) + end +end # type IoK8sApimachineryPkgApisMetaV1APIVersions + +const _property_types_IoK8sApimachineryPkgApisMetaV1APIVersions = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("serverAddressByClientCIDRs")=>"Vector{IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR}", Symbol("versions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1APIVersions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1APIVersions[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1APIVersions) + o.serverAddressByClientCIDRs === nothing && (return false) + o.versions === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1APIVersions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl new file mode 100644 index 00000000..a45777fe --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptions.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions +DeleteOptions may be provided when deleting an API object. + + IoK8sApimachineryPkgApisMetaV1DeleteOptions(; + apiVersion=nothing, + dryRun=nothing, + gracePeriodSeconds=nothing, + kind=nothing, + orphanDependents=nothing, + preconditions=nothing, + propagationPolicy=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - dryRun::Vector{String} : When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + - gracePeriodSeconds::Int64 : The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - orphanDependents::Bool : Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + - preconditions::IoK8sApimachineryPkgApisMetaV1Preconditions + - propagationPolicy::String : Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1DeleteOptions <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + dryRun::Union{Nothing, Vector{String}} = nothing + gracePeriodSeconds::Union{Nothing, Int64} = nothing + kind::Union{Nothing, String} = nothing + orphanDependents::Union{Nothing, Bool} = nothing + preconditions = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Preconditions } + propagationPolicy::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1DeleteOptions(apiVersion, dryRun, gracePeriodSeconds, kind, orphanDependents, preconditions, propagationPolicy, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("dryRun"), dryRun) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("gracePeriodSeconds"), gracePeriodSeconds) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("orphanDependents"), orphanDependents) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("preconditions"), preconditions) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptions, Symbol("propagationPolicy"), propagationPolicy) + return new(apiVersion, dryRun, gracePeriodSeconds, kind, orphanDependents, preconditions, propagationPolicy, ) + end +end # type IoK8sApimachineryPkgApisMetaV1DeleteOptions + +const _property_types_IoK8sApimachineryPkgApisMetaV1DeleteOptions = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("dryRun")=>"Vector{String}", Symbol("gracePeriodSeconds")=>"Int64", Symbol("kind")=>"String", Symbol("orphanDependents")=>"Bool", Symbol("preconditions")=>"IoK8sApimachineryPkgApisMetaV1Preconditions", Symbol("propagationPolicy")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1DeleteOptions[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1DeleteOptions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptions }, name::Symbol, val) + if name === Symbol("gracePeriodSeconds") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1DeleteOptions", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2.jl new file mode 100644 index 00000000..0093221f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions_v2 +DeleteOptions may be provided when deleting an API object. + + IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2(; + apiVersion=nothing, + dryRun=nothing, + gracePeriodSeconds=nothing, + kind=nothing, + orphanDependents=nothing, + preconditions=nothing, + propagationPolicy=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - dryRun::Vector{String} : When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + - gracePeriodSeconds::Int64 : The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - orphanDependents::Bool : Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + - preconditions::IoK8sApimachineryPkgApisMetaV1Preconditions + - propagationPolicy::String : Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + dryRun::Union{Nothing, Vector{String}} = nothing + gracePeriodSeconds::Union{Nothing, Int64} = nothing + kind::Union{Nothing, String} = nothing + orphanDependents::Union{Nothing, Bool} = nothing + preconditions = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1Preconditions } + propagationPolicy::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2(apiVersion, dryRun, gracePeriodSeconds, kind, orphanDependents, preconditions, propagationPolicy, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("dryRun"), dryRun) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("gracePeriodSeconds"), gracePeriodSeconds) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("orphanDependents"), orphanDependents) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("preconditions"), preconditions) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2, Symbol("propagationPolicy"), propagationPolicy) + return new(apiVersion, dryRun, gracePeriodSeconds, kind, orphanDependents, preconditions, propagationPolicy, ) + end +end # type IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 + +const _property_types_IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("dryRun")=>"Vector{String}", Symbol("gracePeriodSeconds")=>"Int64", Symbol("kind")=>"String", Symbol("orphanDependents")=>"Bool", Symbol("preconditions")=>"IoK8sApimachineryPkgApisMetaV1Preconditions", Symbol("propagationPolicy")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2 }, name::Symbol, val) + if name === Symbol("gracePeriodSeconds") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1DeleteOptionsV2", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl new file mode 100644 index 00000000..3395863e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery +GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility. + + IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery(; + groupVersion=nothing, + version=nothing, + ) + + - groupVersion::String : groupVersion specifies the API group and version in the form \"group/version\" + - version::String : version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery <: OpenAPI.APIModel + groupVersion::Union{Nothing, String} = nothing + version::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery(groupVersion, version, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery, Symbol("groupVersion"), groupVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery, Symbol("version"), version) + return new(groupVersion, version, ) + end +end # type IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + +const _property_types_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery = Dict{Symbol,String}(Symbol("groupVersion")=>"String", Symbol("version")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery) + o.groupVersion === nothing && (return false) + o.version === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl new file mode 100644 index 00000000..335bf683 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1LabelSelector.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector +A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. + + IoK8sApimachineryPkgApisMetaV1LabelSelector(; + matchExpressions=nothing, + matchLabels=nothing, + ) + + - matchExpressions::Vector{IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement} : matchExpressions is a list of label selector requirements. The requirements are ANDed. + - matchLabels::Dict{String, String} : matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1LabelSelector <: OpenAPI.APIModel + matchExpressions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement} } + matchLabels::Union{Nothing, Dict{String, String}} = nothing + + function IoK8sApimachineryPkgApisMetaV1LabelSelector(matchExpressions, matchLabels, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelector, Symbol("matchExpressions"), matchExpressions) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelector, Symbol("matchLabels"), matchLabels) + return new(matchExpressions, matchLabels, ) + end +end # type IoK8sApimachineryPkgApisMetaV1LabelSelector + +const _property_types_IoK8sApimachineryPkgApisMetaV1LabelSelector = Dict{Symbol,String}(Symbol("matchExpressions")=>"Vector{IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement}", Symbol("matchLabels")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1LabelSelector[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1LabelSelector) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelector }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl new file mode 100644 index 00000000..acefebc9 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement +A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. + + IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement(; + key=nothing, + operator=nothing, + values=nothing, + ) + + - key::String : key is the label key that the selector applies to. + - operator::String : operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + - values::Vector{String} : values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + operator::Union{Nothing, String} = nothing + values::Union{Nothing, Vector{String}} = nothing + + function IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement(key, operator, values, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, Symbol("key"), key) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, Symbol("operator"), operator) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, Symbol("values"), values) + return new(key, operator, values, ) + end +end # type IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + +const _property_types_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("values")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement) + o.key === nothing && (return false) + o.operator === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl new file mode 100644 index 00000000..b0d130e8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ListMeta.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta +ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. + + IoK8sApimachineryPkgApisMetaV1ListMeta(; + var"continue"=nothing, + remainingItemCount=nothing, + resourceVersion=nothing, + selfLink=nothing, + ) + + - var"continue"::String : continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message. + - remainingItemCount::Int64 : remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. + - resourceVersion::String : String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + - selfLink::String : selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1ListMeta <: OpenAPI.APIModel + var"continue"::Union{Nothing, String} = nothing + remainingItemCount::Union{Nothing, Int64} = nothing + resourceVersion::Union{Nothing, String} = nothing + selfLink::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1ListMeta(var"continue", remainingItemCount, resourceVersion, selfLink, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("continue"), var"continue") + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("remainingItemCount"), remainingItemCount) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("resourceVersion"), resourceVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ListMeta, Symbol("selfLink"), selfLink) + return new(var"continue", remainingItemCount, resourceVersion, selfLink, ) + end +end # type IoK8sApimachineryPkgApisMetaV1ListMeta + +const _property_types_IoK8sApimachineryPkgApisMetaV1ListMeta = Dict{Symbol,String}(Symbol("continue")=>"String", Symbol("remainingItemCount")=>"Int64", Symbol("resourceVersion")=>"String", Symbol("selfLink")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ListMeta }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ListMeta[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1ListMeta) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ListMeta }, name::Symbol, val) + if name === Symbol("remainingItemCount") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1ListMeta", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl new file mode 100644 index 00000000..5482027c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry +ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. + + IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry(; + apiVersion=nothing, + fieldsType=nothing, + fieldsV1=nothing, + manager=nothing, + operation=nothing, + time=nothing, + ) + + - apiVersion::String : APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted. + - fieldsType::String : FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\" + - fieldsV1::Any : FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. The exact format is defined in sigs.k8s.io/structured-merge-diff + - manager::String : Manager is an identifier of the workflow managing these fields. + - operation::String : Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'. + - time::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + fieldsType::Union{Nothing, String} = nothing + fieldsV1::Union{Nothing, Any} = nothing + manager::Union{Nothing, String} = nothing + operation::Union{Nothing, String} = nothing + time::Union{Nothing, ZonedDateTime} = nothing + + function IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry(apiVersion, fieldsType, fieldsV1, manager, operation, time, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("fieldsType"), fieldsType) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("fieldsV1"), fieldsV1) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("manager"), manager) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("operation"), operation) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, Symbol("time"), time) + return new(apiVersion, fieldsType, fieldsV1, manager, operation, time, ) + end +end # type IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + +const _property_types_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("fieldsType")=>"String", Symbol("fieldsV1")=>"Any", Symbol("manager")=>"String", Symbol("operation")=>"String", Symbol("time")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry }, name::Symbol, val) + if name === Symbol("time") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl new file mode 100644 index 00000000..7911265e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ObjectMeta.jl @@ -0,0 +1,103 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta +ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. + + IoK8sApimachineryPkgApisMetaV1ObjectMeta(; + annotations=nothing, + clusterName=nothing, + creationTimestamp=nothing, + deletionGracePeriodSeconds=nothing, + deletionTimestamp=nothing, + finalizers=nothing, + generateName=nothing, + generation=nothing, + labels=nothing, + managedFields=nothing, + name=nothing, + namespace=nothing, + ownerReferences=nothing, + resourceVersion=nothing, + selfLink=nothing, + uid=nothing, + ) + + - annotations::Dict{String, String} : Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations + - clusterName::String : The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. + - creationTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - deletionGracePeriodSeconds::Int64 : Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. + - deletionTimestamp::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - finalizers::Vector{String} : Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. + - generateName::String : GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + - generation::Int64 : A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. + - labels::Dict{String, String} : Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels + - managedFields::Vector{IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry} : ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object. + - name::String : Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names + - namespace::String : Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces + - ownerReferences::Vector{IoK8sApimachineryPkgApisMetaV1OwnerReference} : List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. + - resourceVersion::String : An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + - selfLink::String : SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. + - uid::String : UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1ObjectMeta <: OpenAPI.APIModel + annotations::Union{Nothing, Dict{String, String}} = nothing + clusterName::Union{Nothing, String} = nothing + creationTimestamp::Union{Nothing, ZonedDateTime} = nothing + deletionGracePeriodSeconds::Union{Nothing, Int64} = nothing + deletionTimestamp::Union{Nothing, ZonedDateTime} = nothing + finalizers::Union{Nothing, Vector{String}} = nothing + generateName::Union{Nothing, String} = nothing + generation::Union{Nothing, Int64} = nothing + labels::Union{Nothing, Dict{String, String}} = nothing + managedFields::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry} } + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + ownerReferences::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1OwnerReference} } + resourceVersion::Union{Nothing, String} = nothing + selfLink::Union{Nothing, String} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1ObjectMeta(annotations, clusterName, creationTimestamp, deletionGracePeriodSeconds, deletionTimestamp, finalizers, generateName, generation, labels, managedFields, name, namespace, ownerReferences, resourceVersion, selfLink, uid, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("annotations"), annotations) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("clusterName"), clusterName) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("creationTimestamp"), creationTimestamp) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("deletionGracePeriodSeconds"), deletionGracePeriodSeconds) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("deletionTimestamp"), deletionTimestamp) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("finalizers"), finalizers) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("generateName"), generateName) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("generation"), generation) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("labels"), labels) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("managedFields"), managedFields) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("ownerReferences"), ownerReferences) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("resourceVersion"), resourceVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("selfLink"), selfLink) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ObjectMeta, Symbol("uid"), uid) + return new(annotations, clusterName, creationTimestamp, deletionGracePeriodSeconds, deletionTimestamp, finalizers, generateName, generation, labels, managedFields, name, namespace, ownerReferences, resourceVersion, selfLink, uid, ) + end +end # type IoK8sApimachineryPkgApisMetaV1ObjectMeta + +const _property_types_IoK8sApimachineryPkgApisMetaV1ObjectMeta = Dict{Symbol,String}(Symbol("annotations")=>"Dict{String, String}", Symbol("clusterName")=>"String", Symbol("creationTimestamp")=>"ZonedDateTime", Symbol("deletionGracePeriodSeconds")=>"Int64", Symbol("deletionTimestamp")=>"ZonedDateTime", Symbol("finalizers")=>"Vector{String}", Symbol("generateName")=>"String", Symbol("generation")=>"Int64", Symbol("labels")=>"Dict{String, String}", Symbol("managedFields")=>"Vector{IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry}", Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("ownerReferences")=>"Vector{IoK8sApimachineryPkgApisMetaV1OwnerReference}", Symbol("resourceVersion")=>"String", Symbol("selfLink")=>"String", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ObjectMeta }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ObjectMeta[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1ObjectMeta) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ObjectMeta }, name::Symbol, val) + if name === Symbol("creationTimestamp") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1ObjectMeta", :format, val, "date-time") + end + if name === Symbol("deletionGracePeriodSeconds") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1ObjectMeta", :format, val, "int64") + end + if name === Symbol("deletionTimestamp") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1ObjectMeta", :format, val, "date-time") + end + if name === Symbol("generation") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1ObjectMeta", :format, val, "int64") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl new file mode 100644 index 00000000..a4ad8414 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1OwnerReference.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference +OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. + + IoK8sApimachineryPkgApisMetaV1OwnerReference(; + apiVersion=nothing, + blockOwnerDeletion=nothing, + controller=nothing, + kind=nothing, + name=nothing, + uid=nothing, + ) + + - apiVersion::String : API version of the referent. + - blockOwnerDeletion::Bool : If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. + - controller::Bool : If true, this reference points to the managing controller. + - kind::String : Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + - uid::String : UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1OwnerReference <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + blockOwnerDeletion::Union{Nothing, Bool} = nothing + controller::Union{Nothing, Bool} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1OwnerReference(apiVersion, blockOwnerDeletion, controller, kind, name, uid, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("blockOwnerDeletion"), blockOwnerDeletion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("controller"), controller) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1OwnerReference, Symbol("uid"), uid) + return new(apiVersion, blockOwnerDeletion, controller, kind, name, uid, ) + end +end # type IoK8sApimachineryPkgApisMetaV1OwnerReference + +const _property_types_IoK8sApimachineryPkgApisMetaV1OwnerReference = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("blockOwnerDeletion")=>"Bool", Symbol("controller")=>"Bool", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1OwnerReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1OwnerReference[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1OwnerReference) + o.apiVersion === nothing && (return false) + o.kind === nothing && (return false) + o.name === nothing && (return false) + o.uid === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1OwnerReference }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl new file mode 100644 index 00000000..ca2747ee --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1Preconditions.jl @@ -0,0 +1,35 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions +Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. + + IoK8sApimachineryPkgApisMetaV1Preconditions(; + resourceVersion=nothing, + uid=nothing, + ) + + - resourceVersion::String : Specifies the target ResourceVersion + - uid::String : Specifies the target UID. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1Preconditions <: OpenAPI.APIModel + resourceVersion::Union{Nothing, String} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1Preconditions(resourceVersion, uid, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Preconditions, Symbol("resourceVersion"), resourceVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Preconditions, Symbol("uid"), uid) + return new(resourceVersion, uid, ) + end +end # type IoK8sApimachineryPkgApisMetaV1Preconditions + +const _property_types_IoK8sApimachineryPkgApisMetaV1Preconditions = Dict{Symbol,String}(Symbol("resourceVersion")=>"String", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1Preconditions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1Preconditions[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1Preconditions) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1Preconditions }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl new file mode 100644 index 00000000..6c4e26d5 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR +ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. + + IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR(; + clientCIDR=nothing, + serverAddress=nothing, + ) + + - clientCIDR::String : The CIDR with which clients can match their IP to figure out the server address that they should use. + - serverAddress::String : Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR <: OpenAPI.APIModel + clientCIDR::Union{Nothing, String} = nothing + serverAddress::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR(clientCIDR, serverAddress, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR, Symbol("clientCIDR"), clientCIDR) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR, Symbol("serverAddress"), serverAddress) + return new(clientCIDR, serverAddress, ) + end +end # type IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + +const _property_types_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR = Dict{Symbol,String}(Symbol("clientCIDR")=>"String", Symbol("serverAddress")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR) + o.clientCIDR === nothing && (return false) + o.serverAddress === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1Status.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1Status.jl new file mode 100644 index 00000000..a8d8e5c8 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1Status.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.Status +Status is a return value for calls that don't return other objects. + + IoK8sApimachineryPkgApisMetaV1Status(; + apiVersion=nothing, + code=nothing, + details=nothing, + kind=nothing, + message=nothing, + metadata=nothing, + reason=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - code::Int64 : Suggested HTTP return code for this status, 0 if not set. + - details::IoK8sApimachineryPkgApisMetaV1StatusDetails + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - message::String : A human-readable description of the status of this operation. + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta + - reason::String : A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. + - status::String : Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1Status <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + code::Union{Nothing, Int64} = nothing + details = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1StatusDetails } + kind::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1Status(apiVersion, code, details, kind, message, metadata, reason, status, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("code"), code) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("details"), details) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1Status, Symbol("status"), status) + return new(apiVersion, code, details, kind, message, metadata, reason, status, ) + end +end # type IoK8sApimachineryPkgApisMetaV1Status + +const _property_types_IoK8sApimachineryPkgApisMetaV1Status = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("code")=>"Int64", Symbol("details")=>"IoK8sApimachineryPkgApisMetaV1StatusDetails", Symbol("kind")=>"String", Symbol("message")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", Symbol("reason")=>"String", Symbol("status")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1Status }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1Status[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1Status) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1Status }, name::Symbol, val) + if name === Symbol("code") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1Status", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl new file mode 100644 index 00000000..483e892f --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusCause.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause +StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. + + IoK8sApimachineryPkgApisMetaV1StatusCause(; + field=nothing, + message=nothing, + reason=nothing, + ) + + - field::String : The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" + - message::String : A human-readable description of the cause of the error. This field may be presented as-is to a reader. + - reason::String : A machine-readable description of the cause of the error. If this value is empty there is no information available. +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1StatusCause <: OpenAPI.APIModel + field::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1StatusCause(field, message, reason, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusCause, Symbol("field"), field) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusCause, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusCause, Symbol("reason"), reason) + return new(field, message, reason, ) + end +end # type IoK8sApimachineryPkgApisMetaV1StatusCause + +const _property_types_IoK8sApimachineryPkgApisMetaV1StatusCause = Dict{Symbol,String}(Symbol("field")=>"String", Symbol("message")=>"String", Symbol("reason")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1StatusCause }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1StatusCause[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1StatusCause) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1StatusCause }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl new file mode 100644 index 00000000..06681f4c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusDetails.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails +StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. + + IoK8sApimachineryPkgApisMetaV1StatusDetails(; + causes=nothing, + group=nothing, + kind=nothing, + name=nothing, + retryAfterSeconds=nothing, + uid=nothing, + ) + + - causes::Vector{IoK8sApimachineryPkgApisMetaV1StatusCause} : The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. + - group::String : The group attribute of the resource associated with the status StatusReason. + - kind::String : The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). + - retryAfterSeconds::Int64 : If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. + - uid::String : UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1StatusDetails <: OpenAPI.APIModel + causes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1StatusCause} } + group::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + retryAfterSeconds::Union{Nothing, Int64} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1StatusDetails(causes, group, kind, name, retryAfterSeconds, uid, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("causes"), causes) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("retryAfterSeconds"), retryAfterSeconds) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetails, Symbol("uid"), uid) + return new(causes, group, kind, name, retryAfterSeconds, uid, ) + end +end # type IoK8sApimachineryPkgApisMetaV1StatusDetails + +const _property_types_IoK8sApimachineryPkgApisMetaV1StatusDetails = Dict{Symbol,String}(Symbol("causes")=>"Vector{IoK8sApimachineryPkgApisMetaV1StatusCause}", Symbol("group")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("retryAfterSeconds")=>"Int64", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1StatusDetails[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1StatusDetails) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetails }, name::Symbol, val) + if name === Symbol("retryAfterSeconds") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1StatusDetails", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusDetailsV2.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusDetailsV2.jl new file mode 100644 index 00000000..3e249516 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusDetailsV2.jl @@ -0,0 +1,54 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails_v2 +StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. + + IoK8sApimachineryPkgApisMetaV1StatusDetailsV2(; + causes=nothing, + group=nothing, + kind=nothing, + name=nothing, + retryAfterSeconds=nothing, + uid=nothing, + ) + + - causes::Vector{IoK8sApimachineryPkgApisMetaV1StatusCause} : The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. + - group::String : The group attribute of the resource associated with the status StatusReason. + - kind::String : The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - name::String : The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). + - retryAfterSeconds::Int64 : If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. + - uid::String : UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 <: OpenAPI.APIModel + causes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sApimachineryPkgApisMetaV1StatusCause} } + group::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + retryAfterSeconds::Union{Nothing, Int64} = nothing + uid::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1StatusDetailsV2(causes, group, kind, name, retryAfterSeconds, uid, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetailsV2, Symbol("causes"), causes) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetailsV2, Symbol("group"), group) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetailsV2, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetailsV2, Symbol("name"), name) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetailsV2, Symbol("retryAfterSeconds"), retryAfterSeconds) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusDetailsV2, Symbol("uid"), uid) + return new(causes, group, kind, name, retryAfterSeconds, uid, ) + end +end # type IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 + +const _property_types_IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 = Dict{Symbol,String}(Symbol("causes")=>"Vector{IoK8sApimachineryPkgApisMetaV1StatusCause}", Symbol("group")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", Symbol("retryAfterSeconds")=>"Int64", Symbol("uid")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1StatusDetailsV2[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1StatusDetailsV2) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 }, name::Symbol, val) + if name === Symbol("retryAfterSeconds") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1StatusDetailsV2", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusV2.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusV2.jl new file mode 100644 index 00000000..bd7f7ac0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1StatusV2.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.Status_v2 +Status is a return value for calls that don't return other objects. + + IoK8sApimachineryPkgApisMetaV1StatusV2(; + apiVersion=nothing, + code=nothing, + details=nothing, + kind=nothing, + message=nothing, + metadata=nothing, + reason=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - code::Int64 : Suggested HTTP return code for this status, 0 if not set. + - details::IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - message::String : A human-readable description of the status of this operation. + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta + - reason::String : A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. + - status::String : Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1StatusV2 <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + code::Union{Nothing, Int64} = nothing + details = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 } + kind::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1StatusV2(apiVersion, code, details, kind, message, metadata, reason, status, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("code"), code) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("details"), details) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("message"), message) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1StatusV2, Symbol("status"), status) + return new(apiVersion, code, details, kind, message, metadata, reason, status, ) + end +end # type IoK8sApimachineryPkgApisMetaV1StatusV2 + +const _property_types_IoK8sApimachineryPkgApisMetaV1StatusV2 = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("code")=>"Int64", Symbol("details")=>"IoK8sApimachineryPkgApisMetaV1StatusDetailsV2", Symbol("kind")=>"String", Symbol("message")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", Symbol("reason")=>"String", Symbol("status")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1StatusV2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1StatusV2[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1StatusV2) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1StatusV2 }, name::Symbol, val) + if name === Symbol("code") + OpenAPI.validate_param(name, "IoK8sApimachineryPkgApisMetaV1StatusV2", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl new file mode 100644 index 00000000..c887eeec --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgApisMetaV1WatchEvent.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent +Event represents a single event to a watched resource. + + IoK8sApimachineryPkgApisMetaV1WatchEvent(; + object=nothing, + type=nothing, + ) + + - object::Any : RawExtension is used to hold extensions in external versions. To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. // Internal package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // On the wire, the JSON will look something like this: { \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, } So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) + - type::String +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgApisMetaV1WatchEvent <: OpenAPI.APIModel + object::Union{Nothing, Any} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgApisMetaV1WatchEvent(object, type, ) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1WatchEvent, Symbol("object"), object) + OpenAPI.validate_property(IoK8sApimachineryPkgApisMetaV1WatchEvent, Symbol("type"), type) + return new(object, type, ) + end +end # type IoK8sApimachineryPkgApisMetaV1WatchEvent + +const _property_types_IoK8sApimachineryPkgApisMetaV1WatchEvent = Dict{Symbol,String}(Symbol("object")=>"Any", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgApisMetaV1WatchEvent[name]))} + +function check_required(o::IoK8sApimachineryPkgApisMetaV1WatchEvent) + o.object === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgApisMetaV1WatchEvent }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sApimachineryPkgVersionInfo.jl b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgVersionInfo.jl new file mode 100644 index 00000000..6380b26a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sApimachineryPkgVersionInfo.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.apimachinery.pkg.version.Info +Info contains versioning information. how we'll want to distribute that information. + + IoK8sApimachineryPkgVersionInfo(; + buildDate=nothing, + compiler=nothing, + gitCommit=nothing, + gitTreeState=nothing, + gitVersion=nothing, + goVersion=nothing, + major=nothing, + minor=nothing, + platform=nothing, + ) + + - buildDate::String + - compiler::String + - gitCommit::String + - gitTreeState::String + - gitVersion::String + - goVersion::String + - major::String + - minor::String + - platform::String +""" +Base.@kwdef mutable struct IoK8sApimachineryPkgVersionInfo <: OpenAPI.APIModel + buildDate::Union{Nothing, String} = nothing + compiler::Union{Nothing, String} = nothing + gitCommit::Union{Nothing, String} = nothing + gitTreeState::Union{Nothing, String} = nothing + gitVersion::Union{Nothing, String} = nothing + goVersion::Union{Nothing, String} = nothing + major::Union{Nothing, String} = nothing + minor::Union{Nothing, String} = nothing + platform::Union{Nothing, String} = nothing + + function IoK8sApimachineryPkgVersionInfo(buildDate, compiler, gitCommit, gitTreeState, gitVersion, goVersion, major, minor, platform, ) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("buildDate"), buildDate) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("compiler"), compiler) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("gitCommit"), gitCommit) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("gitTreeState"), gitTreeState) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("gitVersion"), gitVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("goVersion"), goVersion) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("major"), major) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("minor"), minor) + OpenAPI.validate_property(IoK8sApimachineryPkgVersionInfo, Symbol("platform"), platform) + return new(buildDate, compiler, gitCommit, gitTreeState, gitVersion, goVersion, major, minor, platform, ) + end +end # type IoK8sApimachineryPkgVersionInfo + +const _property_types_IoK8sApimachineryPkgVersionInfo = Dict{Symbol,String}(Symbol("buildDate")=>"String", Symbol("compiler")=>"String", Symbol("gitCommit")=>"String", Symbol("gitTreeState")=>"String", Symbol("gitVersion")=>"String", Symbol("goVersion")=>"String", Symbol("major")=>"String", Symbol("minor")=>"String", Symbol("platform")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sApimachineryPkgVersionInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApimachineryPkgVersionInfo[name]))} + +function check_required(o::IoK8sApimachineryPkgVersionInfo) + o.buildDate === nothing && (return false) + o.compiler === nothing && (return false) + o.gitCommit === nothing && (return false) + o.gitTreeState === nothing && (return false) + o.gitVersion === nothing && (return false) + o.goVersion === nothing && (return false) + o.major === nothing && (return false) + o.minor === nothing && (return false) + o.platform === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sApimachineryPkgVersionInfo }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl new file mode 100644 index 00000000..a07ff43a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService +APIService represents a server for a particular GroupVersion. Name must be \"version.group\". + + IoK8sKubeAggregatorPkgApisApiregistrationV1APIService(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec + - status::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIService <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec } + status = nothing # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus } + + function IoK8sKubeAggregatorPkgApisApiregistrationV1APIService(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIService, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIService + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", Symbol("status")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIService[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIService }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl new file mode 100644 index 00000000..6e0afc82 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition +APIServiceCondition describes the state of an APIService at a particular point + + IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Human-readable message indicating details about last transition. + - reason::String : Unique, one-word, CamelCase reason for the condition's last transition. + - status::String : Status is the status of the condition. Can be True, False, Unknown. + - type::String : Type is the type of the condition. +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl new file mode 100644 index 00000000..3c294823 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList +APIServiceList is a list of APIService objects. + + IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIService} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIService} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIService}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl new file mode 100644 index 00000000..4c72652e --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec +APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. + + IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec(; + caBundle=nothing, + group=nothing, + groupPriorityMinimum=nothing, + insecureSkipTLSVerify=nothing, + service=nothing, + version=nothing, + versionPriority=nothing, + ) + + - caBundle::Vector{UInt8} : CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. + - group::String : Group is the API group name this server hosts + - groupPriorityMinimum::Int64 : GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s + - insecureSkipTLSVerify::Bool : InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. + - service::IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference + - version::String : Version is the API version this server hosts. For example, \"v1\" + - versionPriority::Int64 : VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + group::Union{Nothing, String} = nothing + groupPriorityMinimum::Union{Nothing, Int64} = nothing + insecureSkipTLSVerify::Union{Nothing, Bool} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference } + version::Union{Nothing, String} = nothing + versionPriority::Union{Nothing, Int64} = nothing + + function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec(caBundle, group, groupPriorityMinimum, insecureSkipTLSVerify, service, version, versionPriority, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("group"), group) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("groupPriorityMinimum"), groupPriorityMinimum) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("insecureSkipTLSVerify"), insecureSkipTLSVerify) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("service"), service) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("version"), version) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec, Symbol("versionPriority"), versionPriority) + return new(caBundle, group, groupPriorityMinimum, insecureSkipTLSVerify, service, version, versionPriority, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("group")=>"String", Symbol("groupPriorityMinimum")=>"Int64", Symbol("insecureSkipTLSVerify")=>"Bool", Symbol("service")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference", Symbol("version")=>"String", Symbol("versionPriority")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec) + o.groupPriorityMinimum === nothing && (return false) + o.service === nothing && (return false) + o.versionPriority === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end + if name === Symbol("groupPriorityMinimum") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", :format, val, "int32") + end + if name === Symbol("versionPriority") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl new file mode 100644 index 00000000..e1b23d9a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus +APIServiceStatus contains derived information about an API server + + IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus(; + conditions=nothing, + ) + + - conditions::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition} : Current service state of apiService. +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition} } + + function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus(conditions, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus, Symbol("conditions"), conditions) + return new(conditions, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition}", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl new file mode 100644 index 00000000..1c39216a --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference(; + name=nothing, + namespace=nothing, + port=nothing, + ) + + - name::String : Name is the name of the service + - namespace::String : Namespace is the namespace of the service + - port::Int64 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference(name, namespace, port, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference, Symbol("port"), port) + return new(name, namespace, port, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl new file mode 100644 index 00000000..c4dc50c0 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService +APIService represents a server for a particular GroupVersion. Name must be \"version.group\". + + IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec + - status::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec } + status = nothing # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus } + + function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("metadata"), metadata) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("spec"), spec) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec", Symbol("status")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl new file mode 100644 index 00000000..3dea20f6 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition +APIServiceCondition describes the state of an APIService at a particular point + + IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::ZonedDateTime : Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + - message::String : Human-readable message indicating details about last transition. + - reason::String : Unique, one-word, CamelCase reason for the condition's last transition. + - status::String : Status is the status of the condition. Can be True, False, Unknown. + - type::String : Type is the type of the condition. +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, ZonedDateTime} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition(lastTransitionTime, message, reason, status, type, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("message"), message) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("reason"), reason) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("status"), status) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition, Symbol("type"), type) + return new(lastTransitionTime, message, reason, status, type, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"ZonedDateTime", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition }, name::Symbol, val) + if name === Symbol("lastTransitionTime") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl new file mode 100644 index 00000000..954a3326 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList +APIServiceList is a list of APIService objects. + + IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService} + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("items"), items) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("kind"), kind) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl new file mode 100644 index 00000000..a8ec3a34 --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec +APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. + + IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec(; + caBundle=nothing, + group=nothing, + groupPriorityMinimum=nothing, + insecureSkipTLSVerify=nothing, + service=nothing, + version=nothing, + versionPriority=nothing, + ) + + - caBundle::Vector{UInt8} : CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. + - group::String : Group is the API group name this server hosts + - groupPriorityMinimum::Int64 : GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s + - insecureSkipTLSVerify::Bool : InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. + - service::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference + - version::String : Version is the API version this server hosts. For example, \"v1\" + - versionPriority::Int64 : VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec <: OpenAPI.APIModel + caBundle::Union{Nothing, Vector{UInt8}} = nothing + group::Union{Nothing, String} = nothing + groupPriorityMinimum::Union{Nothing, Int64} = nothing + insecureSkipTLSVerify::Union{Nothing, Bool} = nothing + service = nothing # spec type: Union{ Nothing, IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference } + version::Union{Nothing, String} = nothing + versionPriority::Union{Nothing, Int64} = nothing + + function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec(caBundle, group, groupPriorityMinimum, insecureSkipTLSVerify, service, version, versionPriority, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("caBundle"), caBundle) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("group"), group) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("groupPriorityMinimum"), groupPriorityMinimum) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("insecureSkipTLSVerify"), insecureSkipTLSVerify) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("service"), service) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("version"), version) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec, Symbol("versionPriority"), versionPriority) + return new(caBundle, group, groupPriorityMinimum, insecureSkipTLSVerify, service, version, versionPriority, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec = Dict{Symbol,String}(Symbol("caBundle")=>"Vector{UInt8}", Symbol("group")=>"String", Symbol("groupPriorityMinimum")=>"Int64", Symbol("insecureSkipTLSVerify")=>"Bool", Symbol("service")=>"IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference", Symbol("version")=>"String", Symbol("versionPriority")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec) + o.groupPriorityMinimum === nothing && (return false) + o.service === nothing && (return false) + o.versionPriority === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec }, name::Symbol, val) + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec", :format, val, "byte") + end + if name === Symbol("caBundle") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec", :pattern, val, r"^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$") + end + if name === Symbol("groupPriorityMinimum") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec", :format, val, "int32") + end + if name === Symbol("versionPriority") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl new file mode 100644 index 00000000..257b444c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus +APIServiceStatus contains derived information about an API server + + IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus(; + conditions=nothing, + ) + + - conditions::Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition} : Current service state of apiService. +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition} } + + function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus(conditions, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus, Symbol("conditions"), conditions) + return new(conditions, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition}", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl new file mode 100644 index 00000000..af42736c --- /dev/null +++ b/src/ApiImpl/api/models/model_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference +ServiceReference holds a reference to Service.legacy.k8s.io + + IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference(; + name=nothing, + namespace=nothing, + port=nothing, + ) + + - name::String : Name is the name of the service + - namespace::String : Namespace is the namespace of the service + - port::Int64 : If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). +""" +Base.@kwdef mutable struct IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + namespace::Union{Nothing, String} = nothing + port::Union{Nothing, Int64} = nothing + + function IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference(name, namespace, port, ) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference, Symbol("name"), name) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference, Symbol("namespace"), namespace) + OpenAPI.validate_property(IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference, Symbol("port"), port) + return new(name, namespace, port, ) + end +end # type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference + +const _property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("namespace")=>"String", Symbol("port")=>"Int64", ) +OpenAPI.property_type(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference[name]))} + +function check_required(o::IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference) + true +end + +function OpenAPI.validate_property(::Type{ IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference }, name::Symbol, val) + if name === Symbol("port") + OpenAPI.validate_param(name, "IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5Provisioner.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5Provisioner.jl new file mode 100644 index 00000000..269b7688 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5Provisioner.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh.karpenter.v1alpha5.Provisioner +Provisioner is the Schema for the Provisioners API + + ShKarpenterV1alpha5Provisioner(; + apiVersion=nothing, + kind=nothing, + metadata=nothing, + spec=nothing, + status=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ObjectMeta + - spec::ShKarpenterV1alpha5ProvisionerSpec + - status::ShKarpenterV1alpha5ProvisionerStatus +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5Provisioner <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } + spec = nothing # spec type: Union{ Nothing, ShKarpenterV1alpha5ProvisionerSpec } + status = nothing # spec type: Union{ Nothing, ShKarpenterV1alpha5ProvisionerStatus } + + function ShKarpenterV1alpha5Provisioner(apiVersion, kind, metadata, spec, status, ) + OpenAPI.validate_property(ShKarpenterV1alpha5Provisioner, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(ShKarpenterV1alpha5Provisioner, Symbol("kind"), kind) + OpenAPI.validate_property(ShKarpenterV1alpha5Provisioner, Symbol("metadata"), metadata) + OpenAPI.validate_property(ShKarpenterV1alpha5Provisioner, Symbol("spec"), spec) + OpenAPI.validate_property(ShKarpenterV1alpha5Provisioner, Symbol("status"), status) + return new(apiVersion, kind, metadata, spec, status, ) + end +end # type ShKarpenterV1alpha5Provisioner + +const _property_types_ShKarpenterV1alpha5Provisioner = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"ShKarpenterV1alpha5ProvisionerSpec", Symbol("status")=>"ShKarpenterV1alpha5ProvisionerStatus", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5Provisioner }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5Provisioner[name]))} + +function check_required(o::ShKarpenterV1alpha5Provisioner) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5Provisioner }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerList.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerList.jl new file mode 100644 index 00000000..2016ad3f --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerList.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh.karpenter.v1alpha5.ProvisionerList +ProvisionerList is a list of Provisioner + + ShKarpenterV1alpha5ProvisionerList(; + apiVersion=nothing, + items=nothing, + kind=nothing, + metadata=nothing, + ) + + - apiVersion::String : APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + - items::Vector{ShKarpenterV1alpha5Provisioner} : List of provisioners. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md + - kind::String : Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + - metadata::IoK8sApimachineryPkgApisMetaV1ListMeta +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerList <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ShKarpenterV1alpha5Provisioner} } + kind::Union{Nothing, String} = nothing + metadata = nothing # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ListMeta } + + function ShKarpenterV1alpha5ProvisionerList(apiVersion, items, kind, metadata, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerList, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerList, Symbol("items"), items) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerList, Symbol("kind"), kind) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerList, Symbol("metadata"), metadata) + return new(apiVersion, items, kind, metadata, ) + end +end # type ShKarpenterV1alpha5ProvisionerList + +const _property_types_ShKarpenterV1alpha5ProvisionerList = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("items")=>"Vector{ShKarpenterV1alpha5Provisioner}", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ListMeta", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerList[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerList) + o.items === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerList }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpec.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpec.jl new file mode 100644 index 00000000..c1dc7686 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpec.jl @@ -0,0 +1,88 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec +ProvisionerSpec is the top level provisioner specification. Provisioners launch nodes in response to pods that are unschedulable. A single provisioner is capable of managing a diverse set of nodes. Node properties are determined from a combination of provisioner and pod scheduling constraints. + + ShKarpenterV1alpha5ProvisionerSpec(; + consolidation=nothing, + kubeletConfiguration=nothing, + labels=nothing, + limits=nothing, + provider=nothing, + providerRef=nothing, + requirements=nothing, + startupTaints=nothing, + taints=nothing, + ttlSecondsAfterEmpty=nothing, + ttlSecondsUntilExpired=nothing, + weight=nothing, + ) + + - consolidation::ShKarpenterV1alpha5ProvisionerSpecConsolidation + - kubeletConfiguration::ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration + - labels::Dict{String, String} : Labels are layered with Requirements and applied to every node. + - limits::ShKarpenterV1alpha5ProvisionerSpecLimits + - provider::Any : Provider contains fields specific to your cloudprovider. + - providerRef::ShKarpenterV1alpha5ProvisionerSpecProviderRef + - requirements::Vector{ShKarpenterV1alpha5ProvisionerSpecRequirementsInner} : Requirements are layered with Labels and applied to every node. + - startupTaints::Vector{ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner} : StartupTaints are taints that are applied to nodes upon startup which are expected to be removed automatically within a short period of time, typically by a DaemonSet that tolerates the taint. These are commonly used by daemonsets to allow initialization and enforce startup ordering. StartupTaints are ignored for provisioning purposes in that pods are not required to tolerate a StartupTaint in order to have nodes provisioned for them. + - taints::Vector{ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner} : Taints will be applied to every node launched by the Provisioner. If specified, the provisioner will not provision nodes for pods that do not have matching tolerations. Additional taints will be created that match pod tolerations on a per-node basis. + - ttlSecondsAfterEmpty::Int64 : TTLSecondsAfterEmpty is the number of seconds the controller will wait before attempting to delete a node, measured from when the node is detected to be empty. A Node is considered to be empty when it does not have pods scheduled to it, excluding daemonsets. Termination due to no utilization is disabled if this field is not set. + - ttlSecondsUntilExpired::Int64 : TTLSecondsUntilExpired is the number of seconds the controller will wait before terminating a node, measured from when the node is created. This is useful to implement features like eventually consistent node upgrade, memory leak protection, and disruption testing. Termination due to expiration is disabled if this field is not set. + - weight::Int64 : Weight is the priority given to the provisioner during scheduling. A higher numerical weight indicates that this provisioner will be ordered ahead of other provisioners with lower weights. A provisioner with no weight will be treated as if it is a provisioner with a weight of 0. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpec <: OpenAPI.APIModel + consolidation = nothing # spec type: Union{ Nothing, ShKarpenterV1alpha5ProvisionerSpecConsolidation } + kubeletConfiguration = nothing # spec type: Union{ Nothing, ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration } + labels::Union{Nothing, Dict{String, String}} = nothing + limits = nothing # spec type: Union{ Nothing, ShKarpenterV1alpha5ProvisionerSpecLimits } + provider::Union{Nothing, Any} = nothing + providerRef = nothing # spec type: Union{ Nothing, ShKarpenterV1alpha5ProvisionerSpecProviderRef } + requirements::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ShKarpenterV1alpha5ProvisionerSpecRequirementsInner} } + startupTaints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner} } + taints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner} } + ttlSecondsAfterEmpty::Union{Nothing, Int64} = nothing + ttlSecondsUntilExpired::Union{Nothing, Int64} = nothing + weight::Union{Nothing, Int64} = nothing + + function ShKarpenterV1alpha5ProvisionerSpec(consolidation, kubeletConfiguration, labels, limits, provider, providerRef, requirements, startupTaints, taints, ttlSecondsAfterEmpty, ttlSecondsUntilExpired, weight, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("consolidation"), consolidation) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("kubeletConfiguration"), kubeletConfiguration) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("labels"), labels) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("limits"), limits) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("provider"), provider) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("providerRef"), providerRef) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("requirements"), requirements) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("startupTaints"), startupTaints) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("taints"), taints) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("ttlSecondsAfterEmpty"), ttlSecondsAfterEmpty) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("ttlSecondsUntilExpired"), ttlSecondsUntilExpired) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpec, Symbol("weight"), weight) + return new(consolidation, kubeletConfiguration, labels, limits, provider, providerRef, requirements, startupTaints, taints, ttlSecondsAfterEmpty, ttlSecondsUntilExpired, weight, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpec + +const _property_types_ShKarpenterV1alpha5ProvisionerSpec = Dict{Symbol,String}(Symbol("consolidation")=>"ShKarpenterV1alpha5ProvisionerSpecConsolidation", Symbol("kubeletConfiguration")=>"ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration", Symbol("labels")=>"Dict{String, String}", Symbol("limits")=>"ShKarpenterV1alpha5ProvisionerSpecLimits", Symbol("provider")=>"Any", Symbol("providerRef")=>"ShKarpenterV1alpha5ProvisionerSpecProviderRef", Symbol("requirements")=>"Vector{ShKarpenterV1alpha5ProvisionerSpecRequirementsInner}", Symbol("startupTaints")=>"Vector{ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner}", Symbol("taints")=>"Vector{ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner}", Symbol("ttlSecondsAfterEmpty")=>"Int64", Symbol("ttlSecondsUntilExpired")=>"Int64", Symbol("weight")=>"Int64", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpec }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpec[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpec) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpec }, name::Symbol, val) + if name === Symbol("ttlSecondsAfterEmpty") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpec", :format, val, "int64") + end + if name === Symbol("ttlSecondsUntilExpired") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpec", :format, val, "int64") + end + if name === Symbol("weight") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpec", :format, val, "int32") + end + if name === Symbol("weight") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpec", :maximum, val, 100, false) + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpec", :minimum, val, 1, false) + end +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecConsolidation.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecConsolidation.jl new file mode 100644 index 00000000..c1c98181 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecConsolidation.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec_consolidation +Consolidation are the consolidation parameters + + ShKarpenterV1alpha5ProvisionerSpecConsolidation(; + enabled=nothing, + ) + + - enabled::Bool : Enabled enables consolidation if it has been set +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpecConsolidation <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + + function ShKarpenterV1alpha5ProvisionerSpecConsolidation(enabled, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecConsolidation, Symbol("enabled"), enabled) + return new(enabled, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpecConsolidation + +const _property_types_ShKarpenterV1alpha5ProvisionerSpecConsolidation = Dict{Symbol,String}(Symbol("enabled")=>"Bool", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpecConsolidation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpecConsolidation[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpecConsolidation) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpecConsolidation }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration.jl new file mode 100644 index 00000000..8f37f9d0 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec_kubeletConfiguration +KubeletConfiguration are options passed to the kubelet when provisioning nodes + + ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration(; + clusterDNS=nothing, + containerRuntime=nothing, + maxPods=nothing, + systemReserved=nothing, + ) + + - clusterDNS::Vector{String} : clusterDNS is a list of IP addresses for the cluster DNS server. Note that not all providers may use all addresses. + - containerRuntime::String : ContainerRuntime is the container runtime to be used with your worker nodes. + - maxPods::Int64 : MaxPods is an override for the maximum number of pods that can run on a worker node instance. + - systemReserved::Dict{String, Any} : SystemReserved contains resources reserved for OS system daemons and kernel memory. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration <: OpenAPI.APIModel + clusterDNS::Union{Nothing, Vector{String}} = nothing + containerRuntime::Union{Nothing, String} = nothing + maxPods::Union{Nothing, Int64} = nothing + systemReserved::Union{Nothing, Dict{String, Any}} = nothing + + function ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration(clusterDNS, containerRuntime, maxPods, systemReserved, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration, Symbol("clusterDNS"), clusterDNS) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration, Symbol("containerRuntime"), containerRuntime) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration, Symbol("maxPods"), maxPods) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration, Symbol("systemReserved"), systemReserved) + return new(clusterDNS, containerRuntime, maxPods, systemReserved, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration + +const _property_types_ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration = Dict{Symbol,String}(Symbol("clusterDNS")=>"Vector{String}", Symbol("containerRuntime")=>"String", Symbol("maxPods")=>"Int64", Symbol("systemReserved")=>"Dict{String, Any}", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration }, name::Symbol, val) + if name === Symbol("maxPods") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration", :format, val, "int32") + end +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecLimits.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecLimits.jl new file mode 100644 index 00000000..12dd8df8 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecLimits.jl @@ -0,0 +1,31 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec_limits +Limits define a set of bounds for provisioning capacity. + + ShKarpenterV1alpha5ProvisionerSpecLimits(; + resources=nothing, + ) + + - resources::Dict{String, Any} : Resources contains all the allocatable resources that Karpenter supports for limiting. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpecLimits <: OpenAPI.APIModel + resources::Union{Nothing, Dict{String, Any}} = nothing + + function ShKarpenterV1alpha5ProvisionerSpecLimits(resources, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecLimits, Symbol("resources"), resources) + return new(resources, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpecLimits + +const _property_types_ShKarpenterV1alpha5ProvisionerSpecLimits = Dict{Symbol,String}(Symbol("resources")=>"Dict{String, Any}", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpecLimits }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpecLimits[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpecLimits) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpecLimits }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecProviderRef.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecProviderRef.jl new file mode 100644 index 00000000..47259617 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecProviderRef.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec_providerRef +ProviderRef is a reference to a dedicated CRD for the chosen provider, that holds additional configuration options + + ShKarpenterV1alpha5ProvisionerSpecProviderRef(; + apiVersion=nothing, + kind=nothing, + name=nothing, + ) + + - apiVersion::String : API version of the referent + - kind::String : Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\" + - name::String : Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpecProviderRef <: OpenAPI.APIModel + apiVersion::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function ShKarpenterV1alpha5ProvisionerSpecProviderRef(apiVersion, kind, name, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecProviderRef, Symbol("apiVersion"), apiVersion) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecProviderRef, Symbol("kind"), kind) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecProviderRef, Symbol("name"), name) + return new(apiVersion, kind, name, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpecProviderRef + +const _property_types_ShKarpenterV1alpha5ProvisionerSpecProviderRef = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpecProviderRef }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpecProviderRef[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpecProviderRef) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpecProviderRef }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecRequirementsInner.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecRequirementsInner.jl new file mode 100644 index 00000000..5f358e7b --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecRequirementsInner.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec_requirements_inner +A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. + + ShKarpenterV1alpha5ProvisionerSpecRequirementsInner(; + key=nothing, + operator=nothing, + values=nothing, + ) + + - key::String : The label key that the selector applies to. + - operator::String : Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + - values::Vector{String} : An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpecRequirementsInner <: OpenAPI.APIModel + key::Union{Nothing, String} = nothing + operator::Union{Nothing, String} = nothing + values::Union{Nothing, Vector{String}} = nothing + + function ShKarpenterV1alpha5ProvisionerSpecRequirementsInner(key, operator, values, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecRequirementsInner, Symbol("key"), key) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecRequirementsInner, Symbol("operator"), operator) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecRequirementsInner, Symbol("values"), values) + return new(key, operator, values, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpecRequirementsInner + +const _property_types_ShKarpenterV1alpha5ProvisionerSpecRequirementsInner = Dict{Symbol,String}(Symbol("key")=>"String", Symbol("operator")=>"String", Symbol("values")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpecRequirementsInner }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpecRequirementsInner[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpecRequirementsInner) + o.key === nothing && (return false) + o.operator === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpecRequirementsInner }, name::Symbol, val) +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner.jl new file mode 100644 index 00000000..5e3f027c --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_spec_startupTaints_inner +The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. + + ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner(; + effect=nothing, + key=nothing, + timeAdded=nothing, + value=nothing, + ) + + - effect::String : Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. + - key::String : Required. The taint key to be applied to a node. + - timeAdded::ZonedDateTime : TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. + - value::String : The taint value corresponding to the taint key. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner <: OpenAPI.APIModel + effect::Union{Nothing, String} = nothing + key::Union{Nothing, String} = nothing + timeAdded::Union{Nothing, ZonedDateTime} = nothing + value::Union{Nothing, String} = nothing + + function ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner(effect, key, timeAdded, value, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner, Symbol("effect"), effect) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner, Symbol("key"), key) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner, Symbol("timeAdded"), timeAdded) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner, Symbol("value"), value) + return new(effect, key, timeAdded, value, ) + end +end # type ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner + +const _property_types_ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner = Dict{Symbol,String}(Symbol("effect")=>"String", Symbol("key")=>"String", Symbol("timeAdded")=>"ZonedDateTime", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner) + o.effect === nothing && (return false) + o.key === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner }, name::Symbol, val) + if name === Symbol("timeAdded") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerStatus.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerStatus.jl new file mode 100644 index 00000000..b469b44a --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerStatus.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_status +ProvisionerStatus defines the observed state of Provisioner + + ShKarpenterV1alpha5ProvisionerStatus(; + conditions=nothing, + lastScaleTime=nothing, + resources=nothing, + ) + + - conditions::Vector{ShKarpenterV1alpha5ProvisionerStatusConditionsInner} : Conditions is the set of conditions required for this provisioner to scale its target, and indicates whether or not those conditions are met. + - lastScaleTime::ZonedDateTime : LastScaleTime is the last time the Provisioner scaled the number of nodes + - resources::Dict{String, Any} : Resources is the list of resources that have been provisioned. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerStatus <: OpenAPI.APIModel + conditions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ShKarpenterV1alpha5ProvisionerStatusConditionsInner} } + lastScaleTime::Union{Nothing, ZonedDateTime} = nothing + resources::Union{Nothing, Dict{String, Any}} = nothing + + function ShKarpenterV1alpha5ProvisionerStatus(conditions, lastScaleTime, resources, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatus, Symbol("conditions"), conditions) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatus, Symbol("lastScaleTime"), lastScaleTime) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatus, Symbol("resources"), resources) + return new(conditions, lastScaleTime, resources, ) + end +end # type ShKarpenterV1alpha5ProvisionerStatus + +const _property_types_ShKarpenterV1alpha5ProvisionerStatus = Dict{Symbol,String}(Symbol("conditions")=>"Vector{ShKarpenterV1alpha5ProvisionerStatusConditionsInner}", Symbol("lastScaleTime")=>"ZonedDateTime", Symbol("resources")=>"Dict{String, Any}", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerStatus[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerStatus) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerStatus }, name::Symbol, val) + if name === Symbol("lastScaleTime") + OpenAPI.validate_param(name, "ShKarpenterV1alpha5ProvisionerStatus", :format, val, "date-time") + end +end diff --git a/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerStatusConditionsInner.jl b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerStatusConditionsInner.jl new file mode 100644 index 00000000..349b9884 --- /dev/null +++ b/src/ApiImpl/api/models/model_ShKarpenterV1alpha5ProvisionerStatusConditionsInner.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""sh_karpenter_v1alpha5_Provisioner_status_conditions_inner +Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties + + ShKarpenterV1alpha5ProvisionerStatusConditionsInner(; + lastTransitionTime=nothing, + message=nothing, + reason=nothing, + severity=nothing, + status=nothing, + type=nothing, + ) + + - lastTransitionTime::String : LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant). + - message::String : A human readable message indicating details about the transition. + - reason::String : The reason for the condition's last transition. + - severity::String : Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error. + - status::String : Status of the condition, one of True, False, Unknown. + - type::String : Type of condition. +""" +Base.@kwdef mutable struct ShKarpenterV1alpha5ProvisionerStatusConditionsInner <: OpenAPI.APIModel + lastTransitionTime::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + severity::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function ShKarpenterV1alpha5ProvisionerStatusConditionsInner(lastTransitionTime, message, reason, severity, status, type, ) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatusConditionsInner, Symbol("lastTransitionTime"), lastTransitionTime) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatusConditionsInner, Symbol("message"), message) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatusConditionsInner, Symbol("reason"), reason) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatusConditionsInner, Symbol("severity"), severity) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatusConditionsInner, Symbol("status"), status) + OpenAPI.validate_property(ShKarpenterV1alpha5ProvisionerStatusConditionsInner, Symbol("type"), type) + return new(lastTransitionTime, message, reason, severity, status, type, ) + end +end # type ShKarpenterV1alpha5ProvisionerStatusConditionsInner + +const _property_types_ShKarpenterV1alpha5ProvisionerStatusConditionsInner = Dict{Symbol,String}(Symbol("lastTransitionTime")=>"String", Symbol("message")=>"String", Symbol("reason")=>"String", Symbol("severity")=>"String", Symbol("status")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ ShKarpenterV1alpha5ProvisionerStatusConditionsInner }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShKarpenterV1alpha5ProvisionerStatusConditionsInner[name]))} + +function check_required(o::ShKarpenterV1alpha5ProvisionerStatusConditionsInner) + o.status === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_property(::Type{ ShKarpenterV1alpha5ProvisionerStatusConditionsInner }, name::Symbol, val) +end diff --git a/src/ApiImpl/api_typemap.jl b/src/ApiImpl/api_typemap.jl new file mode 100644 index 00000000..5605d38c --- /dev/null +++ b/src/ApiImpl/api_typemap.jl @@ -0,0 +1,2216 @@ +module Typedefs + using ..Kubernetes + module BatchV1beta1 + using ..Kubernetes + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const JobSpec = Kubernetes.IoK8sApiBatchV1JobSpec + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const CronJobList = Kubernetes.IoK8sApiBatchV1beta1CronJobList + const JobTemplateSpec = Kubernetes.IoK8sApiBatchV1beta1JobTemplateSpec + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const CronJob = Kubernetes.IoK8sApiBatchV1beta1CronJob + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const CronJobStatus = Kubernetes.IoK8sApiBatchV1beta1CronJobStatus + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const CronJobSpec = Kubernetes.IoK8sApiBatchV1beta1CronJobSpec + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const Container = Kubernetes.IoK8sApiCoreV1Container + end + module EventsV1beta1 + using ..Kubernetes + const EventSeries = Kubernetes.IoK8sApiEventsV1beta1EventSeries + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const EventSource = Kubernetes.IoK8sApiCoreV1EventSource + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const Event = Kubernetes.IoK8sApiEventsV1beta1Event + const EventList = Kubernetes.IoK8sApiEventsV1beta1EventList + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module CertificatesV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const CertificateSigningRequestList = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestList + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const CertificateSigningRequestCondition = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const CertificateSigningRequest = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequest + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const CertificateSigningRequestSpec = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const CertificateSigningRequestStatus = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module BatchV1 + using ..Kubernetes + const CronJob = Kubernetes.IoK8sApiBatchV1CronJob + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const Job = Kubernetes.IoK8sApiBatchV1Job + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const JobList = Kubernetes.IoK8sApiBatchV1JobList + const JobCondition = Kubernetes.IoK8sApiBatchV1JobCondition + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const JobSpec = Kubernetes.IoK8sApiBatchV1JobSpec + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const CronJobStatus = Kubernetes.IoK8sApiBatchV1CronJobStatus + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const JobStatus = Kubernetes.IoK8sApiBatchV1JobStatus + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const CronJobList = Kubernetes.IoK8sApiBatchV1CronJobList + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const CronJobSpec = Kubernetes.IoK8sApiBatchV1CronJobSpec + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const JobTemplateSpec = Kubernetes.IoK8sApiBatchV1JobTemplateSpec + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const Container = Kubernetes.IoK8sApiCoreV1Container + end + module SchedulingV1alpha1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const PriorityClassList = Kubernetes.IoK8sApiSchedulingV1alpha1PriorityClassList + const PriorityClass = Kubernetes.IoK8sApiSchedulingV1alpha1PriorityClass + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module AppsV1beta2 + using ..Kubernetes + const StatefulSet = Kubernetes.IoK8sApiAppsV1beta2StatefulSet + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const ReplicaSetStatus = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetStatus + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const ControllerRevisionList = Kubernetes.IoK8sApiAppsV1beta2ControllerRevisionList + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const DaemonSet = Kubernetes.IoK8sApiAppsV1beta2DaemonSet + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const StatefulSetList = Kubernetes.IoK8sApiAppsV1beta2StatefulSetList + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const DaemonSetSpec = Kubernetes.IoK8sApiAppsV1beta2DaemonSetSpec + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const DeploymentStrategy = Kubernetes.IoK8sApiAppsV1beta2DeploymentStrategy + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const PersistentVolumeClaimStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimStatus + const StatefulSetSpec = Kubernetes.IoK8sApiAppsV1beta2StatefulSetSpec + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const DeploymentStatus = Kubernetes.IoK8sApiAppsV1beta2DeploymentStatus + const ScaleSpec = Kubernetes.IoK8sApiAppsV1beta2ScaleSpec + const DaemonSetStatus = Kubernetes.IoK8sApiAppsV1beta2DaemonSetStatus + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Scale = Kubernetes.IoK8sApiAppsV1beta2Scale + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const StatefulSetCondition = Kubernetes.IoK8sApiAppsV1beta2StatefulSetCondition + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const DeploymentList = Kubernetes.IoK8sApiAppsV1beta2DeploymentList + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const DeploymentCondition = Kubernetes.IoK8sApiAppsV1beta2DeploymentCondition + const StatefulSetStatus = Kubernetes.IoK8sApiAppsV1beta2StatefulSetStatus + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const DaemonSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1beta2DaemonSetUpdateStrategy + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TypedLocalObjectReference = Kubernetes.IoK8sApiCoreV1TypedLocalObjectReference + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const PersistentVolumeClaimSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimSpec + const PersistentVolumeClaimCondition = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimCondition + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const ScaleStatus = Kubernetes.IoK8sApiAppsV1beta2ScaleStatus + const RollingUpdateDaemonSet = Kubernetes.IoK8sApiAppsV1beta2RollingUpdateDaemonSet + const ReplicaSetCondition = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetCondition + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const ReplicaSet = Kubernetes.IoK8sApiAppsV1beta2ReplicaSet + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const Deployment = Kubernetes.IoK8sApiAppsV1beta2Deployment + const DaemonSetList = Kubernetes.IoK8sApiAppsV1beta2DaemonSetList + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatefulSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1beta2StatefulSetUpdateStrategy + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const ReplicaSetSpec = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetSpec + const RollingUpdateStatefulSetStrategy = Kubernetes.IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy + const DeploymentSpec = Kubernetes.IoK8sApiAppsV1beta2DeploymentSpec + const PersistentVolumeClaim = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaim + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const RollingUpdateDeployment = Kubernetes.IoK8sApiAppsV1beta2RollingUpdateDeployment + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const DaemonSetCondition = Kubernetes.IoK8sApiAppsV1beta2DaemonSetCondition + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const ControllerRevision = Kubernetes.IoK8sApiAppsV1beta2ControllerRevision + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ReplicaSetList = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetList + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const Container = Kubernetes.IoK8sApiCoreV1Container + end + module PolicyV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const SupplementalGroupsStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions + const AllowedHostPath = Kubernetes.IoK8sApiPolicyV1beta1AllowedHostPath + const PodDisruptionBudgetList = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudgetList + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const AllowedCSIDriver = Kubernetes.IoK8sApiPolicyV1beta1AllowedCSIDriver + const PodDisruptionBudgetSpec = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const PodSecurityPolicySpec = Kubernetes.IoK8sApiPolicyV1beta1PodSecurityPolicySpec + const IDRange = Kubernetes.IoK8sApiPolicyV1beta1IDRange + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const HostPortRange = Kubernetes.IoK8sApiPolicyV1beta1HostPortRange + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const PodDisruptionBudgetStatus = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus + const PodDisruptionBudget = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudget + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const RuntimeClassStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions + const RunAsGroupStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions + const PodSecurityPolicy = Kubernetes.IoK8sApiPolicyV1beta1PodSecurityPolicy + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const AllowedFlexVolume = Kubernetes.IoK8sApiPolicyV1beta1AllowedFlexVolume + const SELinuxStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1SELinuxStrategyOptions + const RunAsUserStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1RunAsUserStrategyOptions + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const FSGroupStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1FSGroupStrategyOptions + const PodSecurityPolicyList = Kubernetes.IoK8sApiPolicyV1beta1PodSecurityPolicyList + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module RbacAuthorizationV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const ClusterRoleBinding = Kubernetes.IoK8sApiRbacV1beta1ClusterRoleBinding + const PolicyRule = Kubernetes.IoK8sApiRbacV1beta1PolicyRule + const RoleList = Kubernetes.IoK8sApiRbacV1beta1RoleList + const AggregationRule = Kubernetes.IoK8sApiRbacV1beta1AggregationRule + const RoleBinding = Kubernetes.IoK8sApiRbacV1beta1RoleBinding + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const Subject = Kubernetes.IoK8sApiRbacV1beta1Subject + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ClusterRole = Kubernetes.IoK8sApiRbacV1beta1ClusterRole + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const RoleBindingList = Kubernetes.IoK8sApiRbacV1beta1RoleBindingList + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const ClusterRoleList = Kubernetes.IoK8sApiRbacV1beta1ClusterRoleList + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const RoleRef = Kubernetes.IoK8sApiRbacV1beta1RoleRef + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const ClusterRoleBindingList = Kubernetes.IoK8sApiRbacV1beta1ClusterRoleBindingList + const Role = Kubernetes.IoK8sApiRbacV1beta1Role + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module AuthorizationV1beta1 + using ..Kubernetes + const SubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectAccessReview + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const SelfSubjectRulesReviewSpec = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec + const SubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec + const SelfSubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec + const ResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1beta1ResourceAttributes + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const SubjectRulesReviewStatus = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const LocalSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview + const SelfSubjectRulesReview = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ResourceRule = Kubernetes.IoK8sApiAuthorizationV1beta1ResourceRule + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const NonResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1beta1NonResourceAttributes + const SelfSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview + const SubjectAccessReviewStatus = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const NonResourceRule = Kubernetes.IoK8sApiAuthorizationV1beta1NonResourceRule + end + module SettingsV1alpha1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const PodPreset = Kubernetes.IoK8sApiSettingsV1alpha1PodPreset + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const PodPresetSpec = Kubernetes.IoK8sApiSettingsV1alpha1PodPresetSpec + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const PodPresetList = Kubernetes.IoK8sApiSettingsV1alpha1PodPresetList + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + end + module Apis + using ..Kubernetes + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + end + module ApiregistrationV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIServiceCondition = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const APIServiceSpec = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec + const ServiceReference = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const APIService = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const APIServiceStatus = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const APIServiceList = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList + end + module MetricsV1beta1 + using ..Kubernetes + const ContainerMetrics = Kubernetes.IoK8sApiMetricsV1beta1ContainerMetrics + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const NodeMetricsList = Kubernetes.IoK8sApiMetricsV1beta1NodeMetricsList + const NodeMetrics = Kubernetes.IoK8sApiMetricsV1beta1NodeMetrics + const PodMetrics = Kubernetes.IoK8sApiMetricsV1beta1PodMetrics + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodMetricsList = Kubernetes.IoK8sApiMetricsV1beta1PodMetricsList + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module RbacAuthorizationV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ClusterRoleBinding = Kubernetes.IoK8sApiRbacV1ClusterRoleBinding + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const RoleList = Kubernetes.IoK8sApiRbacV1RoleList + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const PolicyRule = Kubernetes.IoK8sApiRbacV1PolicyRule + const RoleBinding = Kubernetes.IoK8sApiRbacV1RoleBinding + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const RoleBindingList = Kubernetes.IoK8sApiRbacV1RoleBindingList + const Subject = Kubernetes.IoK8sApiRbacV1Subject + const ClusterRole = Kubernetes.IoK8sApiRbacV1ClusterRole + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const RoleRef = Kubernetes.IoK8sApiRbacV1RoleRef + const ClusterRoleList = Kubernetes.IoK8sApiRbacV1ClusterRoleList + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const Role = Kubernetes.IoK8sApiRbacV1Role + const AggregationRule = Kubernetes.IoK8sApiRbacV1AggregationRule + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const ClusterRoleBindingList = Kubernetes.IoK8sApiRbacV1ClusterRoleBindingList + end + module AutoscalingV2beta2 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const PodsMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2PodsMetricStatus + const MetricValueStatus = Kubernetes.IoK8sApiAutoscalingV2beta2MetricValueStatus + const ObjectMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2ObjectMetricStatus + const HorizontalPodAutoscaler = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const MetricSpec = Kubernetes.IoK8sApiAutoscalingV2beta2MetricSpec + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const HorizontalPodAutoscalerCondition = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition + const ExternalMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2ExternalMetricSource + const ResourceMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2ResourceMetricStatus + const MetricTarget = Kubernetes.IoK8sApiAutoscalingV2beta2MetricTarget + const ResourceMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2ResourceMetricSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const HorizontalPodAutoscalerSpec = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const ExternalMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2ExternalMetricStatus + const MetricIdentifier = Kubernetes.IoK8sApiAutoscalingV2beta2MetricIdentifier + const HorizontalPodAutoscalerList = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList + const HorizontalPodAutoscalerStatus = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const ObjectMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2ObjectMetricSource + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const MetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2MetricStatus + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const CrossVersionObjectReference = Kubernetes.IoK8sApiAutoscalingV2beta2CrossVersionObjectReference + const PodsMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2PodsMetricSource + end + module AuthenticationV1beta1 + using ..Kubernetes + const UserInfo = Kubernetes.IoK8sApiAuthenticationV1beta1UserInfo + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const TokenReview = Kubernetes.IoK8sApiAuthenticationV1beta1TokenReview + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const TokenReviewStatus = Kubernetes.IoK8sApiAuthenticationV1beta1TokenReviewStatus + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const TokenReviewSpec = Kubernetes.IoK8sApiAuthenticationV1beta1TokenReviewSpec + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module AuthorizationV1 + using ..Kubernetes + const SelfSubjectRulesReview = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectRulesReview + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const LocalSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1LocalSubjectAccessReview + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const SubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1SubjectAccessReviewSpec + const ResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1ResourceAttributes + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const NonResourceRule = Kubernetes.IoK8sApiAuthorizationV1NonResourceRule + const SubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1SubjectAccessReview + const SelfSubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec + const SubjectAccessReviewStatus = Kubernetes.IoK8sApiAuthorizationV1SubjectAccessReviewStatus + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const SubjectRulesReviewStatus = Kubernetes.IoK8sApiAuthorizationV1SubjectRulesReviewStatus + const SelfSubjectRulesReviewSpec = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const NonResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1NonResourceAttributes + const ResourceRule = Kubernetes.IoK8sApiAuthorizationV1ResourceRule + const SelfSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectAccessReview + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module ApiextensionsV1beta1 + using ..Kubernetes + const CustomResourceDefinitionCondition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const CustomResourceColumnDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition + const JSONSchemaProps = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const CustomResourceDefinitionNames = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames + const ServiceReference = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const CustomResourceDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const CustomResourceDefinitionList = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const CustomResourceConversion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion + const WebhookClientConfig = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const CustomResourceDefinitionSpec = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const ExternalDocumentation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation + const CustomResourceSubresourceScale = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const CustomResourceDefinitionStatus = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const CustomResourceValidation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation + const CustomResourceSubresources = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const CustomResourceDefinitionVersion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion + end + module CoordinationV1beta1 + using ..Kubernetes + const LeaseList = Kubernetes.IoK8sApiCoordinationV1beta1LeaseList + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const Lease = Kubernetes.IoK8sApiCoordinationV1beta1Lease + const LeaseSpec = Kubernetes.IoK8sApiCoordinationV1beta1LeaseSpec + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module CoordinationV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const Lease = Kubernetes.IoK8sApiCoordinationV1Lease + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const LeaseSpec = Kubernetes.IoK8sApiCoordinationV1LeaseSpec + const LeaseList = Kubernetes.IoK8sApiCoordinationV1LeaseList + end + module NodeV1alpha1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const Overhead = Kubernetes.IoK8sApiNodeV1alpha1Overhead + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const RuntimeClass = Kubernetes.IoK8sApiNodeV1alpha1RuntimeClass + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const RuntimeClassSpec = Kubernetes.IoK8sApiNodeV1alpha1RuntimeClassSpec + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const RuntimeClassList = Kubernetes.IoK8sApiNodeV1alpha1RuntimeClassList + const Scheduling = Kubernetes.IoK8sApiNodeV1alpha1Scheduling + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module StorageV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const CSINodeList = Kubernetes.IoK8sApiStorageV1beta1CSINodeList + const CinderPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CinderPersistentVolumeSource + const CSIDriver = Kubernetes.IoK8sApiStorageV1beta1CSIDriver + const ScaleIOPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOPersistentVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const StorageClassList = Kubernetes.IoK8sApiStorageV1beta1StorageClassList + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const StorageOSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSPersistentVolumeSource + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const VolumeAttachmentList = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentList + const CSINode = Kubernetes.IoK8sApiStorageV1beta1CSINode + const VolumeError = Kubernetes.IoK8sApiStorageV1beta1VolumeError + const VolumeAttachmentSpec = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentSpec + const VolumeAttachmentStatus = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentStatus + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const TopologySelectorLabelRequirement = Kubernetes.IoK8sApiCoreV1TopologySelectorLabelRequirement + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const TopologySelectorTerm = Kubernetes.IoK8sApiCoreV1TopologySelectorTerm + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const LocalVolumeSource = Kubernetes.IoK8sApiCoreV1LocalVolumeSource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const CSIDriverList = Kubernetes.IoK8sApiStorageV1beta1CSIDriverList + const VolumeNodeResources = Kubernetes.IoK8sApiStorageV1beta1VolumeNodeResources + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const ISCSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIPersistentVolumeSource + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const CephFSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSPersistentVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const PersistentVolumeSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeSpec + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const CSIDriverSpec = Kubernetes.IoK8sApiStorageV1beta1CSIDriverSpec + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const GlusterfsPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsPersistentVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const RBDPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1RBDPersistentVolumeSource + const VolumeNodeAffinity = Kubernetes.IoK8sApiCoreV1VolumeNodeAffinity + const VolumeAttachmentSource = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentSource + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const FlexPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1FlexPersistentVolumeSource + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const VolumeAttachment = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachment + const CSINodeSpec = Kubernetes.IoK8sApiStorageV1beta1CSINodeSpec + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const AzureFilePersistentVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFilePersistentVolumeSource + const SecretReference = Kubernetes.IoK8sApiCoreV1SecretReference + const StorageClass = Kubernetes.IoK8sApiStorageV1beta1StorageClass + const CSINodeDriver = Kubernetes.IoK8sApiStorageV1beta1CSINodeDriver + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const CSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CSIPersistentVolumeSource + end + module AutoscalingV2beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const ExternalMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1ExternalMetricSource + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const PodsMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1PodsMetricSource + const ResourceMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1ResourceMetricStatus + const MetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1MetricStatus + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const HorizontalPodAutoscalerCondition = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const ExternalMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1ExternalMetricStatus + const CrossVersionObjectReference = Kubernetes.IoK8sApiAutoscalingV2beta1CrossVersionObjectReference + const ResourceMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1ResourceMetricSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const ObjectMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1ObjectMetricStatus + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const PodsMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1PodsMetricStatus + const MetricSpec = Kubernetes.IoK8sApiAutoscalingV2beta1MetricSpec + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const HorizontalPodAutoscalerList = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList + const HorizontalPodAutoscalerSpec = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec + const HorizontalPodAutoscaler = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler + const HorizontalPodAutoscalerStatus = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus + const ObjectMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1ObjectMetricSource + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module SchedulingV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const PriorityClassList = Kubernetes.IoK8sApiSchedulingV1PriorityClassList + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const PriorityClass = Kubernetes.IoK8sApiSchedulingV1PriorityClass + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module ApiregistrationV1beta1 + using ..Kubernetes + const ServiceReference = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const APIServiceCondition = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIServiceList = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList + const APIServiceStatus = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const APIServiceSpec = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const APIService = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module FlowcontrolApiserverV1alpha1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const NonResourcePolicyRule = Kubernetes.IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const FlowDistinguisherMethod = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const Subject = Kubernetes.IoK8sApiFlowcontrolV1alpha1Subject + const LimitResponse = Kubernetes.IoK8sApiFlowcontrolV1alpha1LimitResponse + const UserSubject = Kubernetes.IoK8sApiFlowcontrolV1alpha1UserSubject + const PriorityLevelConfiguration = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const FlowSchema = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchema + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const LimitedPriorityLevelConfiguration = Kubernetes.IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const PriorityLevelConfigurationSpec = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const QueuingConfiguration = Kubernetes.IoK8sApiFlowcontrolV1alpha1QueuingConfiguration + const FlowSchemaCondition = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition + const GroupSubject = Kubernetes.IoK8sApiFlowcontrolV1alpha1GroupSubject + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const PriorityLevelConfigurationReference = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference + const ServiceAccountSubject = Kubernetes.IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject + const FlowSchemaList = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaList + const PolicyRulesWithSubjects = Kubernetes.IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const PriorityLevelConfigurationList = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const FlowSchemaStatus = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const FlowSchemaSpec = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec + const PriorityLevelConfigurationStatus = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus + const ResourcePolicyRule = Kubernetes.IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PriorityLevelConfigurationCondition = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition + end + module AdmissionregistrationV1 + using ..Kubernetes + const MutatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1MutatingWebhook + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const MutatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const WebhookClientConfig = Kubernetes.IoK8sApiAdmissionregistrationV1WebhookClientConfig + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const ValidatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const RuleWithOperations = Kubernetes.IoK8sApiAdmissionregistrationV1RuleWithOperations + const ValidatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1ValidatingWebhook + const ServiceReference = Kubernetes.IoK8sApiAdmissionregistrationV1ServiceReference + const MutatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const ValidatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList + end + module CustomMetricsV1beta1 + using ..Kubernetes + const MetricValue = Kubernetes.IoK8sApiCustomMetricsV1beta1MetricValue + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const MetricValueList = Kubernetes.IoK8sApiCustomMetricsV1beta1MetricValueList + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + end + module AutoscalingV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const HorizontalPodAutoscaler = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscaler + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const HorizontalPodAutoscalerSpec = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const HorizontalPodAutoscalerStatus = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const HorizontalPodAutoscalerList = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscalerList + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const CrossVersionObjectReference = Kubernetes.IoK8sApiAutoscalingV1CrossVersionObjectReference + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module ApiextensionsV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const CustomResourceValidation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const WebhookClientConfig = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const CustomResourceDefinitionSpec = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec + const CustomResourceSubresourceScale = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale + const ExternalDocumentation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation + const CustomResourceDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition + const CustomResourceColumnDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition + const CustomResourceDefinitionNames = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const CustomResourceSubresources = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources + const CustomResourceDefinitionList = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const ServiceReference = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const CustomResourceConversion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const WebhookConversion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion + const CustomResourceDefinitionVersion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion + const JSONSchemaProps = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const CustomResourceDefinitionCondition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition + const CustomResourceDefinitionStatus = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module StorageV1alpha1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const VolumeAttachmentSource = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentSource + const CinderPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CinderPersistentVolumeSource + const ScaleIOPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOPersistentVolumeSource + const VolumeAttachmentSpec = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentSpec + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const StorageOSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSPersistentVolumeSource + const VolumeAttachment = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachment + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const VolumeAttachmentList = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentList + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const LocalVolumeSource = Kubernetes.IoK8sApiCoreV1LocalVolumeSource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const VolumeError = Kubernetes.IoK8sApiStorageV1alpha1VolumeError + const ISCSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIPersistentVolumeSource + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const CephFSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSPersistentVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const PersistentVolumeSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeSpec + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const GlusterfsPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsPersistentVolumeSource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const RBDPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1RBDPersistentVolumeSource + const VolumeNodeAffinity = Kubernetes.IoK8sApiCoreV1VolumeNodeAffinity + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const VolumeAttachmentStatus = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentStatus + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const FlexPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1FlexPersistentVolumeSource + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const AzureFilePersistentVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFilePersistentVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const SecretReference = Kubernetes.IoK8sApiCoreV1SecretReference + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const CSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CSIPersistentVolumeSource + end + module AppsV1beta1 + using ..Kubernetes + const ScaleSpec = Kubernetes.IoK8sApiAppsV1beta1ScaleSpec + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const StatefulSet = Kubernetes.IoK8sApiAppsV1beta1StatefulSet + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const StatefulSetStatus = Kubernetes.IoK8sApiAppsV1beta1StatefulSetStatus + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const Deployment = Kubernetes.IoK8sApiAppsV1beta1Deployment + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const ControllerRevisionList = Kubernetes.IoK8sApiAppsV1beta1ControllerRevisionList + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const PersistentVolumeClaimStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimStatus + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const RollingUpdateDeployment = Kubernetes.IoK8sApiAppsV1beta1RollingUpdateDeployment + const ScaleStatus = Kubernetes.IoK8sApiAppsV1beta1ScaleStatus + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TypedLocalObjectReference = Kubernetes.IoK8sApiCoreV1TypedLocalObjectReference + const StatefulSetCondition = Kubernetes.IoK8sApiAppsV1beta1StatefulSetCondition + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const DeploymentStatus = Kubernetes.IoK8sApiAppsV1beta1DeploymentStatus + const PersistentVolumeClaimSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimSpec + const PersistentVolumeClaimCondition = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimCondition + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const StatefulSetList = Kubernetes.IoK8sApiAppsV1beta1StatefulSetList + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const StatefulSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1beta1StatefulSetUpdateStrategy + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const Scale = Kubernetes.IoK8sApiAppsV1beta1Scale + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatefulSetSpec = Kubernetes.IoK8sApiAppsV1beta1StatefulSetSpec + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const DeploymentSpec = Kubernetes.IoK8sApiAppsV1beta1DeploymentSpec + const PersistentVolumeClaim = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaim + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const DeploymentCondition = Kubernetes.IoK8sApiAppsV1beta1DeploymentCondition + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const DeploymentList = Kubernetes.IoK8sApiAppsV1beta1DeploymentList + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const ControllerRevision = Kubernetes.IoK8sApiAppsV1beta1ControllerRevision + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const RollingUpdateStatefulSetStrategy = Kubernetes.IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const DeploymentStrategy = Kubernetes.IoK8sApiAppsV1beta1DeploymentStrategy + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const RollbackConfig = Kubernetes.IoK8sApiAppsV1beta1RollbackConfig + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const Container = Kubernetes.IoK8sApiCoreV1Container + end + module CoreV1 + using ..Kubernetes + const CinderPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CinderPersistentVolumeSource + const NodeConfigSource = Kubernetes.IoK8sApiCoreV1NodeConfigSource + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const LimitRangeSpec = Kubernetes.IoK8sApiCoreV1LimitRangeSpec + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const ServiceStatus = Kubernetes.IoK8sApiCoreV1ServiceStatus + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const NodeSystemInfo = Kubernetes.IoK8sApiCoreV1NodeSystemInfo + const ReplicationController = Kubernetes.IoK8sApiCoreV1ReplicationController + const LimitRangeItem = Kubernetes.IoK8sApiCoreV1LimitRangeItem + const ScopedResourceSelectorRequirement = Kubernetes.IoK8sApiCoreV1ScopedResourceSelectorRequirement + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const PodTemplate = Kubernetes.IoK8sApiCoreV1PodTemplate + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const LoadBalancerIngress = Kubernetes.IoK8sApiCoreV1LoadBalancerIngress + const DeleteOptions = Kubernetes.IoK8sApimachineryPkgApisMetaV1DeleteOptions + const ContainerStatus = Kubernetes.IoK8sApiCoreV1ContainerStatus + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const Binding = Kubernetes.IoK8sApiCoreV1Binding + const Node = Kubernetes.IoK8sApiCoreV1Node + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const NamespaceCondition = Kubernetes.IoK8sApiCoreV1NamespaceCondition + const Preconditions = Kubernetes.IoK8sApimachineryPkgApisMetaV1Preconditions + const NodeCondition = Kubernetes.IoK8sApiCoreV1NodeCondition + const NamespaceStatus = Kubernetes.IoK8sApiCoreV1NamespaceStatus + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const ISCSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIPersistentVolumeSource + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const PersistentVolumeSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeSpec + const EndpointPort = Kubernetes.IoK8sApiCoreV1EndpointPort + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const Namespace = Kubernetes.IoK8sApiCoreV1Namespace + const RBDPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1RBDPersistentVolumeSource + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const SecretList = Kubernetes.IoK8sApiCoreV1SecretList + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const ReplicationControllerSpec = Kubernetes.IoK8sApiCoreV1ReplicationControllerSpec + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const FlexPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1FlexPersistentVolumeSource + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TypedLocalObjectReference = Kubernetes.IoK8sApiCoreV1TypedLocalObjectReference + const NodeDaemonEndpoints = Kubernetes.IoK8sApiCoreV1NodeDaemonEndpoints + const NodeList = Kubernetes.IoK8sApiCoreV1NodeList + const PersistentVolumeClaimSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimSpec + const PersistentVolumeClaimCondition = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimCondition + const ComponentStatusList = Kubernetes.IoK8sApiCoreV1ComponentStatusList + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const StorageOSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSPersistentVolumeSource + const EndpointsList = Kubernetes.IoK8sApiCoreV1EndpointsList + const PodList = Kubernetes.IoK8sApiCoreV1PodList + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ReplicationControllerCondition = Kubernetes.IoK8sApiCoreV1ReplicationControllerCondition + const EndpointSubset = Kubernetes.IoK8sApiCoreV1EndpointSubset + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const TokenRequestStatus = Kubernetes.IoK8sApiAuthenticationV1TokenRequestStatus + const ServiceSpec = Kubernetes.IoK8sApiCoreV1ServiceSpec + const DaemonEndpoint = Kubernetes.IoK8sApiCoreV1DaemonEndpoint + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const LocalVolumeSource = Kubernetes.IoK8sApiCoreV1LocalVolumeSource + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const CephFSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSPersistentVolumeSource + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const ServicePort = Kubernetes.IoK8sApiCoreV1ServicePort + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const Endpoints = Kubernetes.IoK8sApiCoreV1Endpoints + const NamespaceSpec = Kubernetes.IoK8sApiCoreV1NamespaceSpec + const EventList = Kubernetes.IoK8sApiCoreV1EventList + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const ContainerStateRunning = Kubernetes.IoK8sApiCoreV1ContainerStateRunning + const PodCondition = Kubernetes.IoK8sApiCoreV1PodCondition + const PersistentVolumeList = Kubernetes.IoK8sApiCoreV1PersistentVolumeList + const Scale = Kubernetes.IoK8sApiAutoscalingV1Scale + const VolumeNodeAffinity = Kubernetes.IoK8sApiCoreV1VolumeNodeAffinity + const NodeStatus = Kubernetes.IoK8sApiCoreV1NodeStatus + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const TokenRequestSpec = Kubernetes.IoK8sApiAuthenticationV1TokenRequestSpec + const SecretReference = Kubernetes.IoK8sApiCoreV1SecretReference + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const NodeConfigStatus = Kubernetes.IoK8sApiCoreV1NodeConfigStatus + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const NodeAddress = Kubernetes.IoK8sApiCoreV1NodeAddress + const Container = Kubernetes.IoK8sApiCoreV1Container + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const ScaleIOPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOPersistentVolumeSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const EndpointAddress = Kubernetes.IoK8sApiCoreV1EndpointAddress + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const PersistentVolumeClaimList = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimList + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const Pod = Kubernetes.IoK8sApiCoreV1Pod + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ContainerStateTerminated = Kubernetes.IoK8sApiCoreV1ContainerStateTerminated + const LoadBalancerStatus = Kubernetes.IoK8sApiCoreV1LoadBalancerStatus + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const Taint = Kubernetes.IoK8sApiCoreV1Taint + const SessionAffinityConfig = Kubernetes.IoK8sApiCoreV1SessionAffinityConfig + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const Event = Kubernetes.IoK8sApiCoreV1Event + const NamespaceList = Kubernetes.IoK8sApiCoreV1NamespaceList + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const Eviction = Kubernetes.IoK8sApiPolicyV1beta1Eviction + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const ConfigMap = Kubernetes.IoK8sApiCoreV1ConfigMap + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const NodeSpec = Kubernetes.IoK8sApiCoreV1NodeSpec + const ComponentCondition = Kubernetes.IoK8sApiCoreV1ComponentCondition + const TokenRequest = Kubernetes.IoK8sApiAuthenticationV1TokenRequest + const PersistentVolumeClaimStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimStatus + const ResourceQuota = Kubernetes.IoK8sApiCoreV1ResourceQuota + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const GlusterfsPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsPersistentVolumeSource + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const ConfigMapNodeConfigSource = Kubernetes.IoK8sApiCoreV1ConfigMapNodeConfigSource + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const ServiceAccountList = Kubernetes.IoK8sApiCoreV1ServiceAccountList + const ResourceQuotaList = Kubernetes.IoK8sApiCoreV1ResourceQuotaList + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const Secret = Kubernetes.IoK8sApiCoreV1Secret + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ContainerState = Kubernetes.IoK8sApiCoreV1ContainerState + const LimitRangeList = Kubernetes.IoK8sApiCoreV1LimitRangeList + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const PersistentVolume = Kubernetes.IoK8sApiCoreV1PersistentVolume + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const PersistentVolumeStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeStatus + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const ServiceList = Kubernetes.IoK8sApiCoreV1ServiceList + const CSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CSIPersistentVolumeSource + const ReplicationControllerList = Kubernetes.IoK8sApiCoreV1ReplicationControllerList + const BoundObjectReference = Kubernetes.IoK8sApiAuthenticationV1BoundObjectReference + const ResourceQuotaSpec = Kubernetes.IoK8sApiCoreV1ResourceQuotaSpec + const AttachedVolume = Kubernetes.IoK8sApiCoreV1AttachedVolume + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const EventSeries = Kubernetes.IoK8sApiCoreV1EventSeries + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const PodStatus = Kubernetes.IoK8sApiCoreV1PodStatus + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const ReplicationControllerStatus = Kubernetes.IoK8sApiCoreV1ReplicationControllerStatus + const ConfigMapList = Kubernetes.IoK8sApiCoreV1ConfigMapList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const EventSource = Kubernetes.IoK8sApiCoreV1EventSource + const ContainerStateWaiting = Kubernetes.IoK8sApiCoreV1ContainerStateWaiting + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const PodIP = Kubernetes.IoK8sApiCoreV1PodIP + const ContainerImage = Kubernetes.IoK8sApiCoreV1ContainerImage + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const ResourceQuotaStatus = Kubernetes.IoK8sApiCoreV1ResourceQuotaStatus + const ScaleSpec = Kubernetes.IoK8sApiAutoscalingV1ScaleSpec + const ScaleStatus = Kubernetes.IoK8sApiAutoscalingV1ScaleStatus + const ClientIPConfig = Kubernetes.IoK8sApiCoreV1ClientIPConfig + const PersistentVolumeClaim = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaim + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const LimitRange = Kubernetes.IoK8sApiCoreV1LimitRange + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ServiceAccount = Kubernetes.IoK8sApiCoreV1ServiceAccount + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const AzureFilePersistentVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFilePersistentVolumeSource + const PodTemplateList = Kubernetes.IoK8sApiCoreV1PodTemplateList + const ComponentStatus = Kubernetes.IoK8sApiCoreV1ComponentStatus + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const Service = Kubernetes.IoK8sApiCoreV1Service + const ScopeSelector = Kubernetes.IoK8sApiCoreV1ScopeSelector + end + module AuthenticationV1 + using ..Kubernetes + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const TokenReviewStatus = Kubernetes.IoK8sApiAuthenticationV1TokenReviewStatus + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const TokenReviewSpec = Kubernetes.IoK8sApiAuthenticationV1TokenReviewSpec + const UserInfo = Kubernetes.IoK8sApiAuthenticationV1UserInfo + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const TokenReview = Kubernetes.IoK8sApiAuthenticationV1TokenReview + end + module NetworkingV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const NetworkPolicyIngressRule = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyIngressRule + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const NetworkPolicyEgressRule = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyEgressRule + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const NetworkPolicyList = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyList + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const NetworkPolicyPort = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyPort + const NetworkPolicySpec = Kubernetes.IoK8sApiNetworkingV1NetworkPolicySpec + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const NetworkPolicy = Kubernetes.IoK8sApiNetworkingV1NetworkPolicy + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const NetworkPolicyPeer = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyPeer + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const IPBlock = Kubernetes.IoK8sApiNetworkingV1IPBlock + end + module SchedulingV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PriorityClassList = Kubernetes.IoK8sApiSchedulingV1beta1PriorityClassList + const PriorityClass = Kubernetes.IoK8sApiSchedulingV1beta1PriorityClass + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module BatchV2alpha1 + using ..Kubernetes + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const CronJob = Kubernetes.IoK8sApiBatchV2alpha1CronJob + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const CronJobList = Kubernetes.IoK8sApiBatchV2alpha1CronJobList + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const JobSpec = Kubernetes.IoK8sApiBatchV1JobSpec + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const CronJobStatus = Kubernetes.IoK8sApiBatchV2alpha1CronJobStatus + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const JobTemplateSpec = Kubernetes.IoK8sApiBatchV2alpha1JobTemplateSpec + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const CronJobSpec = Kubernetes.IoK8sApiBatchV2alpha1CronJobSpec + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const Container = Kubernetes.IoK8sApiCoreV1Container + end + module NodeV1beta1 + using ..Kubernetes + const RuntimeClassList = Kubernetes.IoK8sApiNodeV1beta1RuntimeClassList + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const Scheduling = Kubernetes.IoK8sApiNodeV1beta1Scheduling + const Overhead = Kubernetes.IoK8sApiNodeV1beta1Overhead + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const RuntimeClass = Kubernetes.IoK8sApiNodeV1beta1RuntimeClass + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module AppsV1 + using ..Kubernetes + const Container = Kubernetes.IoK8sApiCoreV1Container + const ReplicaSetSpec = Kubernetes.IoK8sApiAppsV1ReplicaSetSpec + const ReplicaSet = Kubernetes.IoK8sApiAppsV1ReplicaSet + const StatefulSet = Kubernetes.IoK8sApiAppsV1StatefulSet + const ReplicaSetList = Kubernetes.IoK8sApiAppsV1ReplicaSetList + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const DeploymentStrategy = Kubernetes.IoK8sApiAppsV1DeploymentStrategy + const RollingUpdateDaemonSet = Kubernetes.IoK8sApiAppsV1RollingUpdateDaemonSet + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const DaemonSet = Kubernetes.IoK8sApiAppsV1DaemonSet + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const ControllerRevision = Kubernetes.IoK8sApiAppsV1ControllerRevision + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const StatefulSetSpec = Kubernetes.IoK8sApiAppsV1StatefulSetSpec + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const DeploymentSpec = Kubernetes.IoK8sApiAppsV1DeploymentSpec + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const PersistentVolumeClaimStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimStatus + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const DaemonSetCondition = Kubernetes.IoK8sApiAppsV1DaemonSetCondition + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const DeploymentList = Kubernetes.IoK8sApiAppsV1DeploymentList + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TypedLocalObjectReference = Kubernetes.IoK8sApiCoreV1TypedLocalObjectReference + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const DaemonSetList = Kubernetes.IoK8sApiAppsV1DaemonSetList + const DaemonSetSpec = Kubernetes.IoK8sApiAppsV1DaemonSetSpec + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const PersistentVolumeClaimSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimSpec + const PersistentVolumeClaimCondition = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimCondition + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const DaemonSetStatus = Kubernetes.IoK8sApiAppsV1DaemonSetStatus + const StatefulSetStatus = Kubernetes.IoK8sApiAppsV1StatefulSetStatus + const RollingUpdateDeployment = Kubernetes.IoK8sApiAppsV1RollingUpdateDeployment + const StatefulSetCondition = Kubernetes.IoK8sApiAppsV1StatefulSetCondition + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const DaemonSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1DaemonSetUpdateStrategy + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const ReplicaSetCondition = Kubernetes.IoK8sApiAppsV1ReplicaSetCondition + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const Deployment = Kubernetes.IoK8sApiAppsV1Deployment + const DeploymentStatus = Kubernetes.IoK8sApiAppsV1DeploymentStatus + const ScaleSpec = Kubernetes.IoK8sApiAutoscalingV1ScaleSpec + const ScaleStatus = Kubernetes.IoK8sApiAutoscalingV1ScaleStatus + const PersistentVolumeClaim = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaim + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const RollingUpdateStatefulSetStrategy = Kubernetes.IoK8sApiAppsV1RollingUpdateStatefulSetStrategy + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const ControllerRevisionList = Kubernetes.IoK8sApiAppsV1ControllerRevisionList + const ReplicaSetStatus = Kubernetes.IoK8sApiAppsV1ReplicaSetStatus + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const DeploymentCondition = Kubernetes.IoK8sApiAppsV1DeploymentCondition + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const Scale = Kubernetes.IoK8sApiAutoscalingV1Scale + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const StatefulSetList = Kubernetes.IoK8sApiAppsV1StatefulSetList + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const StatefulSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1StatefulSetUpdateStrategy + end + module RbacAuthorizationV1alpha1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const ClusterRoleBindingList = Kubernetes.IoK8sApiRbacV1alpha1ClusterRoleBindingList + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const ClusterRole = Kubernetes.IoK8sApiRbacV1alpha1ClusterRole + const RoleBinding = Kubernetes.IoK8sApiRbacV1alpha1RoleBinding + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const RoleRef = Kubernetes.IoK8sApiRbacV1alpha1RoleRef + const RoleBindingList = Kubernetes.IoK8sApiRbacV1alpha1RoleBindingList + const Role = Kubernetes.IoK8sApiRbacV1alpha1Role + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const Subject = Kubernetes.IoK8sApiRbacV1alpha1Subject + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const ClusterRoleList = Kubernetes.IoK8sApiRbacV1alpha1ClusterRoleList + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const PolicyRule = Kubernetes.IoK8sApiRbacV1alpha1PolicyRule + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const AggregationRule = Kubernetes.IoK8sApiRbacV1alpha1AggregationRule + const ClusterRoleBinding = Kubernetes.IoK8sApiRbacV1alpha1ClusterRoleBinding + const RoleList = Kubernetes.IoK8sApiRbacV1alpha1RoleList + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module DiscoveryV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const EndpointSliceList = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointSliceList + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const EndpointConditions = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointConditions + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const EndpointSlice = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointSlice + const Endpoint = Kubernetes.IoK8sApiDiscoveryV1beta1Endpoint + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const EndpointPort = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointPort + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module AuditregistrationV1alpha1 + using ..Kubernetes + const AuditSinkSpec = Kubernetes.IoK8sApiAuditregistrationV1alpha1AuditSinkSpec + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const AuditSink = Kubernetes.IoK8sApiAuditregistrationV1alpha1AuditSink + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const WebhookClientConfig = Kubernetes.IoK8sApiAuditregistrationV1alpha1WebhookClientConfig + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const AuditSinkList = Kubernetes.IoK8sApiAuditregistrationV1alpha1AuditSinkList + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const Policy = Kubernetes.IoK8sApiAuditregistrationV1alpha1Policy + const Webhook = Kubernetes.IoK8sApiAuditregistrationV1alpha1Webhook + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const WebhookThrottleConfig = Kubernetes.IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig + const ServiceReference = Kubernetes.IoK8sApiAuditregistrationV1alpha1ServiceReference + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module KarpenterShV1alpha5 + using ..Kubernetes + const sh_karpenter_v1alpha5_Provisioner_spec_requirements_inner = Kubernetes.ShKarpenterV1alpha5ProvisionerSpecRequirementsInner + const sh_karpenter_v1alpha5_Provisioner_spec_limits = Kubernetes.ShKarpenterV1alpha5ProvisionerSpecLimits + const sh_karpenter_v1alpha5_Provisioner_spec = Kubernetes.ShKarpenterV1alpha5ProvisionerSpec + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const sh_karpenter_v1alpha5_Provisioner_spec_startupTaints_inner = Kubernetes.ShKarpenterV1alpha5ProvisionerSpecStartupTaintsInner + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const sh_karpenter_v1alpha5_Provisioner_status = Kubernetes.ShKarpenterV1alpha5ProvisionerStatus + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const sh_karpenter_v1alpha5_Provisioner_spec_kubeletConfiguration = Kubernetes.ShKarpenterV1alpha5ProvisionerSpecKubeletConfiguration + const Status_v2 = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusV2 + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const ProvisionerList = Kubernetes.ShKarpenterV1alpha5ProvisionerList + const Provisioner = Kubernetes.ShKarpenterV1alpha5Provisioner + const sh_karpenter_v1alpha5_Provisioner_spec_providerRef = Kubernetes.ShKarpenterV1alpha5ProvisionerSpecProviderRef + const StatusDetails_v2 = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const sh_karpenter_v1alpha5_Provisioner_spec_consolidation = Kubernetes.ShKarpenterV1alpha5ProvisionerSpecConsolidation + const sh_karpenter_v1alpha5_Provisioner_status_conditions_inner = Kubernetes.ShKarpenterV1alpha5ProvisionerStatusConditionsInner + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module NetworkingV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const IngressStatus = Kubernetes.IoK8sApiNetworkingV1beta1IngressStatus + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const IngressTLS = Kubernetes.IoK8sApiNetworkingV1beta1IngressTLS + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const Ingress = Kubernetes.IoK8sApiNetworkingV1beta1Ingress + const LoadBalancerStatus = Kubernetes.IoK8sApiCoreV1LoadBalancerStatus + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const HTTPIngressPath = Kubernetes.IoK8sApiNetworkingV1beta1HTTPIngressPath + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const IngressSpec = Kubernetes.IoK8sApiNetworkingV1beta1IngressSpec + const HTTPIngressRuleValue = Kubernetes.IoK8sApiNetworkingV1beta1HTTPIngressRuleValue + const IngressList = Kubernetes.IoK8sApiNetworkingV1beta1IngressList + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const LoadBalancerIngress = Kubernetes.IoK8sApiCoreV1LoadBalancerIngress + const IngressRule = Kubernetes.IoK8sApiNetworkingV1beta1IngressRule + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const IngressBackend = Kubernetes.IoK8sApiNetworkingV1beta1IngressBackend + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + end + module AdmissionregistrationV1beta1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const ValidatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const ServiceReference = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ServiceReference + const ValidatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const MutatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1beta1MutatingWebhook + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const MutatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList + const RuleWithOperations = Kubernetes.IoK8sApiAdmissionregistrationV1beta1RuleWithOperations + const MutatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const ValidatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const WebhookClientConfig = Kubernetes.IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig + end + module StorageV1 + using ..Kubernetes + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const CSINodeDriver = Kubernetes.IoK8sApiStorageV1CSINodeDriver + const CinderPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CinderPersistentVolumeSource + const ScaleIOPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOPersistentVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const StorageOSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSPersistentVolumeSource + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const TopologySelectorLabelRequirement = Kubernetes.IoK8sApiCoreV1TopologySelectorLabelRequirement + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const TopologySelectorTerm = Kubernetes.IoK8sApiCoreV1TopologySelectorTerm + const VolumeAttachmentStatus = Kubernetes.IoK8sApiStorageV1VolumeAttachmentStatus + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const VolumeError = Kubernetes.IoK8sApiStorageV1VolumeError + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const LocalVolumeSource = Kubernetes.IoK8sApiCoreV1LocalVolumeSource + const VolumeAttachmentSource = Kubernetes.IoK8sApiStorageV1VolumeAttachmentSource + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const CSINodeSpec = Kubernetes.IoK8sApiStorageV1CSINodeSpec + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const StorageClassList = Kubernetes.IoK8sApiStorageV1StorageClassList + const ISCSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIPersistentVolumeSource + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const CephFSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSPersistentVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const PersistentVolumeSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeSpec + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const VolumeNodeResources = Kubernetes.IoK8sApiStorageV1VolumeNodeResources + const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference + const GlusterfsPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsPersistentVolumeSource + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const RBDPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1RBDPersistentVolumeSource + const VolumeNodeAffinity = Kubernetes.IoK8sApiCoreV1VolumeNodeAffinity + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const CSINode = Kubernetes.IoK8sApiStorageV1CSINode + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const FlexPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1FlexPersistentVolumeSource + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const VolumeAttachmentList = Kubernetes.IoK8sApiStorageV1VolumeAttachmentList + const AzureFilePersistentVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFilePersistentVolumeSource + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const SecretReference = Kubernetes.IoK8sApiCoreV1SecretReference + const StorageClass = Kubernetes.IoK8sApiStorageV1StorageClass + const VolumeAttachment = Kubernetes.IoK8sApiStorageV1VolumeAttachment + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const VolumeAttachmentSpec = Kubernetes.IoK8sApiStorageV1VolumeAttachmentSpec + const CSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CSIPersistentVolumeSource + const CSINodeList = Kubernetes.IoK8sApiStorageV1CSINodeList + end + module ExtensionsV1beta1 + using ..Kubernetes + const IngressList = Kubernetes.IoK8sApiExtensionsV1beta1IngressList + const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext + const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities + const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource + const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec + const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector + const Affinity = Kubernetes.IoK8sApiCoreV1Affinity + const ReplicaSetSpec = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetSpec + const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource + const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery + const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate + const ReplicaSet = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSet + const LoadBalancerStatus = Kubernetes.IoK8sApiCoreV1LoadBalancerStatus + const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status + const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource + const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource + const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector + const RollingUpdateDeployment = Kubernetes.IoK8sApiExtensionsV1beta1RollingUpdateDeployment + const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource + const NetworkPolicyPort = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyPort + const IDRange = Kubernetes.IoK8sApiExtensionsV1beta1IDRange + const Volume = Kubernetes.IoK8sApiCoreV1Volume + const ScaleSpec = Kubernetes.IoK8sApiExtensionsV1beta1ScaleSpec + const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource + const LoadBalancerIngress = Kubernetes.IoK8sApiCoreV1LoadBalancerIngress + const DaemonSetStatus = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetStatus + const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar + const Deployment = Kubernetes.IoK8sApiExtensionsV1beta1Deployment + const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement + const NetworkPolicySpec = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicySpec + const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource + const RuntimeClassStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions + const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction + const DaemonSet = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSet + const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm + const DeploymentStatus = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentStatus + const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection + const AllowedHostPath = Kubernetes.IoK8sApiExtensionsV1beta1AllowedHostPath + const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference + const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption + const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity + const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource + const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint + const NetworkPolicy = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicy + const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource + const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource + const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails + const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection + const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath + const DeploymentList = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentList + const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements + const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle + const Handler = Kubernetes.IoK8sApiCoreV1Handler + const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource + const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource + const AllowedFlexVolume = Kubernetes.IoK8sApiExtensionsV1beta1AllowedFlexVolume + const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource + const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource + const NetworkPolicyPeer = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyPeer + const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity + const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource + const IngressRule = Kubernetes.IoK8sApiExtensionsV1beta1IngressRule + const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec + const Scale = Kubernetes.IoK8sApiExtensionsV1beta1Scale + const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource + const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection + const FSGroupStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1FSGroupStrategyOptions + const Probe = Kubernetes.IoK8sApiCoreV1Probe + const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias + const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction + const Toleration = Kubernetes.IoK8sApiCoreV1Toleration + const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity + const HTTPIngressRuleValue = Kubernetes.IoK8sApiExtensionsV1beta1HTTPIngressRuleValue + const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource + const ScaleStatus = Kubernetes.IoK8sApiExtensionsV1beta1ScaleStatus + const PodSecurityPolicy = Kubernetes.IoK8sApiExtensionsV1beta1PodSecurityPolicy + const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent + const ReplicaSetCondition = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetCondition + const ReplicaSetList = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetList + const IngressBackend = Kubernetes.IoK8sApiExtensionsV1beta1IngressBackend + const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl + const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource + const IngressSpec = Kubernetes.IoK8sApiExtensionsV1beta1IngressSpec + const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort + const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer + const DaemonSetSpec = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetSpec + const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions + const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta + const Ingress = Kubernetes.IoK8sApiExtensionsV1beta1Ingress + const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm + const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions + const IngressStatus = Kubernetes.IoK8sApiExtensionsV1beta1IngressStatus + const SupplementalGroupsStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions + const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource + const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry + const NetworkPolicyList = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyList + const IngressTLS = Kubernetes.IoK8sApiExtensionsV1beta1IngressTLS + const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector + const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext + const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile + const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource + const RunAsGroupStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions + const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector + const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource + const AllowedCSIDriver = Kubernetes.IoK8sApiExtensionsV1beta1AllowedCSIDriver + const PodSecurityPolicySpec = Kubernetes.IoK8sApiExtensionsV1beta1PodSecurityPolicySpec + const ReplicaSetStatus = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetStatus + const RunAsUserStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions + const NetworkPolicyEgressRule = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule + const IPBlock = Kubernetes.IoK8sApiExtensionsV1beta1IPBlock + const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource + const DeploymentSpec = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentSpec + const SELinuxStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1SELinuxStrategyOptions + const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource + const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList + const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement + const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference + const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection + const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource + const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource + const NetworkPolicyIngressRule = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule + const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm + const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta + const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig + const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource + const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup + const RollingUpdateDaemonSet = Kubernetes.IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet + const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader + const DaemonSetList = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetList + const DeploymentCondition = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentCondition + const HostPortRange = Kubernetes.IoK8sApiExtensionsV1beta1HostPortRange + const DaemonSetCondition = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetCondition + const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector + const DeploymentStrategy = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentStrategy + const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource + const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource + const HTTPIngressPath = Kubernetes.IoK8sApiExtensionsV1beta1HTTPIngressPath + const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource + const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource + const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList + const DaemonSetUpdateStrategy = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy + const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource + const PodSecurityPolicyList = Kubernetes.IoK8sApiExtensionsV1beta1PodSecurityPolicyList + const RollbackConfig = Kubernetes.IoK8sApiExtensionsV1beta1RollbackConfig + const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause + const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource + const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm + const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection + const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR + const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice + const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount + const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction + const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector + const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource + const Container = Kubernetes.IoK8sApiCoreV1Container + end +end diff --git a/src/ApiImpl/api_versions.jl b/src/ApiImpl/api_versions.jl new file mode 100644 index 00000000..b89b23e6 --- /dev/null +++ b/src/ApiImpl/api_versions.jl @@ -0,0 +1,2516 @@ +const APIVersionMap = Dict( + "settings.k8s.io/v1alpha1" => "SettingsV1alpha1Api", + "networking.k8s.io/v1" => "NetworkingV1Api", + "apiextensions.k8s.io/v1beta1" => "ApiextensionsV1beta1Api", + "apps/v1beta2" => "AppsV1beta2Api", + "scheduling.k8s.io/v1" => "SchedulingV1Api", + "rbac.authorization.k8s.io/v1" => "RbacAuthorizationV1Api", + "apiextensions.k8s.io/v1" => "ApiextensionsV1Api", + "scheduling.k8s.io/v1beta1" => "SchedulingV1beta1Api", + "batch/v2alpha1" => "BatchV2alpha1Api", + "apps/v1beta1" => "AppsV1beta1Api", + "discovery.k8s.io/v1beta1" => "DiscoveryV1beta1Api", + "storage.k8s.io/v1beta1" => "StorageV1beta1Api", + "authorization.k8s.io/v1beta1" => "AuthorizationV1beta1Api", + "autoscaling/v1" => "AutoscalingV1Api", + "coordination.k8s.io/v1beta1" => "CoordinationV1beta1Api", + "v1" => "CoreV1Api", + "autoscaling/v2beta2" => "AutoscalingV2beta2Api", + "authentication.k8s.io/v1" => "AuthenticationV1Api", + "apps/v1" => "AppsV1Api", + "rbac.authorization.k8s.io/v1alpha1" => "RbacAuthorizationV1alpha1Api", + "admissionregistration.k8s.io/v1beta1" => "AdmissionregistrationV1beta1Api", + "apiregistration.k8s.io/v1beta1" => "ApiregistrationV1beta1Api", + "events.k8s.io/v1beta1" => "EventsV1beta1Api", + "auditregistration.k8s.io/v1alpha1" => "AuditregistrationV1alpha1Api", + "karpenter.sh/v1alpha5" => "KarpenterShV1alpha5Api", + "node.k8s.io/v1alpha1" => "NodeV1alpha1Api", + "policy/v1beta1" => "PolicyV1beta1Api", + "storage.k8s.io/v1alpha1" => "StorageV1alpha1Api", + "storage.k8s.io/v1" => "StorageV1Api", + "autoscaling/v2beta1" => "AutoscalingV2beta1Api", + "metrics.k8s.io/v1beta1" => "MetricsV1beta1Api", + "authentication.k8s.io/v1beta1" => "AuthenticationV1beta1Api", + "rbac.authorization.k8s.io/v1beta1" => "RbacAuthorizationV1beta1Api", + "admissionregistration.k8s.io/v1" => "AdmissionregistrationV1Api", + "batch/v1" => "BatchV1Api", + "scheduling.k8s.io/v1alpha1" => "SchedulingV1alpha1Api", + "batch/v1beta1" => "BatchV1beta1Api", + "flowcontrol.apiserver.k8s.io/v1alpha1" => "FlowcontrolApiserverV1alpha1Api", + "authorization.k8s.io/v1" => "AuthorizationV1Api", + "extensions/v1beta1" => "ExtensionsV1beta1Api", + "apis" => "ApisApi", + "coordination.k8s.io/v1" => "CoordinationV1Api", + "apiregistration.k8s.io/v1" => "ApiregistrationV1Api", + "certificates.k8s.io/v1beta1" => "CertificatesV1beta1Api", + "node.k8s.io/v1beta1" => "NodeV1beta1Api", + "custom.metrics.k8s.io/v1beta1" => "CustomMetricsV1beta1Api", + "networking.k8s.io/v1beta1" => "NetworkingV1beta1Api", +) + +# patch_namespaced_limit_range +patch_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_patch_namespaced_pod_proxy_with_path +connect_patch_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_patch_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_replication_controller +delete_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_pod_disruption_budget_status +patch_namespaced_pod_disruption_budget_status(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.patch_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# connect_patch_namespaced_pod_proxy +connect_patch_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_patch_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_stateful_set +watch_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# delete_collection_priority_level_configuration +delete_collection_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.delete_flowcontrol_apiserver_v1alpha1_collection_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# replace_namespaced_event +replace_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +replace_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.replace_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# watch_a_p_i_service +watch_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.watch_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +watch_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.watch_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# list_persistent_volume +list_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_lease +patch_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.patch_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +patch_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.patch_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# replace_c_s_i_node +replace_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.replace_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +replace_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.replace_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# connect_head_node_proxy +connect_head_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_head_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_pod_template +delete_collection_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_pod_disruption_budget +patch_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.patch_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_replication_controller +delete_collection_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_event +watch_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +watch_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.watch_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# read_namespaced_role +read_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +read_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +read_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# read_namespaced_role_binding +read_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +read_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +read_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# replace_node_status +replace_node_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_node_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_replica_set_list +watch_namespaced_replica_set_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_replica_set_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_replica_set_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_replica_set_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_namespaced_replica_set_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_replica_set_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_role_binding +watch_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# delete_mutating_webhook_configuration +delete_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +delete_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# read_persistent_volume +read_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_service_account +delete_collection_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_flow_schema_status +patch_flow_schema_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.patch_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# watch_c_s_i_driver +watch_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# list_namespaced_config_map +list_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_job +delete_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.delete_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# list_lease_for_all_namespaces +list_lease_for_all_namespaces(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.list_coordination_v1_lease_for_all_namespaces(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +list_lease_for_all_namespaces(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.list_coordination_v1beta1_lease_for_all_namespaces(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# read_namespaced_ingress_status +read_namespaced_ingress_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_ingress_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +read_namespaced_ingress_status(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.read_networking_v1beta1_namespaced_ingress_status(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# read_priority_level_configuration_status +read_priority_level_configuration_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.read_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# delete_collection_a_p_i_service +delete_collection_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.delete_apiregistration_v1_collection_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +delete_collection_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.delete_apiregistration_v1beta1_collection_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# watch_pod_preset_list_for_all_namespaces +watch_pod_preset_list_for_all_namespaces(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.watch_settings_v1alpha1_pod_preset_list_for_all_namespaces(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# create_namespaced_horizontal_pod_autoscaler +create_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +create_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +create_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# connect_head_namespaced_pod_proxy_with_path +connect_head_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_head_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_pod_disruption_budget_for_all_namespaces +list_pod_disruption_budget_for_all_namespaces(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# list_namespaced_endpoints +list_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_get_node_proxy_with_path +connect_get_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_limit_range_list_for_all_namespaces +watch_limit_range_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_limit_range_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_pod_metrics +list_pod_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) = Kubernetes.list_metrics_v1beta1_pod_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) + +# watch_namespaced_endpoints_list +watch_namespaced_endpoints_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_endpoints_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_endpoint_slice_list_for_all_namespaces +watch_endpoint_slice_list_for_all_namespaces(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# create_namespaced_limit_range +create_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_limit_range_for_all_namespaces +list_limit_range_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_limit_range_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_certificate_signing_request +list_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.list_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# connect_head_node_proxy_with_path +connect_head_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_head_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_stateful_set_list_for_all_namespaces +watch_stateful_set_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_stateful_set_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_stateful_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_stateful_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_stateful_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_stateful_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# replace_namespaced_network_policy +replace_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +replace_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.replace_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# list_volume_attachment +list_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.list_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +list_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.list_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +list_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.list_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# replace_custom_resource_definition +replace_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.replace_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +replace_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_replica_set +watch_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# list_namespaced_deployment +list_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.list_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +list_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +list_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# list_storage_class +list_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.list_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +list_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.list_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# read_namespaced_horizontal_pod_autoscaler_status +read_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.read_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +read_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +read_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# patch_flow_schema +patch_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.patch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# replace_volume_attachment_status +replace_volume_attachment_status(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.replace_storage_v1_volume_attachment_status(_api::Kubernetes.StorageV1Api, args...; kwargs...) + +# read_validating_webhook_configuration +read_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.read_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +read_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.read_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# watch_namespaced_service_account +watch_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_priority_class +create_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.create_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +create_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.create_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +create_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.create_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# patch_volume_attachment_status +patch_volume_attachment_status(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.patch_storage_v1_volume_attachment_status(_api::Kubernetes.StorageV1Api, args...; kwargs...) + +# delete_collection_mutating_webhook_configuration +delete_collection_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1_collection_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +delete_collection_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# read_namespaced_resource_quota +read_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_stateful_set_status +replace_namespaced_stateful_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_stateful_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# watch_event_list_for_all_namespaces +watch_event_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_event_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) +watch_event_list_for_all_namespaces(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.watch_events_v1beta1_event_list_for_all_namespaces(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# patch_persistent_volume_status +patch_persistent_volume_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_persistent_volume_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_pod_template +replace_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_endpoint_slice_list +watch_namespaced_endpoint_slice_list(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.watch_discovery_v1beta1_namespaced_endpoint_slice_list(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# list_provisioner +list_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.list_karpenter_sh_v1alpha5_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# list_namespaced_pod_template +list_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_horizontal_pod_autoscaler +replace_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +replace_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +replace_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# delete_namespaced_stateful_set +delete_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +delete_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# list_replica_set_for_all_namespaces +list_replica_set_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_replica_set_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_replica_set_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_replica_set_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +list_replica_set_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_replica_set_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# create_pod_security_policy +create_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +create_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.create_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# read_namespaced_endpoint_slice +read_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.read_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# delete_namespaced_service +delete_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_replica_set +patch_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_namespaced_stateful_set_scale +replace_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# connect_get_namespaced_pod_proxy +connect_get_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_get_namespaced_pod_proxy_with_path +connect_get_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_provisioner +delete_collection_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.delete_karpenter_sh_v1alpha5_collection_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# patch_namespaced_role_binding +patch_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +patch_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +patch_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_custom_resource_definition_list +watch_custom_resource_definition_list(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.watch_apiextensions_v1_custom_resource_definition_list(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +watch_custom_resource_definition_list(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apiextensions_v1beta1_custom_resource_definition_list(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# read_namespaced_replication_controller_scale +read_namespaced_replication_controller_scale(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_replication_controller_scale(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_horizontal_pod_autoscaler +delete_collection_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +delete_collection_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +delete_collection_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# watch_c_s_i_node_list +watch_c_s_i_node_list(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.watch_storage_v1_c_s_i_node_list(_api::Kubernetes.StorageV1Api, args...; kwargs...) +watch_c_s_i_node_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_c_s_i_node_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# create_namespace +create_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_provisioner_status +replace_provisioner_status(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.replace_karpenter_sh_v1alpha5_provisioner_status(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# create_validating_webhook_configuration +create_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.create_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +create_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.create_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# connect_patch_node_proxy +connect_patch_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_patch_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_pod_disruption_budget_status +replace_namespaced_pod_disruption_budget_status(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.replace_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# watch_deployment_list_for_all_namespaces +watch_deployment_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_deployment_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_deployment_list_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_deployment_list_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_deployment_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_deployment_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_deployment_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_deployment_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# connect_delete_namespaced_service_proxy_with_path +connect_delete_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_delete_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_get_node_proxy +connect_get_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_get_namespaced_service_proxy_with_path +connect_get_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_a_p_i_service +delete_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.delete_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +delete_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.delete_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# watch_config_map_list_for_all_namespaces +watch_config_map_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_config_map_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_provisioner +replace_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.replace_karpenter_sh_v1alpha5_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# delete_collection_namespaced_role +delete_collection_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_collection_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_collection_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_collection_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_collection_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_collection_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_certificate_signing_request_list +watch_certificate_signing_request_list(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.watch_certificates_v1beta1_certificate_signing_request_list(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# list_role_binding_for_all_namespaces +list_role_binding_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1_role_binding_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +list_role_binding_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +list_role_binding_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_namespaced_secret_list +watch_namespaced_secret_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_secret_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_replication_controller_scale +patch_namespaced_replication_controller_scale(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_replication_controller_scale(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_a_p_i_service +create_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.create_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +create_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.create_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# create_namespaced_persistent_volume_claim +create_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_pod_for_all_namespaces +list_pod_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_pod_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_certificate_signing_request +create_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.create_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# replace_namespaced_replication_controller +replace_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_node_metrics +list_node_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) = Kubernetes.list_metrics_v1beta1_node_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) + +# delete_collection_node +delete_collection_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_pod +patch_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_replica_set +read_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# delete_volume_attachment +delete_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.delete_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +delete_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.delete_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +delete_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# watch_controller_revision_list_for_all_namespaces +watch_controller_revision_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_controller_revision_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_controller_revision_list_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_controller_revision_list_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_controller_revision_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_controller_revision_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# watch_namespaced_endpoints +watch_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_custom_resource_definition_status +patch_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.patch_apiextensions_v1_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +patch_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apiextensions_v1beta1_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# delete_namespaced_deployment +delete_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +delete_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +delete_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_limit_range_list +watch_namespaced_limit_range_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_limit_range_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_cluster_role_list +watch_cluster_role_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_cluster_role_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_cluster_role_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_cluster_role_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_cluster_role_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_cluster_role_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_replica_set +delete_collection_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_collection_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_collection_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_collection_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +delete_collection_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_collection_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_namespaced_persistent_volume_claim_status +patch_namespaced_persistent_volume_claim_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_persistent_volume_claim_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_network_policy +create_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +create_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.create_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# read_namespace +read_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_custom_resource_definition_status +read_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.read_apiextensions_v1_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +read_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_apiextensions_v1beta1_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# watch_priority_class +watch_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.watch_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +watch_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.watch_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +watch_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.watch_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_cron_job +delete_collection_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.delete_batch_v1_collection_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +delete_collection_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.delete_batch_v1beta1_collection_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +delete_collection_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.delete_batch_v2alpha1_collection_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# read_namespaced_pod +read_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_validating_webhook_configuration_list +watch_validating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1_validating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +watch_validating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1beta1_validating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# create_namespaced_local_subject_access_review +create_namespaced_local_subject_access_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) = Kubernetes.create_authorization_v1_namespaced_local_subject_access_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) +create_namespaced_local_subject_access_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_authorization_v1beta1_namespaced_local_subject_access_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) + +# list_job_for_all_namespaces +list_job_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.list_batch_v1_job_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# watch_network_policy_list_for_all_namespaces +watch_network_policy_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_network_policy_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_network_policy_list_for_all_namespaces(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.watch_networking_v1_network_policy_list_for_all_namespaces(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# delete_cluster_role_binding +delete_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_namespaced_stateful_set_list +watch_namespaced_stateful_set_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_stateful_set_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_stateful_set_list(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_namespaced_stateful_set_list(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_namespaced_stateful_set_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_stateful_set_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# patch_namespaced_job_status +patch_namespaced_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.patch_batch_v1_namespaced_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# patch_namespaced_service_account +patch_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_role +watch_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# create_namespaced_service_account_token +create_namespaced_service_account_token(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_service_account_token(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_cluster_role +patch_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +patch_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +patch_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_namespaced_job_list +watch_namespaced_job_list(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.watch_batch_v1_namespaced_job_list(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# watch_namespaced_service_account_list +watch_namespaced_service_account_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_service_account_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_lease +delete_collection_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.delete_coordination_v1_collection_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +delete_collection_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.delete_coordination_v1beta1_collection_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# create_namespaced_service +create_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_node +replace_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_daemon_set_list +watch_namespaced_daemon_set_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_daemon_set_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_daemon_set_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_daemon_set_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_namespaced_daemon_set_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_daemon_set_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_cluster_role_binding +patch_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +patch_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +patch_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# create_volume_attachment +create_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.create_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +create_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.create_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +create_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.create_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# patch_namespaced_endpoint_slice +patch_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.patch_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# patch_namespaced_config_map +patch_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_cron_job_status +replace_namespaced_cron_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.replace_batch_v1_namespaced_cron_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) +replace_namespaced_cron_job_status(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.replace_batch_v1beta1_namespaced_cron_job_status(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +replace_namespaced_cron_job_status(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.replace_batch_v2alpha1_namespaced_cron_job_status(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# read_namespaced_deployment_scale +read_namespaced_deployment_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_deployment_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_deployment_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_deployment_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# connect_get_namespaced_pod_portforward +connect_get_namespaced_pod_portforward(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_pod_portforward(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_pod_template +read_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_endpoints +create_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_cluster_role +delete_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# list_cron_job_for_all_namespaces +list_cron_job_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.list_batch_v1_cron_job_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) +list_cron_job_for_all_namespaces(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.list_batch_v1beta1_cron_job_for_all_namespaces(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +list_cron_job_for_all_namespaces(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.list_batch_v2alpha1_cron_job_for_all_namespaces(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# replace_pod_security_policy +replace_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +replace_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.replace_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# delete_collection_certificate_signing_request +delete_collection_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.delete_certificates_v1beta1_collection_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# read_c_s_i_node +read_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.read_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +read_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.read_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# patch_namespaced_pod_preset +patch_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.patch_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# replace_namespaced_daemon_set +replace_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_service +watch_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_validating_webhook_configuration +list_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.list_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +list_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.list_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# patch_namespaced_event +patch_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +patch_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.patch_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# replace_priority_level_configuration_status +replace_priority_level_configuration_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# read_namespaced_replica_set_scale +read_namespaced_replica_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_replica_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_replica_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_replica_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_replica_set_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_replica_set_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# connect_put_node_proxy_with_path +connect_put_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_put_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_daemon_set +delete_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +delete_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_horizontal_pod_autoscaler_list_for_all_namespaces +watch_horizontal_pod_autoscaler_list_for_all_namespaces(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +watch_horizontal_pod_autoscaler_list_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v2beta1_horizontal_pod_autoscaler_list_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +watch_horizontal_pod_autoscaler_list_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v2beta2_horizontal_pod_autoscaler_list_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# list_namespaced_replication_controller +list_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_node_status +read_node_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_node_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_pod_status +patch_namespaced_pod_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_pod_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_service +read_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_limit_range +replace_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_pod_preset +replace_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.replace_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# read_a_p_i_service_status +read_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.read_apiregistration_v1_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +read_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.read_apiregistration_v1beta1_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# list_namespaced_secret +list_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_event +create_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +create_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.create_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# delete_namespaced_endpoints +delete_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_pod_security_policy +delete_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +delete_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.delete_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# read_namespaced_deployment +read_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_namespaced_replication_controller_status +replace_namespaced_replication_controller_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_replication_controller_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_custom_resource_definition +create_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.create_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +create_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_network_policy +delete_collection_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_collection_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +delete_collection_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.delete_networking_v1_collection_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# read_runtime_class +read_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.read_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +read_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.read_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# patch_namespaced_secret +patch_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_replication_controller_list_for_all_namespaces +watch_replication_controller_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_replication_controller_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_network_policy_for_all_namespaces +list_network_policy_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_network_policy_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +list_network_policy_for_all_namespaces(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.list_networking_v1_network_policy_for_all_namespaces(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# read_persistent_volume_status +read_persistent_volume_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_persistent_volume_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_delete_namespaced_pod_proxy +connect_delete_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_delete_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_post_namespaced_service_proxy_with_path +connect_post_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_options_node_proxy_with_path +connect_options_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_options_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_pod_template +watch_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_replication_controller +create_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_secret_list_for_all_namespaces +watch_secret_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_secret_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_stateful_set_scale +read_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# create_namespaced_daemon_set +create_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.create_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +create_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.create_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +create_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# delete_namespaced_controller_revision +delete_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +delete_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# connect_head_namespaced_pod_proxy +connect_head_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_head_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_pod +delete_collection_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_flow_schema +delete_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.delete_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# connect_post_namespaced_pod_proxy_with_path +connect_post_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_delete_namespaced_pod_proxy_with_path +connect_delete_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_delete_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_horizontal_pod_autoscaler_for_all_namespaces +list_horizontal_pod_autoscaler_for_all_namespaces(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +list_horizontal_pod_autoscaler_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +list_horizontal_pod_autoscaler_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# connect_post_node_proxy_with_path +connect_post_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_namespaced_job +list_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.list_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# read_namespaced_controller_revision +read_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# get_a_p_i_versions +get_a_p_i_versions(_api::Kubernetes.ApisApi, args...; kwargs...) = Kubernetes.get_a_p_i_versions(_api::Kubernetes.ApisApi, args...; kwargs...) + +# read_namespaced_event +read_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +read_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.read_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# list_ingress_for_all_namespaces +list_ingress_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_ingress_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +list_ingress_for_all_namespaces(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.list_networking_v1beta1_ingress_for_all_namespaces(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# watch_namespaced_lease_list +watch_namespaced_lease_list(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.watch_coordination_v1_namespaced_lease_list(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +watch_namespaced_lease_list(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.watch_coordination_v1beta1_namespaced_lease_list(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# patch_certificate_signing_request_status +patch_certificate_signing_request_status(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.patch_certificates_v1beta1_certificate_signing_request_status(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# watch_namespaced_pod_list +watch_namespaced_pod_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_pod_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_options_namespaced_service_proxy_with_path +connect_options_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_options_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_endpoint_slice +create_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.create_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# delete_priority_class +delete_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.delete_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +delete_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.delete_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +delete_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.delete_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# list_mutating_webhook_configuration +list_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.list_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +list_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.list_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_controller_revision +delete_collection_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_collection_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_collection_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta1_collection_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +delete_collection_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_collection_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# patch_custom_resource_definition +patch_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.patch_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +patch_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# connect_options_namespaced_pod_proxy +connect_options_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_options_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_pod_disruption_budget_list +watch_namespaced_pod_disruption_budget_list(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.watch_policy_v1beta1_namespaced_pod_disruption_budget_list(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# patch_audit_sink +patch_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.patch_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# replace_persistent_volume_status +replace_persistent_volume_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_persistent_volume_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_controller_revision +watch_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# connect_options_namespaced_service_proxy +connect_options_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_options_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_deployment_status +replace_namespaced_deployment_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_deployment_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_deployment_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_deployment_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_deployment_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_deployment_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_deployment_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_deployment_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# create_namespaced_pod_template +create_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_pod_security_policy +delete_collection_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_collection_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +delete_collection_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.delete_policy_v1beta1_collection_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# list_persistent_volume_claim_for_all_namespaces +list_persistent_volume_claim_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_persistent_volume_claim_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_flow_schema_list +watch_flow_schema_list(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.watch_flowcontrol_apiserver_v1alpha1_flow_schema_list(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# list_namespaced_role_binding +list_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +list_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +list_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_storage_class +watch_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.watch_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +watch_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# watch_namespaced_event_list +watch_namespaced_event_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_event_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) +watch_namespaced_event_list(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.watch_events_v1beta1_namespaced_event_list(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# watch_persistent_volume +watch_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_replication_controller_status +read_namespaced_replication_controller_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_replication_controller_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_certificate_signing_request +delete_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.delete_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# patch_a_p_i_service_status +patch_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.patch_apiregistration_v1_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +patch_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.patch_apiregistration_v1beta1_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# connect_delete_node_proxy_with_path +connect_delete_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_delete_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespace_status +replace_namespace_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespace_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_cron_job +read_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.read_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +read_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.read_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +read_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.read_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# replace_namespaced_pod +replace_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_post_namespaced_pod_attach +connect_post_namespaced_pod_attach(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_pod_attach(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_cluster_role_binding +delete_collection_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_collection_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_collection_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_collection_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_collection_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_c_s_i_node +watch_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.watch_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +watch_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# create_namespaced_controller_revision +create_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.create_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +create_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.create_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +create_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.create_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# watch_namespaced_controller_revision_list +watch_namespaced_controller_revision_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_controller_revision_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_controller_revision_list(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_namespaced_controller_revision_list(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_namespaced_controller_revision_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_controller_revision_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# list_namespace +list_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_namespaced_pod_disruption_budget +list_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.list_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# delete_collection_storage_class +delete_collection_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.delete_storage_v1_collection_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +delete_collection_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_collection_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# delete_c_s_i_driver +delete_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# watch_namespaced_limit_range +watch_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_options_namespaced_pod_proxy_with_path +connect_options_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_options_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_cluster_role +delete_collection_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_collection_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_collection_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_collection_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_collection_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_collection_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# replace_namespaced_stateful_set +replace_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# replace_namespaced_pod_status +replace_namespaced_pod_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_pod_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_custom_resource_definition_status +replace_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.replace_apiextensions_v1_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +replace_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apiextensions_v1beta1_custom_resource_definition_status(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_daemon_set +watch_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# connect_post_namespaced_service_proxy +connect_post_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_replica_set_status +patch_namespaced_replica_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_replica_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_replica_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_replica_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_replica_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_replica_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_namespaced_pod_template +patch_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_a_p_i_service_status +replace_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.replace_apiregistration_v1_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +replace_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.replace_apiregistration_v1beta1_a_p_i_service_status(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# list_pod_security_policy +list_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +list_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.list_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# create_namespaced_lease +create_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.create_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +create_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.create_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# patch_namespaced_stateful_set_status +patch_namespaced_stateful_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_stateful_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# read_namespaced_pod_status +read_namespaced_pod_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_pod_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_network_policy +watch_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.watch_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# read_namespaced_daemon_set +read_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# get_a_p_i_resources +get_a_p_i_resources(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.get_admissionregistration_v1_a_p_i_resources(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.get_admissionregistration_v1beta1_a_p_i_resources(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.get_apiextensions_v1_a_p_i_resources(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.get_apiextensions_v1beta1_a_p_i_resources(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.get_apiregistration_v1_a_p_i_resources(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.get_apiregistration_v1beta1_a_p_i_resources(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.get_apps_v1_a_p_i_resources(_api::Kubernetes.AppsV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.get_apps_v1beta1_a_p_i_resources(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.get_apps_v1beta2_a_p_i_resources(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.get_auditregistration_v1alpha1_a_p_i_resources(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AuthenticationV1Api, args...; kwargs...) = Kubernetes.get_authentication_v1_a_p_i_resources(_api::Kubernetes.AuthenticationV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AuthenticationV1beta1Api, args...; kwargs...) = Kubernetes.get_authentication_v1beta1_a_p_i_resources(_api::Kubernetes.AuthenticationV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) = Kubernetes.get_authorization_v1_a_p_i_resources(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.get_authorization_v1beta1_a_p_i_resources(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.get_autoscaling_v1_a_p_i_resources(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.get_autoscaling_v2beta1_a_p_i_resources(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.get_autoscaling_v2beta2_a_p_i_resources(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.get_batch_v1_a_p_i_resources(_api::Kubernetes.BatchV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.get_batch_v1beta1_a_p_i_resources(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.get_batch_v2alpha1_a_p_i_resources(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.get_certificates_v1beta1_a_p_i_resources(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.get_coordination_v1_a_p_i_resources(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.get_coordination_v1beta1_a_p_i_resources(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.get_core_v1_a_p_i_resources(_api::Kubernetes.CoreV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.get_discovery_v1beta1_a_p_i_resources(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.get_events_v1beta1_a_p_i_resources(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.get_extensions_v1beta1_a_p_i_resources(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.get_flowcontrol_apiserver_v1alpha1_a_p_i_resources(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.get_networking_v1_a_p_i_resources(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.get_networking_v1beta1_a_p_i_resources(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.get_node_v1alpha1_a_p_i_resources(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.get_node_v1beta1_a_p_i_resources(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.get_policy_v1beta1_a_p_i_resources(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.get_rbac_authorization_v1_a_p_i_resources(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.get_rbac_authorization_v1alpha1_a_p_i_resources(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.get_rbac_authorization_v1beta1_a_p_i_resources(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.get_scheduling_v1_a_p_i_resources(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.get_scheduling_v1alpha1_a_p_i_resources(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.get_scheduling_v1beta1_a_p_i_resources(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.get_settings_v1alpha1_a_p_i_resources(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.get_storage_v1_a_p_i_resources(_api::Kubernetes.StorageV1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.get_storage_v1alpha1_a_p_i_resources(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +get_a_p_i_resources(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.get_storage_v1beta1_a_p_i_resources(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# patch_namespaced_job +patch_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.patch_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# read_namespaced_config_map +read_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_cron_job_status +read_namespaced_cron_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.read_batch_v1_namespaced_cron_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) +read_namespaced_cron_job_status(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.read_batch_v1beta1_namespaced_cron_job_status(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +read_namespaced_cron_job_status(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.read_batch_v2alpha1_namespaced_cron_job_status(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# patch_node_status +patch_node_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_node_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_config_map +create_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_namespaced_service_account +list_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_replica_set_status +replace_namespaced_replica_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_replica_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_replica_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_replica_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_replica_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_replica_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_endpoint_slice +delete_collection_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.delete_discovery_v1beta1_collection_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# create_persistent_volume +create_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_job_status +replace_namespaced_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.replace_batch_v1_namespaced_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# read_namespaced_pod_metrics +read_namespaced_pod_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) = Kubernetes.read_metrics_v1beta1_namespaced_pod_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) + +# read_cluster_role +read_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +read_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +read_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# patch_runtime_class +patch_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.patch_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +patch_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.patch_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# replace_namespaced_secret +replace_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_secret +delete_collection_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_stateful_set_for_all_namespaces +list_stateful_set_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_stateful_set_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_stateful_set_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.list_apps_v1beta1_stateful_set_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +list_stateful_set_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_stateful_set_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# patch_namespaced_cron_job_status +patch_namespaced_cron_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.patch_batch_v1_namespaced_cron_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) +patch_namespaced_cron_job_status(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.patch_batch_v1beta1_namespaced_cron_job_status(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +patch_namespaced_cron_job_status(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.patch_batch_v2alpha1_namespaced_cron_job_status(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# replace_cluster_role_binding +replace_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +replace_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +replace_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_namespaced_pod_preset +watch_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.watch_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# watch_namespaced_lease +watch_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.watch_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +watch_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.watch_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# replace_namespaced_controller_revision +replace_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# patch_namespaced_resource_quota_status +patch_namespaced_resource_quota_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_resource_quota_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_endpoints_list_for_all_namespaces +watch_endpoints_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_endpoints_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_patch_namespaced_service_proxy +connect_patch_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_patch_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_service_account +read_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_ingress +watch_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.watch_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# watch_c_s_i_driver_list +watch_c_s_i_driver_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_c_s_i_driver_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# read_component_status +read_component_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_component_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_deployment +replace_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_service_list +watch_namespaced_service_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_service_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_resource_quota_status +replace_namespaced_resource_quota_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_resource_quota_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_config_map +replace_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_volume_attachment_list +watch_volume_attachment_list(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.watch_storage_v1_volume_attachment_list(_api::Kubernetes.StorageV1Api, args...; kwargs...) +watch_volume_attachment_list(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.watch_storage_v1alpha1_volume_attachment_list(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +watch_volume_attachment_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_volume_attachment_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# read_namespaced_secret +read_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_node +read_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_token_review +create_token_review(_api::Kubernetes.AuthenticationV1Api, args...; kwargs...) = Kubernetes.create_authentication_v1_token_review(_api::Kubernetes.AuthenticationV1Api, args...; kwargs...) +create_token_review(_api::Kubernetes.AuthenticationV1beta1Api, args...; kwargs...) = Kubernetes.create_authentication_v1beta1_token_review(_api::Kubernetes.AuthenticationV1beta1Api, args...; kwargs...) + +# watch_validating_webhook_configuration +watch_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +watch_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# create_namespaced_ingress +create_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +create_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.create_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# patch_namespaced_ingress_status +patch_namespaced_ingress_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_ingress_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +patch_namespaced_ingress_status(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.patch_networking_v1beta1_namespaced_ingress_status(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# watch_priority_level_configuration +watch_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# read_cluster_role_binding +read_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +read_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +read_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.read_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# replace_cluster_role +replace_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +replace_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +replace_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# delete_namespaced_secret +delete_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_provisioner +patch_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.patch_karpenter_sh_v1alpha5_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# delete_collection_priority_class +delete_collection_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.delete_scheduling_v1_collection_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +delete_collection_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.delete_scheduling_v1alpha1_collection_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +delete_collection_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.delete_scheduling_v1beta1_collection_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# create_cluster_role +create_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +create_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +create_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_role_binding_list_for_all_namespaces +watch_role_binding_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_role_binding_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_role_binding_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_role_binding_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_role_binding_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_role_binding_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_pod_preset +delete_collection_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.delete_settings_v1alpha1_collection_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# read_namespaced_replication_controller +read_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_priority_level_configuration +list_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.list_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# delete_namespaced_event +delete_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +delete_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.delete_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_endpoints +delete_collection_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_cron_job +delete_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.delete_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +delete_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.delete_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +delete_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.delete_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# list_namespaced_lease +list_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.list_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +list_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.list_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# watch_runtime_class_list +watch_runtime_class_list(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.watch_node_v1alpha1_runtime_class_list(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +watch_runtime_class_list(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.watch_node_v1beta1_runtime_class_list(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# replace_namespaced_role +replace_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +replace_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +replace_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_replica_set_list_for_all_namespaces +watch_replica_set_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_replica_set_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_replica_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_replica_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_replica_set_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_replica_set_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_storage_class +patch_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.patch_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +patch_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.patch_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# watch_pod_disruption_budget_list_for_all_namespaces +watch_pod_disruption_budget_list_for_all_namespaces(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.watch_policy_v1beta1_pod_disruption_budget_list_for_all_namespaces(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# delete_namespaced_role +delete_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# patch_namespaced_horizontal_pod_autoscaler +patch_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +patch_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +patch_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# watch_namespace +watch_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_cluster_role_binding +watch_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# delete_namespaced_replica_set +delete_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +delete_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# list_replication_controller_for_all_namespaces +list_replication_controller_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_replication_controller_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_provisioner +read_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.read_karpenter_sh_v1alpha5_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# delete_collection_flow_schema +delete_collection_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.delete_flowcontrol_apiserver_v1alpha1_collection_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# connect_put_namespaced_pod_proxy +connect_put_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_put_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_post_namespaced_pod_exec +connect_post_namespaced_pod_exec(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_pod_exec(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_config_map +watch_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_network_policy +patch_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +patch_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.patch_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# read_flow_schema +read_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.read_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# list_deployment_for_all_namespaces +list_deployment_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_deployment_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_deployment_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.list_apps_v1beta1_deployment_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +list_deployment_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_deployment_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +list_deployment_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_deployment_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# connect_put_namespaced_service_proxy +connect_put_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_put_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_ingress_status +replace_namespaced_ingress_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_ingress_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +replace_namespaced_ingress_status(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.replace_networking_v1beta1_namespaced_ingress_status(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# delete_collection_custom_resource_definition +delete_collection_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.delete_apiextensions_v1_collection_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +delete_collection_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apiextensions_v1beta1_collection_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# list_namespaced_replica_set +list_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +list_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# list_daemon_set_for_all_namespaces +list_daemon_set_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_daemon_set_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_daemon_set_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_daemon_set_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +list_daemon_set_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_daemon_set_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_cluster_role +watch_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# patch_volume_attachment +patch_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.patch_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +patch_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.patch_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +patch_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.patch_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# delete_audit_sink +delete_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# read_namespaced_persistent_volume_claim_status +read_namespaced_persistent_volume_claim_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_persistent_volume_claim_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_mutating_webhook_configuration_list +watch_mutating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1_mutating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +watch_mutating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1beta1_mutating_webhook_configuration_list(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# create_provisioner +create_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.create_karpenter_sh_v1alpha5_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# read_namespaced_horizontal_pod_autoscaler +read_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.read_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +read_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.read_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +read_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.read_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# connect_head_namespaced_service_proxy_with_path +connect_head_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_head_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_controller_revision +patch_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# create_namespaced_secret +create_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_pod_disruption_budget +replace_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.replace_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# list_namespaced_horizontal_pod_autoscaler +list_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.list_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +list_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.list_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +list_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.list_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# create_namespaced_role +create_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +create_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +create_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# patch_mutating_webhook_configuration +patch_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.patch_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +patch_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.patch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# create_namespaced_pod_disruption_budget +create_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.create_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# read_namespaced_job +read_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.read_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# create_namespaced_resource_quota +create_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_priority_class_list +watch_priority_class_list(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.watch_scheduling_v1_priority_class_list(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +watch_priority_class_list(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.watch_scheduling_v1alpha1_priority_class_list(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +watch_priority_class_list(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.watch_scheduling_v1beta1_priority_class_list(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# create_self_subject_rules_review +create_self_subject_rules_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) = Kubernetes.create_authorization_v1_self_subject_rules_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) +create_self_subject_rules_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_authorization_v1beta1_self_subject_rules_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) + +# replace_certificate_signing_request +replace_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.replace_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# watch_ingress_list_for_all_namespaces +watch_ingress_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_ingress_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_ingress_list_for_all_namespaces(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.watch_networking_v1beta1_ingress_list_for_all_namespaces(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# read_namespaced_pod_preset +read_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.read_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# create_c_s_i_node +create_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.create_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +create_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.create_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# delete_priority_level_configuration +delete_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.delete_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# delete_collection_namespaced_limit_range +delete_collection_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_replication_controller_dummy_scale +replace_namespaced_replication_controller_dummy_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_network_policy_list +watch_namespaced_network_policy_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_network_policy_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_namespaced_network_policy_list(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.watch_networking_v1_namespaced_network_policy_list(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# list_audit_sink +list_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.list_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# create_runtime_class +create_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.create_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +create_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.create_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# watch_namespaced_pod_preset_list +watch_namespaced_pod_preset_list(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.watch_settings_v1alpha1_namespaced_pod_preset_list(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# delete_collection_namespaced_deployment +delete_collection_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_collection_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_collection_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta1_collection_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +delete_collection_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_collection_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +delete_collection_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_collection_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# read_certificate_signing_request +read_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.read_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# list_priority_class +list_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.list_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +list_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.list_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +list_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.list_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# watch_audit_sink +watch_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# patch_namespaced_persistent_volume_claim +patch_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespace_status +patch_namespace_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespace_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_persistent_volume +patch_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_persistent_volume +delete_collection_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_endpoint_slice_for_all_namespaces +list_endpoint_slice_for_all_namespaces(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.list_discovery_v1beta1_endpoint_slice_for_all_namespaces(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# watch_namespace_list +watch_namespace_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespace_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_ingress_list +watch_namespaced_ingress_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_ingress_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_namespaced_ingress_list(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.watch_networking_v1beta1_namespaced_ingress_list(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# read_namespaced_job_status +read_namespaced_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.read_batch_v1_namespaced_job_status(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# delete_runtime_class +delete_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.delete_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +delete_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.delete_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# replace_namespaced_ingress +replace_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +replace_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.replace_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# connect_patch_node_proxy_with_path +connect_patch_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_patch_node_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_service_account +delete_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_cluster_role_binding +list_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +list_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +list_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# read_namespaced_persistent_volume_claim +read_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_namespaced_service +list_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_secret +watch_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_secret(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_cron_job +create_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.create_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +create_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.create_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +create_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.create_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# read_flow_schema_status +read_flow_schema_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.read_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# read_namespaced_daemon_set_status +read_namespaced_daemon_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_daemon_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_daemon_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_daemon_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_daemon_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_daemon_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_flow_schema +replace_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.replace_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# read_namespaced_pod_disruption_budget_status +read_namespaced_pod_disruption_budget_status(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.read_policy_v1beta1_namespaced_pod_disruption_budget_status(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# replace_namespaced_persistent_volume_claim_status +replace_namespaced_persistent_volume_claim_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_persistent_volume_claim_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_resource_quota_for_all_namespaces +list_resource_quota_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_resource_quota_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_validating_webhook_configuration +delete_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +delete_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# read_namespaced_stateful_set +read_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# connect_post_namespaced_pod_proxy +connect_post_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_pod_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_pod_list_for_all_namespaces +watch_pod_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_pod_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_cron_job +watch_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.watch_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +watch_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.watch_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +watch_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.watch_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# replace_namespaced_replica_set +replace_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# read_namespaced_pod_log +read_namespaced_pod_log(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_pod_log(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_stateful_set +patch_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# connect_get_namespaced_pod_attach +connect_get_namespaced_pod_attach(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_pod_attach(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_resource_quota +replace_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_job +watch_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.watch_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# create_namespaced_pod +create_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_priority_class +read_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.read_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +read_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.read_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +read_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.read_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# create_namespaced_stateful_set +create_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.create_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +create_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.create_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +create_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.create_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# watch_flow_schema +watch_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.watch_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# create_namespaced_role_binding +create_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +create_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +create_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# list_pod_preset_for_all_namespaces +list_pod_preset_for_all_namespaces(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.list_settings_v1alpha1_pod_preset_for_all_namespaces(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# watch_volume_attachment +watch_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.watch_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +watch_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.watch_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +watch_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# delete_namespaced_role_binding +delete_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_daemon_set_list_for_all_namespaces +watch_daemon_set_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_daemon_set_list_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_daemon_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_daemon_set_list_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_daemon_set_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_daemon_set_list_for_all_namespaces(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_audit_sink_list +watch_audit_sink_list(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_auditregistration_v1alpha1_audit_sink_list(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# connect_post_node_proxy +connect_post_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_node +create_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_custom_resource_definition +read_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.read_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +read_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_role_binding +delete_collection_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1_collection_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +delete_collection_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +delete_collection_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# connect_get_namespaced_pod_exec +connect_get_namespaced_pod_exec(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_pod_exec(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_resource_quota +delete_collection_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_delete_namespaced_service_proxy +connect_delete_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_delete_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_cluster_role_binding_list +watch_cluster_role_binding_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_cluster_role_binding_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_cluster_role_binding_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_cluster_role_binding_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_cluster_role_binding_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_cluster_role_binding_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_role_list_for_all_namespaces +watch_role_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_role_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_role_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_role_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_role_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_role_list_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# replace_certificate_signing_request_status +replace_certificate_signing_request_status(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.replace_certificates_v1beta1_certificate_signing_request_status(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# delete_namespaced_limit_range +delete_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_job +delete_collection_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.delete_batch_v1_collection_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# watch_job_list_for_all_namespaces +watch_job_list_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.watch_batch_v1_job_list_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# delete_collection_namespaced_daemon_set +delete_collection_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_collection_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_collection_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_collection_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +delete_collection_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_collection_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_resource_quota +watch_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_pod_binding +create_namespaced_pod_binding(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_pod_binding(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_config_map_list +watch_namespaced_config_map_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_config_map_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_secret_for_all_namespaces +list_secret_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_secret_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_custom_resource_definition +delete_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.delete_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +delete_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# watch_namespaced_cron_job_list +watch_namespaced_cron_job_list(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.watch_batch_v1_namespaced_cron_job_list(_api::Kubernetes.BatchV1Api, args...; kwargs...) +watch_namespaced_cron_job_list(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.watch_batch_v1beta1_namespaced_cron_job_list(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +watch_namespaced_cron_job_list(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.watch_batch_v2alpha1_namespaced_cron_job_list(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# read_namespaced_service_status +read_namespaced_service_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_service_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_ingress +read_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +read_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.read_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# read_namespaced_stateful_set_status +read_namespaced_stateful_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_stateful_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_stateful_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# create_namespaced_deployment_rollback +create_namespaced_deployment_rollback(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.create_apps_v1beta1_namespaced_deployment_rollback(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +create_namespaced_deployment_rollback(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_namespaced_deployment_rollback(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# delete_collection_volume_attachment +delete_collection_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.delete_storage_v1_collection_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +delete_collection_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.delete_storage_v1alpha1_collection_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +delete_collection_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_collection_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# list_a_p_i_service +list_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.list_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +list_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.list_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# patch_namespaced_stateful_set_scale +patch_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_stateful_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# patch_a_p_i_service +patch_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.patch_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +patch_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.patch_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# read_namespaced_deployment_status +read_namespaced_deployment_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_deployment_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_deployment_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.read_apps_v1beta1_namespaced_deployment_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +read_namespaced_deployment_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_deployment_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_deployment_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_deployment_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_validating_webhook_configuration +replace_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.replace_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +replace_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.replace_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# replace_audit_sink +replace_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.replace_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# delete_namespace +delete_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_replica_set_scale +patch_namespaced_replica_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_replica_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_replica_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_replica_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_replica_set_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_replica_set_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_namespaced_lease +replace_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.replace_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +replace_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.replace_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# patch_namespaced_cron_job +patch_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.patch_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +patch_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.patch_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +patch_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.patch_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# list_namespaced_event +list_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +list_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.list_events_v1beta1_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# list_namespaced_pod +list_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_namespaced_resource_quota_status +read_namespaced_resource_quota_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_resource_quota_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_config_map +delete_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_pod_template_list +watch_namespaced_pod_template_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_pod_template_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_deployment +create_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.create_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +create_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.create_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +create_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.create_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +create_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# read_namespaced_replication_controller_dummy_scale +read_namespaced_replication_controller_dummy_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# read_namespaced_replica_set_status +read_namespaced_replica_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.read_apps_v1_namespaced_replica_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +read_namespaced_replica_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.read_apps_v1beta2_namespaced_replica_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +read_namespaced_replica_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_replica_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# delete_node +delete_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_validating_webhook_configuration +delete_collection_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1_collection_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +delete_collection_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.delete_admissionregistration_v1beta1_collection_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# watch_resource_quota_list_for_all_namespaces +watch_resource_quota_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_resource_quota_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_node_list +watch_node_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_node_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_pod_security_policy +patch_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +patch_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.patch_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# replace_namespaced_role_binding +replace_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +replace_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1alpha1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +replace_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.replace_rbac_authorization_v1beta1_namespaced_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# list_namespaced_stateful_set +list_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.list_apps_v1beta1_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +list_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# watch_namespaced_horizontal_pod_autoscaler +watch_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +watch_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +watch_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# list_service_account_for_all_namespaces +list_service_account_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_service_account_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_storage_class +replace_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.replace_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +replace_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.replace_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# delete_namespaced_persistent_volume_claim +delete_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_resource_quota +delete_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_config_map_for_all_namespaces +list_config_map_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_config_map_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_deployment_scale +patch_namespaced_deployment_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_deployment_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_deployment_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_deployment_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_namespaced_service +replace_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_persistent_volume_claim_list +watch_namespaced_persistent_volume_claim_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_persistent_volume_claim_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_priority_level_configuration +read_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.read_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# connect_put_namespaced_service_proxy_with_path +connect_put_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_put_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_storage_class_list +watch_storage_class_list(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.watch_storage_v1_storage_class_list(_api::Kubernetes.StorageV1Api, args...; kwargs...) +watch_storage_class_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.watch_storage_v1beta1_storage_class_list(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# list_controller_revision_for_all_namespaces +list_controller_revision_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_controller_revision_for_all_namespaces(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_controller_revision_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.list_apps_v1beta1_controller_revision_for_all_namespaces(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +list_controller_revision_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_controller_revision_for_all_namespaces(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# list_flow_schema +list_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.list_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# create_cluster_role_binding +create_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +create_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1alpha1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +create_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_rbac_authorization_v1beta1_cluster_role_binding(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# watch_namespaced_deployment_list +watch_namespaced_deployment_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_deployment_list(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_deployment_list(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_namespaced_deployment_list(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_namespaced_deployment_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_deployment_list(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_namespaced_deployment_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_deployment_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_namespaced_service_status +replace_namespaced_service_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_service_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_validating_webhook_configuration +patch_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.patch_admissionregistration_v1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +patch_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.patch_admissionregistration_v1beta1_validating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# patch_namespaced_endpoints +patch_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_pod_disruption_budget +watch_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.watch_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# watch_service_list_for_all_namespaces +watch_service_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_service_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_ingress +delete_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +delete_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.delete_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# replace_priority_level_configuration +replace_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.replace_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# watch_node +watch_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_get_namespaced_service_proxy +connect_get_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_get_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespace_finalize +replace_namespace_finalize(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespace_finalize(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_namespaced_daemon_set +list_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +list_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_namespace +patch_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_job +create_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.create_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# replace_flow_schema_status +replace_flow_schema_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.replace_flowcontrol_apiserver_v1alpha1_flow_schema_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# delete_namespaced_horizontal_pod_autoscaler +delete_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +delete_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +delete_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# delete_collection_namespaced_stateful_set +delete_collection_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.delete_apps_v1_collection_namespaced_stateful_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +delete_collection_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta1_collection_namespaced_stateful_set(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +delete_collection_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.delete_apps_v1beta2_collection_namespaced_stateful_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# watch_lease_list_for_all_namespaces +watch_lease_list_for_all_namespaces(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.watch_coordination_v1_lease_list_for_all_namespaces(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +watch_lease_list_for_all_namespaces(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.watch_coordination_v1beta1_lease_list_for_all_namespaces(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# delete_namespaced_lease +delete_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.delete_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +delete_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.delete_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_config_map +delete_collection_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_config_map(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_endpoints +replace_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_endpoint_slice +delete_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.delete_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# watch_mutating_webhook_configuration +watch_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +watch_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.watch_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# list_namespaced_ingress +list_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +list_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.list_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# read_namespaced_network_policy +read_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +read_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.read_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# patch_namespaced_deployment +patch_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# delete_namespaced_pod_template +delete_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_pod_template(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_pod_security_policy_list +watch_pod_security_policy_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_pod_security_policy_list(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_pod_security_policy_list(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.watch_policy_v1beta1_pod_security_policy_list(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# patch_namespaced_replication_controller +patch_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_runtime_class +replace_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.replace_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +replace_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.replace_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# create_storage_class +create_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.create_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +create_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.create_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# replace_c_s_i_driver +replace_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.replace_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# replace_mutating_webhook_configuration +replace_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.replace_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +replace_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.replace_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# watch_namespaced_deployment +watch_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.watch_apps_v1_namespaced_deployment(_api::Kubernetes.AppsV1Api, args...; kwargs...) +watch_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta1_namespaced_deployment(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +watch_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.watch_apps_v1beta2_namespaced_deployment(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +watch_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_namespaced_deployment(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_node +patch_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_deployment_scale +replace_namespaced_deployment_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_deployment_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta1_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +replace_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_deployment_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_deployment_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_deployment_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# replace_namespaced_cron_job +replace_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.replace_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +replace_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.replace_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +replace_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.replace_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# list_c_s_i_driver +list_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.list_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# connect_post_namespaced_pod_portforward +connect_post_namespaced_pod_portforward(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_post_namespaced_pod_portforward(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_provisioner +delete_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.delete_karpenter_sh_v1alpha5_provisioner(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# list_namespaced_cron_job +list_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.list_batch_v1_namespaced_cron_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) +list_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.list_batch_v1beta1_namespaced_cron_job(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +list_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.list_batch_v2alpha1_namespaced_cron_job(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# list_namespaced_metric_value +list_namespaced_metric_value(_api::Kubernetes.CustomMetricsV1beta1Api, args...; kwargs...) = Kubernetes.list_custom_metrics_v1beta1_namespaced_metric_value(_api::Kubernetes.CustomMetricsV1beta1Api, args...; kwargs...) + +# watch_namespaced_role_list +watch_namespaced_role_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_namespaced_role_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_namespaced_role_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_namespaced_role_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_namespaced_role_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_namespaced_role_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# read_storage_class +read_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.read_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +read_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.read_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# watch_custom_resource_definition +watch_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.watch_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +watch_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# list_namespaced_pod_preset +list_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.list_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# create_self_subject_access_review +create_self_subject_access_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) = Kubernetes.create_authorization_v1_self_subject_access_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) +create_self_subject_access_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_authorization_v1beta1_self_subject_access_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) + +# delete_storage_class +delete_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.delete_storage_v1_storage_class(_api::Kubernetes.StorageV1Api, args...; kwargs...) +delete_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_storage_class(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# create_audit_sink +create_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.create_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# watch_namespaced_persistent_volume_claim +watch_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_custom_resource_definition +list_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) = Kubernetes.list_apiextensions_v1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1Api, args...; kwargs...) +list_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_apiextensions_v1beta1_custom_resource_definition(_api::Kubernetes.ApiextensionsV1beta1Api, args...; kwargs...) + +# replace_persistent_volume +replace_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_patch_namespaced_service_proxy_with_path +connect_patch_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_patch_namespaced_service_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_put_node_proxy +connect_put_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_put_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_service_for_all_namespaces +list_service_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_service_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# read_pod_security_policy +read_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.read_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +read_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.read_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# delete_persistent_volume +delete_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_persistent_volume(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_c_s_i_node +patch_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.patch_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +patch_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.patch_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# create_namespaced_pod_eviction +create_namespaced_pod_eviction(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_pod_eviction(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_namespaced_persistent_volume_claim +delete_collection_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_service_status +patch_namespaced_service_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_service_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# connect_head_namespaced_service_proxy +connect_head_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_head_namespaced_service_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_pod_preset +delete_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.delete_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# patch_namespaced_role +patch_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +patch_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +patch_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.patch_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# patch_namespaced_daemon_set +patch_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_daemon_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_daemon_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_daemon_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# list_role_for_all_namespaces +list_role_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1_role_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +list_role_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1alpha1_role_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +list_role_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1beta1_role_for_all_namespaces(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# list_event_for_all_namespaces +list_event_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_event_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) +list_event_for_all_namespaces(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.list_events_v1beta1_event_for_all_namespaces(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_event +delete_collection_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_collection_namespaced_event(_api::Kubernetes.CoreV1Api, args...; kwargs...) +delete_collection_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) = Kubernetes.delete_events_v1beta1_collection_namespaced_event(_api::Kubernetes.EventsV1beta1Api, args...; kwargs...) + +# list_namespaced_limit_range +list_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_namespaced_network_policy +delete_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +delete_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.delete_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# create_flow_schema +create_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.create_flowcontrol_apiserver_v1alpha1_flow_schema(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# list_cluster_role +list_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1_cluster_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +list_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1alpha1_cluster_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +list_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1beta1_cluster_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# list_endpoints_for_all_namespaces +list_endpoints_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_endpoints_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_priority_class +replace_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.replace_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +replace_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.replace_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +replace_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.replace_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# list_metric_value +list_metric_value(_api::Kubernetes.CustomMetricsV1beta1Api, args...; kwargs...) = Kubernetes.list_custom_metrics_v1beta1_metric_value(_api::Kubernetes.CustomMetricsV1beta1Api, args...; kwargs...) + +# patch_certificate_signing_request +patch_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.patch_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# read_certificate_signing_request_status +read_certificate_signing_request_status(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.read_certificates_v1beta1_certificate_signing_request_status(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# read_namespace_status +read_namespace_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespace_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_namespaced_endpoint_slice +list_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.list_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# read_mutating_webhook_configuration +read_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.read_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +read_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.read_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# delete_collection_c_s_i_node +delete_collection_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.delete_storage_v1_collection_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +delete_collection_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_collection_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# watch_runtime_class +watch_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.watch_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +watch_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.watch_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# list_component_status +list_component_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_component_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_persistent_volume_claim +replace_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_priority_level_configuration_status +patch_priority_level_configuration_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_status(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# list_c_s_i_node +list_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.list_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +list_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.list_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# delete_collection_namespaced_ingress +delete_collection_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.delete_extensions_v1beta1_collection_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +delete_collection_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.delete_networking_v1beta1_collection_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# read_node_metrics +read_node_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) = Kubernetes.read_metrics_v1beta1_node_metrics(_api::Kubernetes.MetricsV1beta1Api, args...; kwargs...) + +# read_audit_sink +read_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.read_auditregistration_v1alpha1_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# create_mutating_webhook_configuration +create_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) = Kubernetes.create_admissionregistration_v1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1Api, args...; kwargs...) +create_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) = Kubernetes.create_admissionregistration_v1beta1_mutating_webhook_configuration(_api::Kubernetes.AdmissionregistrationV1beta1Api, args...; kwargs...) + +# read_a_p_i_service +read_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.read_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +read_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.read_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# list_node +list_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_node(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_replication_controller_dummy_scale +patch_namespaced_replication_controller_dummy_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_replication_controller_dummy_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# watch_priority_level_configuration_list +watch_priority_level_configuration_list(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.watch_flowcontrol_apiserver_v1alpha1_priority_level_configuration_list(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# list_pod_template_for_all_namespaces +list_pod_template_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_pod_template_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_resource_quota_list +watch_namespaced_resource_quota_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_resource_quota_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_replica_set +create_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.create_apps_v1_namespaced_replica_set(_api::Kubernetes.AppsV1Api, args...; kwargs...) +create_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.create_apps_v1beta2_namespaced_replica_set(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +create_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.create_extensions_v1beta1_namespaced_replica_set(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# patch_namespaced_ingress +patch_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_ingress(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +patch_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) = Kubernetes.patch_networking_v1beta1_namespaced_ingress(_api::Kubernetes.NetworkingV1beta1Api, args...; kwargs...) + +# patch_namespaced_horizontal_pod_autoscaler_status +patch_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.patch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +patch_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.patch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +patch_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.patch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# list_namespaced_resource_quota +list_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_provisioner_status +patch_provisioner_status(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.patch_karpenter_sh_v1alpha5_provisioner_status(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# create_subject_access_review +create_subject_access_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) = Kubernetes.create_authorization_v1_subject_access_review(_api::Kubernetes.AuthorizationV1Api, args...; kwargs...) +create_subject_access_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.create_authorization_v1beta1_subject_access_review(_api::Kubernetes.AuthorizationV1beta1Api, args...; kwargs...) + +# patch_namespaced_deployment_status +patch_namespaced_deployment_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_deployment_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_deployment_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta1_namespaced_deployment_status(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +patch_namespaced_deployment_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_deployment_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_deployment_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_deployment_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# create_namespaced_service_account +create_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# list_runtime_class +list_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.list_node_v1alpha1_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +list_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.list_node_v1beta1_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# replace_volume_attachment +replace_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.replace_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +replace_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.replace_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +replace_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.replace_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# read_namespaced_limit_range +read_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_limit_range(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespace +replace_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespace(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_replication_controller_scale +replace_namespaced_replication_controller_scale(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_replication_controller_scale(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_a_p_i_service_list +watch_a_p_i_service_list(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.watch_apiregistration_v1_a_p_i_service_list(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +watch_a_p_i_service_list(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.watch_apiregistration_v1beta1_a_p_i_service_list(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# replace_namespaced_endpoint_slice +replace_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.replace_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# watch_namespaced_endpoint_slice +watch_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) = Kubernetes.watch_discovery_v1beta1_namespaced_endpoint_slice(_api::Kubernetes.DiscoveryV1beta1Api, args...; kwargs...) + +# create_priority_level_configuration +create_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.create_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# read_provisioner_status +read_provisioner_status(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) = Kubernetes.read_karpenter_sh_v1alpha5_provisioner_status(_api::Kubernetes.KarpenterShV1alpha5Api, args...; kwargs...) + +# patch_priority_class +patch_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) = Kubernetes.patch_scheduling_v1_priority_class(_api::Kubernetes.SchedulingV1Api, args...; kwargs...) +patch_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) = Kubernetes.patch_scheduling_v1alpha1_priority_class(_api::Kubernetes.SchedulingV1alpha1Api, args...; kwargs...) +patch_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) = Kubernetes.patch_scheduling_v1beta1_priority_class(_api::Kubernetes.SchedulingV1beta1Api, args...; kwargs...) + +# connect_options_node_proxy +connect_options_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_options_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_daemon_set_status +replace_namespaced_daemon_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_daemon_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_daemon_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_daemon_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_daemon_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_daemon_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# read_namespaced_endpoints +read_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.read_core_v1_namespaced_endpoints(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_namespaced_pod_preset +create_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) = Kubernetes.create_settings_v1alpha1_namespaced_pod_preset(_api::Kubernetes.SettingsV1alpha1Api, args...; kwargs...) + +# patch_priority_level_configuration +patch_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) = Kubernetes.patch_flowcontrol_apiserver_v1alpha1_priority_level_configuration(_api::Kubernetes.FlowcontrolApiserverV1alpha1Api, args...; kwargs...) + +# watch_pod_template_list_for_all_namespaces +watch_pod_template_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_pod_template_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_certificate_signing_request +watch_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.watch_certificates_v1beta1_certificate_signing_request(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# replace_namespaced_replica_set_scale +replace_namespaced_replica_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.replace_apps_v1_namespaced_replica_set_scale(_api::Kubernetes.AppsV1Api, args...; kwargs...) +replace_namespaced_replica_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.replace_apps_v1beta2_namespaced_replica_set_scale(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +replace_namespaced_replica_set_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.replace_extensions_v1beta1_namespaced_replica_set_scale(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# create_namespaced_binding +create_namespaced_binding(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.create_core_v1_namespaced_binding(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_collection_audit_sink +delete_collection_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) = Kubernetes.delete_auditregistration_v1alpha1_collection_audit_sink(_api::Kubernetes.AuditregistrationV1alpha1Api, args...; kwargs...) + +# delete_namespaced_pod_disruption_budget +delete_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.delete_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# read_volume_attachment_status +read_volume_attachment_status(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.read_storage_v1_volume_attachment_status(_api::Kubernetes.StorageV1Api, args...; kwargs...) + +# connect_delete_node_proxy +connect_delete_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_delete_node_proxy(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_role_binding_list +watch_namespaced_role_binding_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1_namespaced_role_binding_list(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +watch_namespaced_role_binding_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1alpha1_namespaced_role_binding_list(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +watch_namespaced_role_binding_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.watch_rbac_authorization_v1beta1_namespaced_role_binding_list(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# list_namespaced_role +list_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1Api, args...; kwargs...) +list_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1alpha1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1alpha1Api, args...; kwargs...) +list_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) = Kubernetes.list_rbac_authorization_v1beta1_namespaced_role(_api::Kubernetes.RbacAuthorizationV1beta1Api, args...; kwargs...) + +# delete_collection_c_s_i_driver +delete_collection_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_collection_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# patch_c_s_i_driver +patch_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.patch_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# read_c_s_i_driver +read_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.read_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# patch_namespaced_service +patch_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_service(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_a_p_i_service +replace_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) = Kubernetes.replace_apiregistration_v1_a_p_i_service(_api::Kubernetes.ApiregistrationV1Api, args...; kwargs...) +replace_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) = Kubernetes.replace_apiregistration_v1beta1_a_p_i_service(_api::Kubernetes.ApiregistrationV1beta1Api, args...; kwargs...) + +# patch_namespaced_replication_controller_status +patch_namespaced_replication_controller_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_replication_controller_status(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_horizontal_pod_autoscaler_status +replace_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +replace_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +replace_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# replace_namespaced_job +replace_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.replace_batch_v1_namespaced_job(_api::Kubernetes.BatchV1Api, args...; kwargs...) + +# watch_namespaced_pod +watch_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_persistent_volume_list +watch_persistent_volume_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_persistent_volume_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_service_account_list_for_all_namespaces +watch_service_account_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_service_account_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_certificate_signing_request_approval +replace_certificate_signing_request_approval(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) = Kubernetes.replace_certificates_v1beta1_certificate_signing_request_approval(_api::Kubernetes.CertificatesV1beta1Api, args...; kwargs...) + +# watch_pod_security_policy +watch_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.watch_extensions_v1beta1_pod_security_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +watch_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.watch_policy_v1beta1_pod_security_policy(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# delete_collection_runtime_class +delete_collection_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) = Kubernetes.delete_node_v1alpha1_collection_runtime_class(_api::Kubernetes.NodeV1alpha1Api, args...; kwargs...) +delete_collection_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) = Kubernetes.delete_node_v1beta1_collection_runtime_class(_api::Kubernetes.NodeV1beta1Api, args...; kwargs...) + +# read_namespaced_pod_disruption_budget +read_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.read_policy_v1beta1_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# watch_namespaced_replication_controller_list +watch_namespaced_replication_controller_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_replication_controller_list(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_horizontal_pod_autoscaler_list +watch_namespaced_horizontal_pod_autoscaler_list(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v1_namespaced_horizontal_pod_autoscaler_list(_api::Kubernetes.AutoscalingV1Api, args...; kwargs...) +watch_namespaced_horizontal_pod_autoscaler_list(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_list(_api::Kubernetes.AutoscalingV2beta1Api, args...; kwargs...) +watch_namespaced_horizontal_pod_autoscaler_list(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) = Kubernetes.watch_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_list(_api::Kubernetes.AutoscalingV2beta2Api, args...; kwargs...) + +# delete_namespaced_pod +delete_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.delete_core_v1_namespaced_pod(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_namespaced_replication_controller +watch_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_namespaced_replication_controller(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_resource_quota +patch_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.patch_core_v1_namespaced_resource_quota(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# patch_namespaced_daemon_set_status +patch_namespaced_daemon_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.patch_apps_v1_namespaced_daemon_set_status(_api::Kubernetes.AppsV1Api, args...; kwargs...) +patch_namespaced_daemon_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.patch_apps_v1beta2_namespaced_daemon_set_status(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) +patch_namespaced_daemon_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.patch_extensions_v1beta1_namespaced_daemon_set_status(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) + +# list_namespaced_network_policy +list_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) = Kubernetes.list_extensions_v1beta1_namespaced_network_policy(_api::Kubernetes.ExtensionsV1beta1Api, args...; kwargs...) +list_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) = Kubernetes.list_networking_v1_namespaced_network_policy(_api::Kubernetes.NetworkingV1Api, args...; kwargs...) + +# watch_persistent_volume_claim_list_for_all_namespaces +watch_persistent_volume_claim_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.watch_core_v1_persistent_volume_claim_list_for_all_namespaces(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# delete_c_s_i_node +delete_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.delete_storage_v1_c_s_i_node(_api::Kubernetes.StorageV1Api, args...; kwargs...) +delete_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.delete_storage_v1beta1_c_s_i_node(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# list_namespaced_persistent_volume_claim +list_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.list_core_v1_namespaced_persistent_volume_claim(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# create_c_s_i_driver +create_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.create_storage_v1beta1_c_s_i_driver(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) + +# list_namespaced_controller_revision +list_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) = Kubernetes.list_apps_v1_namespaced_controller_revision(_api::Kubernetes.AppsV1Api, args...; kwargs...) +list_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) = Kubernetes.list_apps_v1beta1_namespaced_controller_revision(_api::Kubernetes.AppsV1beta1Api, args...; kwargs...) +list_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) = Kubernetes.list_apps_v1beta2_namespaced_controller_revision(_api::Kubernetes.AppsV1beta2Api, args...; kwargs...) + +# connect_put_namespaced_pod_proxy_with_path +connect_put_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.connect_core_v1_put_namespaced_pod_proxy_with_path(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# replace_namespaced_service_account +replace_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) = Kubernetes.replace_core_v1_namespaced_service_account(_api::Kubernetes.CoreV1Api, args...; kwargs...) + +# watch_cron_job_list_for_all_namespaces +watch_cron_job_list_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) = Kubernetes.watch_batch_v1_cron_job_list_for_all_namespaces(_api::Kubernetes.BatchV1Api, args...; kwargs...) +watch_cron_job_list_for_all_namespaces(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) = Kubernetes.watch_batch_v1beta1_cron_job_list_for_all_namespaces(_api::Kubernetes.BatchV1beta1Api, args...; kwargs...) +watch_cron_job_list_for_all_namespaces(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) = Kubernetes.watch_batch_v2alpha1_cron_job_list_for_all_namespaces(_api::Kubernetes.BatchV2alpha1Api, args...; kwargs...) + +# delete_collection_namespaced_pod_disruption_budget +delete_collection_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) = Kubernetes.delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(_api::Kubernetes.PolicyV1beta1Api, args...; kwargs...) + +# read_namespaced_lease +read_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) = Kubernetes.read_coordination_v1_namespaced_lease(_api::Kubernetes.CoordinationV1Api, args...; kwargs...) +read_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) = Kubernetes.read_coordination_v1beta1_namespaced_lease(_api::Kubernetes.CoordinationV1beta1Api, args...; kwargs...) + +# read_volume_attachment +read_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) = Kubernetes.read_storage_v1_volume_attachment(_api::Kubernetes.StorageV1Api, args...; kwargs...) +read_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) = Kubernetes.read_storage_v1alpha1_volume_attachment(_api::Kubernetes.StorageV1alpha1Api, args...; kwargs...) +read_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) = Kubernetes.read_storage_v1beta1_volume_attachment(_api::Kubernetes.StorageV1beta1Api, args...; kwargs...) diff --git a/src/ApiImpl/apialiases.jl b/src/ApiImpl/apialiases.jl deleted file mode 100644 index 70cba8eb..00000000 --- a/src/ApiImpl/apialiases.jl +++ /dev/null @@ -1,4257 +0,0 @@ -# listPodMetrics -listPodMetrics(_api::MetricsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listMetricsV1beta1PodMetrics(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodMetrics(_api::MetricsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listMetricsV1beta1PodMetrics(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPodMetrics - -# connectHeadNodeProxy -connectHeadNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1HeadNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectHeadNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1HeadNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectHeadNodeProxy - -# replaceNamespacedCronJobStatus -replaceNamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1beta1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedCronJobStatus(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1beta1NamespacedCronJobStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedCronJobStatus(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV2alpha1NamespacedCronJobStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedCronJobStatus - -# deleteCollectionNamespacedDaemonSet -deleteCollectionNamespacedDaemonSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedDaemonSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedDaemonSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedDaemonSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedDaemonSet - -# createNamespacedEndpoints -createNamespacedEndpoints(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedEndpoints(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedEndpoints(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedEndpoints - -# deleteClusterRole -deleteClusterRole(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1ClusterRole(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1ClusterRole(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1ClusterRole(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1ClusterRole(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteClusterRole - -# createNamespacedIngress -createNamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedIngress(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedIngress(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedIngress(_api::NetworkingV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNetworkingV1beta1NamespacedIngress(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNetworkingV1beta1NamespacedIngress(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedIngress - -# deleteCollectionNamespacedLease -deleteCollectionNamespacedLease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoordinationV1CollectionNamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoordinationV1CollectionNamespacedLease(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedLease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoordinationV1beta1CollectionNamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoordinationV1beta1CollectionNamespacedLease(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedLease - -# patchAPIService -patchAPIService(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAPIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1APIService(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAPIService(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1beta1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1beta1APIService(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchAPIService - -# deleteNamespacedRoleBinding -deleteNamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedRoleBinding - -# deleteStorageClass -deleteStorageClass(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1StorageClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteStorageClass(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1StorageClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteStorageClass(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1StorageClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteStorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1StorageClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteStorageClass - -# watchHorizontalPodAutoscalerListForAllNamespaces -watchHorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchHorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchHorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchHorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchHorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchHorizontalPodAutoscalerListForAllNamespaces(_api::AutoscalingV2beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchHorizontalPodAutoscalerListForAllNamespaces - -# patchStorageClass -patchStorageClass(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchStorageClass(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1StorageClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchStorageClass(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchStorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1StorageClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchStorageClass - -# deleteCollectionNamespacedConfigMap -deleteCollectionNamespacedConfigMap(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedConfigMap(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedConfigMap(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedConfigMap - -# readNamespacedDaemonSetStatus -readNamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDaemonSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedDaemonSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDaemonSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDaemonSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDaemonSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedDaemonSetStatus - -# connectPutNamespacedServiceProxy -connectPutNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectPutNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectPutNamespacedServiceProxy - -# deleteCollectionClusterRoleBinding -deleteCollectionClusterRoleBinding(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionClusterRoleBinding(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRoleBinding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionClusterRoleBinding - -# createNamespacedPodEviction -createNamespacedPodEviction(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedPodEviction(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedPodEviction(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedPodEviction(_api, response_stream, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createNamespacedPodEviction - -# connectGetNamespacedPodPortforward -connectGetNamespacedPodPortforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodPortforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) -connectGetNamespacedPodPortforward(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; ports=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodPortforward(_api, response_stream, name, namespace; ports=ports, _mediaType=_mediaType) -export connectGetNamespacedPodPortforward - -# createNamespacedBinding -createNamespacedBinding(_api::CoreV1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedBinding(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedBinding(_api::CoreV1Api, response_stream::Channel, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedBinding(_api, response_stream, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createNamespacedBinding - -# patchClusterRoleBinding -patchClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1ClusterRoleBinding(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchClusterRoleBinding - -# connectGetNamespacedPodProxyWithPath -connectGetNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectGetNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectGetNamespacedPodProxyWithPath - -# patchNamespacedControllerRevision -patchNamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedControllerRevision(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedControllerRevision(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedControllerRevision(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedControllerRevision - -# watchNamespacedRoleList -watchNamespacedRoleList(_api::RbacAuthorizationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleList(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRoleList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleList(_api::RbacAuthorizationV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRoleList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleList(_api::RbacAuthorizationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRoleList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRoleList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedRoleList - -# watchCustomResourceDefinitionList -watchCustomResourceDefinitionList(_api::ApiextensionsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1CustomResourceDefinitionList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCustomResourceDefinitionList(_api::ApiextensionsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1CustomResourceDefinitionList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCustomResourceDefinitionList(_api::ApiextensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1beta1CustomResourceDefinitionList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCustomResourceDefinitionList(_api::ApiextensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1beta1CustomResourceDefinitionList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCustomResourceDefinitionList - -# listCSIDriver -listCSIDriver(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1CSIDriver(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCSIDriver(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1CSIDriver(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listCSIDriver - -# createNamespacedDaemonSet -createNamespacedDaemonSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedDaemonSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedDaemonSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedDaemonSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedDaemonSet - -# connectPostNamespacedPodProxy -connectPostNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectPostNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectPostNamespacedPodProxy - -# readCSINode -readCSINode(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1CSINode(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCSINode(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1CSINode(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCSINode(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1CSINode(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1CSINode(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readCSINode - -# patchPriorityLevelConfiguration -patchPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchPriorityLevelConfiguration - -# connectOptionsNodeProxy -connectOptionsNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1OptionsNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectOptionsNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1OptionsNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectOptionsNodeProxy - -# watchNetworkPolicyListForAllNamespaces -watchNetworkPolicyListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNetworkPolicyListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NetworkPolicyListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNetworkPolicyListForAllNamespaces(_api::NetworkingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1NetworkPolicyListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNetworkPolicyListForAllNamespaces(_api::NetworkingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1NetworkPolicyListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNetworkPolicyListForAllNamespaces - -# replaceClusterRole -replaceClusterRole(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1ClusterRole(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1ClusterRole(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRole(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1ClusterRole(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceClusterRole - -# listNamespacedPod -listNamespacedPod(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedPod(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedPod(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedPod(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedPod - -# connectOptionsNodeProxyWithPath -connectOptionsNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1OptionsNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectOptionsNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1OptionsNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectOptionsNodeProxyWithPath - -# watchPodTemplateListForAllNamespaces -watchPodTemplateListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PodTemplateListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodTemplateListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PodTemplateListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPodTemplateListForAllNamespaces - -# watchValidatingWebhookConfiguration -watchValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchValidatingWebhookConfiguration - -# listNamespacedSecret -listNamespacedSecret(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedSecret(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedSecret(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedSecret(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedSecret - -# watchPodSecurityPolicy -watchPodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1PodSecurityPolicy(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1PodSecurityPolicy(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodSecurityPolicy(_api::PolicyV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1PodSecurityPolicy(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1PodSecurityPolicy(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPodSecurityPolicy - -# createPodSecurityPolicy -createPodSecurityPolicy(_api::ExtensionsV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1PodSecurityPolicy(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1PodSecurityPolicy(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPodSecurityPolicy(_api::PolicyV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createPolicyV1beta1PodSecurityPolicy(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createPolicyV1beta1PodSecurityPolicy(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createPodSecurityPolicy - -# patchNamespacedReplicaSetStatus -patchNamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedReplicaSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedReplicaSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicaSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicaSetStatus - -# connectPostNodeProxy -connectPostNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1PostNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectPostNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1PostNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectPostNodeProxy - -# readVolumeAttachment -readVolumeAttachment(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readVolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1VolumeAttachment(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readVolumeAttachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1alpha1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1alpha1VolumeAttachment(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readVolumeAttachment(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1VolumeAttachment(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1VolumeAttachment(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readVolumeAttachment - -# watchValidatingWebhookConfigurationList -watchValidatingWebhookConfigurationList(_api::AdmissionregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchValidatingWebhookConfigurationList(_api::AdmissionregistrationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1ValidatingWebhookConfigurationList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchValidatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchValidatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchValidatingWebhookConfigurationList - -# readNamespacedResourceQuota -readNamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedResourceQuota(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedResourceQuota(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedResourceQuota - -# readNamespacedPodTemplate -readNamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedPodTemplate(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedPodTemplate(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedPodTemplate - -# listComponentStatus -listComponentStatus(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ComponentStatus(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listComponentStatus(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ComponentStatus(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listComponentStatus - -# deleteNamespacedEndpoints -deleteNamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedEndpoints(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedEndpoints(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedEndpoints - -# deleteCollectionNamespacedPod -deleteCollectionNamespacedPod(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedPod(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedPod(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedPod(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedPod - -# watchNamespacedControllerRevision -watchNamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedControllerRevision(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedControllerRevision(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedControllerRevision(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedControllerRevision(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedControllerRevision - -# listDaemonSetForAllNamespaces -listDaemonSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDaemonSetForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1DaemonSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDaemonSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDaemonSetForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2DaemonSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDaemonSetForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1DaemonSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDaemonSetForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1DaemonSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listDaemonSetForAllNamespaces - -# createNamespacedServiceAccountToken -createNamespacedServiceAccountToken(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedServiceAccountToken(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedServiceAccountToken(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedServiceAccountToken(_api, response_stream, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createNamespacedServiceAccountToken - -# connectPutNamespacedPodProxy -connectPutNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectPutNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectPutNamespacedPodProxy - -# deleteCollectionNamespacedHorizontalPodAutoscaler -deleteCollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedHorizontalPodAutoscaler - -# watchConfigMapListForAllNamespaces -watchConfigMapListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ConfigMapListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchConfigMapListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ConfigMapListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchConfigMapListForAllNamespaces - -# deleteAuditSink -deleteAuditSink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAuditregistrationV1alpha1AuditSink(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAuditregistrationV1alpha1AuditSink(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteAuditSink - -# watchNamespacedDeployment -watchNamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDeployment(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedDeployment(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDeployment(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDeployment(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDeployment(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedDeployment - -# readNamespacedRole -readNamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1NamespacedRole(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedRole - -# deleteNamespacedEvent -deleteNamespacedEvent(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedEvent(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedEvent(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteEventsV1beta1NamespacedEvent(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteEventsV1beta1NamespacedEvent(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedEvent - -# listNamespacedReplicaSet -listNamespacedReplicaSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedReplicaSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedReplicaSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedReplicaSet - -# readFlowSchemaStatus -readFlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readFlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readFlowSchemaStatus - -# deleteCollectionAPIService -deleteCollectionAPIService(_api::ApiregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiregistrationV1CollectionAPIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionAPIService(_api::ApiregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiregistrationV1CollectionAPIService(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionAPIService(_api::ApiregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiregistrationV1beta1CollectionAPIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiregistrationV1beta1CollectionAPIService(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionAPIService - -# watchCustomResourceDefinition -watchCustomResourceDefinition(_api::ApiextensionsV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1CustomResourceDefinition(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1CustomResourceDefinition(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1beta1CustomResourceDefinition(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiextensionsV1beta1CustomResourceDefinition(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCustomResourceDefinition - -# replacePersistentVolume -replacePersistentVolume(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1PersistentVolume(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1PersistentVolume(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replacePersistentVolume - -# deleteClusterRoleBinding -deleteClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1ClusterRoleBinding(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteClusterRoleBinding - -# deleteCollectionCSINode -deleteCollectionCSINode(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1CollectionCSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCSINode(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1CollectionCSINode(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCSINode(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionCSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCSINode(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionCSINode(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionCSINode - -# watchNamespacedEventList -watchNamespacedEventList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEventList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEventList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEventList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEventList(_api::EventsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchEventsV1beta1NamespacedEventList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEventList(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchEventsV1beta1NamespacedEventList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedEventList - -# readNamespacedLimitRange -readNamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedLimitRange(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedLimitRange(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedLimitRange - -# watchNamespacedLimitRange -watchNamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedLimitRange(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedLimitRange(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedLimitRange - -# patchNamespace -patchNamespace(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1Namespace(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespace(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1Namespace(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespace - -# watchAuditSinkList -watchAuditSinkList(_api::AuditregistrationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAuditregistrationV1alpha1AuditSinkList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAuditSinkList(_api::AuditregistrationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAuditregistrationV1alpha1AuditSinkList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchAuditSinkList - -# replaceNamespacedDaemonSetStatus -replaceNamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDaemonSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDaemonSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDaemonSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedDaemonSetStatus - -# deleteAPIService -deleteAPIService(_api::ApiregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiregistrationV1APIService(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteAPIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiregistrationV1APIService(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteAPIService(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiregistrationV1beta1APIService(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiregistrationV1beta1APIService(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteAPIService - -# listNamespacedControllerRevision -listNamespacedControllerRevision(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedControllerRevision(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1NamespacedControllerRevision(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedControllerRevision(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedControllerRevision - -# patchNamespacedIngressStatus -patchNamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedIngressStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedIngressStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedIngressStatus(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNetworkingV1beta1NamespacedIngressStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedIngressStatus - -# deleteCollectionNamespacedSecret -deleteCollectionNamespacedSecret(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedSecret(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedSecret(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedSecret(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedSecret - -# patchCSIDriver -patchCSIDriver(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1CSIDriver(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1CSIDriver(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchCSIDriver - -# patchNamespacedStatefulSet -patchNamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedStatefulSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedStatefulSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedStatefulSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedStatefulSet - -# watchNamespacedRoleBindingList -watchNamespacedRoleBindingList(_api::RbacAuthorizationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBindingList(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRoleBindingList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBindingList(_api::RbacAuthorizationV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBindingList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRoleBindingList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBindingList(_api::RbacAuthorizationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBindingList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRoleBindingList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedRoleBindingList - -# watchPodPresetListForAllNamespaces -watchPodPresetListForAllNamespaces(_api::SettingsV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSettingsV1alpha1PodPresetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodPresetListForAllNamespaces(_api::SettingsV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSettingsV1alpha1PodPresetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPodPresetListForAllNamespaces - -# watchNamespacedLeaseList -watchNamespacedLeaseList(_api::CoordinationV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1NamespacedLeaseList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLeaseList(_api::CoordinationV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1NamespacedLeaseList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLeaseList(_api::CoordinationV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1beta1NamespacedLeaseList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLeaseList(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1beta1NamespacedLeaseList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedLeaseList - -# connectPatchNodeProxy -connectPatchNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1PatchNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectPatchNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1PatchNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectPatchNodeProxy - -# readPriorityClass -readPriorityClass(_api::SchedulingV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSchedulingV1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSchedulingV1PriorityClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPriorityClass(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSchedulingV1alpha1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSchedulingV1alpha1PriorityClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPriorityClass(_api::SchedulingV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSchedulingV1beta1PriorityClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSchedulingV1beta1PriorityClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readPriorityClass - -# listRoleForAllNamespaces -listRoleForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1RoleForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1RoleForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1RoleForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1RoleForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listRoleForAllNamespaces - -# watchNamespacedCronJobList -watchNamespacedCronJobList(_api::BatchV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1beta1NamespacedCronJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedCronJobList(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1beta1NamespacedCronJobList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedCronJobList(_api::BatchV2alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV2alpha1NamespacedCronJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedCronJobList(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV2alpha1NamespacedCronJobList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedCronJobList - -# createNamespacedLimitRange -createNamespacedLimitRange(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedLimitRange(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedLimitRange(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedLimitRange - -# connectHeadNamespacedServiceProxy -connectHeadNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectHeadNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectHeadNamespacedServiceProxy - -# deleteCollectionVolumeAttachment -deleteCollectionVolumeAttachment(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionVolumeAttachment(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1CollectionVolumeAttachment(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionVolumeAttachment(_api::StorageV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1alpha1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1alpha1CollectionVolumeAttachment(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionVolumeAttachment(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionVolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionVolumeAttachment(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionVolumeAttachment - -# listNamespacedService -listNamespacedService(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedService(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedService(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedService(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedService - -# watchReplicationControllerListForAllNamespaces -watchReplicationControllerListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ReplicationControllerListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchReplicationControllerListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ReplicationControllerListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchReplicationControllerListForAllNamespaces - -# readClusterRoleBinding -readClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) -readClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1ClusterRoleBinding(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -readClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) -readClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -readClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; pretty=pretty, _mediaType=_mediaType) -readClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readClusterRoleBinding - -# readRuntimeClass -readRuntimeClass(_api::NodeV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNodeV1alpha1RuntimeClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNodeV1alpha1RuntimeClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readRuntimeClass(_api::NodeV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNodeV1beta1RuntimeClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNodeV1beta1RuntimeClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readRuntimeClass - -# readNamespacedServiceStatus -readNamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedServiceStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedServiceStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedServiceStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedServiceStatus - -# deleteCollectionNamespacedReplicationController -deleteCollectionNamespacedReplicationController(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedReplicationController(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedReplicationController(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedReplicationController - -# deleteCollectionNamespacedEndpoints -deleteCollectionNamespacedEndpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedEndpoints(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedEndpoints(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedEndpoints - -# patchNamespacedStatefulSetStatus -patchNamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedStatefulSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedStatefulSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedStatefulSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedStatefulSetStatus - -# replaceFlowSchemaStatus -replaceFlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceFlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceFlowSchemaStatus - -# listAPIService -listAPIService(_api::ApiregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiregistrationV1APIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listAPIService(_api::ApiregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiregistrationV1APIService(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listAPIService(_api::ApiregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiregistrationV1beta1APIService(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiregistrationV1beta1APIService(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listAPIService - -# replaceCSIDriver -replaceCSIDriver(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1CSIDriver(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1CSIDriver(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceCSIDriver - -# patchNamespacedJob -patchNamespacedJob(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1NamespacedJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1NamespacedJob(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedJob - -# readMutatingWebhookConfiguration -readMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readMutatingWebhookConfiguration - -# connectDeleteNamespacedServiceProxyWithPath -connectDeleteNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectDeleteNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectDeleteNamespacedServiceProxyWithPath - -# deleteCollectionNamespacedEndpointSlice -deleteCollectionNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedEndpointSlice - -# replaceNamespacedIngress -replaceNamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedIngress(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNetworkingV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNetworkingV1beta1NamespacedIngress(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedIngress - -# connectDeleteNamespacedPodProxyWithPath -connectDeleteNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectDeleteNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectDeleteNamespacedPodProxyWithPath - -# replaceVolumeAttachmentStatus -replaceVolumeAttachmentStatus(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1VolumeAttachmentStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceVolumeAttachmentStatus(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1VolumeAttachmentStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceVolumeAttachmentStatus - -# replaceNamespacedResourceQuota -replaceNamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedResourceQuota(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedResourceQuota(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedResourceQuota - -# deleteCollectionMutatingWebhookConfiguration -deleteCollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionMutatingWebhookConfiguration - -# patchNamespacedReplicationControllerScale -patchNamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedReplicationControllerScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicationControllerScale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedReplicationControllerScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicationControllerScale - -# patchNamespacedCronJobStatus -patchNamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1beta1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedCronJobStatus(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1beta1NamespacedCronJobStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedCronJobStatus(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV2alpha1NamespacedCronJobStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedCronJobStatus - -# deleteCollectionPodSecurityPolicy -deleteCollectionPodSecurityPolicy(_api::ExtensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionPodSecurityPolicy(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPodSecurityPolicy(_api::PolicyV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deletePolicyV1beta1CollectionPodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deletePolicyV1beta1CollectionPodSecurityPolicy(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionPodSecurityPolicy - -# deleteCollectionPersistentVolume -deleteCollectionPersistentVolume(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionPersistentVolume(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPersistentVolume(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionPersistentVolume(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionPersistentVolume - -# replaceNodeStatus -replaceNodeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NodeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNodeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NodeStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNodeStatus - -# watchStorageClassList -watchStorageClassList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1StorageClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStorageClassList(_api::StorageV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1StorageClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStorageClassList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1StorageClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStorageClassList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1StorageClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchStorageClassList - -# createNamespacedResourceQuota -createNamespacedResourceQuota(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedResourceQuota(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedResourceQuota(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedResourceQuota - -# readNamespacedCronJobStatus -readNamespacedCronJobStatus(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readBatchV1beta1NamespacedCronJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedCronJobStatus(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readBatchV1beta1NamespacedCronJobStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedCronJobStatus(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readBatchV2alpha1NamespacedCronJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedCronJobStatus(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readBatchV2alpha1NamespacedCronJobStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedCronJobStatus - -# createNamespacedJob -createNamespacedJob(_api::BatchV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createBatchV1NamespacedJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedJob(_api::BatchV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createBatchV1NamespacedJob(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedJob - -# deleteMutatingWebhookConfiguration -deleteMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteMutatingWebhookConfiguration - -# readNamespacedEndpoints -readNamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedEndpoints(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedEndpoints(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedEndpoints - -# replaceNamespacedReplicationControllerStatus -replaceNamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedReplicationControllerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicationControllerStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedReplicationControllerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicationControllerStatus - -# createNamespacedConfigMap -createNamespacedConfigMap(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedConfigMap(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedConfigMap(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedConfigMap - -# watchNamespacedReplicationController -watchNamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedReplicationController(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedReplicationController(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedReplicationController - -# deleteCollectionNamespacedPodDisruptionBudget -deleteCollectionNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedPodDisruptionBudget - -# connectGetNodeProxyWithPath -connectGetNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1GetNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectGetNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1GetNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectGetNodeProxyWithPath - -# createNamespacedDeployment -createNamespacedDeployment(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedDeployment(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedDeployment(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedDeployment(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedDeployment(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedDeployment(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedDeployment - -# deleteCollectionPriorityClass -deleteCollectionPriorityClass(_api::SchedulingV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSchedulingV1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPriorityClass(_api::SchedulingV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSchedulingV1CollectionPriorityClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPriorityClass(_api::SchedulingV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSchedulingV1alpha1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSchedulingV1alpha1CollectionPriorityClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPriorityClass(_api::SchedulingV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSchedulingV1beta1CollectionPriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSchedulingV1beta1CollectionPriorityClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionPriorityClass - -# connectPostNamespacedPodAttach -connectPostNamespacedPodAttach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodAttach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -connectPostNamespacedPodAttach(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodAttach(_api, response_stream, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -export connectPostNamespacedPodAttach - -# deleteNamespacedJob -deleteNamespacedJob(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteBatchV1NamespacedJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteBatchV1NamespacedJob(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedJob - -# createCSIDriver -createCSIDriver(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1CSIDriver(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCSIDriver(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1CSIDriver(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createCSIDriver - -# deleteCollectionNamespacedPodTemplate -deleteCollectionNamespacedPodTemplate(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedPodTemplate(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedPodTemplate(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedPodTemplate - -# deleteCSIDriver -deleteCSIDriver(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1CSIDriver(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1CSIDriver(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteCSIDriver - -# patchNamespacedService -patchNamespacedService(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedService(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedService(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedService - -# watchNamespacedResourceQuota -watchNamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedResourceQuota(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedResourceQuota(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedResourceQuota - -# listRuntimeClass -listRuntimeClass(_api::NodeV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNodeV1alpha1RuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNodeV1alpha1RuntimeClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRuntimeClass(_api::NodeV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNodeV1beta1RuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNodeV1beta1RuntimeClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listRuntimeClass - -# watchNamespacedPersistentVolumeClaimList -watchNamespacedPersistentVolumeClaimList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPersistentVolumeClaimList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPersistentVolumeClaimList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPersistentVolumeClaimList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPersistentVolumeClaimList - -# patchNamespacedEndpointSlice -patchNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedEndpointSlice - -# listServiceAccountForAllNamespaces -listServiceAccountForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ServiceAccountForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listServiceAccountForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ServiceAccountForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listServiceAccountForAllNamespaces - -# connectPutNamespacedPodProxyWithPath -connectPutNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectPutNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectPutNamespacedPodProxyWithPath - -# patchNamespacedRole -patchNamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1NamespacedRole(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedRole - -# patchCustomResourceDefinition -patchCustomResourceDefinition(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1CustomResourceDefinition(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1beta1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1beta1CustomResourceDefinition(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchCustomResourceDefinition - -# readFlowSchema -readFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1FlowSchema(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readFlowSchema - -# readValidatingWebhookConfiguration -readValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readValidatingWebhookConfiguration - -# readNamespacedDeploymentScale -readNamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedDeploymentScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedDeploymentScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDeploymentScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDeploymentScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedDeploymentScale - -# patchNamespacedEndpoints -patchNamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedEndpoints(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedEndpoints(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedEndpoints - -# replacePriorityClass -replacePriorityClass(_api::SchedulingV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSchedulingV1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSchedulingV1PriorityClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityClass(_api::SchedulingV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSchedulingV1alpha1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSchedulingV1alpha1PriorityClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityClass(_api::SchedulingV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSchedulingV1beta1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSchedulingV1beta1PriorityClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replacePriorityClass - -# connectDeleteNodeProxy -connectDeleteNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1DeleteNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectDeleteNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1DeleteNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectDeleteNodeProxy - -# listServiceForAllNamespaces -listServiceForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ServiceForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listServiceForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ServiceForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listServiceForAllNamespaces - -# listReplicaSetForAllNamespaces -listReplicaSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listReplicaSetForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1ReplicaSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listReplicaSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listReplicaSetForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2ReplicaSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listReplicaSetForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1ReplicaSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listReplicaSetForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1ReplicaSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listReplicaSetForAllNamespaces - -# readNamespacedLease -readNamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoordinationV1NamespacedLease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoordinationV1NamespacedLease(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoordinationV1beta1NamespacedLease(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoordinationV1beta1NamespacedLease(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedLease - -# watchNamespacedEvent -watchNamespacedEvent(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEvent(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEvent(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchEventsV1beta1NamespacedEvent(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchEventsV1beta1NamespacedEvent(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedEvent - -# createNamespacedPersistentVolumeClaim -createNamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedPersistentVolumeClaim(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedPersistentVolumeClaim - -# patchNamespacedRoleBinding -patchNamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedRoleBinding - -# listJobForAllNamespaces -listJobForAllNamespaces(_api::BatchV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1JobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listJobForAllNamespaces(_api::BatchV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1JobForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listJobForAllNamespaces - -# watchPriorityLevelConfigurationList -watchPriorityLevelConfigurationList(_api::FlowcontrolApiserverV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityLevelConfigurationList(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPriorityLevelConfigurationList - -# replaceMutatingWebhookConfiguration -replaceMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceMutatingWebhookConfiguration - -# createNamespacedSecret -createNamespacedSecret(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedSecret(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedSecret(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedSecret(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedSecret - -# watchNamespacedStatefulSetList -watchNamespacedStatefulSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSetList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedStatefulSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSetList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSetList(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedStatefulSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedStatefulSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSetList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedStatefulSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedStatefulSetList - -# deletePodSecurityPolicy -deletePodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1PodSecurityPolicy(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1PodSecurityPolicy(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePodSecurityPolicy(_api::PolicyV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deletePolicyV1beta1PodSecurityPolicy(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deletePolicyV1beta1PodSecurityPolicy(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deletePodSecurityPolicy - -# listMetricValue -listMetricValue(_api::CustomMetricsV1beta1Api, compositemetricname::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) = listCustomMetricsV1beta1MetricValue(_api, compositemetricname; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) -listMetricValue(_api::CustomMetricsV1beta1Api, response_stream::Channel, compositemetricname::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) = listCustomMetricsV1beta1MetricValue(_api, response_stream, compositemetricname; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) -export listMetricValue - -# deleteCollectionNamespacedPersistentVolumeClaim -deleteCollectionNamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedPersistentVolumeClaim(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedPersistentVolumeClaim - -# patchNamespacedPod -patchNamespacedPod(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPod(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPod(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPod - -# replaceNamespacedLease -replaceNamespacedLease(_api::CoordinationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoordinationV1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoordinationV1NamespacedLease(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoordinationV1beta1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoordinationV1beta1NamespacedLease(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedLease - -# deleteNamespacedResourceQuota -deleteNamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedResourceQuota(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedResourceQuota(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedResourceQuota - -# deleteNamespacedService -deleteNamespacedService(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedService(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedService(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedService - -# readCertificateSigningRequestStatus -readCertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) = readCertificatesV1beta1CertificateSigningRequestStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readCertificateSigningRequestStatus(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readCertificatesV1beta1CertificateSigningRequestStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readCertificateSigningRequestStatus - -# deleteCollectionNamespacedLimitRange -deleteCollectionNamespacedLimitRange(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedLimitRange(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedLimitRange(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedLimitRange - -# patchNamespacedConfigMap -patchNamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedConfigMap(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedConfigMap(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedConfigMap - -# createClusterRoleBinding -createClusterRoleBinding(_api::RbacAuthorizationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1ClusterRoleBinding(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1ClusterRoleBinding(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createClusterRoleBinding - -# patchNamespacedPodDisruptionBudgetStatus -patchNamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPodDisruptionBudgetStatus - -# listPersistentVolumeClaimForAllNamespaces -listPersistentVolumeClaimForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PersistentVolumeClaimForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPersistentVolumeClaimForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PersistentVolumeClaimForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPersistentVolumeClaimForAllNamespaces - -# readClusterRole -readClusterRole(_api::RbacAuthorizationV1Api, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) -readClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1ClusterRole(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -readClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) -readClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1ClusterRole(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -readClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1ClusterRole(_api, name; pretty=pretty, _mediaType=_mediaType) -readClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1ClusterRole(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readClusterRole - -# watchNamespacedStatefulSet -watchNamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedStatefulSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedStatefulSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedStatefulSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedStatefulSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedStatefulSet - -# watchDeploymentListForAllNamespaces -watchDeploymentListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1DeploymentListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1DeploymentListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2DeploymentListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1DeploymentListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDeploymentListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1DeploymentListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchDeploymentListForAllNamespaces - -# readNamespacedDeploymentStatus -readNamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedDeploymentStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedDeploymentStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDeploymentStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDeploymentStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedDeploymentStatus - -# listNamespacedEndpoints -listNamespacedEndpoints(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedEndpoints(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedEndpoints(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedEndpoints - -# patchNamespacedReplicationControllerDummyScale -patchNamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicationControllerDummyScale - -# deleteCollectionRuntimeClass -deleteCollectionRuntimeClass(_api::NodeV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNodeV1alpha1CollectionRuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNodeV1alpha1CollectionRuntimeClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionRuntimeClass(_api::NodeV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNodeV1beta1CollectionRuntimeClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNodeV1beta1CollectionRuntimeClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionRuntimeClass - -# replaceAPIServiceStatus -replaceAPIServiceStatus(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAPIServiceStatus(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1APIServiceStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAPIServiceStatus(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1beta1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAPIServiceStatus(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1beta1APIServiceStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceAPIServiceStatus - -# watchNamespacedReplicationControllerList -watchNamespacedReplicationControllerList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedReplicationControllerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicationControllerList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedReplicationControllerList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedReplicationControllerList - -# listEndpointsForAllNamespaces -listEndpointsForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1EndpointsForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listEndpointsForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1EndpointsForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listEndpointsForAllNamespaces - -# listNode -listNode(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1Node(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNode(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1Node(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNode - -# createPersistentVolume -createPersistentVolume(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1PersistentVolume(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPersistentVolume(_api::CoreV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1PersistentVolume(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createPersistentVolume - -# replaceCertificateSigningRequestApproval -replaceCertificateSigningRequestApproval(_api::CertificatesV1beta1Api, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = replaceCertificatesV1beta1CertificateSigningRequestApproval(_api, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -replaceCertificateSigningRequestApproval(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = replaceCertificatesV1beta1CertificateSigningRequestApproval(_api, response_stream, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export replaceCertificateSigningRequestApproval - -# connectPostNamespacedPodExec -connectPostNamespacedPodExec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodExec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -connectPostNamespacedPodExec(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodExec(_api, response_stream, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -export connectPostNamespacedPodExec - -# connectOptionsNamespacedServiceProxyWithPath -connectOptionsNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectOptionsNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectOptionsNamespacedServiceProxyWithPath - -# listNamespacedDeployment -listNamespacedDeployment(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1NamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedDeployment - -# watchNamespacedSecretList -watchNamespacedSecretList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedSecretList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedSecretList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedSecretList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedSecretList - -# replaceNode -replaceNode(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1Node(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNode(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1Node(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNode - -# watchNamespacedControllerRevisionList -watchNamespacedControllerRevisionList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevisionList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedControllerRevisionList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevisionList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevisionList(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedControllerRevisionList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevisionList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedControllerRevisionList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedControllerRevisionList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedControllerRevisionList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedControllerRevisionList - -# deleteCollectionFlowSchema -deleteCollectionFlowSchema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionFlowSchema - -# patchCertificateSigningRequestStatus -patchCertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCertificatesV1beta1CertificateSigningRequestStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCertificateSigningRequestStatus(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCertificatesV1beta1CertificateSigningRequestStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchCertificateSigningRequestStatus - -# createAuditSink -createAuditSink(_api::AuditregistrationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAuditregistrationV1alpha1AuditSink(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAuditregistrationV1alpha1AuditSink(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createAuditSink - -# readNamespacedRoleBinding -readNamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedRoleBinding - -# listPodTemplateForAllNamespaces -listPodTemplateForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PodTemplateForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodTemplateForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PodTemplateForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPodTemplateForAllNamespaces - -# createRuntimeClass -createRuntimeClass(_api::NodeV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNodeV1alpha1RuntimeClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNodeV1alpha1RuntimeClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createRuntimeClass(_api::NodeV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNodeV1beta1RuntimeClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNodeV1beta1RuntimeClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createRuntimeClass - -# listEndpointSliceForAllNamespaces -listEndpointSliceForAllNamespaces(_api::DiscoveryV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listEndpointSliceForAllNamespaces(_api::DiscoveryV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listDiscoveryV1beta1EndpointSliceForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listEndpointSliceForAllNamespaces - -# replaceNamespacedPodTemplate -replaceNamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPodTemplate(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPodTemplate(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPodTemplate - -# createCustomResourceDefinition -createCustomResourceDefinition(_api::ApiextensionsV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiextensionsV1CustomResourceDefinition(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiextensionsV1CustomResourceDefinition(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCustomResourceDefinition(_api::ApiextensionsV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiextensionsV1beta1CustomResourceDefinition(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiextensionsV1beta1CustomResourceDefinition(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createCustomResourceDefinition - -# watchNamespacedServiceAccount -watchNamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedServiceAccount(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedServiceAccount(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedServiceAccount - -# readNamespacedIngressStatus -readNamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedIngressStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedIngressStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedIngressStatus(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readNetworkingV1beta1NamespacedIngressStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedIngressStatus - -# replacePodSecurityPolicy -replacePodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1PodSecurityPolicy(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePodSecurityPolicy(_api::PolicyV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replacePolicyV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replacePolicyV1beta1PodSecurityPolicy(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replacePodSecurityPolicy - -# watchNamespacedDaemonSet -watchNamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDaemonSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDaemonSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedDaemonSet - -# replaceNamespacedConfigMap -replaceNamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedConfigMap(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedConfigMap(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedConfigMap - -# watchPersistentVolumeList -watchPersistentVolumeList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PersistentVolumeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPersistentVolumeList(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PersistentVolumeList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPersistentVolumeList - -# watchNamespacedEndpointSliceList -watchNamespacedEndpointSliceList(_api::DiscoveryV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchDiscoveryV1beta1NamespacedEndpointSliceList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEndpointSliceList(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchDiscoveryV1beta1NamespacedEndpointSliceList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedEndpointSliceList - -# patchCertificateSigningRequest -patchCertificateSigningRequest(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCertificatesV1beta1CertificateSigningRequest(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCertificatesV1beta1CertificateSigningRequest(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchCertificateSigningRequest - -# replaceStorageClass -replaceStorageClass(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceStorageClass(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1StorageClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceStorageClass(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1StorageClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceStorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1StorageClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceStorageClass - -# listHorizontalPodAutoscalerForAllNamespaces -listHorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listHorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listHorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listHorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listHorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listHorizontalPodAutoscalerForAllNamespaces(_api::AutoscalingV2beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listHorizontalPodAutoscalerForAllNamespaces - -# watchPersistentVolumeClaimListForAllNamespaces -watchPersistentVolumeClaimListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPersistentVolumeClaimListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PersistentVolumeClaimListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPersistentVolumeClaimListForAllNamespaces - -# replaceNamespacedPod -replaceNamespacedPod(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPod(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPod(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPod - -# listControllerRevisionForAllNamespaces -listControllerRevisionForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listControllerRevisionForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1ControllerRevisionForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listControllerRevisionForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listControllerRevisionForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1ControllerRevisionForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listControllerRevisionForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2ControllerRevisionForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listControllerRevisionForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2ControllerRevisionForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listControllerRevisionForAllNamespaces - -# createSubjectAccessReview -createSubjectAccessReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1SubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSubjectAccessReview(_api::AuthorizationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1SubjectAccessReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSubjectAccessReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1SubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSubjectAccessReview(_api::AuthorizationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1SubjectAccessReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createSubjectAccessReview - -# replaceVolumeAttachment -replaceVolumeAttachment(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceVolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1VolumeAttachment(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceVolumeAttachment(_api::StorageV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1alpha1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1alpha1VolumeAttachment(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceVolumeAttachment(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1VolumeAttachment(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceVolumeAttachment - -# watchReplicaSetListForAllNamespaces -watchReplicaSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchReplicaSetListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1ReplicaSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchReplicaSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchReplicaSetListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2ReplicaSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchReplicaSetListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchReplicaSetListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1ReplicaSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchReplicaSetListForAllNamespaces - -# listPersistentVolume -listPersistentVolume(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PersistentVolume(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPersistentVolume(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PersistentVolume(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPersistentVolume - -# readNamespacedPodLog -readNamespacedPodLog(_api::CoreV1Api, name::String, namespace::String; container=nothing, follow=nothing, insecureSkipTLSVerifyBackend=nothing, limitBytes=nothing, pretty=nothing, previous=nothing, sinceSeconds=nothing, tailLines=nothing, timestamps=nothing, _mediaType=nothing) = readCoreV1NamespacedPodLog(_api, name, namespace; container=container, follow=follow, insecureSkipTLSVerifyBackend=insecureSkipTLSVerifyBackend, limitBytes=limitBytes, pretty=pretty, previous=previous, sinceSeconds=sinceSeconds, tailLines=tailLines, timestamps=timestamps, _mediaType=_mediaType) -readNamespacedPodLog(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, follow=nothing, insecureSkipTLSVerifyBackend=nothing, limitBytes=nothing, pretty=nothing, previous=nothing, sinceSeconds=nothing, tailLines=nothing, timestamps=nothing, _mediaType=nothing) = readCoreV1NamespacedPodLog(_api, response_stream, name, namespace; container=container, follow=follow, insecureSkipTLSVerifyBackend=insecureSkipTLSVerifyBackend, limitBytes=limitBytes, pretty=pretty, previous=previous, sinceSeconds=sinceSeconds, tailLines=tailLines, timestamps=timestamps, _mediaType=_mediaType) -export readNamespacedPodLog - -# replaceNamespacedPodPreset -replaceNamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSettingsV1alpha1NamespacedPodPreset(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceSettingsV1alpha1NamespacedPodPreset(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPodPreset - -# deleteNamespacedReplicaSet -deleteNamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedReplicaSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedReplicaSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedReplicaSet - -# readNamespacedReplicationController -readNamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedReplicationController(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedReplicationController(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedReplicationController - -# replaceNamespacedReplicaSet -replaceNamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedReplicaSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedReplicaSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicaSet - -# readNamespaceStatus -readNamespaceStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespaceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readNamespaceStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespaceStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readNamespaceStatus - -# watchCSINode -watchCSINode(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1CSINode(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSINode(_api::StorageV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1CSINode(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSINode(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSINode(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSINode(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCSINode - -# listLeaseForAllNamespaces -listLeaseForAllNamespaces(_api::CoordinationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1LeaseForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listLeaseForAllNamespaces(_api::CoordinationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1LeaseForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listLeaseForAllNamespaces(_api::CoordinationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1beta1LeaseForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listLeaseForAllNamespaces(_api::CoordinationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1beta1LeaseForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listLeaseForAllNamespaces - -# patchNamespacedHorizontalPodAutoscaler -patchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedHorizontalPodAutoscaler - -# watchNamespacedServiceAccountList -watchNamespacedServiceAccountList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedServiceAccountList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedServiceAccountList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedServiceAccountList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedServiceAccountList - -# patchNamespacedJobStatus -patchNamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1NamespacedJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedJobStatus(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1NamespacedJobStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedJobStatus - -# listPodDisruptionBudgetForAllNamespaces -listPodDisruptionBudgetForAllNamespaces(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodDisruptionBudgetForAllNamespaces(_api::PolicyV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPodDisruptionBudgetForAllNamespaces - -# replaceNamespacedJobStatus -replaceNamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1NamespacedJobStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedJobStatus(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1NamespacedJobStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedJobStatus - -# watchNamespacedLease -watchNamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1NamespacedLease(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1NamespacedLease(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1beta1NamespacedLease(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1beta1NamespacedLease(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedLease - -# listNamespacedCronJob -listNamespacedCronJob(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1beta1NamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1beta1NamespacedCronJob(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedCronJob(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV2alpha1NamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV2alpha1NamespacedCronJob(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedCronJob - -# deleteNamespacedNetworkPolicy -deleteNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNetworkingV1NamespacedNetworkPolicy(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedNetworkPolicy - -# replaceNamespacedDeploymentScale -replaceNamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedDeploymentScale - -# readNodeMetrics -readNodeMetrics(_api::MetricsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readMetricsV1beta1NodeMetrics(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNodeMetrics(_api::MetricsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readMetricsV1beta1NodeMetrics(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNodeMetrics - -# connectGetNodeProxy -connectGetNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1GetNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectGetNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1GetNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectGetNodeProxy - -# readNamespacedHorizontalPodAutoscalerStatus -readNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedHorizontalPodAutoscalerStatus - -# createNamespacedLocalSubjectAccessReview -createNamespacedLocalSubjectAccessReview(_api::AuthorizationV1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1NamespacedLocalSubjectAccessReview(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedLocalSubjectAccessReview(_api::AuthorizationV1Api, response_stream::Channel, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1NamespacedLocalSubjectAccessReview(_api, response_stream, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedLocalSubjectAccessReview(_api::AuthorizationV1beta1Api, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedLocalSubjectAccessReview(_api::AuthorizationV1beta1Api, response_stream::Channel, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1NamespacedLocalSubjectAccessReview(_api, response_stream, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createNamespacedLocalSubjectAccessReview - -# watchNamespacedConfigMap -watchNamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedConfigMap(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedConfigMap(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedConfigMap - -# listNamespacedRoleBinding -listNamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1NamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedRoleBinding - -# patchNamespacedPodStatus -patchNamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPodStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPodStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPodStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPodStatus - -# watchNamespacedEndpoints -watchNamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEndpoints(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEndpoints(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedEndpoints - -# watchNamespacedHorizontalPodAutoscalerList -watchNamespacedHorizontalPodAutoscalerList(_api::AutoscalingV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscalerList(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscalerList(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedHorizontalPodAutoscalerList - -# connectGetNamespacedPodExec -connectGetNamespacedPodExec(_api::CoreV1Api, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodExec(_api, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -connectGetNamespacedPodExec(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; command=nothing, container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodExec(_api, response_stream, name, namespace; command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -export connectGetNamespacedPodExec - -# deletePriorityLevelConfiguration -deletePriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deletePriorityLevelConfiguration - -# watchNamespacedPodDisruptionBudget -watchNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodDisruptionBudget - -# replaceCustomResourceDefinitionStatus -replaceCustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCustomResourceDefinitionStatus(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1CustomResourceDefinitionStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1beta1CustomResourceDefinitionStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceCustomResourceDefinitionStatus - -# getAPIVersions -getAPIVersions(_api::CoreApi; _mediaType=nothing) = getCoreAPIVersions(_api; _mediaType=_mediaType) -getAPIVersions(_api::CoreApi, response_stream::Channel; _mediaType=nothing) = getCoreAPIVersions(_api, response_stream; _mediaType=_mediaType) -export getAPIVersions - -# replaceNamespacedReplicaSetStatus -replaceNamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedReplicaSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedReplicaSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicaSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicaSetStatus - -# readNamespacedPodMetrics -readNamespacedPodMetrics(_api::MetricsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readMetricsV1beta1NamespacedPodMetrics(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedPodMetrics(_api::MetricsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readMetricsV1beta1NamespacedPodMetrics(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedPodMetrics - -# listNamespacedLimitRange -listNamespacedLimitRange(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedLimitRange(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedLimitRange(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedLimitRange - -# createNamespacedReplicationController -createNamespacedReplicationController(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedReplicationController(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedReplicationController(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedReplicationController - -# patchNamespacedServiceStatus -patchNamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedServiceStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedServiceStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedServiceStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedServiceStatus - -# watchNamespacedEndpointSlice -watchNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedEndpointSlice - -# deleteCollectionCustomResourceDefinition -deleteCollectionCustomResourceDefinition(_api::ApiextensionsV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiextensionsV1CollectionCustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiextensionsV1CollectionCustomResourceDefinition(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionCustomResourceDefinition - -# watchMutatingWebhookConfigurationList -watchMutatingWebhookConfigurationList(_api::AdmissionregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchMutatingWebhookConfigurationList(_api::AdmissionregistrationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1MutatingWebhookConfigurationList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchMutatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchMutatingWebhookConfigurationList(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchMutatingWebhookConfigurationList - -# deleteNamespacedPod -deleteNamespacedPod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedPod(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedPod(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedPod - -# readNamespacedPodDisruptionBudgetStatus -readNamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedPodDisruptionBudgetStatus - -# createNamespacedLease -createNamespacedLease(_api::CoordinationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoordinationV1NamespacedLease(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoordinationV1NamespacedLease(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedLease(_api::CoordinationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoordinationV1beta1NamespacedLease(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoordinationV1beta1NamespacedLease(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedLease - -# watchPodDisruptionBudgetListForAllNamespaces -watchPodDisruptionBudgetListForAllNamespaces(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodDisruptionBudgetListForAllNamespaces(_api::PolicyV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPodDisruptionBudgetListForAllNamespaces - -# watchClusterRoleBindingList -watchClusterRoleBindingList(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBindingList(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRoleBindingList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBindingList(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBindingList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRoleBindingList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBindingList(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBindingList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRoleBindingList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchClusterRoleBindingList - -# replaceNamespaceFinalize -replaceNamespaceFinalize(_api::CoreV1Api, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = replaceCoreV1NamespaceFinalize(_api, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -replaceNamespaceFinalize(_api::CoreV1Api, response_stream::Channel, name::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = replaceCoreV1NamespaceFinalize(_api, response_stream, name, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export replaceNamespaceFinalize - -# readNamespacedReplicationControllerScale -readNamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedReplicationControllerScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicationControllerScale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedReplicationControllerScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedReplicationControllerScale - -# patchFlowSchemaStatus -patchFlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchFlowSchemaStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1FlowSchemaStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchFlowSchemaStatus - -# deleteNode -deleteNode(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1Node(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNode(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1Node(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNode - -# listIngressForAllNamespaces -listIngressForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1IngressForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listIngressForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1IngressForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listIngressForAllNamespaces(_api::NetworkingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1beta1IngressForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listIngressForAllNamespaces(_api::NetworkingV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1beta1IngressForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listIngressForAllNamespaces - -# patchNamespacedDaemonSetStatus -patchNamespacedDaemonSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDaemonSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDaemonSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDaemonSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDaemonSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedDaemonSetStatus - -# patchNamespacedNetworkPolicy -patchNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNetworkingV1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNetworkingV1NamespacedNetworkPolicy(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedNetworkPolicy - -# listNamespacedPodPreset -listNamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSettingsV1alpha1NamespacedPodPreset(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSettingsV1alpha1NamespacedPodPreset(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedPodPreset - -# deleteNamespacedDeployment -deleteNamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta1NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedDeployment - -# replaceNamespacedReplicationControllerDummyScale -replaceNamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicationControllerDummyScale - -# connectDeleteNamespacedPodProxy -connectDeleteNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectDeleteNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectDeleteNamespacedPodProxy - -# connectPostNamespacedPodPortforward -connectPostNamespacedPodPortforward(_api::CoreV1Api, name::String, namespace::String; ports=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodPortforward(_api, name, namespace; ports=ports, _mediaType=_mediaType) -connectPostNamespacedPodPortforward(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; ports=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodPortforward(_api, response_stream, name, namespace; ports=ports, _mediaType=_mediaType) -export connectPostNamespacedPodPortforward - -# watchCSINodeList -watchCSINodeList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1CSINodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSINodeList(_api::StorageV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1CSINodeList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSINodeList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSINodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSINodeList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSINodeList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCSINodeList - -# listNamespacedPodTemplate -listNamespacedPodTemplate(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedPodTemplate(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedPodTemplate(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedPodTemplate - -# patchNodeStatus -patchNodeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NodeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNodeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NodeStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNodeStatus - -# listStorageClass -listStorageClass(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1StorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStorageClass(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1StorageClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStorageClass(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1StorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStorageClass(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1StorageClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listStorageClass - -# replaceNamespacedEvent -replaceNamespacedEvent(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedEvent(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceEventsV1beta1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceEventsV1beta1NamespacedEvent(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedEvent - -# readNamespacedJob -readNamespacedJob(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readBatchV1NamespacedJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readBatchV1NamespacedJob(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedJob - -# listNamespacedPersistentVolumeClaim -listNamespacedPersistentVolumeClaim(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedPersistentVolumeClaim(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedPersistentVolumeClaim - -# watchNamespacedSecret -watchNamespacedSecret(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedSecret(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedSecret(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedSecret - -# watchNamespacedIngressList -watchNamespacedIngressList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedIngressList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedIngressList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedIngressList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedIngressList(_api::NetworkingV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1beta1NamespacedIngressList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedIngressList(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1beta1NamespacedIngressList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedIngressList - -# replaceNamespacedControllerRevision -replaceNamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedControllerRevision(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedControllerRevision(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedControllerRevision(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedControllerRevision(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedControllerRevision - -# createStorageClass -createStorageClass(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1StorageClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createStorageClass(_api::StorageV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1StorageClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createStorageClass(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1StorageClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createStorageClass(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1StorageClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createStorageClass - -# listNamespacedStatefulSet -listNamespacedStatefulSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedStatefulSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1NamespacedStatefulSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedStatefulSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedStatefulSet - -# patchNamespacedResourceQuota -patchNamespacedResourceQuota(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedResourceQuota(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedResourceQuota(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedResourceQuota - -# readNamespacedPersistentVolumeClaimStatus -readNamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedPersistentVolumeClaimStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedPersistentVolumeClaimStatus - -# watchAPIServiceList -watchAPIServiceList(_api::ApiregistrationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1APIServiceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAPIServiceList(_api::ApiregistrationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1APIServiceList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAPIServiceList(_api::ApiregistrationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1beta1APIServiceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAPIServiceList(_api::ApiregistrationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1beta1APIServiceList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchAPIServiceList - -# watchNamespacedPodPresetList -watchNamespacedPodPresetList(_api::SettingsV1alpha1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSettingsV1alpha1NamespacedPodPresetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodPresetList(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSettingsV1alpha1NamespacedPodPresetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodPresetList - -# watchNamespacedReplicaSet -watchNamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedReplicaSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedReplicaSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedReplicaSet - -# replaceNamespacedPodDisruptionBudget -replaceNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replacePolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replacePolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPodDisruptionBudget - -# readVolumeAttachmentStatus -readVolumeAttachmentStatus(_api::StorageV1Api, name::String; pretty=nothing, _mediaType=nothing) = readStorageV1VolumeAttachmentStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readVolumeAttachmentStatus(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readStorageV1VolumeAttachmentStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readVolumeAttachmentStatus - -# replaceNamespacedHorizontalPodAutoscalerStatus -replaceNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedHorizontalPodAutoscalerStatus - -# deleteCollectionNamespacedNetworkPolicy -deleteCollectionNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNetworkingV1CollectionNamespacedNetworkPolicy(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedNetworkPolicy - -# replaceNamespacedServiceAccount -replaceNamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedServiceAccount(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedServiceAccount(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedServiceAccount - -# watchNamespace -watchNamespace(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1Namespace(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespace(_api::CoreV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1Namespace(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespace - -# patchNamespacedReplicationController -patchNamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedReplicationController(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedReplicationController(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicationController - -# watchNamespacedConfigMapList -watchNamespacedConfigMapList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedConfigMapList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedConfigMapList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedConfigMapList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedConfigMapList - -# deleteFlowSchema -deleteFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1FlowSchema(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteFlowSchema - -# listNamespacedLease -listNamespacedLease(_api::CoordinationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1NamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1NamespacedLease(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedLease(_api::CoordinationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1beta1NamespacedLease(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoordinationV1beta1NamespacedLease(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedLease - -# watchNamespacedPodList -watchNamespacedPodList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPodList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPodList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodList - -# listVolumeAttachment -listVolumeAttachment(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listVolumeAttachment(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1VolumeAttachment(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listVolumeAttachment(_api::StorageV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1alpha1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1alpha1VolumeAttachment(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listVolumeAttachment(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1VolumeAttachment(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1VolumeAttachment(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listVolumeAttachment - -# listRoleBindingForAllNamespaces -listRoleBindingForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleBindingForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1RoleBindingForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleBindingForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleBindingForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleBindingForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listRoleBindingForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1RoleBindingForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listRoleBindingForAllNamespaces - -# listNamespacedRole -listNamespacedRole(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1NamespacedRole(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1NamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedRole - -# deleteCollectionNamespacedReplicaSet -deleteCollectionNamespacedReplicaSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedReplicaSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedReplicaSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedReplicaSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedReplicaSet - -# connectPutNodeProxyWithPath -connectPutNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PutNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectPutNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PutNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectPutNodeProxyWithPath - -# patchCSINode -patchCSINode(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCSINode(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1CSINode(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCSINode(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1CSINode(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchCSINode - -# listNamespacedReplicationController -listNamespacedReplicationController(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedReplicationController(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedReplicationController(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedReplicationController - -# listStatefulSetForAllNamespaces -listStatefulSetForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStatefulSetForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1StatefulSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStatefulSetForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStatefulSetForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1StatefulSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStatefulSetForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2StatefulSetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listStatefulSetForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2StatefulSetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listStatefulSetForAllNamespaces - -# readNamespacedPodStatus -readNamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedPodStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedPodStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedPodStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedPodStatus - -# watchSecretListForAllNamespaces -watchSecretListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1SecretListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchSecretListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1SecretListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchSecretListForAllNamespaces - -# listNamespacedNetworkPolicy -listNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1NamespacedNetworkPolicy(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1NamespacedNetworkPolicy(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedNetworkPolicy - -# connectHeadNamespacedPodProxy -connectHeadNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectHeadNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectHeadNamespacedPodProxy - -# listValidatingWebhookConfiguration -listValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1ValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listValidatingWebhookConfiguration - -# watchVolumeAttachment -watchVolumeAttachment(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1VolumeAttachment(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachment(_api::StorageV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1alpha1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1alpha1VolumeAttachment(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachment(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1VolumeAttachment(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1VolumeAttachment(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchVolumeAttachment - -# deleteNamespacedReplicationController -deleteNamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedReplicationController(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedReplicationController(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedReplicationController - -# readCSIDriver -readCSIDriver(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1CSIDriver(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1CSIDriver(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readCSIDriver - -# patchNamespacedEvent -patchNamespacedEvent(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedEvent(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchEventsV1beta1NamespacedEvent(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchEventsV1beta1NamespacedEvent(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedEvent - -# listCustomResourceDefinition -listCustomResourceDefinition(_api::ApiextensionsV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiextensionsV1CustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiextensionsV1CustomResourceDefinition(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiextensionsV1beta1CustomResourceDefinition(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listApiextensionsV1beta1CustomResourceDefinition(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listCustomResourceDefinition - -# readNamespacedStatefulSetScale -readNamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedStatefulSetScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedStatefulSetScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedStatefulSetScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedStatefulSetScale - -# createNamespace -createNamespace(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1Namespace(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespace(_api::CoreV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1Namespace(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespace - -# patchClusterRole -patchClusterRole(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1ClusterRole(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1alpha1ClusterRole(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRole(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1ClusterRole(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchRbacAuthorizationV1beta1ClusterRole(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchClusterRole - -# deleteValidatingWebhookConfiguration -deleteValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteValidatingWebhookConfiguration - -# connectPatchNamespacedPodProxy -connectPatchNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectPatchNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectPatchNamespacedPodProxy - -# createNamespacedCronJob -createNamespacedCronJob(_api::BatchV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createBatchV1beta1NamespacedCronJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createBatchV1beta1NamespacedCronJob(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedCronJob(_api::BatchV2alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createBatchV2alpha1NamespacedCronJob(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createBatchV2alpha1NamespacedCronJob(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedCronJob - -# patchValidatingWebhookConfiguration -patchValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchValidatingWebhookConfiguration - -# replaceNamespacedSecret -replaceNamespacedSecret(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedSecret(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedSecret(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedSecret - -# patchNamespacedServiceAccount -patchNamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedServiceAccount(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedServiceAccount(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedServiceAccount - -# readNamespacedReplicaSetStatus -readNamespacedReplicaSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedReplicaSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedReplicaSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicaSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicaSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedReplicaSetStatus - -# deleteNamespacedCronJob -deleteNamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteBatchV1beta1NamespacedCronJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteBatchV1beta1NamespacedCronJob(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteBatchV2alpha1NamespacedCronJob(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteBatchV2alpha1NamespacedCronJob(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedCronJob - -# replaceNamespacedStatefulSetStatus -replaceNamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedStatefulSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedStatefulSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedStatefulSetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedStatefulSetStatus - -# replaceValidatingWebhookConfiguration -replaceValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceValidatingWebhookConfiguration - -# listResourceQuotaForAllNamespaces -listResourceQuotaForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ResourceQuotaForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listResourceQuotaForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ResourceQuotaForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listResourceQuotaForAllNamespaces - -# deleteCollectionNamespacedServiceAccount -deleteCollectionNamespacedServiceAccount(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedServiceAccount(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedServiceAccount(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedServiceAccount - -# listLimitRangeForAllNamespaces -listLimitRangeForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1LimitRangeForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listLimitRangeForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1LimitRangeForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listLimitRangeForAllNamespaces - -# deleteNamespacedLimitRange -deleteNamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedLimitRange(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedLimitRange(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedLimitRange - -# patchNamespacedDeployment -patchNamespacedDeployment(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedDeployment - -# readNamespacedHorizontalPodAutoscaler -readNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedHorizontalPodAutoscaler - -# replacePriorityLevelConfiguration -replacePriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replacePriorityLevelConfiguration - -# watchDaemonSetListForAllNamespaces -watchDaemonSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDaemonSetListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1DaemonSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDaemonSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDaemonSetListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2DaemonSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDaemonSetListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchDaemonSetListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1DaemonSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchDaemonSetListForAllNamespaces - -# deleteNamespacedLease -deleteNamespacedLease(_api::CoordinationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoordinationV1NamespacedLease(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoordinationV1NamespacedLease(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoordinationV1beta1NamespacedLease(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoordinationV1beta1NamespacedLease(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedLease - -# deleteNamespacedServiceAccount -deleteNamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedServiceAccount(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedServiceAccount(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedServiceAccount - -# readNamespacedDeployment -readNamespacedDeployment(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDeployment(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDeployment(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedDeployment - -# readNamespacedDaemonSet -readNamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedDaemonSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedDaemonSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedDaemonSet - -# patchNamespacedDaemonSet -patchNamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDaemonSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDaemonSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedDaemonSet - -# patchNamespacedPodDisruptionBudget -patchNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchPolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPodDisruptionBudget - -# deletePriorityClass -deletePriorityClass(_api::SchedulingV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSchedulingV1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSchedulingV1PriorityClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePriorityClass(_api::SchedulingV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSchedulingV1alpha1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSchedulingV1alpha1PriorityClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePriorityClass(_api::SchedulingV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSchedulingV1beta1PriorityClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSchedulingV1beta1PriorityClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deletePriorityClass - -# createClusterRole -createClusterRole(_api::RbacAuthorizationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1ClusterRole(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRole(_api::RbacAuthorizationV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1ClusterRole(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRole(_api::RbacAuthorizationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1ClusterRole(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1ClusterRole(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createClusterRole - -# deleteCollectionPriorityLevelConfiguration -deleteCollectionPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionPriorityLevelConfiguration - -# patchNamespacedPersistentVolumeClaimStatus -patchNamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPersistentVolumeClaimStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPersistentVolumeClaimStatus - -# readNamespacedEndpointSlice -readNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedEndpointSlice - -# readNamespacedReplicationControllerDummyScale -readNamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicationControllerDummyScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicationControllerDummyScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedReplicationControllerDummyScale - -# patchNamespacedPodPreset -patchNamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSettingsV1alpha1NamespacedPodPreset(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSettingsV1alpha1NamespacedPodPreset(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPodPreset - -# patchPriorityLevelConfigurationStatus -patchPriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchPriorityLevelConfigurationStatus - -# createNamespacedNetworkPolicy -createNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedNetworkPolicy(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedNetworkPolicy(_api::NetworkingV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNetworkingV1NamespacedNetworkPolicy(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createNetworkingV1NamespacedNetworkPolicy(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedNetworkPolicy - -# replaceNamespacedPersistentVolumeClaimStatus -replaceNamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPersistentVolumeClaimStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPersistentVolumeClaimStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPersistentVolumeClaimStatus - -# watchPriorityLevelConfiguration -watchPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPriorityLevelConfiguration - -# watchVolumeAttachmentList -watchVolumeAttachmentList(_api::StorageV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachmentList(_api::StorageV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1VolumeAttachmentList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachmentList(_api::StorageV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1alpha1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachmentList(_api::StorageV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1alpha1VolumeAttachmentList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachmentList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1VolumeAttachmentList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchVolumeAttachmentList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1VolumeAttachmentList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchVolumeAttachmentList - -# patchVolumeAttachment -patchVolumeAttachment(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchVolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1VolumeAttachment(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchVolumeAttachment(_api::StorageV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1alpha1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1alpha1VolumeAttachment(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchVolumeAttachment(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1VolumeAttachment(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1beta1VolumeAttachment(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchVolumeAttachment - -# patchNamespacedHorizontalPodAutoscalerStatus -patchNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedHorizontalPodAutoscalerStatus(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedHorizontalPodAutoscalerStatus - -# replaceNamespacedPodStatus -replaceNamespacedPodStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPodStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPodStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPodStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPodStatus - -# readNamespacedIngress -readNamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedIngress(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNetworkingV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNetworkingV1beta1NamespacedIngress(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedIngress - -# createNamespacedPodBinding -createNamespacedPodBinding(_api::CoreV1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedPodBinding(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedPodBinding(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createCoreV1NamespacedPodBinding(_api, response_stream, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createNamespacedPodBinding - -# deleteCollectionNamespacedJob -deleteCollectionNamespacedJob(_api::BatchV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteBatchV1CollectionNamespacedJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedJob(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteBatchV1CollectionNamespacedJob(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedJob - -# replaceAPIService -replaceAPIService(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAPIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1APIService(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAPIService(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1beta1APIService(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiregistrationV1beta1APIService(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceAPIService - -# deleteNamespacedIngress -deleteNamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedIngress(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNetworkingV1beta1NamespacedIngress(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNetworkingV1beta1NamespacedIngress(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedIngress - -# deleteCollectionNamespacedControllerRevision -deleteCollectionNamespacedControllerRevision(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedControllerRevision(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta1CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta1CollectionNamespacedControllerRevision(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedControllerRevision(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedControllerRevision(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedControllerRevision - -# deleteRuntimeClass -deleteRuntimeClass(_api::NodeV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNodeV1alpha1RuntimeClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNodeV1alpha1RuntimeClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteRuntimeClass(_api::NodeV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNodeV1beta1RuntimeClass(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteNodeV1beta1RuntimeClass(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteRuntimeClass - -# deleteCollectionNode -deleteCollectionNode(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNode(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNode(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNode - -# replaceNamespacedReplicaSetScale -replaceNamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedReplicaSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedReplicaSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedReplicaSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicaSetScale - -# createPriorityLevelConfiguration -createPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createPriorityLevelConfiguration - -# patchNamespacedLease -patchNamespacedLease(_api::CoordinationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoordinationV1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedLease(_api::CoordinationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoordinationV1NamespacedLease(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedLease(_api::CoordinationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoordinationV1beta1NamespacedLease(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedLease(_api::CoordinationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoordinationV1beta1NamespacedLease(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedLease - -# watchEventListForAllNamespaces -watchEventListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1EventListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchEventListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1EventListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchEventListForAllNamespaces(_api::EventsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchEventsV1beta1EventListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchEventListForAllNamespaces(_api::EventsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchEventsV1beta1EventListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchEventListForAllNamespaces - -# createNamespacedControllerRevision -createNamespacedControllerRevision(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedControllerRevision(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedControllerRevision(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedControllerRevision(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedControllerRevision(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedControllerRevision(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedControllerRevision(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedControllerRevision - -# patchNamespaceStatus -patchNamespaceStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespaceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespaceStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespaceStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespaceStatus - -# readNamespacedReplicationControllerStatus -readNamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedReplicationControllerStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicationControllerStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedReplicationControllerStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedReplicationControllerStatus - -# watchIngressListForAllNamespaces -watchIngressListForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1IngressListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchIngressListForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1IngressListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchIngressListForAllNamespaces(_api::NetworkingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1beta1IngressListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchIngressListForAllNamespaces(_api::NetworkingV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1beta1IngressListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchIngressListForAllNamespaces - -# createSelfSubjectAccessReview -createSelfSubjectAccessReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1SelfSubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSelfSubjectAccessReview(_api::AuthorizationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1SelfSubjectAccessReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSelfSubjectAccessReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1SelfSubjectAccessReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSelfSubjectAccessReview(_api::AuthorizationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1SelfSubjectAccessReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createSelfSubjectAccessReview - -# patchNamespacedLimitRange -patchNamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedLimitRange(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedLimitRange(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedLimitRange - -# readNamespacedConfigMap -readNamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedConfigMap(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedConfigMap(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedConfigMap - -# replaceCertificateSigningRequestStatus -replaceCertificateSigningRequestStatus(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCertificatesV1beta1CertificateSigningRequestStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCertificateSigningRequestStatus(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCertificatesV1beta1CertificateSigningRequestStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceCertificateSigningRequestStatus - -# listNamespacedServiceAccount -listNamespacedServiceAccount(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedServiceAccount(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedServiceAccount(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedServiceAccount - -# watchPodSecurityPolicyList -watchPodSecurityPolicyList(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1PodSecurityPolicyList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodSecurityPolicyList(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1PodSecurityPolicyList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodSecurityPolicyList(_api::PolicyV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1PodSecurityPolicyList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodSecurityPolicyList(_api::PolicyV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1PodSecurityPolicyList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPodSecurityPolicyList - -# readAPIServiceStatus -readAPIServiceStatus(_api::ApiregistrationV1Api, name::String; pretty=nothing, _mediaType=nothing) = readApiregistrationV1APIServiceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readAPIServiceStatus(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readApiregistrationV1APIServiceStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -readAPIServiceStatus(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) = readApiregistrationV1beta1APIServiceStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readAPIServiceStatus(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readApiregistrationV1beta1APIServiceStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readAPIServiceStatus - -# patchNamespacedReplicaSetScale -patchNamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedReplicaSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedReplicaSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicaSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicaSetScale - -# replaceNamespacedDeploymentStatus -replaceNamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedDeploymentStatus - -# watchPriorityClass -watchPriorityClass(_api::SchedulingV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1PriorityClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClass(_api::SchedulingV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1alpha1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1alpha1PriorityClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClass(_api::SchedulingV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1beta1PriorityClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1beta1PriorityClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPriorityClass - -# replaceCertificateSigningRequest -replaceCertificateSigningRequest(_api::CertificatesV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCertificatesV1beta1CertificateSigningRequest(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCertificatesV1beta1CertificateSigningRequest(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceCertificateSigningRequest - -# watchNamespacedPodDisruptionBudgetList -watchNamespacedPodDisruptionBudgetList(_api::PolicyV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodDisruptionBudgetList(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchPolicyV1beta1NamespacedPodDisruptionBudgetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodDisruptionBudgetList - -# readNamespacedServiceAccount -readNamespacedServiceAccount(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedServiceAccount(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedServiceAccount(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedServiceAccount - -# listPodSecurityPolicy -listPodSecurityPolicy(_api::ExtensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1PodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1PodSecurityPolicy(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodSecurityPolicy(_api::PolicyV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listPolicyV1beta1PodSecurityPolicy(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listPolicyV1beta1PodSecurityPolicy(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPodSecurityPolicy - -# connectGetNamespacedPodProxy -connectGetNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectGetNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectGetNamespacedPodProxy - -# patchNamespacedStatefulSetScale -patchNamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedStatefulSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedStatefulSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedStatefulSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedStatefulSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedStatefulSetScale - -# readNamespacedSecret -readNamespacedSecret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedSecret(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedSecret(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedSecret - -# patchNamespacedReplicationControllerStatus -patchNamespacedReplicationControllerStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedReplicationControllerStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicationControllerStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedReplicationControllerStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicationControllerStatus - -# watchEndpointSliceListForAllNamespaces -watchEndpointSliceListForAllNamespaces(_api::DiscoveryV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchEndpointSliceListForAllNamespaces(_api::DiscoveryV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchEndpointSliceListForAllNamespaces - -# watchCertificateSigningRequest -watchCertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCertificatesV1beta1CertificateSigningRequest(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCertificatesV1beta1CertificateSigningRequest(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCertificateSigningRequest - -# watchClusterRole -watchClusterRole(_api::RbacAuthorizationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRole(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRole(_api::RbacAuthorizationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRole(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRole(_api::RbacAuthorizationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRole(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRole(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchClusterRole - -# listReplicationControllerForAllNamespaces -listReplicationControllerForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ReplicationControllerForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listReplicationControllerForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ReplicationControllerForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listReplicationControllerForAllNamespaces - -# replaceNamespacedStatefulSet -replaceNamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedStatefulSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedStatefulSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedStatefulSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedStatefulSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedStatefulSet - -# replaceNamespacedRoleBinding -replaceNamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedRoleBinding - -# readCertificateSigningRequest -readCertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCertificatesV1beta1CertificateSigningRequest(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCertificatesV1beta1CertificateSigningRequest(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readCertificateSigningRequest - -# listNamespacedResourceQuota -listNamespacedResourceQuota(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedResourceQuota(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedResourceQuota(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedResourceQuota - -# watchNamespacedJob -watchNamespacedJob(_api::BatchV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1NamespacedJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1NamespacedJob(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedJob - -# readNamespacedEvent -readNamespacedEvent(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedEvent(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedEvent(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedEvent(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedEvent(_api::EventsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readEventsV1beta1NamespacedEvent(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readEventsV1beta1NamespacedEvent(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedEvent - -# connectPostNamespacedServiceProxyWithPath -connectPostNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectPostNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectPostNamespacedServiceProxyWithPath - -# watchJobListForAllNamespaces -watchJobListForAllNamespaces(_api::BatchV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1JobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchJobListForAllNamespaces(_api::BatchV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1JobListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchJobListForAllNamespaces - -# deleteCertificateSigningRequest -deleteCertificateSigningRequest(_api::CertificatesV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCertificatesV1beta1CertificateSigningRequest(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCertificatesV1beta1CertificateSigningRequest(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteCertificateSigningRequest - -# readNamespacedCronJob -readNamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readBatchV1beta1NamespacedCronJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readBatchV1beta1NamespacedCronJob(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readBatchV2alpha1NamespacedCronJob(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readBatchV2alpha1NamespacedCronJob(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedCronJob - -# connectGetNamespacedPodAttach -connectGetNamespacedPodAttach(_api::CoreV1Api, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodAttach(_api, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -connectGetNamespacedPodAttach(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; container=nothing, stderr=nothing, stdin=nothing, stdout=nothing, tty=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedPodAttach(_api, response_stream, name, namespace; container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty, _mediaType=_mediaType) -export connectGetNamespacedPodAttach - -# createNamespacedPodPreset -createNamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSettingsV1alpha1NamespacedPodPreset(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSettingsV1alpha1NamespacedPodPreset(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedPodPreset - -# watchRoleBindingListForAllNamespaces -watchRoleBindingListForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleBindingListForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1RoleBindingListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleBindingListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleBindingListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleBindingListForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleBindingListForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchRoleBindingListForAllNamespaces - -# createNode -createNode(_api::CoreV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1Node(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNode(_api::CoreV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1Node(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNode - -# replaceNamespace -replaceNamespace(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1Namespace(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespace(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1Namespace(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespace - -# watchFlowSchema -watchFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1FlowSchema(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchFlowSchema - -# patchPersistentVolumeStatus -patchPersistentVolumeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1PersistentVolumeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPersistentVolumeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1PersistentVolumeStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchPersistentVolumeStatus - -# watchCSIDriverList -watchCSIDriverList(_api::StorageV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSIDriverList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSIDriverList(_api::StorageV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSIDriverList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCSIDriverList - -# deleteNamespacedPersistentVolumeClaim -deleteNamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedPersistentVolumeClaim - -# deleteNamespacedStatefulSet -deleteNamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedStatefulSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta1NamespacedStatefulSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedStatefulSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedStatefulSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedStatefulSet - -# replaceNamespacedJob -replaceNamespacedJob(_api::BatchV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1NamespacedJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedJob(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1NamespacedJob(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedJob - -# watchNamespacedPodTemplate -watchNamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPodTemplate(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPodTemplate(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodTemplate - -# connectPutNamespacedServiceProxyWithPath -connectPutNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectPutNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PutNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectPutNamespacedServiceProxyWithPath - -# listNamespacedMetricValue -listNamespacedMetricValue(_api::CustomMetricsV1beta1Api, compositemetricname::String, namespace::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) = listCustomMetricsV1beta1NamespacedMetricValue(_api, compositemetricname, namespace; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) -listNamespacedMetricValue(_api::CustomMetricsV1beta1Api, response_stream::Channel, compositemetricname::String, namespace::String; pretty=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, _mediaType=nothing) = listCustomMetricsV1beta1NamespacedMetricValue(_api, response_stream, compositemetricname, namespace; pretty=pretty, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, _mediaType=_mediaType) -export listNamespacedMetricValue - -# readPersistentVolume -readPersistentVolume(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1PersistentVolume(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1PersistentVolume(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readPersistentVolume - -# listNamespacedPodDisruptionBudget -listNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listPolicyV1beta1NamespacedPodDisruptionBudget(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listPolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedPodDisruptionBudget - -# getCode -getCode(_api::VersionApi; _mediaType=nothing) = getCodeVersion(_api; _mediaType=_mediaType) -getCode(_api::VersionApi, response_stream::Channel; _mediaType=nothing) = getCodeVersion(_api, response_stream; _mediaType=_mediaType) -export getCode - -# listNamespacedIngress -listNamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedIngress(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedIngress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1beta1NamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1beta1NamespacedIngress(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedIngress - -# deletePersistentVolume -deletePersistentVolume(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1PersistentVolume(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deletePersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1PersistentVolume(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deletePersistentVolume - -# listPodPresetForAllNamespaces -listPodPresetForAllNamespaces(_api::SettingsV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSettingsV1alpha1PodPresetForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodPresetForAllNamespaces(_api::SettingsV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSettingsV1alpha1PodPresetForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPodPresetForAllNamespaces - -# replaceNamespacedCronJob -replaceNamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1beta1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV1beta1NamespacedCronJob(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV2alpha1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceBatchV2alpha1NamespacedCronJob(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedCronJob - -# connectGetNamespacedServiceProxy -connectGetNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectGetNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectGetNamespacedServiceProxy - -# readNamespacedStatefulSetStatus -readNamespacedStatefulSetStatus(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedStatefulSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetStatus(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedStatefulSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetStatus(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedStatefulSetStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedStatefulSetStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedStatefulSetStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedStatefulSetStatus - -# readNamespacedPod -readNamespacedPod(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedPod(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedPod(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedPod - -# watchStatefulSetListForAllNamespaces -watchStatefulSetListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStatefulSetListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1StatefulSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStatefulSetListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStatefulSetListForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1StatefulSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStatefulSetListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2StatefulSetListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStatefulSetListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2StatefulSetListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchStatefulSetListForAllNamespaces - -# watchRoleListForAllNamespaces -watchRoleListForAllNamespaces(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleListForAllNamespaces(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1RoleListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleListForAllNamespaces(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1RoleListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleListForAllNamespaces(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRoleListForAllNamespaces(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1RoleListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchRoleListForAllNamespaces - -# listSecretForAllNamespaces -listSecretForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1SecretForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listSecretForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1SecretForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listSecretForAllNamespaces - -# readPersistentVolumeStatus -readPersistentVolumeStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1PersistentVolumeStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readPersistentVolumeStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1PersistentVolumeStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readPersistentVolumeStatus - -# replaceNamespacedNetworkPolicy -replaceNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNetworkingV1NamespacedNetworkPolicy(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNetworkingV1NamespacedNetworkPolicy(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedNetworkPolicy - -# watchNode -watchNode(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1Node(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNode(_api::CoreV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1Node(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNode - -# watchLeaseListForAllNamespaces -watchLeaseListForAllNamespaces(_api::CoordinationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1LeaseListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchLeaseListForAllNamespaces(_api::CoordinationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1LeaseListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchLeaseListForAllNamespaces(_api::CoordinationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1beta1LeaseListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchLeaseListForAllNamespaces(_api::CoordinationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoordinationV1beta1LeaseListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchLeaseListForAllNamespaces - -# patchNode -patchNode(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1Node(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNode(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1Node(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNode - -# listPodForAllNamespaces -listPodForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PodForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPodForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1PodForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPodForAllNamespaces - -# watchNamespacedPersistentVolumeClaim -watchNamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPersistentVolumeClaim - -# readNamespacedNetworkPolicy -readNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readNetworkingV1NamespacedNetworkPolicy(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedNetworkPolicy - -# deleteNamespacedPodDisruptionBudget -deleteNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deletePolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deletePolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedPodDisruptionBudget - -# replaceAuditSink -replaceAuditSink(_api::AuditregistrationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAuditregistrationV1alpha1AuditSink(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAuditregistrationV1alpha1AuditSink(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceAuditSink - -# watchControllerRevisionListForAllNamespaces -watchControllerRevisionListForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchControllerRevisionListForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1ControllerRevisionListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchControllerRevisionListForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchControllerRevisionListForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1ControllerRevisionListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchControllerRevisionListForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchControllerRevisionListForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2ControllerRevisionListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchControllerRevisionListForAllNamespaces - -# deleteCollectionCertificateSigningRequest -deleteCollectionCertificateSigningRequest(_api::CertificatesV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCertificatesV1beta1CollectionCertificateSigningRequest(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionCertificateSigningRequest - -# replaceNamespacedRole -replaceNamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1NamespacedRole(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedRole - -# createSelfSubjectRulesReview -createSelfSubjectRulesReview(_api::AuthorizationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1SelfSubjectRulesReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSelfSubjectRulesReview(_api::AuthorizationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1SelfSubjectRulesReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSelfSubjectRulesReview(_api::AuthorizationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1SelfSubjectRulesReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createSelfSubjectRulesReview(_api::AuthorizationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthorizationV1beta1SelfSubjectRulesReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createSelfSubjectRulesReview - -# patchNamespacedIngress -patchNamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedIngress(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNetworkingV1beta1NamespacedIngress(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNetworkingV1beta1NamespacedIngress(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedIngress - -# listDeploymentForAllNamespaces -listDeploymentForAllNamespaces(_api::AppsV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::AppsV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1DeploymentForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::AppsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::AppsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta1DeploymentForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::AppsV1beta2Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::AppsV1beta2Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2DeploymentForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1DeploymentForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listDeploymentForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1DeploymentForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listDeploymentForAllNamespaces - -# watchEndpointsListForAllNamespaces -watchEndpointsListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1EndpointsListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchEndpointsListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1EndpointsListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchEndpointsListForAllNamespaces - -# watchFlowSchemaList -watchFlowSchemaList(_api::FlowcontrolApiserverV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchFlowSchemaList(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchFlowcontrolApiserverV1alpha1FlowSchemaList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchFlowSchemaList - -# watchNamespacedPodPreset -watchNamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSettingsV1alpha1NamespacedPodPreset(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodPreset - -# listCertificateSigningRequest -listCertificateSigningRequest(_api::CertificatesV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCertificatesV1beta1CertificateSigningRequest(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCertificatesV1beta1CertificateSigningRequest(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listCertificateSigningRequest - -# watchServiceListForAllNamespaces -watchServiceListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ServiceListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchServiceListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ServiceListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchServiceListForAllNamespaces - -# patchCustomResourceDefinitionStatus -patchCustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCustomResourceDefinitionStatus(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1CustomResourceDefinitionStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchCustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchCustomResourceDefinitionStatus - -# listNodeMetrics -listNodeMetrics(_api::MetricsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listMetricsV1beta1NodeMetrics(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNodeMetrics(_api::MetricsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listMetricsV1beta1NodeMetrics(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNodeMetrics - -# watchCertificateSigningRequestList -watchCertificateSigningRequestList(_api::CertificatesV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCertificatesV1beta1CertificateSigningRequestList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCertificateSigningRequestList(_api::CertificatesV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCertificatesV1beta1CertificateSigningRequestList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCertificateSigningRequestList - -# getAPIGroup -getAPIGroup(_api::AdmissionregistrationApi; _mediaType=nothing) = getAdmissionregistrationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::AdmissionregistrationApi, response_stream::Channel; _mediaType=nothing) = getAdmissionregistrationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::ApiextensionsApi; _mediaType=nothing) = getApiextensionsAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::ApiextensionsApi, response_stream::Channel; _mediaType=nothing) = getApiextensionsAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::ApiregistrationApi; _mediaType=nothing) = getApiregistrationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::ApiregistrationApi, response_stream::Channel; _mediaType=nothing) = getApiregistrationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::AppsApi; _mediaType=nothing) = getAppsAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::AppsApi, response_stream::Channel; _mediaType=nothing) = getAppsAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::AuditregistrationApi; _mediaType=nothing) = getAuditregistrationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::AuditregistrationApi, response_stream::Channel; _mediaType=nothing) = getAuditregistrationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::AuthenticationApi; _mediaType=nothing) = getAuthenticationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::AuthenticationApi, response_stream::Channel; _mediaType=nothing) = getAuthenticationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::AuthorizationApi; _mediaType=nothing) = getAuthorizationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::AuthorizationApi, response_stream::Channel; _mediaType=nothing) = getAuthorizationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::AutoscalingApi; _mediaType=nothing) = getAutoscalingAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::AutoscalingApi, response_stream::Channel; _mediaType=nothing) = getAutoscalingAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::BatchApi; _mediaType=nothing) = getBatchAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::BatchApi, response_stream::Channel; _mediaType=nothing) = getBatchAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::CertificatesApi; _mediaType=nothing) = getCertificatesAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::CertificatesApi, response_stream::Channel; _mediaType=nothing) = getCertificatesAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::CoordinationApi; _mediaType=nothing) = getCoordinationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::CoordinationApi, response_stream::Channel; _mediaType=nothing) = getCoordinationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::DiscoveryApi; _mediaType=nothing) = getDiscoveryAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::DiscoveryApi, response_stream::Channel; _mediaType=nothing) = getDiscoveryAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::EventsApi; _mediaType=nothing) = getEventsAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::EventsApi, response_stream::Channel; _mediaType=nothing) = getEventsAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::ExtensionsApi; _mediaType=nothing) = getExtensionsAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::ExtensionsApi, response_stream::Channel; _mediaType=nothing) = getExtensionsAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::FlowcontrolApiserverApi; _mediaType=nothing) = getFlowcontrolApiserverAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::FlowcontrolApiserverApi, response_stream::Channel; _mediaType=nothing) = getFlowcontrolApiserverAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::NetworkingApi; _mediaType=nothing) = getNetworkingAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::NetworkingApi, response_stream::Channel; _mediaType=nothing) = getNetworkingAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::NodeApi; _mediaType=nothing) = getNodeAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::NodeApi, response_stream::Channel; _mediaType=nothing) = getNodeAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::PolicyApi; _mediaType=nothing) = getPolicyAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::PolicyApi, response_stream::Channel; _mediaType=nothing) = getPolicyAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::RbacAuthorizationApi; _mediaType=nothing) = getRbacAuthorizationAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::RbacAuthorizationApi, response_stream::Channel; _mediaType=nothing) = getRbacAuthorizationAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::SchedulingApi; _mediaType=nothing) = getSchedulingAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::SchedulingApi, response_stream::Channel; _mediaType=nothing) = getSchedulingAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::SettingsApi; _mediaType=nothing) = getSettingsAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::SettingsApi, response_stream::Channel; _mediaType=nothing) = getSettingsAPIGroup(_api, response_stream; _mediaType=_mediaType) -getAPIGroup(_api::StorageApi; _mediaType=nothing) = getStorageAPIGroup(_api; _mediaType=_mediaType) -getAPIGroup(_api::StorageApi, response_stream::Channel; _mediaType=nothing) = getStorageAPIGroup(_api, response_stream; _mediaType=_mediaType) -export getAPIGroup - -# deleteCollectionNamespacedIngress -deleteCollectionNamespacedIngress(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedIngress(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedIngress(_api::NetworkingV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNetworkingV1beta1CollectionNamespacedIngress(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteNetworkingV1beta1CollectionNamespacedIngress(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedIngress - -# connectPostNamespacedServiceProxy -connectPostNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectPostNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectPostNamespacedServiceProxy - -# deleteNamespacedRole -deleteNamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1NamespacedRole(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedRole - -# deleteNamespacedSecret -deleteNamespacedSecret(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedSecret(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedSecret(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedSecret - -# connectHeadNamespacedPodProxyWithPath -connectHeadNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectHeadNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectHeadNamespacedPodProxyWithPath - -# readNamespacedPersistentVolumeClaim -readNamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedPersistentVolumeClaim - -# connectDeleteNodeProxyWithPath -connectDeleteNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1DeleteNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectDeleteNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1DeleteNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectDeleteNodeProxyWithPath - -# patchPodSecurityPolicy -patchPodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1PodSecurityPolicy(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPodSecurityPolicy(_api::PolicyV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchPolicyV1beta1PodSecurityPolicy(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchPolicyV1beta1PodSecurityPolicy(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchPodSecurityPolicy - -# readAuditSink -readAuditSink(_api::AuditregistrationV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAuditregistrationV1alpha1AuditSink(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAuditregistrationV1alpha1AuditSink(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readAuditSink - -# readPriorityLevelConfigurationStatus -readPriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readPriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readPriorityLevelConfigurationStatus - -# deleteCollectionNamespacedStatefulSet -deleteCollectionNamespacedStatefulSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedStatefulSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta1CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta1CollectionNamespacedStatefulSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedStatefulSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedStatefulSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedStatefulSet - -# deleteNamespacedDaemonSet -deleteNamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedDaemonSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedDaemonSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedDaemonSet - -# patchMutatingWebhookConfiguration -patchMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchMutatingWebhookConfiguration - -# connectPutNodeProxy -connectPutNodeProxy(_api::CoreV1Api, name::String; path=nothing, _mediaType=nothing) = connectCoreV1PutNodeProxy(_api, name; path=path, _mediaType=_mediaType) -connectPutNodeProxy(_api::CoreV1Api, response_stream::Channel, name::String; path=nothing, _mediaType=nothing) = connectCoreV1PutNodeProxy(_api, response_stream, name; path=path, _mediaType=_mediaType) -export connectPutNodeProxy - -# watchCronJobListForAllNamespaces -watchCronJobListForAllNamespaces(_api::BatchV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1beta1CronJobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCronJobListForAllNamespaces(_api::BatchV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1beta1CronJobListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCronJobListForAllNamespaces(_api::BatchV2alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV2alpha1CronJobListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCronJobListForAllNamespaces(_api::BatchV2alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV2alpha1CronJobListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCronJobListForAllNamespaces - -# connectDeleteNamespacedServiceProxy -connectDeleteNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectDeleteNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1DeleteNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectDeleteNamespacedServiceProxy - -# deleteCollectionStorageClass -deleteCollectionStorageClass(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1CollectionStorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionStorageClass(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1CollectionStorageClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionStorageClass(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionStorageClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionStorageClass(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionStorageClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionStorageClass - -# connectPatchNamespacedServiceProxy -connectPatchNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectPatchNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectPatchNamespacedServiceProxy - -# replaceNamespacedHorizontalPodAutoscaler -replaceNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedHorizontalPodAutoscaler - -# listClusterRoleBinding -listClusterRoleBinding(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1ClusterRoleBinding(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRoleBinding(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1ClusterRoleBinding(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listClusterRoleBinding - -# readNamespacedResourceQuotaStatus -readNamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedResourceQuotaStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedResourceQuotaStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readCoreV1NamespacedResourceQuotaStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedResourceQuotaStatus - -# replaceNamespacedEndpoints -replaceNamespacedEndpoints(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedEndpoints(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedEndpoints(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedEndpoints(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedEndpoints - -# replaceNamespacedStatefulSetScale -replaceNamespacedStatefulSetScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedStatefulSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedStatefulSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedStatefulSetScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedStatefulSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedStatefulSetScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedStatefulSetScale - -# watchNamespacedCronJob -watchNamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1beta1NamespacedCronJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1beta1NamespacedCronJob(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV2alpha1NamespacedCronJob(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV2alpha1NamespacedCronJob(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedCronJob - -# watchAuditSink -watchAuditSink(_api::AuditregistrationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAuditregistrationV1alpha1AuditSink(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAuditregistrationV1alpha1AuditSink(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchAuditSink - -# watchAPIService -watchAPIService(_api::ApiregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1APIService(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAPIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1APIService(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAPIService(_api::ApiregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1beta1APIService(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchApiregistrationV1beta1APIService(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchAPIService - -# watchServiceAccountListForAllNamespaces -watchServiceAccountListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ServiceAccountListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchServiceAccountListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ServiceAccountListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchServiceAccountListForAllNamespaces - -# readNamespacedReplicaSet -readNamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedReplicaSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedReplicaSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedReplicaSet - -# patchVolumeAttachmentStatus -patchVolumeAttachmentStatus(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1VolumeAttachmentStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchVolumeAttachmentStatus(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchStorageV1VolumeAttachmentStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchVolumeAttachmentStatus - -# readNamespacedControllerRevision -readNamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedControllerRevision(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedControllerRevision(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedControllerRevision(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedControllerRevision(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedControllerRevision - -# watchNamespacedDaemonSetList -watchNamespacedDaemonSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSetList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDaemonSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSetList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDaemonSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSetList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDaemonSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDaemonSetList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDaemonSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedDaemonSetList - -# connectPostNamespacedPodProxyWithPath -connectPostNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectPostNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PostNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectPostNamespacedPodProxyWithPath - -# connectHeadNodeProxyWithPath -connectHeadNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1HeadNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectHeadNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1HeadNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectHeadNodeProxyWithPath - -# replaceNamespacedDaemonSet -replaceNamespacedDaemonSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDaemonSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDaemonSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDaemonSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedDaemonSet - -# replaceRuntimeClass -replaceRuntimeClass(_api::NodeV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNodeV1alpha1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNodeV1alpha1RuntimeClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceRuntimeClass(_api::NodeV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNodeV1beta1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNodeV1beta1RuntimeClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceRuntimeClass - -# replaceNamespacedLimitRange -replaceNamespacedLimitRange(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedLimitRange(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedLimitRange(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedLimitRange(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedLimitRange - -# deleteCollectionNamespacedRole -deleteCollectionNamespacedRole(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionNamespacedRole(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionNamespacedRole(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionNamespacedRole(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedRole - -# watchNamespacedResourceQuotaList -watchNamespacedResourceQuotaList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedResourceQuotaList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedResourceQuotaList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedResourceQuotaList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedResourceQuotaList - -# patchFlowSchema -patchFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1FlowSchema(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchFlowSchema - -# readNode -readNode(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1Node(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNode(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1Node(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNode - -# deleteCollectionClusterRole -deleteCollectionClusterRole(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionClusterRole(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRole(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionClusterRole(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRole(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionClusterRole(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionClusterRole - -# patchNamespacedCronJob -patchNamespacedCronJob(_api::BatchV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1beta1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV1beta1NamespacedCronJob(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedCronJob(_api::BatchV2alpha1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV2alpha1NamespacedCronJob(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchBatchV2alpha1NamespacedCronJob(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedCronJob - -# createFlowSchema -createFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createFlowcontrolApiserverV1alpha1FlowSchema(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createFlowSchema - -# createNamespacedRoleBinding -createNamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1NamespacedRoleBinding(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedRoleBinding - -# listNamespacedEvent -listNamespacedEvent(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedEvent(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedEvent(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedEvent(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listEventsV1beta1NamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listEventsV1beta1NamespacedEvent(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedEvent - -# deleteCollectionNamespacedEvent -deleteCollectionNamespacedEvent(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedEvent(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedEvent(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedEvent(_api::EventsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteEventsV1beta1CollectionNamespacedEvent(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteEventsV1beta1CollectionNamespacedEvent(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedEvent - -# getAPIResources -getAPIResources(_api::AdmissionregistrationV1Api; _mediaType=nothing) = getAdmissionregistrationV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AdmissionregistrationV1Api, response_stream::Channel; _mediaType=nothing) = getAdmissionregistrationV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AdmissionregistrationV1beta1Api; _mediaType=nothing) = getAdmissionregistrationV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; _mediaType=nothing) = getAdmissionregistrationV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::ApiextensionsV1Api; _mediaType=nothing) = getApiextensionsV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::ApiextensionsV1Api, response_stream::Channel; _mediaType=nothing) = getApiextensionsV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::ApiextensionsV1beta1Api; _mediaType=nothing) = getApiextensionsV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::ApiextensionsV1beta1Api, response_stream::Channel; _mediaType=nothing) = getApiextensionsV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::ApiregistrationV1Api; _mediaType=nothing) = getApiregistrationV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::ApiregistrationV1Api, response_stream::Channel; _mediaType=nothing) = getApiregistrationV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::ApiregistrationV1beta1Api; _mediaType=nothing) = getApiregistrationV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::ApiregistrationV1beta1Api, response_stream::Channel; _mediaType=nothing) = getApiregistrationV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AppsV1Api; _mediaType=nothing) = getAppsV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AppsV1Api, response_stream::Channel; _mediaType=nothing) = getAppsV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AppsV1beta1Api; _mediaType=nothing) = getAppsV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AppsV1beta1Api, response_stream::Channel; _mediaType=nothing) = getAppsV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AppsV1beta2Api; _mediaType=nothing) = getAppsV1beta2APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AppsV1beta2Api, response_stream::Channel; _mediaType=nothing) = getAppsV1beta2APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AuditregistrationV1alpha1Api; _mediaType=nothing) = getAuditregistrationV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AuditregistrationV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getAuditregistrationV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AuthenticationV1Api; _mediaType=nothing) = getAuthenticationV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AuthenticationV1Api, response_stream::Channel; _mediaType=nothing) = getAuthenticationV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AuthenticationV1beta1Api; _mediaType=nothing) = getAuthenticationV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AuthenticationV1beta1Api, response_stream::Channel; _mediaType=nothing) = getAuthenticationV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AuthorizationV1Api; _mediaType=nothing) = getAuthorizationV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AuthorizationV1Api, response_stream::Channel; _mediaType=nothing) = getAuthorizationV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AuthorizationV1beta1Api; _mediaType=nothing) = getAuthorizationV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AuthorizationV1beta1Api, response_stream::Channel; _mediaType=nothing) = getAuthorizationV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AutoscalingV1Api; _mediaType=nothing) = getAutoscalingV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AutoscalingV1Api, response_stream::Channel; _mediaType=nothing) = getAutoscalingV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AutoscalingV2beta1Api; _mediaType=nothing) = getAutoscalingV2beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AutoscalingV2beta1Api, response_stream::Channel; _mediaType=nothing) = getAutoscalingV2beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::AutoscalingV2beta2Api; _mediaType=nothing) = getAutoscalingV2beta2APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::AutoscalingV2beta2Api, response_stream::Channel; _mediaType=nothing) = getAutoscalingV2beta2APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::BatchV1Api; _mediaType=nothing) = getBatchV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::BatchV1Api, response_stream::Channel; _mediaType=nothing) = getBatchV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::BatchV1beta1Api; _mediaType=nothing) = getBatchV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::BatchV1beta1Api, response_stream::Channel; _mediaType=nothing) = getBatchV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::BatchV2alpha1Api; _mediaType=nothing) = getBatchV2alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::BatchV2alpha1Api, response_stream::Channel; _mediaType=nothing) = getBatchV2alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::CertificatesV1beta1Api; _mediaType=nothing) = getCertificatesV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::CertificatesV1beta1Api, response_stream::Channel; _mediaType=nothing) = getCertificatesV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::CoordinationV1Api; _mediaType=nothing) = getCoordinationV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::CoordinationV1Api, response_stream::Channel; _mediaType=nothing) = getCoordinationV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::CoordinationV1beta1Api; _mediaType=nothing) = getCoordinationV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::CoordinationV1beta1Api, response_stream::Channel; _mediaType=nothing) = getCoordinationV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::CoreV1Api; _mediaType=nothing) = getCoreV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::CoreV1Api, response_stream::Channel; _mediaType=nothing) = getCoreV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::DiscoveryV1beta1Api; _mediaType=nothing) = getDiscoveryV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::DiscoveryV1beta1Api, response_stream::Channel; _mediaType=nothing) = getDiscoveryV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::EventsV1beta1Api; _mediaType=nothing) = getEventsV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::EventsV1beta1Api, response_stream::Channel; _mediaType=nothing) = getEventsV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::ExtensionsV1beta1Api; _mediaType=nothing) = getExtensionsV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::ExtensionsV1beta1Api, response_stream::Channel; _mediaType=nothing) = getExtensionsV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::FlowcontrolApiserverV1alpha1Api; _mediaType=nothing) = getFlowcontrolApiserverV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getFlowcontrolApiserverV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::NetworkingV1Api; _mediaType=nothing) = getNetworkingV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::NetworkingV1Api, response_stream::Channel; _mediaType=nothing) = getNetworkingV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::NetworkingV1beta1Api; _mediaType=nothing) = getNetworkingV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::NetworkingV1beta1Api, response_stream::Channel; _mediaType=nothing) = getNetworkingV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::NodeV1alpha1Api; _mediaType=nothing) = getNodeV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::NodeV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getNodeV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::NodeV1beta1Api; _mediaType=nothing) = getNodeV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::NodeV1beta1Api, response_stream::Channel; _mediaType=nothing) = getNodeV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::PolicyV1beta1Api; _mediaType=nothing) = getPolicyV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::PolicyV1beta1Api, response_stream::Channel; _mediaType=nothing) = getPolicyV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::RbacAuthorizationV1Api; _mediaType=nothing) = getRbacAuthorizationV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::RbacAuthorizationV1Api, response_stream::Channel; _mediaType=nothing) = getRbacAuthorizationV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::RbacAuthorizationV1alpha1Api; _mediaType=nothing) = getRbacAuthorizationV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getRbacAuthorizationV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::RbacAuthorizationV1beta1Api; _mediaType=nothing) = getRbacAuthorizationV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; _mediaType=nothing) = getRbacAuthorizationV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::SchedulingV1Api; _mediaType=nothing) = getSchedulingV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::SchedulingV1Api, response_stream::Channel; _mediaType=nothing) = getSchedulingV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::SchedulingV1alpha1Api; _mediaType=nothing) = getSchedulingV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::SchedulingV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getSchedulingV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::SchedulingV1beta1Api; _mediaType=nothing) = getSchedulingV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::SchedulingV1beta1Api, response_stream::Channel; _mediaType=nothing) = getSchedulingV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::SettingsV1alpha1Api; _mediaType=nothing) = getSettingsV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::SettingsV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getSettingsV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::StorageV1Api; _mediaType=nothing) = getStorageV1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::StorageV1Api, response_stream::Channel; _mediaType=nothing) = getStorageV1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::StorageV1alpha1Api; _mediaType=nothing) = getStorageV1alpha1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::StorageV1alpha1Api, response_stream::Channel; _mediaType=nothing) = getStorageV1alpha1APIResources(_api, response_stream; _mediaType=_mediaType) -getAPIResources(_api::StorageV1beta1Api; _mediaType=nothing) = getStorageV1beta1APIResources(_api; _mediaType=_mediaType) -getAPIResources(_api::StorageV1beta1Api, response_stream::Channel; _mediaType=nothing) = getStorageV1beta1APIResources(_api, response_stream; _mediaType=_mediaType) -export getAPIResources - -# replaceNamespaceStatus -replaceNamespaceStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespaceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespaceStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespaceStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespaceStatus - -# replaceNamespacedIngressStatus -replaceNamespacedIngressStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedIngressStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedIngressStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedIngressStatus(_api::NetworkingV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNetworkingV1beta1NamespacedIngressStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedIngressStatus(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceNetworkingV1beta1NamespacedIngressStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedIngressStatus - -# connectOptionsNamespacedPodProxy -connectOptionsNamespacedPodProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedPodProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectOptionsNamespacedPodProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedPodProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectOptionsNamespacedPodProxy - -# patchAPIServiceStatus -patchAPIServiceStatus(_api::ApiregistrationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAPIServiceStatus(_api::ApiregistrationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1APIServiceStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAPIServiceStatus(_api::ApiregistrationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1beta1APIServiceStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAPIServiceStatus(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchApiregistrationV1beta1APIServiceStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchAPIServiceStatus - -# connectPatchNamespacedServiceProxyWithPath -connectPatchNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectPatchNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectPatchNamespacedServiceProxyWithPath - -# createPriorityClass -createPriorityClass(_api::SchedulingV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSchedulingV1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPriorityClass(_api::SchedulingV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSchedulingV1PriorityClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPriorityClass(_api::SchedulingV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSchedulingV1alpha1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSchedulingV1alpha1PriorityClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPriorityClass(_api::SchedulingV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSchedulingV1beta1PriorityClass(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createSchedulingV1beta1PriorityClass(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createPriorityClass - -# replaceNamespacedDeployment -replaceNamespacedDeployment(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta1NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceAppsV1beta2NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDeployment(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceExtensionsV1beta1NamespacedDeployment(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedDeployment - -# patchNamespacedReplicaSet -patchNamespacedReplicaSet(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedReplicaSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSet(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedReplicaSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSet(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicaSet(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedReplicaSet - -# readComponentStatus -readComponentStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1ComponentStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readComponentStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1ComponentStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readComponentStatus - -# watchNamespacedPodTemplateList -watchNamespacedPodTemplateList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPodTemplateList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPodTemplateList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPodTemplateList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPodTemplateList - -# replacePersistentVolumeStatus -replacePersistentVolumeStatus(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1PersistentVolumeStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePersistentVolumeStatus(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1PersistentVolumeStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replacePersistentVolumeStatus - -# connectOptionsNamespacedServiceProxy -connectOptionsNamespacedServiceProxy(_api::CoreV1Api, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedServiceProxy(_api, name, namespace; path=path, _mediaType=_mediaType) -connectOptionsNamespacedServiceProxy(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; path=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedServiceProxy(_api, response_stream, name, namespace; path=path, _mediaType=_mediaType) -export connectOptionsNamespacedServiceProxy - -# listNamespacedJob -listNamespacedJob(_api::BatchV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1NamespacedJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedJob(_api::BatchV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1NamespacedJob(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedJob - -# createNamespacedService -createNamespacedService(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedService(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedService(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedService(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedService - -# readNamespacedService -readNamespacedService(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedService(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1NamespacedService(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedService - -# listNamespace -listNamespace(_api::CoreV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1Namespace(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespace(_api::CoreV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1Namespace(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespace - -# createNamespacedHorizontalPodAutoscaler -createNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedHorizontalPodAutoscaler - -# readNamespacedPodPreset -readNamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readSettingsV1alpha1NamespacedPodPreset(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedPodPreset - -# patchAuditSink -patchAuditSink(_api::AuditregistrationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAuditregistrationV1alpha1AuditSink(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAuditregistrationV1alpha1AuditSink(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchAuditSink - -# createMutatingWebhookConfiguration -createMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1MutatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createMutatingWebhookConfiguration - -# replaceNamespacedReplicationController -replaceNamespacedReplicationController(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedReplicationController(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicationController(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedReplicationController(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicationController - -# listCSINode -listCSINode(_api::StorageV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1CSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCSINode(_api::StorageV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1CSINode(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCSINode(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1CSINode(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCSINode(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listStorageV1beta1CSINode(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listCSINode - -# createNamespacedEndpointSlice -createNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createDiscoveryV1beta1NamespacedEndpointSlice(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedEndpointSlice - -# patchNamespacedResourceQuotaStatus -patchNamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedResourceQuotaStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedResourceQuotaStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedResourceQuotaStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedResourceQuotaStatus - -# patchPersistentVolume -patchPersistentVolume(_api::CoreV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1PersistentVolume(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1PersistentVolume(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchPersistentVolume - -# watchClusterRoleList -watchClusterRoleList(_api::RbacAuthorizationV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleList(_api::RbacAuthorizationV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRoleList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleList(_api::RbacAuthorizationV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleList(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRoleList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleList(_api::RbacAuthorizationV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRoleList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleList(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRoleList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchClusterRoleList - -# createNamespacedPodTemplate -createNamespacedPodTemplate(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedPodTemplate(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedPodTemplate(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedPodTemplate - -# readNamespacedStatefulSet -readNamespacedStatefulSet(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1NamespacedStatefulSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedStatefulSet(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta1NamespacedStatefulSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedStatefulSet(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedStatefulSet(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedStatefulSet(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedStatefulSet - -# replaceNamespacedServiceStatus -replaceNamespacedServiceStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedServiceStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedServiceStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedServiceStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedServiceStatus - -# createVolumeAttachment -createVolumeAttachment(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createVolumeAttachment(_api::StorageV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1VolumeAttachment(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createVolumeAttachment(_api::StorageV1alpha1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1alpha1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1alpha1VolumeAttachment(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createVolumeAttachment(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1VolumeAttachment(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1VolumeAttachment(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createVolumeAttachment - -# watchNamespacedIngress -watchNamespacedIngress(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedIngress(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedIngress(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedIngress(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedIngress(_api::NetworkingV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1beta1NamespacedIngress(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedIngress(_api::NetworkingV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1beta1NamespacedIngress(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedIngress - -# watchResourceQuotaListForAllNamespaces -watchResourceQuotaListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ResourceQuotaListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchResourceQuotaListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1ResourceQuotaListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchResourceQuotaListForAllNamespaces - -# listCronJobForAllNamespaces -listCronJobForAllNamespaces(_api::BatchV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1beta1CronJobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCronJobForAllNamespaces(_api::BatchV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV1beta1CronJobForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCronJobForAllNamespaces(_api::BatchV2alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV2alpha1CronJobForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listCronJobForAllNamespaces(_api::BatchV2alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listBatchV2alpha1CronJobForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listCronJobForAllNamespaces - -# createCertificateSigningRequest -createCertificateSigningRequest(_api::CertificatesV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCertificatesV1beta1CertificateSigningRequest(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCertificateSigningRequest(_api::CertificatesV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCertificatesV1beta1CertificateSigningRequest(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createCertificateSigningRequest - -# watchMutatingWebhookConfiguration -watchMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1MutatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchMutatingWebhookConfiguration - -# listConfigMapForAllNamespaces -listConfigMapForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ConfigMapForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listConfigMapForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1ConfigMapForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listConfigMapForAllNamespaces - -# replaceNamespacedPodDisruptionBudgetStatus -replaceNamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPodDisruptionBudgetStatus(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPodDisruptionBudgetStatus - -# watchNamespacedRole -watchNamespacedRole(_api::RbacAuthorizationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRole(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRole(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRole(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRole(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedRole - -# readCustomResourceDefinition -readCustomResourceDefinition(_api::ApiextensionsV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiextensionsV1CustomResourceDefinition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiextensionsV1CustomResourceDefinition(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiextensionsV1beta1CustomResourceDefinition(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiextensionsV1beta1CustomResourceDefinition(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readCustomResourceDefinition - -# deleteCollectionNamespacedResourceQuota -deleteCollectionNamespacedResourceQuota(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedResourceQuota(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedResourceQuota(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteCoreV1CollectionNamespacedResourceQuota(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedResourceQuota - -# patchRuntimeClass -patchRuntimeClass(_api::NodeV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNodeV1alpha1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNodeV1alpha1RuntimeClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchRuntimeClass(_api::NodeV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNodeV1beta1RuntimeClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchNodeV1beta1RuntimeClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchRuntimeClass - -# listNamespacedHorizontalPodAutoscaler -listNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedHorizontalPodAutoscaler - -# createNamespacedRole -createNamespacedRole(_api::RbacAuthorizationV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRole(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1NamespacedRole(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRole(_api::RbacAuthorizationV1alpha1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1alpha1NamespacedRole(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRole(_api::RbacAuthorizationV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1NamespacedRole(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createRbacAuthorizationV1beta1NamespacedRole(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedRole - -# watchNamespacedJobList -watchNamespacedJobList(_api::BatchV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1NamespacedJobList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedJobList(_api::BatchV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchBatchV1NamespacedJobList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedJobList - -# createNamespacedDeploymentRollback -createNamespacedDeploymentRollback(_api::AppsV1beta1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedDeploymentRollback(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedDeploymentRollback(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedDeploymentRollback(_api, response_stream, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedDeploymentRollback(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedDeploymentRollback(_api, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createNamespacedDeploymentRollback(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedDeploymentRollback(_api, response_stream, name, namespace, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createNamespacedDeploymentRollback - -# deleteCollectionNamespacedPodPreset -deleteCollectionNamespacedPodPreset(_api::SettingsV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteSettingsV1alpha1CollectionNamespacedPodPreset(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedPodPreset - -# listPriorityLevelConfiguration -listPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPriorityLevelConfiguration - -# patchNamespacedDeploymentScale -patchNamespacedDeploymentScale(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDeploymentScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDeploymentScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedDeploymentScale - -# deleteCollectionNamespacedCronJob -deleteCollectionNamespacedCronJob(_api::BatchV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteBatchV1beta1CollectionNamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedCronJob(_api::BatchV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteBatchV1beta1CollectionNamespacedCronJob(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedCronJob(_api::BatchV2alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteBatchV2alpha1CollectionNamespacedCronJob(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedCronJob(_api::BatchV2alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteBatchV2alpha1CollectionNamespacedCronJob(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedCronJob - -# watchNamespaceList -watchNamespaceList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespaceList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespaceList(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespaceList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespaceList - -# listNamespacedDaemonSet -listNamespacedDaemonSet(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDaemonSet(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1NamespacedDaemonSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDaemonSet(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDaemonSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAppsV1beta2NamespacedDaemonSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDaemonSet(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedDaemonSet(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedDaemonSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NamespacedDaemonSet(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedDaemonSet - -# createValidatingWebhookConfiguration -createValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1ValidatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1ValidatingWebhookConfiguration(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAdmissionregistrationV1beta1ValidatingWebhookConfiguration(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createValidatingWebhookConfiguration - -# createAPIService -createAPIService(_api::ApiregistrationV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiregistrationV1APIService(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createAPIService(_api::ApiregistrationV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiregistrationV1APIService(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createAPIService(_api::ApiregistrationV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiregistrationV1beta1APIService(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createApiregistrationV1beta1APIService(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createAPIService - -# listPriorityClass -listPriorityClass(_api::SchedulingV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSchedulingV1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPriorityClass(_api::SchedulingV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSchedulingV1PriorityClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPriorityClass(_api::SchedulingV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSchedulingV1alpha1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSchedulingV1alpha1PriorityClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPriorityClass(_api::SchedulingV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSchedulingV1beta1PriorityClass(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listSchedulingV1beta1PriorityClass(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listPriorityClass - -# readNodeStatus -readNodeStatus(_api::CoreV1Api, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1NodeStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readNodeStatus(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readCoreV1NodeStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readNodeStatus - -# replaceCustomResourceDefinition -replaceCustomResourceDefinition(_api::ApiextensionsV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1CustomResourceDefinition(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1beta1CustomResourceDefinition(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceApiextensionsV1beta1CustomResourceDefinition(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceCustomResourceDefinition - -# deleteCSINode -deleteCSINode(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1CSINode(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCSINode(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1CSINode(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCSINode(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1CSINode(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1CSINode(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteCSINode - -# createTokenReview -createTokenReview(_api::AuthenticationV1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthenticationV1TokenReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createTokenReview(_api::AuthenticationV1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthenticationV1TokenReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createTokenReview(_api::AuthenticationV1beta1Api, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthenticationV1beta1TokenReview(_api, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -createTokenReview(_api::AuthenticationV1beta1Api, response_stream::Channel, body; dryRun=nothing, fieldManager=nothing, pretty=nothing, _mediaType=nothing) = createAuthenticationV1beta1TokenReview(_api, response_stream, body; dryRun=dryRun, fieldManager=fieldManager, pretty=pretty, _mediaType=_mediaType) -export createTokenReview - -# listNamespacedEndpointSlice -listNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listDiscoveryV1beta1NamespacedEndpointSlice(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedEndpointSlice - -# watchNamespacedPod -watchNamespacedPod(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPod(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedPod(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedPod(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedPod - -# createNamespacedStatefulSet -createNamespacedStatefulSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedStatefulSet(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedStatefulSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedStatefulSet(_api::AppsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedStatefulSet(_api::AppsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta1NamespacedStatefulSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedStatefulSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedStatefulSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedStatefulSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedStatefulSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedStatefulSet - -# watchPodListForAllNamespaces -watchPodListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PodListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPodListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PodListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPodListForAllNamespaces - -# readNamespacedReplicaSetScale -readNamespacedReplicaSetScale(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetScale(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1NamespacedReplicaSetScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetScale(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetScale(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readAppsV1beta2NamespacedReplicaSetScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicaSetScale(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedReplicaSetScale(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readExtensionsV1beta1NamespacedReplicaSetScale(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedReplicaSetScale - -# replaceCSINode -replaceCSINode(_api::StorageV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCSINode(_api::StorageV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1CSINode(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCSINode(_api::StorageV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1CSINode(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceCSINode(_api::StorageV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceStorageV1beta1CSINode(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceCSINode - -# createNamespacedPod -createNamespacedPod(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedPod(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedPod(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedPod(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedPod - -# listClusterRole -listClusterRole(_api::RbacAuthorizationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRole(_api::RbacAuthorizationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1ClusterRole(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRole(_api::RbacAuthorizationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRole(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1alpha1ClusterRole(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRole(_api::RbacAuthorizationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1ClusterRole(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listClusterRole(_api::RbacAuthorizationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listRbacAuthorizationV1beta1ClusterRole(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listClusterRole - -# listEventForAllNamespaces -listEventForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1EventForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listEventForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1EventForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listEventForAllNamespaces(_api::EventsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listEventsV1beta1EventForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listEventForAllNamespaces(_api::EventsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listEventsV1beta1EventForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listEventForAllNamespaces - -# listMutatingWebhookConfiguration -listMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1MutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listMutatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1MutatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listMutatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAdmissionregistrationV1beta1MutatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listMutatingWebhookConfiguration - -# watchLimitRangeListForAllNamespaces -watchLimitRangeListForAllNamespaces(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1LimitRangeListForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchLimitRangeListForAllNamespaces(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1LimitRangeListForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchLimitRangeListForAllNamespaces - -# watchNamespacedLimitRangeList -watchNamespacedLimitRangeList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedLimitRangeList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedLimitRangeList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedLimitRangeList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedLimitRangeList - -# readNamespacedPodDisruptionBudget -readNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readPolicyV1beta1NamespacedPodDisruptionBudget(_api, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readPolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, name, namespace; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespacedPodDisruptionBudget - -# readStorageClass -readStorageClass(_api::StorageV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1StorageClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readStorageClass(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1StorageClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readStorageClass(_api::StorageV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1StorageClass(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readStorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readStorageV1beta1StorageClass(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readStorageClass - -# connectPatchNamespacedPodProxyWithPath -connectPatchNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectPatchNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PatchNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectPatchNamespacedPodProxyWithPath - -# replacePriorityLevelConfigurationStatus -replacePriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replacePriorityLevelConfigurationStatus(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replacePriorityLevelConfigurationStatus - -# patchPriorityClass -patchPriorityClass(_api::SchedulingV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSchedulingV1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityClass(_api::SchedulingV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSchedulingV1PriorityClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityClass(_api::SchedulingV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSchedulingV1alpha1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityClass(_api::SchedulingV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSchedulingV1alpha1PriorityClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityClass(_api::SchedulingV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSchedulingV1beta1PriorityClass(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchPriorityClass(_api::SchedulingV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchSchedulingV1beta1PriorityClass(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchPriorityClass - -# deleteNamespacedConfigMap -deleteNamespacedConfigMap(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedConfigMap(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedConfigMap(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedConfigMap - -# listNetworkPolicyForAllNamespaces -listNetworkPolicyForAllNamespaces(_api::ExtensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNetworkPolicyForAllNamespaces(_api::ExtensionsV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listExtensionsV1beta1NetworkPolicyForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNetworkPolicyForAllNamespaces(_api::NetworkingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1NetworkPolicyForAllNamespaces(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNetworkPolicyForAllNamespaces(_api::NetworkingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listNetworkingV1NetworkPolicyForAllNamespaces(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNetworkPolicyForAllNamespaces - -# watchNamespacedDeploymentList -watchNamespacedDeploymentList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedDeploymentList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::AppsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta1NamespacedDeploymentList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedDeploymentList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDeploymentList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedDeploymentList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedDeploymentList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedDeploymentList - -# patchNamespacedPodTemplate -patchNamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPodTemplate(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPodTemplate(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPodTemplate - -# createNamespacedReplicaSet -createNamespacedReplicaSet(_api::AppsV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedReplicaSet(_api::AppsV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1NamespacedReplicaSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedReplicaSet(_api::AppsV1beta2Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedReplicaSet(_api::AppsV1beta2Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createAppsV1beta2NamespacedReplicaSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedReplicaSet(_api::ExtensionsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedReplicaSet(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedReplicaSet(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createExtensionsV1beta1NamespacedReplicaSet(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedReplicaSet - -# watchNodeList -watchNodeList(_api::CoreV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NodeList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNodeList(_api::CoreV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NodeList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNodeList - -# watchNamespacedServiceList -watchNamespacedServiceList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedServiceList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedServiceList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedServiceList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedServiceList - -# replaceClusterRoleBinding -replaceClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1ClusterRoleBinding(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceClusterRoleBinding - -# watchCSIDriver -watchCSIDriver(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSIDriver(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchCSIDriver(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1CSIDriver(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchCSIDriver - -# watchNamespacedHorizontalPodAutoscaler -watchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedHorizontalPodAutoscaler - -# connectGetNamespacedServiceProxyWithPath -connectGetNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectGetNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1GetNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectGetNamespacedServiceProxyWithPath - -# readPriorityLevelConfiguration -readPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPriorityLevelConfiguration(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readPriorityLevelConfiguration - -# deleteNamespacedHorizontalPodAutoscaler -deleteNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedHorizontalPodAutoscaler(_api::AutoscalingV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedHorizontalPodAutoscaler(_api::AutoscalingV2beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedHorizontalPodAutoscaler - -# deleteCollectionNamespacedRoleBinding -deleteCollectionNamespacedRoleBinding(_api::RbacAuthorizationV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedRoleBinding - -# readNamespace -readNamespace(_api::CoreV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1Namespace(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readNamespace(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readCoreV1Namespace(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readNamespace - -# createNamespacedEvent -createNamespacedEvent(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedEvent(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedEvent(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedEvent(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedEvent(_api::EventsV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createEventsV1beta1NamespacedEvent(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedEvent(_api::EventsV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createEventsV1beta1NamespacedEvent(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedEvent - -# readAPIService -readAPIService(_api::ApiregistrationV1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiregistrationV1APIService(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readAPIService(_api::ApiregistrationV1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiregistrationV1APIService(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readAPIService(_api::ApiregistrationV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiregistrationV1beta1APIService(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readAPIService(_api::ApiregistrationV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readApiregistrationV1beta1APIService(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readAPIService - -# deleteNamespacedPodTemplate -deleteNamespacedPodTemplate(_api::CoreV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedPodTemplate(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedPodTemplate(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1NamespacedPodTemplate(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedPodTemplate - -# watchNamespacedReplicaSetList -watchNamespacedReplicaSetList(_api::AppsV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSetList(_api::AppsV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1NamespacedReplicaSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSetList(_api::AppsV1beta2Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSetList(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchAppsV1beta2NamespacedReplicaSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSetList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedReplicaSetList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedReplicaSetList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedReplicaSetList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedReplicaSetList - -# connectPostNodeProxyWithPath -connectPostNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PostNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectPostNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PostNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectPostNodeProxyWithPath - -# deleteNamespacedEndpointSlice -deleteNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedEndpointSlice - -# createCSINode -createCSINode(_api::StorageV1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1CSINode(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCSINode(_api::StorageV1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1CSINode(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCSINode(_api::StorageV1beta1Api, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1CSINode(_api, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createCSINode(_api::StorageV1beta1Api, response_stream::Channel, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createStorageV1beta1CSINode(_api, response_stream, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createCSINode - -# watchNamespacedRoleBinding -watchNamespacedRoleBinding(_api::RbacAuthorizationV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1NamespacedRoleBinding(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1NamespacedRoleBinding(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1NamespacedRoleBinding(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedRoleBinding - -# replaceNamespacedResourceQuotaStatus -replaceNamespacedResourceQuotaStatus(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedResourceQuotaStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedResourceQuotaStatus(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedResourceQuotaStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedResourceQuotaStatus - -# replaceNamespacedPersistentVolumeClaim -replaceNamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedPersistentVolumeClaim - -# patchNamespacedDeploymentStatus -patchNamespacedDeploymentStatus(_api::AppsV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::AppsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta1NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::AppsV1beta2Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchAppsV1beta2NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDeploymentStatus(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedDeploymentStatus(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchExtensionsV1beta1NamespacedDeploymentStatus(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedDeploymentStatus - -# deleteNamespacedControllerRevision -deleteNamespacedControllerRevision(_api::AppsV1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedControllerRevision(_api::AppsV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1NamespacedControllerRevision(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedControllerRevision(_api::AppsV1beta1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta1NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedControllerRevision(_api::AppsV1beta1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta1NamespacedControllerRevision(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedControllerRevision(_api::AppsV1beta2Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedControllerRevision(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedControllerRevision(_api::AppsV1beta2Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteAppsV1beta2NamespacedControllerRevision(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedControllerRevision - -# readCustomResourceDefinitionStatus -readCustomResourceDefinitionStatus(_api::ApiextensionsV1Api, name::String; pretty=nothing, _mediaType=nothing) = readApiextensionsV1CustomResourceDefinitionStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readCustomResourceDefinitionStatus(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readApiextensionsV1CustomResourceDefinitionStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -readCustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, _mediaType=nothing) = readApiextensionsV1beta1CustomResourceDefinitionStatus(_api, name; pretty=pretty, _mediaType=_mediaType) -readCustomResourceDefinitionStatus(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, _mediaType=nothing) = readApiextensionsV1beta1CustomResourceDefinitionStatus(_api, response_stream, name; pretty=pretty, _mediaType=_mediaType) -export readCustomResourceDefinitionStatus - -# readNamespacedJobStatus -readNamespacedJobStatus(_api::BatchV1Api, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readBatchV1NamespacedJobStatus(_api, name, namespace; pretty=pretty, _mediaType=_mediaType) -readNamespacedJobStatus(_api::BatchV1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, _mediaType=nothing) = readBatchV1NamespacedJobStatus(_api, response_stream, name, namespace; pretty=pretty, _mediaType=_mediaType) -export readNamespacedJobStatus - -# watchClusterRoleBinding -watchClusterRoleBinding(_api::RbacAuthorizationV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBinding(_api::RbacAuthorizationV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1ClusterRoleBinding(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBinding(_api::RbacAuthorizationV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1alpha1ClusterRoleBinding(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRoleBinding(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchClusterRoleBinding(_api::RbacAuthorizationV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchRbacAuthorizationV1beta1ClusterRoleBinding(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchClusterRoleBinding - -# deleteCollectionNamespacedDeployment -deleteCollectionNamespacedDeployment(_api::AppsV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::AppsV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1CollectionNamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::AppsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::AppsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta1CollectionNamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::AppsV1beta2Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::AppsV1beta2Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAppsV1beta2CollectionNamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::ExtensionsV1beta1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedDeployment(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionNamespacedDeployment(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteExtensionsV1beta1CollectionNamespacedDeployment(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionNamespacedDeployment - -# patchNamespacedPersistentVolumeClaim -patchNamespacedPersistentVolumeClaim(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPersistentVolumeClaim(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedPersistentVolumeClaim(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedPersistentVolumeClaim(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedPersistentVolumeClaim - -# replaceFlowSchema -replaceFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1FlowSchema(_api, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel, name::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream, name, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceFlowSchema - -# replaceNamespacedReplicationControllerScale -replaceNamespacedReplicationControllerScale(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedReplicationControllerScale(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedReplicationControllerScale(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedReplicationControllerScale(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedReplicationControllerScale - -# deleteNamespacedPodPreset -deleteNamespacedPodPreset(_api::SettingsV1alpha1Api, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSettingsV1alpha1NamespacedPodPreset(_api, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespacedPodPreset(_api::SettingsV1alpha1Api, response_stream::Channel, name::String, namespace::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteSettingsV1alpha1NamespacedPodPreset(_api, response_stream, name, namespace; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespacedPodPreset - -# listNamespacedConfigMap -listNamespacedConfigMap(_api::CoreV1Api, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedConfigMap(_api, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listNamespacedConfigMap(_api::CoreV1Api, response_stream::Channel, namespace::String; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listCoreV1NamespacedConfigMap(_api, response_stream, namespace; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listNamespacedConfigMap - -# deleteVolumeAttachment -deleteVolumeAttachment(_api::StorageV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteVolumeAttachment(_api::StorageV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1VolumeAttachment(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteVolumeAttachment(_api::StorageV1alpha1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1alpha1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteVolumeAttachment(_api::StorageV1alpha1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1alpha1VolumeAttachment(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteVolumeAttachment(_api::StorageV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1VolumeAttachment(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteVolumeAttachment(_api::StorageV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteStorageV1beta1VolumeAttachment(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteVolumeAttachment - -# watchNamespacedNetworkPolicyList -watchNamespacedNetworkPolicyList(_api::ExtensionsV1beta1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedNetworkPolicyList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedNetworkPolicyList(_api::ExtensionsV1beta1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedNetworkPolicyList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedNetworkPolicyList(_api::NetworkingV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1NamespacedNetworkPolicyList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedNetworkPolicyList(_api::NetworkingV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1NamespacedNetworkPolicyList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedNetworkPolicyList - -# watchNamespacedNetworkPolicy -watchNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedNetworkPolicy(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedNetworkPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchExtensionsV1beta1NamespacedNetworkPolicy(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedNetworkPolicy(_api::NetworkingV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1NamespacedNetworkPolicy(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedNetworkPolicy(_api::NetworkingV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNetworkingV1NamespacedNetworkPolicy(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedNetworkPolicy - -# patchNamespacedSecret -patchNamespacedSecret(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedSecret(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -patchNamespacedSecret(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, force=nothing, _mediaType=nothing) = patchCoreV1NamespacedSecret(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, force=force, _mediaType=_mediaType) -export patchNamespacedSecret - -# replaceNamespacedService -replaceNamespacedService(_api::CoreV1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedService(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceCoreV1NamespacedService(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedService - -# watchPriorityClassList -watchPriorityClassList(_api::SchedulingV1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClassList(_api::SchedulingV1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1PriorityClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClassList(_api::SchedulingV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1alpha1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClassList(_api::SchedulingV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1alpha1PriorityClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClassList(_api::SchedulingV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1beta1PriorityClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPriorityClassList(_api::SchedulingV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchSchedulingV1beta1PriorityClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPriorityClassList - -# deleteCollectionAuditSink -deleteCollectionAuditSink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAuditregistrationV1alpha1CollectionAuditSink(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAuditregistrationV1alpha1CollectionAuditSink(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionAuditSink - -# deleteCollectionValidatingWebhookConfiguration -deleteCollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionValidatingWebhookConfiguration(_api::AdmissionregistrationV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionValidatingWebhookConfiguration - -# deleteCollectionCSIDriver -deleteCollectionCSIDriver(_api::StorageV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionCSIDriver(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -deleteCollectionCSIDriver(_api::StorageV1beta1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = deleteStorageV1beta1CollectionCSIDriver(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, body=body, __continue__=__continue__, dryRun=dryRun, fieldSelector=fieldSelector, gracePeriodSeconds=gracePeriodSeconds, labelSelector=labelSelector, limit=limit, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export deleteCollectionCSIDriver - -# watchNamespacedEndpointsList -watchNamespacedEndpointsList(_api::CoreV1Api, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEndpointsList(_api, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedEndpointsList(_api::CoreV1Api, response_stream::Channel, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedEndpointsList(_api, response_stream, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedEndpointsList - -# readPodSecurityPolicy -readPodSecurityPolicy(_api::ExtensionsV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1PodSecurityPolicy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPodSecurityPolicy(_api::ExtensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readExtensionsV1beta1PodSecurityPolicy(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPodSecurityPolicy(_api::PolicyV1beta1Api, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readPolicyV1beta1PodSecurityPolicy(_api, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -readPodSecurityPolicy(_api::PolicyV1beta1Api, response_stream::Channel, name::String; pretty=nothing, exact=nothing, __export__=nothing, _mediaType=nothing) = readPolicyV1beta1PodSecurityPolicy(_api, response_stream, name; pretty=pretty, exact=exact, __export__=__export__, _mediaType=_mediaType) -export readPodSecurityPolicy - -# deleteCustomResourceDefinition -deleteCustomResourceDefinition(_api::ApiextensionsV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiextensionsV1CustomResourceDefinition(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCustomResourceDefinition(_api::ApiextensionsV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiextensionsV1CustomResourceDefinition(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiextensionsV1beta1CustomResourceDefinition(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteCustomResourceDefinition(_api::ApiextensionsV1beta1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteApiextensionsV1beta1CustomResourceDefinition(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteCustomResourceDefinition - -# createNamespacedServiceAccount -createNamespacedServiceAccount(_api::CoreV1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedServiceAccount(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedServiceAccount(_api::CoreV1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createCoreV1NamespacedServiceAccount(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedServiceAccount - -# listFlowSchema -listFlowSchema(_api::FlowcontrolApiserverV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listFlowcontrolApiserverV1alpha1FlowSchema(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listFlowSchema(_api::FlowcontrolApiserverV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listFlowcontrolApiserverV1alpha1FlowSchema(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listFlowSchema - -# connectPatchNodeProxyWithPath -connectPatchNodeProxyWithPath(_api::CoreV1Api, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PatchNodeProxyWithPath(_api, name, path; path2=path2, _mediaType=_mediaType) -connectPatchNodeProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1PatchNodeProxyWithPath(_api, response_stream, name, path; path2=path2, _mediaType=_mediaType) -export connectPatchNodeProxyWithPath - -# watchPersistentVolume -watchPersistentVolume(_api::CoreV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PersistentVolume(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchPersistentVolume(_api::CoreV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1PersistentVolume(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchPersistentVolume - -# watchStorageClass -watchStorageClass(_api::StorageV1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1StorageClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStorageClass(_api::StorageV1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1StorageClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStorageClass(_api::StorageV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1StorageClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchStorageClass(_api::StorageV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchStorageV1beta1StorageClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchStorageClass - -# listAuditSink -listAuditSink(_api::AuditregistrationV1alpha1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAuditregistrationV1alpha1AuditSink(_api; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -listAuditSink(_api::AuditregistrationV1alpha1Api, response_stream::Channel; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = listAuditregistrationV1alpha1AuditSink(_api, response_stream; pretty=pretty, allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export listAuditSink - -# deleteNamespace -deleteNamespace(_api::CoreV1Api, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1Namespace(_api, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -deleteNamespace(_api::CoreV1Api, response_stream::Channel, name::String; pretty=nothing, body=nothing, dryRun=nothing, gracePeriodSeconds=nothing, orphanDependents=nothing, propagationPolicy=nothing, _mediaType=nothing) = deleteCoreV1Namespace(_api, response_stream, name; pretty=pretty, body=body, dryRun=dryRun, gracePeriodSeconds=gracePeriodSeconds, orphanDependents=orphanDependents, propagationPolicy=propagationPolicy, _mediaType=_mediaType) -export deleteNamespace - -# connectHeadNamespacedServiceProxyWithPath -connectHeadNamespacedServiceProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedServiceProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectHeadNamespacedServiceProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1HeadNamespacedServiceProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectHeadNamespacedServiceProxyWithPath - -# watchNamespacedService -watchNamespacedService(_api::CoreV1Api, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedService(_api, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchNamespacedService(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchCoreV1NamespacedService(_api, response_stream, name, namespace; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchNamespacedService - -# createNamespacedPodDisruptionBudget -createNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createPolicyV1beta1NamespacedPodDisruptionBudget(_api, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -createNamespacedPodDisruptionBudget(_api::PolicyV1beta1Api, response_stream::Channel, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = createPolicyV1beta1NamespacedPodDisruptionBudget(_api, response_stream, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export createNamespacedPodDisruptionBudget - -# watchRuntimeClassList -watchRuntimeClassList(_api::NodeV1alpha1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1alpha1RuntimeClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRuntimeClassList(_api::NodeV1alpha1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1alpha1RuntimeClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRuntimeClassList(_api::NodeV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1beta1RuntimeClassList(_api; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRuntimeClassList(_api::NodeV1beta1Api, response_stream::Channel; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1beta1RuntimeClassList(_api, response_stream; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchRuntimeClassList - -# connectOptionsNamespacedPodProxyWithPath -connectOptionsNamespacedPodProxyWithPath(_api::CoreV1Api, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedPodProxyWithPath(_api, name, namespace, path; path2=path2, _mediaType=_mediaType) -connectOptionsNamespacedPodProxyWithPath(_api::CoreV1Api, response_stream::Channel, name::String, namespace::String, path::String; path2=nothing, _mediaType=nothing) = connectCoreV1OptionsNamespacedPodProxyWithPath(_api, response_stream, name, namespace, path; path2=path2, _mediaType=_mediaType) -export connectOptionsNamespacedPodProxyWithPath - -# replaceNamespacedEndpointSlice -replaceNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceDiscoveryV1beta1NamespacedEndpointSlice(_api, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -replaceNamespacedEndpointSlice(_api::DiscoveryV1beta1Api, response_stream::Channel, name::String, namespace::String, body; pretty=nothing, dryRun=nothing, fieldManager=nothing, _mediaType=nothing) = replaceDiscoveryV1beta1NamespacedEndpointSlice(_api, response_stream, name, namespace, body; pretty=pretty, dryRun=dryRun, fieldManager=fieldManager, _mediaType=_mediaType) -export replaceNamespacedEndpointSlice - -# watchRuntimeClass -watchRuntimeClass(_api::NodeV1alpha1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1alpha1RuntimeClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRuntimeClass(_api::NodeV1alpha1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1alpha1RuntimeClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRuntimeClass(_api::NodeV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1beta1RuntimeClass(_api, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -watchRuntimeClass(_api::NodeV1beta1Api, response_stream::Channel, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing) = watchNodeV1beta1RuntimeClass(_api, response_stream, name; allowWatchBookmarks=allowWatchBookmarks, __continue__=__continue__, fieldSelector=fieldSelector, labelSelector=labelSelector, limit=limit, pretty=pretty, resourceVersion=resourceVersion, timeoutSeconds=timeoutSeconds, watch=watch, _mediaType=_mediaType) -export watchRuntimeClass - diff --git a/src/ApiImpl/typealiases.jl b/src/ApiImpl/typealiases.jl deleted file mode 100644 index 900e0899..00000000 --- a/src/ApiImpl/typealiases.jl +++ /dev/null @@ -1,1074 +0,0 @@ -module Typedefs - using ..Kubernetes - module AutoscalingV1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const HorizontalPodAutoscalerStatus = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus - const HorizontalPodAutoscalerList = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscalerList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const CrossVersionObjectReference = Kubernetes.IoK8sApiAutoscalingV1CrossVersionObjectReference - const Scale = Kubernetes.IoK8sApiAutoscalingV1Scale - const HorizontalPodAutoscaler = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscaler - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const HorizontalPodAutoscalerSpec = Kubernetes.IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec - const ScaleSpec = Kubernetes.IoK8sApiAutoscalingV1ScaleSpec - const ScaleStatus = Kubernetes.IoK8sApiAutoscalingV1ScaleStatus - end # module AutoscalingV1 - module Networking - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Networking - module BatchV1 - using ..Kubernetes - const JobSpec = Kubernetes.IoK8sApiBatchV1JobSpec - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const JobStatus = Kubernetes.IoK8sApiBatchV1JobStatus - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const JobList = Kubernetes.IoK8sApiBatchV1JobList - const JobCondition = Kubernetes.IoK8sApiBatchV1JobCondition - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const Job = Kubernetes.IoK8sApiBatchV1Job - end # module BatchV1 - module StorageV1 - using ..Kubernetes - const StorageClassList = Kubernetes.IoK8sApiStorageV1StorageClassList - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const CSINodeDriver = Kubernetes.IoK8sApiStorageV1CSINodeDriver - const VolumeNodeResources = Kubernetes.IoK8sApiStorageV1VolumeNodeResources - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const CSINode = Kubernetes.IoK8sApiStorageV1CSINode - const VolumeAttachmentStatus = Kubernetes.IoK8sApiStorageV1VolumeAttachmentStatus - const VolumeAttachmentList = Kubernetes.IoK8sApiStorageV1VolumeAttachmentList - const VolumeError = Kubernetes.IoK8sApiStorageV1VolumeError - const StorageClass = Kubernetes.IoK8sApiStorageV1StorageClass - const VolumeAttachmentSource = Kubernetes.IoK8sApiStorageV1VolumeAttachmentSource - const CSINodeSpec = Kubernetes.IoK8sApiStorageV1CSINodeSpec - const VolumeAttachment = Kubernetes.IoK8sApiStorageV1VolumeAttachment - const VolumeAttachmentSpec = Kubernetes.IoK8sApiStorageV1VolumeAttachmentSpec - const CSINodeList = Kubernetes.IoK8sApiStorageV1CSINodeList - end # module StorageV1 - module NodeV1alpha1 - using ..Kubernetes - const RuntimeClass = Kubernetes.IoK8sApiNodeV1alpha1RuntimeClass - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const RuntimeClassSpec = Kubernetes.IoK8sApiNodeV1alpha1RuntimeClassSpec - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const RuntimeClassList = Kubernetes.IoK8sApiNodeV1alpha1RuntimeClassList - const Overhead = Kubernetes.IoK8sApiNodeV1alpha1Overhead - const Scheduling = Kubernetes.IoK8sApiNodeV1alpha1Scheduling - end # module NodeV1alpha1 - module CustomMetricsV1beta1 - using ..Kubernetes - const MetricValue = Kubernetes.IoK8sApiCustomMetricsV1beta1MetricValue - const MetricValueList = Kubernetes.IoK8sApiCustomMetricsV1beta1MetricValueList - end # module CustomMetricsV1beta1 - module ApiregistrationV1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIServiceStatus = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const APIServiceCondition = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const APIService = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService - const APIServiceSpec = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec - const ServiceReference = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference - const APIServiceList = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList - end # module ApiregistrationV1 - module AuthenticationV1beta1 - using ..Kubernetes - const UserInfo = Kubernetes.IoK8sApiAuthenticationV1beta1UserInfo - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const TokenReview = Kubernetes.IoK8sApiAuthenticationV1beta1TokenReview - const TokenReviewSpec = Kubernetes.IoK8sApiAuthenticationV1beta1TokenReviewSpec - const TokenReviewStatus = Kubernetes.IoK8sApiAuthenticationV1beta1TokenReviewStatus - end # module AuthenticationV1beta1 - module AuthorizationV1beta1 - using ..Kubernetes - const SubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectAccessReview - const SelfSubjectRulesReviewSpec = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectRulesReviewSpec - const SubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec - const SelfSubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectAccessReviewSpec - const ResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1beta1ResourceAttributes - const SubjectRulesReviewStatus = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectRulesReviewStatus - const LocalSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1beta1LocalSubjectAccessReview - const SelfSubjectRulesReview = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectRulesReview - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const ResourceRule = Kubernetes.IoK8sApiAuthorizationV1beta1ResourceRule - const NonResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1beta1NonResourceAttributes - const SelfSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1beta1SelfSubjectAccessReview - const SubjectAccessReviewStatus = Kubernetes.IoK8sApiAuthorizationV1beta1SubjectAccessReviewStatus - const NonResourceRule = Kubernetes.IoK8sApiAuthorizationV1beta1NonResourceRule - end # module AuthorizationV1beta1 - module Coordination - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Coordination - module StorageV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const CSINodeList = Kubernetes.IoK8sApiStorageV1beta1CSINodeList - const CSIDriver = Kubernetes.IoK8sApiStorageV1beta1CSIDriver - const CSIDriverSpec = Kubernetes.IoK8sApiStorageV1beta1CSIDriverSpec - const StorageClassList = Kubernetes.IoK8sApiStorageV1beta1StorageClassList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const VolumeAttachmentList = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentList - const CSINode = Kubernetes.IoK8sApiStorageV1beta1CSINode - const VolumeError = Kubernetes.IoK8sApiStorageV1beta1VolumeError - const VolumeAttachmentSpec = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentSpec - const VolumeAttachmentStatus = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentStatus - const VolumeAttachmentSource = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachmentSource - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const VolumeAttachment = Kubernetes.IoK8sApiStorageV1beta1VolumeAttachment - const CSINodeSpec = Kubernetes.IoK8sApiStorageV1beta1CSINodeSpec - const CSIDriverList = Kubernetes.IoK8sApiStorageV1beta1CSIDriverList - const StorageClass = Kubernetes.IoK8sApiStorageV1beta1StorageClass - const CSINodeDriver = Kubernetes.IoK8sApiStorageV1beta1CSINodeDriver - const VolumeNodeResources = Kubernetes.IoK8sApiStorageV1beta1VolumeNodeResources - end # module StorageV1beta1 - module Apis - using ..Kubernetes - const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList - end # module Apis - module Certificates - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Certificates - module Extensions - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Extensions - module PolicyV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const SupplementalGroupsStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1SupplementalGroupsStrategyOptions - const AllowedHostPath = Kubernetes.IoK8sApiPolicyV1beta1AllowedHostPath - const PodDisruptionBudgetList = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudgetList - const AllowedCSIDriver = Kubernetes.IoK8sApiPolicyV1beta1AllowedCSIDriver - const PodDisruptionBudgetSpec = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec - const PodSecurityPolicySpec = Kubernetes.IoK8sApiPolicyV1beta1PodSecurityPolicySpec - const IDRange = Kubernetes.IoK8sApiPolicyV1beta1IDRange - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const HostPortRange = Kubernetes.IoK8sApiPolicyV1beta1HostPortRange - const PodDisruptionBudget = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudget - const PodDisruptionBudgetStatus = Kubernetes.IoK8sApiPolicyV1beta1PodDisruptionBudgetStatus - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const RunAsGroupStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1RunAsGroupStrategyOptions - const RuntimeClassStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions - const PodSecurityPolicy = Kubernetes.IoK8sApiPolicyV1beta1PodSecurityPolicy - const AllowedFlexVolume = Kubernetes.IoK8sApiPolicyV1beta1AllowedFlexVolume - const Eviction = Kubernetes.IoK8sApiPolicyV1beta1Eviction - const SELinuxStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1SELinuxStrategyOptions - const RunAsUserStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1RunAsUserStrategyOptions - const FSGroupStrategyOptions = Kubernetes.IoK8sApiPolicyV1beta1FSGroupStrategyOptions - const PodSecurityPolicyList = Kubernetes.IoK8sApiPolicyV1beta1PodSecurityPolicyList - end # module PolicyV1beta1 - module Autoscaling - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Autoscaling - module AppsV1beta2 - using ..Kubernetes - const StatefulSet = Kubernetes.IoK8sApiAppsV1beta2StatefulSet - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const RollingUpdateStatefulSetStrategy = Kubernetes.IoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy - const ScaleStatus = Kubernetes.IoK8sApiAppsV1beta2ScaleStatus - const DaemonSetSpec = Kubernetes.IoK8sApiAppsV1beta2DaemonSetSpec - const DeploymentSpec = Kubernetes.IoK8sApiAppsV1beta2DeploymentSpec - const RollingUpdateDaemonSet = Kubernetes.IoK8sApiAppsV1beta2RollingUpdateDaemonSet - const ReplicaSetCondition = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetCondition - const DeploymentStrategy = Kubernetes.IoK8sApiAppsV1beta2DeploymentStrategy - const ReplicaSetStatus = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetStatus - const RollingUpdateDeployment = Kubernetes.IoK8sApiAppsV1beta2RollingUpdateDeployment - const StatefulSetSpec = Kubernetes.IoK8sApiAppsV1beta2StatefulSetSpec - const DeploymentStatus = Kubernetes.IoK8sApiAppsV1beta2DeploymentStatus - const ReplicaSet = Kubernetes.IoK8sApiAppsV1beta2ReplicaSet - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const ControllerRevisionList = Kubernetes.IoK8sApiAppsV1beta2ControllerRevisionList - const DaemonSetStatus = Kubernetes.IoK8sApiAppsV1beta2DaemonSetStatus - const ScaleSpec = Kubernetes.IoK8sApiAppsV1beta2ScaleSpec - const Deployment = Kubernetes.IoK8sApiAppsV1beta2Deployment - const DaemonSetList = Kubernetes.IoK8sApiAppsV1beta2DaemonSetList - const Scale = Kubernetes.IoK8sApiAppsV1beta2Scale - const DaemonSetCondition = Kubernetes.IoK8sApiAppsV1beta2DaemonSetCondition - const DaemonSet = Kubernetes.IoK8sApiAppsV1beta2DaemonSet - const StatefulSetCondition = Kubernetes.IoK8sApiAppsV1beta2StatefulSetCondition - const ControllerRevision = Kubernetes.IoK8sApiAppsV1beta2ControllerRevision - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const DeploymentList = Kubernetes.IoK8sApiAppsV1beta2DeploymentList - const DeploymentCondition = Kubernetes.IoK8sApiAppsV1beta2DeploymentCondition - const StatefulSetStatus = Kubernetes.IoK8sApiAppsV1beta2StatefulSetStatus - const StatefulSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1beta2StatefulSetUpdateStrategy - const ReplicaSetList = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetList - const DaemonSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1beta2DaemonSetUpdateStrategy - const StatefulSetList = Kubernetes.IoK8sApiAppsV1beta2StatefulSetList - const ReplicaSetSpec = Kubernetes.IoK8sApiAppsV1beta2ReplicaSetSpec - end # module AppsV1beta2 - module Core - using ..Kubernetes - const APIVersions = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIVersions - end # module Core - module Authorization - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Authorization - module NetworkingV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const IngressStatus = Kubernetes.IoK8sApiNetworkingV1beta1IngressStatus - const IngressTLS = Kubernetes.IoK8sApiNetworkingV1beta1IngressTLS - const Ingress = Kubernetes.IoK8sApiNetworkingV1beta1Ingress - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const HTTPIngressPath = Kubernetes.IoK8sApiNetworkingV1beta1HTTPIngressPath - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const IngressSpec = Kubernetes.IoK8sApiNetworkingV1beta1IngressSpec - const HTTPIngressRuleValue = Kubernetes.IoK8sApiNetworkingV1beta1HTTPIngressRuleValue - const IngressList = Kubernetes.IoK8sApiNetworkingV1beta1IngressList - const IngressRule = Kubernetes.IoK8sApiNetworkingV1beta1IngressRule - const IngressBackend = Kubernetes.IoK8sApiNetworkingV1beta1IngressBackend - end # module NetworkingV1beta1 - module SchedulingV1 - using ..Kubernetes - const PriorityClass = Kubernetes.IoK8sApiSchedulingV1PriorityClass - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const PriorityClassList = Kubernetes.IoK8sApiSchedulingV1PriorityClassList - end # module SchedulingV1 - module Version - using ..Kubernetes - const Info = Kubernetes.IoK8sApimachineryPkgVersionInfo - end # module Version - module RbacAuthorization - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module RbacAuthorization - module CertificatesV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const CertificateSigningRequestList = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestList - const CertificateSigningRequestCondition = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestCondition - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const CertificateSigningRequestSpec = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestSpec - const CertificateSigningRequestStatus = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequestStatus - const CertificateSigningRequest = Kubernetes.IoK8sApiCertificatesV1beta1CertificateSigningRequest - end # module CertificatesV1beta1 - module AuditregistrationV1alpha1 - using ..Kubernetes - const AuditSinkSpec = Kubernetes.IoK8sApiAuditregistrationV1alpha1AuditSinkSpec - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const AuditSink = Kubernetes.IoK8sApiAuditregistrationV1alpha1AuditSink - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const WebhookClientConfig = Kubernetes.IoK8sApiAuditregistrationV1alpha1WebhookClientConfig - const AuditSinkList = Kubernetes.IoK8sApiAuditregistrationV1alpha1AuditSinkList - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Policy = Kubernetes.IoK8sApiAuditregistrationV1alpha1Policy - const Webhook = Kubernetes.IoK8sApiAuditregistrationV1alpha1Webhook - const WebhookThrottleConfig = Kubernetes.IoK8sApiAuditregistrationV1alpha1WebhookThrottleConfig - const ServiceReference = Kubernetes.IoK8sApiAuditregistrationV1alpha1ServiceReference - end # module AuditregistrationV1alpha1 - module Admissionregistration - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Admissionregistration - module Auditregistration - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Auditregistration - module Node - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Node - module AutoscalingV2beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ExternalMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1ExternalMetricSource - const PodsMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1PodsMetricSource - const ResourceMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1ResourceMetricStatus - const MetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1MetricStatus - const HorizontalPodAutoscalerCondition = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerCondition - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const ExternalMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1ExternalMetricStatus - const CrossVersionObjectReference = Kubernetes.IoK8sApiAutoscalingV2beta1CrossVersionObjectReference - const ResourceMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1ResourceMetricSource - const ObjectMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1ObjectMetricStatus - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const PodsMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta1PodsMetricStatus - const MetricSpec = Kubernetes.IoK8sApiAutoscalingV2beta1MetricSpec - const HorizontalPodAutoscalerList = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerList - const HorizontalPodAutoscalerSpec = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerSpec - const HorizontalPodAutoscaler = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscaler - const HorizontalPodAutoscalerStatus = Kubernetes.IoK8sApiAutoscalingV2beta1HorizontalPodAutoscalerStatus - const ObjectMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta1ObjectMetricSource - end # module AutoscalingV2beta1 - module BatchV1beta1 - using ..Kubernetes - const CronJobList = Kubernetes.IoK8sApiBatchV1beta1CronJobList - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const CronJobSpec = Kubernetes.IoK8sApiBatchV1beta1CronJobSpec - const JobTemplateSpec = Kubernetes.IoK8sApiBatchV1beta1JobTemplateSpec - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const CronJobStatus = Kubernetes.IoK8sApiBatchV1beta1CronJobStatus - const CronJob = Kubernetes.IoK8sApiBatchV1beta1CronJob - end # module BatchV1beta1 - module ExtensionsV1beta1 - using ..Kubernetes - const IngressList = Kubernetes.IoK8sApiExtensionsV1beta1IngressList - const ReplicaSetSpec = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetSpec - const ReplicaSet = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSet - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const RollingUpdateDeployment = Kubernetes.IoK8sApiExtensionsV1beta1RollingUpdateDeployment - const NetworkPolicyPort = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyPort - const IDRange = Kubernetes.IoK8sApiExtensionsV1beta1IDRange - const ScaleSpec = Kubernetes.IoK8sApiExtensionsV1beta1ScaleSpec - const DaemonSetStatus = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetStatus - const Deployment = Kubernetes.IoK8sApiExtensionsV1beta1Deployment - const RuntimeClassStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1RuntimeClassStrategyOptions - const NetworkPolicySpec = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicySpec - const DaemonSet = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSet - const AllowedHostPath = Kubernetes.IoK8sApiExtensionsV1beta1AllowedHostPath - const DeploymentStatus = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentStatus - const NetworkPolicy = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicy - const DeploymentList = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentList - const AllowedFlexVolume = Kubernetes.IoK8sApiExtensionsV1beta1AllowedFlexVolume - const NetworkPolicyPeer = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyPeer - const IngressRule = Kubernetes.IoK8sApiExtensionsV1beta1IngressRule - const Scale = Kubernetes.IoK8sApiExtensionsV1beta1Scale - const FSGroupStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1FSGroupStrategyOptions - const DeploymentRollback = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentRollback - const HTTPIngressRuleValue = Kubernetes.IoK8sApiExtensionsV1beta1HTTPIngressRuleValue - const ScaleStatus = Kubernetes.IoK8sApiExtensionsV1beta1ScaleStatus - const PodSecurityPolicy = Kubernetes.IoK8sApiExtensionsV1beta1PodSecurityPolicy - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ReplicaSetCondition = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetCondition - const ReplicaSetList = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetList - const IngressBackend = Kubernetes.IoK8sApiExtensionsV1beta1IngressBackend - const IngressSpec = Kubernetes.IoK8sApiExtensionsV1beta1IngressSpec - const DaemonSetSpec = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetSpec - const Ingress = Kubernetes.IoK8sApiExtensionsV1beta1Ingress - const IngressStatus = Kubernetes.IoK8sApiExtensionsV1beta1IngressStatus - const SupplementalGroupsStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions - const NetworkPolicyList = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyList - const IngressTLS = Kubernetes.IoK8sApiExtensionsV1beta1IngressTLS - const RunAsGroupStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1RunAsGroupStrategyOptions - const AllowedCSIDriver = Kubernetes.IoK8sApiExtensionsV1beta1AllowedCSIDriver - const PodSecurityPolicySpec = Kubernetes.IoK8sApiExtensionsV1beta1PodSecurityPolicySpec - const ReplicaSetStatus = Kubernetes.IoK8sApiExtensionsV1beta1ReplicaSetStatus - const RunAsUserStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1RunAsUserStrategyOptions - const IPBlock = Kubernetes.IoK8sApiExtensionsV1beta1IPBlock - const NetworkPolicyEgressRule = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyEgressRule - const DeploymentSpec = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentSpec - const SELinuxStrategyOptions = Kubernetes.IoK8sApiExtensionsV1beta1SELinuxStrategyOptions - const NetworkPolicyIngressRule = Kubernetes.IoK8sApiExtensionsV1beta1NetworkPolicyIngressRule - const RollingUpdateDaemonSet = Kubernetes.IoK8sApiExtensionsV1beta1RollingUpdateDaemonSet - const DaemonSetList = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetList - const DeploymentCondition = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentCondition - const HostPortRange = Kubernetes.IoK8sApiExtensionsV1beta1HostPortRange - const DaemonSetCondition = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetCondition - const DeploymentStrategy = Kubernetes.IoK8sApiExtensionsV1beta1DeploymentStrategy - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const HTTPIngressPath = Kubernetes.IoK8sApiExtensionsV1beta1HTTPIngressPath - const DaemonSetUpdateStrategy = Kubernetes.IoK8sApiExtensionsV1beta1DaemonSetUpdateStrategy - const PodSecurityPolicyList = Kubernetes.IoK8sApiExtensionsV1beta1PodSecurityPolicyList - const RollbackConfig = Kubernetes.IoK8sApiExtensionsV1beta1RollbackConfig - end # module ExtensionsV1beta1 - module FlowcontrolApiserver - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module FlowcontrolApiserver - module ApiregistrationV1beta1 - using ..Kubernetes - const APIService = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ServiceReference = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const APIServiceCondition = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const APIServiceList = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList - const APIServiceStatus = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus - const APIServiceSpec = Kubernetes.IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec - end # module ApiregistrationV1beta1 - module AuthenticationV1 - using ..Kubernetes - const TokenRequestStatus = Kubernetes.IoK8sApiAuthenticationV1TokenRequestStatus - const TokenReviewSpec = Kubernetes.IoK8sApiAuthenticationV1TokenReviewSpec - const UserInfo = Kubernetes.IoK8sApiAuthenticationV1UserInfo - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const TokenReviewStatus = Kubernetes.IoK8sApiAuthenticationV1TokenReviewStatus - const TokenRequest = Kubernetes.IoK8sApiAuthenticationV1TokenRequest - const TokenReview = Kubernetes.IoK8sApiAuthenticationV1TokenReview - const BoundObjectReference = Kubernetes.IoK8sApiAuthenticationV1BoundObjectReference - const TokenRequestSpec = Kubernetes.IoK8sApiAuthenticationV1TokenRequestSpec - end # module AuthenticationV1 - module AdmissionregistrationV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ValidatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ValidatingWebhook - const ServiceReference = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ServiceReference - const ValidatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfiguration - const MutatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1beta1MutatingWebhook - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const MutatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfigurationList - const RuleWithOperations = Kubernetes.IoK8sApiAdmissionregistrationV1beta1RuleWithOperations - const MutatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1beta1MutatingWebhookConfiguration - const ValidatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1beta1ValidatingWebhookConfigurationList - const WebhookClientConfig = Kubernetes.IoK8sApiAdmissionregistrationV1beta1WebhookClientConfig - end # module AdmissionregistrationV1beta1 - module Apiextensions - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Apiextensions - module Discovery - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Discovery - module FlowcontrolApiserverV1alpha1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const NonResourcePolicyRule = Kubernetes.IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule - const FlowDistinguisherMethod = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod - const Subject = Kubernetes.IoK8sApiFlowcontrolV1alpha1Subject - const LimitResponse = Kubernetes.IoK8sApiFlowcontrolV1alpha1LimitResponse - const UserSubject = Kubernetes.IoK8sApiFlowcontrolV1alpha1UserSubject - const PriorityLevelConfiguration = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfiguration - const FlowSchema = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchema - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const LimitedPriorityLevelConfiguration = Kubernetes.IoK8sApiFlowcontrolV1alpha1LimitedPriorityLevelConfiguration - const PriorityLevelConfigurationSpec = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationSpec - const QueuingConfiguration = Kubernetes.IoK8sApiFlowcontrolV1alpha1QueuingConfiguration - const FlowSchemaCondition = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaCondition - const GroupSubject = Kubernetes.IoK8sApiFlowcontrolV1alpha1GroupSubject - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const PriorityLevelConfigurationReference = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference - const ServiceAccountSubject = Kubernetes.IoK8sApiFlowcontrolV1alpha1ServiceAccountSubject - const FlowSchemaList = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaList - const PolicyRulesWithSubjects = Kubernetes.IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects - const PriorityLevelConfigurationList = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationList - const FlowSchemaStatus = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaStatus - const FlowSchemaSpec = Kubernetes.IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec - const PriorityLevelConfigurationStatus = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationStatus - const ResourcePolicyRule = Kubernetes.IoK8sApiFlowcontrolV1alpha1ResourcePolicyRule - const PriorityLevelConfigurationCondition = Kubernetes.IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationCondition - end # module FlowcontrolApiserverV1alpha1 - module ApiextensionsV1beta1 - using ..Kubernetes - const CustomResourceDefinitionCondition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition - const JSONSchemaPropsOrStringArray = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const CustomResourceColumnDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition - const JSONSchemaProps = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps - const CustomResourceDefinitionNames = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames - const JSONSchemaPropsOrArray = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray - const ServiceReference = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference - const CustomResourceDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition - const JSON = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON - const JSONSchemaPropsOrBool = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const CustomResourceDefinitionList = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList - const CustomResourceConversion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion - const WebhookClientConfig = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const CustomResourceDefinitionSpec = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec - const ExternalDocumentation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation - const CustomResourceSubresourceScale = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale - const CustomResourceDefinitionStatus = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus - const CustomResourceValidation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation - const CustomResourceSubresources = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources - const CustomResourceDefinitionVersion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion - const CustomResourceSubresourceStatus = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus - end # module ApiextensionsV1beta1 - module RbacAuthorizationV1alpha1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ClusterRoleBindingList = Kubernetes.IoK8sApiRbacV1alpha1ClusterRoleBindingList - const ClusterRole = Kubernetes.IoK8sApiRbacV1alpha1ClusterRole - const RoleBinding = Kubernetes.IoK8sApiRbacV1alpha1RoleBinding - const RoleRef = Kubernetes.IoK8sApiRbacV1alpha1RoleRef - const RoleBindingList = Kubernetes.IoK8sApiRbacV1alpha1RoleBindingList - const Role = Kubernetes.IoK8sApiRbacV1alpha1Role - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const Subject = Kubernetes.IoK8sApiRbacV1alpha1Subject - const ClusterRoleList = Kubernetes.IoK8sApiRbacV1alpha1ClusterRoleList - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const PolicyRule = Kubernetes.IoK8sApiRbacV1alpha1PolicyRule - const AggregationRule = Kubernetes.IoK8sApiRbacV1alpha1AggregationRule - const ClusterRoleBinding = Kubernetes.IoK8sApiRbacV1alpha1ClusterRoleBinding - const RoleList = Kubernetes.IoK8sApiRbacV1alpha1RoleList - end # module RbacAuthorizationV1alpha1 - module NetworkingV1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const NetworkPolicyIngressRule = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyIngressRule - const NetworkPolicyEgressRule = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyEgressRule - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const NetworkPolicyList = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyList - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const NetworkPolicyPort = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyPort - const NetworkPolicySpec = Kubernetes.IoK8sApiNetworkingV1NetworkPolicySpec - const NetworkPolicy = Kubernetes.IoK8sApiNetworkingV1NetworkPolicy - const NetworkPolicyPeer = Kubernetes.IoK8sApiNetworkingV1NetworkPolicyPeer - const IPBlock = Kubernetes.IoK8sApiNetworkingV1IPBlock - end # module NetworkingV1 - module SettingsV1alpha1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const PodPreset = Kubernetes.IoK8sApiSettingsV1alpha1PodPreset - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const PodPresetSpec = Kubernetes.IoK8sApiSettingsV1alpha1PodPresetSpec - const PodPresetList = Kubernetes.IoK8sApiSettingsV1alpha1PodPresetList - end # module SettingsV1alpha1 - module Storage - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Storage - module RbacAuthorizationV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ClusterRoleBinding = Kubernetes.IoK8sApiRbacV1beta1ClusterRoleBinding - const PolicyRule = Kubernetes.IoK8sApiRbacV1beta1PolicyRule - const RoleList = Kubernetes.IoK8sApiRbacV1beta1RoleList - const AggregationRule = Kubernetes.IoK8sApiRbacV1beta1AggregationRule - const RoleBinding = Kubernetes.IoK8sApiRbacV1beta1RoleBinding - const Subject = Kubernetes.IoK8sApiRbacV1beta1Subject - const ClusterRole = Kubernetes.IoK8sApiRbacV1beta1ClusterRole - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const RoleBindingList = Kubernetes.IoK8sApiRbacV1beta1RoleBindingList - const ClusterRoleList = Kubernetes.IoK8sApiRbacV1beta1ClusterRoleList - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const RoleRef = Kubernetes.IoK8sApiRbacV1beta1RoleRef - const ClusterRoleBindingList = Kubernetes.IoK8sApiRbacV1beta1ClusterRoleBindingList - const Role = Kubernetes.IoK8sApiRbacV1beta1Role - end # module RbacAuthorizationV1beta1 - module Batch - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Batch - module SchedulingV1alpha1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const PriorityClassList = Kubernetes.IoK8sApiSchedulingV1alpha1PriorityClassList - const PriorityClass = Kubernetes.IoK8sApiSchedulingV1alpha1PriorityClass - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - end # module SchedulingV1alpha1 - module NodeV1beta1 - using ..Kubernetes - const RuntimeClassList = Kubernetes.IoK8sApiNodeV1beta1RuntimeClassList - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const Overhead = Kubernetes.IoK8sApiNodeV1beta1Overhead - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Scheduling = Kubernetes.IoK8sApiNodeV1beta1Scheduling - const RuntimeClass = Kubernetes.IoK8sApiNodeV1beta1RuntimeClass - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - end # module NodeV1beta1 - module SchedulingV1beta1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const PriorityClassList = Kubernetes.IoK8sApiSchedulingV1beta1PriorityClassList - const PriorityClass = Kubernetes.IoK8sApiSchedulingV1beta1PriorityClass - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - end # module SchedulingV1beta1 - module AppsV1 - using ..Kubernetes - const ReplicaSetSpec = Kubernetes.IoK8sApiAppsV1ReplicaSetSpec - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const DaemonSetStatus = Kubernetes.IoK8sApiAppsV1DaemonSetStatus - const ReplicaSet = Kubernetes.IoK8sApiAppsV1ReplicaSet - const StatefulSet = Kubernetes.IoK8sApiAppsV1StatefulSet - const ReplicaSetList = Kubernetes.IoK8sApiAppsV1ReplicaSetList - const RollingUpdateStatefulSetStrategy = Kubernetes.IoK8sApiAppsV1RollingUpdateStatefulSetStrategy - const DeploymentSpec = Kubernetes.IoK8sApiAppsV1DeploymentSpec - const StatefulSetStatus = Kubernetes.IoK8sApiAppsV1StatefulSetStatus - const RollingUpdateDeployment = Kubernetes.IoK8sApiAppsV1RollingUpdateDeployment - const StatefulSetCondition = Kubernetes.IoK8sApiAppsV1StatefulSetCondition - const DaemonSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1DaemonSetUpdateStrategy - const ControllerRevisionList = Kubernetes.IoK8sApiAppsV1ControllerRevisionList - const DaemonSetCondition = Kubernetes.IoK8sApiAppsV1DaemonSetCondition - const ReplicaSetStatus = Kubernetes.IoK8sApiAppsV1ReplicaSetStatus - const DeploymentList = Kubernetes.IoK8sApiAppsV1DeploymentList - const DeploymentStrategy = Kubernetes.IoK8sApiAppsV1DeploymentStrategy - const RollingUpdateDaemonSet = Kubernetes.IoK8sApiAppsV1RollingUpdateDaemonSet - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const DeploymentCondition = Kubernetes.IoK8sApiAppsV1DeploymentCondition - const DaemonSet = Kubernetes.IoK8sApiAppsV1DaemonSet - const Scale = Kubernetes.IoK8sApiAutoscalingV1Scale - const ControllerRevision = Kubernetes.IoK8sApiAppsV1ControllerRevision - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const StatefulSetList = Kubernetes.IoK8sApiAppsV1StatefulSetList - const ReplicaSetCondition = Kubernetes.IoK8sApiAppsV1ReplicaSetCondition - const StatefulSetSpec = Kubernetes.IoK8sApiAppsV1StatefulSetSpec - const DaemonSetList = Kubernetes.IoK8sApiAppsV1DaemonSetList - const DaemonSetSpec = Kubernetes.IoK8sApiAppsV1DaemonSetSpec - const Deployment = Kubernetes.IoK8sApiAppsV1Deployment - const DeploymentStatus = Kubernetes.IoK8sApiAppsV1DeploymentStatus - const StatefulSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1StatefulSetUpdateStrategy - end # module AppsV1 - module Settings - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Settings - module Apps - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Apps - module AppsV1beta1 - using ..Kubernetes - const DeploymentStatus = Kubernetes.IoK8sApiAppsV1beta1DeploymentStatus - const ControllerRevisionList = Kubernetes.IoK8sApiAppsV1beta1ControllerRevisionList - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const DeploymentRollback = Kubernetes.IoK8sApiAppsV1beta1DeploymentRollback - const DeploymentSpec = Kubernetes.IoK8sApiAppsV1beta1DeploymentSpec - const ScaleSpec = Kubernetes.IoK8sApiAppsV1beta1ScaleSpec - const StatefulSetList = Kubernetes.IoK8sApiAppsV1beta1StatefulSetList - const DeploymentCondition = Kubernetes.IoK8sApiAppsV1beta1DeploymentCondition - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const DeploymentList = Kubernetes.IoK8sApiAppsV1beta1DeploymentList - const StatefulSetUpdateStrategy = Kubernetes.IoK8sApiAppsV1beta1StatefulSetUpdateStrategy - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Scale = Kubernetes.IoK8sApiAppsV1beta1Scale - const RollingUpdateDeployment = Kubernetes.IoK8sApiAppsV1beta1RollingUpdateDeployment - const ScaleStatus = Kubernetes.IoK8sApiAppsV1beta1ScaleStatus - const StatefulSetSpec = Kubernetes.IoK8sApiAppsV1beta1StatefulSetSpec - const ControllerRevision = Kubernetes.IoK8sApiAppsV1beta1ControllerRevision - const StatefulSet = Kubernetes.IoK8sApiAppsV1beta1StatefulSet - const RollingUpdateStatefulSetStrategy = Kubernetes.IoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy - const DeploymentStrategy = Kubernetes.IoK8sApiAppsV1beta1DeploymentStrategy - const StatefulSetCondition = Kubernetes.IoK8sApiAppsV1beta1StatefulSetCondition - const RollbackConfig = Kubernetes.IoK8sApiAppsV1beta1RollbackConfig - const StatefulSetStatus = Kubernetes.IoK8sApiAppsV1beta1StatefulSetStatus - const Deployment = Kubernetes.IoK8sApiAppsV1beta1Deployment - end # module AppsV1beta1 - module Authentication - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Authentication - module MetricsV1beta1 - using ..Kubernetes - const ContainerMetrics = Kubernetes.IoK8sApiMetricsV1beta1ContainerMetrics - const NodeMetrics = Kubernetes.IoK8sApiMetricsV1beta1NodeMetrics - const PodMetrics = Kubernetes.IoK8sApiMetricsV1beta1PodMetrics - const PodMetricsList = Kubernetes.IoK8sApiMetricsV1beta1PodMetricsList - const NodeMetricsList = Kubernetes.IoK8sApiMetricsV1beta1NodeMetricsList - end # module MetricsV1beta1 - module CoordinationV1beta1 - using ..Kubernetes - const LeaseSpec = Kubernetes.IoK8sApiCoordinationV1beta1LeaseSpec - const LeaseList = Kubernetes.IoK8sApiCoordinationV1beta1LeaseList - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const Lease = Kubernetes.IoK8sApiCoordinationV1beta1Lease - end # module CoordinationV1beta1 - module CoordinationV1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const Lease = Kubernetes.IoK8sApiCoordinationV1Lease - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const LeaseSpec = Kubernetes.IoK8sApiCoordinationV1LeaseSpec - const LeaseList = Kubernetes.IoK8sApiCoordinationV1LeaseList - end # module CoordinationV1 - module AuthorizationV1 - using ..Kubernetes - const SelfSubjectRulesReview = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectRulesReview - const LocalSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1LocalSubjectAccessReview - const SubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1SubjectAccessReviewSpec - const ResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1ResourceAttributes - const NonResourceRule = Kubernetes.IoK8sApiAuthorizationV1NonResourceRule - const SubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1SubjectAccessReview - const SelfSubjectAccessReviewSpec = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec - const SubjectAccessReviewStatus = Kubernetes.IoK8sApiAuthorizationV1SubjectAccessReviewStatus - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const SubjectRulesReviewStatus = Kubernetes.IoK8sApiAuthorizationV1SubjectRulesReviewStatus - const SelfSubjectRulesReviewSpec = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectRulesReviewSpec - const NonResourceAttributes = Kubernetes.IoK8sApiAuthorizationV1NonResourceAttributes - const ResourceRule = Kubernetes.IoK8sApiAuthorizationV1ResourceRule - const SelfSubjectAccessReview = Kubernetes.IoK8sApiAuthorizationV1SelfSubjectAccessReview - end # module AuthorizationV1 - module MetaV1 - using ..Kubernetes - const FieldsV1 = Kubernetes.IoK8sApimachineryPkgApisMetaV1FieldsV1 - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails - const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList - const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery - const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta - const APIVersions = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIVersions - const Patch = Kubernetes.IoK8sApimachineryPkgApisMetaV1Patch - const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry - const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause - const DeleteOptions = Kubernetes.IoK8sApimachineryPkgApisMetaV1DeleteOptions - const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement - const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR - const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource - const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference - const Preconditions = Kubernetes.IoK8sApimachineryPkgApisMetaV1Preconditions - end # module MetaV1 - module AdmissionregistrationV1 - using ..Kubernetes - const MutatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1MutatingWebhook - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const MutatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1MutatingWebhookConfiguration - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const WebhookClientConfig = Kubernetes.IoK8sApiAdmissionregistrationV1WebhookClientConfig - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const ValidatingWebhookConfiguration = Kubernetes.IoK8sApiAdmissionregistrationV1ValidatingWebhookConfiguration - const RuleWithOperations = Kubernetes.IoK8sApiAdmissionregistrationV1RuleWithOperations - const ServiceReference = Kubernetes.IoK8sApiAdmissionregistrationV1ServiceReference - const ValidatingWebhook = Kubernetes.IoK8sApiAdmissionregistrationV1ValidatingWebhook - const MutatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1MutatingWebhookConfigurationList - const ValidatingWebhookConfigurationList = Kubernetes.IoK8sApiAdmissionregistrationV1ValidatingWebhookConfigurationList - end # module AdmissionregistrationV1 - module EventsV1beta1 - using ..Kubernetes - const EventSeries = Kubernetes.IoK8sApiEventsV1beta1EventSeries - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const Event = Kubernetes.IoK8sApiEventsV1beta1Event - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const EventList = Kubernetes.IoK8sApiEventsV1beta1EventList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - end # module EventsV1beta1 - module StorageV1alpha1 - using ..Kubernetes - const VolumeAttachmentSpec = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentSpec - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const VolumeAttachmentSource = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentSource - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const VolumeError = Kubernetes.IoK8sApiStorageV1alpha1VolumeError - const VolumeAttachmentStatus = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentStatus - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const VolumeAttachment = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachment - const VolumeAttachmentList = Kubernetes.IoK8sApiStorageV1alpha1VolumeAttachmentList - end # module StorageV1alpha1 - module AutoscalingV2beta2 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const MetricValueStatus = Kubernetes.IoK8sApiAutoscalingV2beta2MetricValueStatus - const PodsMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2PodsMetricStatus - const ObjectMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2ObjectMetricStatus - const HorizontalPodAutoscaler = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscaler - const HorizontalPodAutoscalerCondition = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerCondition - const ExternalMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2ExternalMetricSource - const MetricSpec = Kubernetes.IoK8sApiAutoscalingV2beta2MetricSpec - const ResourceMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2ResourceMetricStatus - const MetricTarget = Kubernetes.IoK8sApiAutoscalingV2beta2MetricTarget - const ResourceMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2ResourceMetricSource - const ExternalMetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2ExternalMetricStatus - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const HorizontalPodAutoscalerSpec = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerSpec - const MetricIdentifier = Kubernetes.IoK8sApiAutoscalingV2beta2MetricIdentifier - const HorizontalPodAutoscalerList = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerList - const HorizontalPodAutoscalerStatus = Kubernetes.IoK8sApiAutoscalingV2beta2HorizontalPodAutoscalerStatus - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const ObjectMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2ObjectMetricSource - const MetricStatus = Kubernetes.IoK8sApiAutoscalingV2beta2MetricStatus - const CrossVersionObjectReference = Kubernetes.IoK8sApiAutoscalingV2beta2CrossVersionObjectReference - const PodsMetricSource = Kubernetes.IoK8sApiAutoscalingV2beta2PodsMetricSource - end # module AutoscalingV2beta2 - module Events - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Events - module ApiextensionsV1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const JSONSchemaPropsOrArray = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray - const CustomResourceValidation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation - const JSON = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON - const JSONSchemaPropsOrBool = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool - const WebhookClientConfig = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig - const CustomResourceDefinitionSpec = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec - const CustomResourceSubresourceScale = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale - const ExternalDocumentation = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation - const CustomResourceDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition - const CustomResourceColumnDefinition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition - const CustomResourceDefinitionNames = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames - const CustomResourceSubresources = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources - const CustomResourceDefinitionList = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const CustomResourceSubresourceStatus = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus - const ServiceReference = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const CustomResourceConversion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion - const JSONSchemaProps = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps - const WebhookConversion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion - const CustomResourceDefinitionVersion = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion - const CustomResourceDefinitionCondition = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition - const JSONSchemaPropsOrStringArray = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray - const CustomResourceDefinitionStatus = Kubernetes.IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus - end # module ApiextensionsV1 - module BatchV2alpha1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const CronJobSpec = Kubernetes.IoK8sApiBatchV2alpha1CronJobSpec - const CronJob = Kubernetes.IoK8sApiBatchV2alpha1CronJob - const CronJobStatus = Kubernetes.IoK8sApiBatchV2alpha1CronJobStatus - const CronJobList = Kubernetes.IoK8sApiBatchV2alpha1CronJobList - const JobTemplateSpec = Kubernetes.IoK8sApiBatchV2alpha1JobTemplateSpec - end # module BatchV2alpha1 - module Scheduling - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Scheduling - module Apiregistration - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Apiregistration - module Policy - using ..Kubernetes - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - end # module Policy - module CoreV1 - using ..Kubernetes - const Capabilities = Kubernetes.IoK8sApiCoreV1Capabilities - const NodeConfigSource = Kubernetes.IoK8sApiCoreV1NodeConfigSource - const NodeSystemInfo = Kubernetes.IoK8sApiCoreV1NodeSystemInfo - const ScopedResourceSelectorRequirement = Kubernetes.IoK8sApiCoreV1ScopedResourceSelectorRequirement - const LabelSelector = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelector - const PodTemplate = Kubernetes.IoK8sApiCoreV1PodTemplate - const TopologySelectorTerm = Kubernetes.IoK8sApiCoreV1TopologySelectorTerm - const Volume = Kubernetes.IoK8sApiCoreV1Volume - const ContainerStatus = Kubernetes.IoK8sApiCoreV1ContainerStatus - const NamespaceCondition = Kubernetes.IoK8sApiCoreV1NamespaceCondition - const Preconditions = Kubernetes.IoK8sApimachineryPkgApisMetaV1Preconditions - const NodeCondition = Kubernetes.IoK8sApiCoreV1NodeCondition - const NamespaceStatus = Kubernetes.IoK8sApiCoreV1NamespaceStatus - const EnvFromSource = Kubernetes.IoK8sApiCoreV1EnvFromSource - const ISCSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIPersistentVolumeSource - const FlexVolumeSource = Kubernetes.IoK8sApiCoreV1FlexVolumeSource - const EndpointPort = Kubernetes.IoK8sApiCoreV1EndpointPort - const Namespace = Kubernetes.IoK8sApiCoreV1Namespace - const RBDPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1RBDPersistentVolumeSource - const Handler = Kubernetes.IoK8sApiCoreV1Handler - const ProjectedVolumeSource = Kubernetes.IoK8sApiCoreV1ProjectedVolumeSource - const PodAffinity = Kubernetes.IoK8sApiCoreV1PodAffinity - const PodTemplateSpec = Kubernetes.IoK8sApiCoreV1PodTemplateSpec - const VsphereVirtualDiskVolumeSource = Kubernetes.IoK8sApiCoreV1VsphereVirtualDiskVolumeSource - const FlexPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1FlexPersistentVolumeSource - const Probe = Kubernetes.IoK8sApiCoreV1Probe - const HostAlias = Kubernetes.IoK8sApiCoreV1HostAlias - const TypedLocalObjectReference = Kubernetes.IoK8sApiCoreV1TypedLocalObjectReference - const ComponentStatusList = Kubernetes.IoK8sApiCoreV1ComponentStatusList - const EndpointsList = Kubernetes.IoK8sApiCoreV1EndpointsList - const WeightedPodAffinityTerm = Kubernetes.IoK8sApiCoreV1WeightedPodAffinityTerm - const WindowsSecurityContextOptions = Kubernetes.IoK8sApiCoreV1WindowsSecurityContextOptions - const TopologySelectorLabelRequirement = Kubernetes.IoK8sApiCoreV1TopologySelectorLabelRequirement - const EndpointSubset = Kubernetes.IoK8sApiCoreV1EndpointSubset - const NodeSelector = Kubernetes.IoK8sApiCoreV1NodeSelector - const DaemonEndpoint = Kubernetes.IoK8sApiCoreV1DaemonEndpoint - const DownwardAPIVolumeFile = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeFile - const LocalVolumeSource = Kubernetes.IoK8sApiCoreV1LocalVolumeSource - const ResourceFieldSelector = Kubernetes.IoK8sApiCoreV1ResourceFieldSelector - const ConfigMapEnvSource = Kubernetes.IoK8sApiCoreV1ConfigMapEnvSource - const CephFSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSPersistentVolumeSource - const APIGroupList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroupList - const DownwardAPIVolumeSource = Kubernetes.IoK8sApiCoreV1DownwardAPIVolumeSource - const NamespaceSpec = Kubernetes.IoK8sApiCoreV1NamespaceSpec - const EventList = Kubernetes.IoK8sApiCoreV1EventList - const ContainerStateRunning = Kubernetes.IoK8sApiCoreV1ContainerStateRunning - const PersistentVolumeList = Kubernetes.IoK8sApiCoreV1PersistentVolumeList - const Scale = Kubernetes.IoK8sApiAutoscalingV1Scale - const PortworxVolumeSource = Kubernetes.IoK8sApiCoreV1PortworxVolumeSource - const SecretVolumeSource = Kubernetes.IoK8sApiCoreV1SecretVolumeSource - const ServerAddressByClientCIDR = Kubernetes.IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR - const PhotonPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1PhotonPersistentDiskVolumeSource - const NodeAddress = Kubernetes.IoK8sApiCoreV1NodeAddress - const EndpointAddress = Kubernetes.IoK8sApiCoreV1EndpointAddress - const PersistentVolumeClaimList = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimList - const ContainerStateTerminated = Kubernetes.IoK8sApiCoreV1ContainerStateTerminated - const GroupVersionForDiscovery = Kubernetes.IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const SessionAffinityConfig = Kubernetes.IoK8sApiCoreV1SessionAffinityConfig - const Event = Kubernetes.IoK8sApiCoreV1Event - const EnvVar = Kubernetes.IoK8sApiCoreV1EnvVar - const FCVolumeSource = Kubernetes.IoK8sApiCoreV1FCVolumeSource - const VolumeProjection = Kubernetes.IoK8sApiCoreV1VolumeProjection - const OwnerReference = Kubernetes.IoK8sApimachineryPkgApisMetaV1OwnerReference - const FieldsV1 = Kubernetes.IoK8sApimachineryPkgApisMetaV1FieldsV1 - const FlockerVolumeSource = Kubernetes.IoK8sApiCoreV1FlockerVolumeSource - const StatusDetails = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusDetails - const NodeSpec = Kubernetes.IoK8sApiCoreV1NodeSpec - const TokenRequest = Kubernetes.IoK8sApiAuthenticationV1TokenRequest - const PersistentVolumeClaimStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimStatus - const ResourceQuota = Kubernetes.IoK8sApiCoreV1ResourceQuota - const ResourceRequirements = Kubernetes.IoK8sApiCoreV1ResourceRequirements - const ConfigMapNodeConfigSource = Kubernetes.IoK8sApiCoreV1ConfigMapNodeConfigSource - const Lifecycle = Kubernetes.IoK8sApiCoreV1Lifecycle - const Patch = Kubernetes.IoK8sApimachineryPkgApisMetaV1Patch - const ServiceAccountList = Kubernetes.IoK8sApiCoreV1ServiceAccountList - const EnvVarSource = Kubernetes.IoK8sApiCoreV1EnvVarSource - const SecretProjection = Kubernetes.IoK8sApiCoreV1SecretProjection - const ConfigMapVolumeSource = Kubernetes.IoK8sApiCoreV1ConfigMapVolumeSource - const EventSeries = Kubernetes.IoK8sApiCoreV1EventSeries - const PodStatus = Kubernetes.IoK8sApiCoreV1PodStatus - const ReplicationControllerStatus = Kubernetes.IoK8sApiCoreV1ReplicationControllerStatus - const ContainerImage = Kubernetes.IoK8sApiCoreV1ContainerImage - const NFSVolumeSource = Kubernetes.IoK8sApiCoreV1NFSVolumeSource - const ClientIPConfig = Kubernetes.IoK8sApiCoreV1ClientIPConfig - const PreferredSchedulingTerm = Kubernetes.IoK8sApiCoreV1PreferredSchedulingTerm - const AWSElasticBlockStoreVolumeSource = Kubernetes.IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource - const LimitRange = Kubernetes.IoK8sApiCoreV1LimitRange - const SecretKeySelector = Kubernetes.IoK8sApiCoreV1SecretKeySelector - const CSIVolumeSource = Kubernetes.IoK8sApiCoreV1CSIVolumeSource - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const ServiceAccount = Kubernetes.IoK8sApiCoreV1ServiceAccount - const EmptyDirVolumeSource = Kubernetes.IoK8sApiCoreV1EmptyDirVolumeSource - const PodTemplateList = Kubernetes.IoK8sApiCoreV1PodTemplateList - const VolumeMount = Kubernetes.IoK8sApiCoreV1VolumeMount - const ConfigMapKeySelector = Kubernetes.IoK8sApiCoreV1ConfigMapKeySelector - const Service = Kubernetes.IoK8sApiCoreV1Service - const CinderPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CinderPersistentVolumeSource - const SecretEnvSource = Kubernetes.IoK8sApiCoreV1SecretEnvSource - const LimitRangeSpec = Kubernetes.IoK8sApiCoreV1LimitRangeSpec - const ServiceStatus = Kubernetes.IoK8sApiCoreV1ServiceStatus - const PodReadinessGate = Kubernetes.IoK8sApiCoreV1PodReadinessGate - const ReplicationController = Kubernetes.IoK8sApiCoreV1ReplicationController - const LimitRangeItem = Kubernetes.IoK8sApiCoreV1LimitRangeItem - const GlusterfsVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsVolumeSource - const AzureDiskVolumeSource = Kubernetes.IoK8sApiCoreV1AzureDiskVolumeSource - const LoadBalancerIngress = Kubernetes.IoK8sApiCoreV1LoadBalancerIngress - const DeleteOptions = Kubernetes.IoK8sApimachineryPkgApisMetaV1DeleteOptions - const LabelSelectorRequirement = Kubernetes.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement - const Binding = Kubernetes.IoK8sApiCoreV1Binding - const Node = Kubernetes.IoK8sApiCoreV1Node - const APIResource = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResource - const PodDNSConfigOption = Kubernetes.IoK8sApiCoreV1PodDNSConfigOption - const PodAntiAffinity = Kubernetes.IoK8sApiCoreV1PodAntiAffinity - const TopologySpreadConstraint = Kubernetes.IoK8sApiCoreV1TopologySpreadConstraint - const PersistentVolumeSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeSpec - const DownwardAPIProjection = Kubernetes.IoK8sApiCoreV1DownwardAPIProjection - const SecretList = Kubernetes.IoK8sApiCoreV1SecretList - const GitRepoVolumeSource = Kubernetes.IoK8sApiCoreV1GitRepoVolumeSource - const ReplicationControllerSpec = Kubernetes.IoK8sApiCoreV1ReplicationControllerSpec - const NodeDaemonEndpoints = Kubernetes.IoK8sApiCoreV1NodeDaemonEndpoints - const NodeList = Kubernetes.IoK8sApiCoreV1NodeList - const PersistentVolumeClaimSpec = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimSpec - const PersistentVolumeClaimCondition = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimCondition - const ContainerPort = Kubernetes.IoK8sApiCoreV1ContainerPort - const EphemeralContainer = Kubernetes.IoK8sApiCoreV1EphemeralContainer - const StorageOSPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSPersistentVolumeSource - const PodList = Kubernetes.IoK8sApiCoreV1PodList - const GCEPersistentDiskVolumeSource = Kubernetes.IoK8sApiCoreV1GCEPersistentDiskVolumeSource - const ReplicationControllerCondition = Kubernetes.IoK8sApiCoreV1ReplicationControllerCondition - const ServiceSpec = Kubernetes.IoK8sApiCoreV1ServiceSpec - const NodeSelectorRequirement = Kubernetes.IoK8sApiCoreV1NodeSelectorRequirement - const LocalObjectReference = Kubernetes.IoK8sApiCoreV1LocalObjectReference - const ServicePort = Kubernetes.IoK8sApiCoreV1ServicePort - const Endpoints = Kubernetes.IoK8sApiCoreV1Endpoints - const ListMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ListMeta - const PodCondition = Kubernetes.IoK8sApiCoreV1PodCondition - const VolumeNodeAffinity = Kubernetes.IoK8sApiCoreV1VolumeNodeAffinity - const NodeStatus = Kubernetes.IoK8sApiCoreV1NodeStatus - const CephFSVolumeSource = Kubernetes.IoK8sApiCoreV1CephFSVolumeSource - const SecretReference = Kubernetes.IoK8sApiCoreV1SecretReference - const VolumeDevice = Kubernetes.IoK8sApiCoreV1VolumeDevice - const NodeConfigStatus = Kubernetes.IoK8sApiCoreV1NodeConfigStatus - const Container = Kubernetes.IoK8sApiCoreV1Container - const SecurityContext = Kubernetes.IoK8sApiCoreV1SecurityContext - const ScaleIOPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOPersistentVolumeSource - const ObjectFieldSelector = Kubernetes.IoK8sApiCoreV1ObjectFieldSelector - const PodSpec = Kubernetes.IoK8sApiCoreV1PodSpec - const Affinity = Kubernetes.IoK8sApiCoreV1Affinity - const CinderVolumeSource = Kubernetes.IoK8sApiCoreV1CinderVolumeSource - const Pod = Kubernetes.IoK8sApiCoreV1Pod - const LoadBalancerStatus = Kubernetes.IoK8sApiCoreV1LoadBalancerStatus - const Taint = Kubernetes.IoK8sApiCoreV1Taint - const AzureFileVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFileVolumeSource - const NamespaceList = Kubernetes.IoK8sApiCoreV1NamespaceList - const Eviction = Kubernetes.IoK8sApiPolicyV1beta1Eviction - const ExecAction = Kubernetes.IoK8sApiCoreV1ExecAction - const NodeSelectorTerm = Kubernetes.IoK8sApiCoreV1NodeSelectorTerm - const ConfigMap = Kubernetes.IoK8sApiCoreV1ConfigMap - const ComponentCondition = Kubernetes.IoK8sApiCoreV1ComponentCondition - const KeyToPath = Kubernetes.IoK8sApiCoreV1KeyToPath - const GlusterfsPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1GlusterfsPersistentVolumeSource - const APIVersions = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIVersions - const ResourceQuotaList = Kubernetes.IoK8sApiCoreV1ResourceQuotaList - const RBDVolumeSource = Kubernetes.IoK8sApiCoreV1RBDVolumeSource - const StorageOSVolumeSource = Kubernetes.IoK8sApiCoreV1StorageOSVolumeSource - const Secret = Kubernetes.IoK8sApiCoreV1Secret - const ContainerState = Kubernetes.IoK8sApiCoreV1ContainerState - const LimitRangeList = Kubernetes.IoK8sApiCoreV1LimitRangeList - const PersistentVolume = Kubernetes.IoK8sApiCoreV1PersistentVolume - const TCPSocketAction = Kubernetes.IoK8sApiCoreV1TCPSocketAction - const Toleration = Kubernetes.IoK8sApiCoreV1Toleration - const PersistentVolumeStatus = Kubernetes.IoK8sApiCoreV1PersistentVolumeStatus - const NodeAffinity = Kubernetes.IoK8sApiCoreV1NodeAffinity - const ServiceList = Kubernetes.IoK8sApiCoreV1ServiceList - const CSIPersistentVolumeSource = Kubernetes.IoK8sApiCoreV1CSIPersistentVolumeSource - const ReplicationControllerList = Kubernetes.IoK8sApiCoreV1ReplicationControllerList - const ResourceQuotaSpec = Kubernetes.IoK8sApiCoreV1ResourceQuotaSpec - const AttachedVolume = Kubernetes.IoK8sApiCoreV1AttachedVolume - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const Sysctl = Kubernetes.IoK8sApiCoreV1Sysctl - const ScaleIOVolumeSource = Kubernetes.IoK8sApiCoreV1ScaleIOVolumeSource - const SELinuxOptions = Kubernetes.IoK8sApiCoreV1SELinuxOptions - const ObjectMeta = Kubernetes.IoK8sApimachineryPkgApisMetaV1ObjectMeta - const ConfigMapList = Kubernetes.IoK8sApiCoreV1ConfigMapList - const ManagedFieldsEntry = Kubernetes.IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry - const EventSource = Kubernetes.IoK8sApiCoreV1EventSource - const ContainerStateWaiting = Kubernetes.IoK8sApiCoreV1ContainerStateWaiting - const PodSecurityContext = Kubernetes.IoK8sApiCoreV1PodSecurityContext - const PodIP = Kubernetes.IoK8sApiCoreV1PodIP - const ResourceQuotaStatus = Kubernetes.IoK8sApiCoreV1ResourceQuotaStatus - const PersistentVolumeClaim = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaim - const HostPathVolumeSource = Kubernetes.IoK8sApiCoreV1HostPathVolumeSource - const ConfigMapProjection = Kubernetes.IoK8sApiCoreV1ConfigMapProjection - const QuobyteVolumeSource = Kubernetes.IoK8sApiCoreV1QuobyteVolumeSource - const ISCSIVolumeSource = Kubernetes.IoK8sApiCoreV1ISCSIVolumeSource - const ObjectReference = Kubernetes.IoK8sApiCoreV1ObjectReference - const PodDNSConfig = Kubernetes.IoK8sApiCoreV1PodDNSConfig - const HTTPHeader = Kubernetes.IoK8sApiCoreV1HTTPHeader - const APIGroup = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIGroup - const PodAffinityTerm = Kubernetes.IoK8sApiCoreV1PodAffinityTerm - const StatusCause = Kubernetes.IoK8sApimachineryPkgApisMetaV1StatusCause - const ServiceAccountTokenProjection = Kubernetes.IoK8sApiCoreV1ServiceAccountTokenProjection - const PersistentVolumeClaimVolumeSource = Kubernetes.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource - const AzureFilePersistentVolumeSource = Kubernetes.IoK8sApiCoreV1AzureFilePersistentVolumeSource - const ComponentStatus = Kubernetes.IoK8sApiCoreV1ComponentStatus - const HTTPGetAction = Kubernetes.IoK8sApiCoreV1HTTPGetAction - const ScopeSelector = Kubernetes.IoK8sApiCoreV1ScopeSelector - end # module CoreV1 - module DiscoveryV1beta1 - using ..Kubernetes - const EndpointConditions = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointConditions - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const EndpointSlice = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointSlice - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const Endpoint = Kubernetes.IoK8sApiDiscoveryV1beta1Endpoint - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const EndpointPort = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointPort - const EndpointSliceList = Kubernetes.IoK8sApiDiscoveryV1beta1EndpointSliceList - end # module DiscoveryV1beta1 - module RbacAuthorizationV1 - using ..Kubernetes - const WatchEvent = Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent - const ClusterRoleBinding = Kubernetes.IoK8sApiRbacV1ClusterRoleBinding - const Status = Kubernetes.IoK8sApimachineryPkgApisMetaV1Status - const RoleList = Kubernetes.IoK8sApiRbacV1RoleList - const PolicyRule = Kubernetes.IoK8sApiRbacV1PolicyRule - const RoleBinding = Kubernetes.IoK8sApiRbacV1RoleBinding - const APIResourceList = Kubernetes.IoK8sApimachineryPkgApisMetaV1APIResourceList - const RoleBindingList = Kubernetes.IoK8sApiRbacV1RoleBindingList - const Subject = Kubernetes.IoK8sApiRbacV1Subject - const ClusterRole = Kubernetes.IoK8sApiRbacV1ClusterRole - const RoleRef = Kubernetes.IoK8sApiRbacV1RoleRef - const ClusterRoleList = Kubernetes.IoK8sApiRbacV1ClusterRoleList - const Role = Kubernetes.IoK8sApiRbacV1Role - const AggregationRule = Kubernetes.IoK8sApiRbacV1AggregationRule - const ClusterRoleBindingList = Kubernetes.IoK8sApiRbacV1ClusterRoleBindingList - end # module RbacAuthorizationV1 -end # module Typedefs diff --git a/src/Kuber.jl b/src/Kuber.jl index c0714ff1..3baa7b69 100644 --- a/src/Kuber.jl +++ b/src/Kuber.jl @@ -1,13 +1,14 @@ module Kuber using JSON -using Swagger +using OpenAPI using Downloads +import OpenAPI: val_format + include("ApiImpl/ApiImpl.jl") import Base: convert, get, put!, delete!, show -import Swagger: SwaggerModel include("helpers.jl") include("simpleapi.jl") diff --git a/src/helpers.jl b/src/helpers.jl index 6d5770bf..441ae259 100644 --- a/src/helpers.jl +++ b/src/helpers.jl @@ -1,18 +1,32 @@ const DEFAULT_NAMESPACE = "default" const DEFAULT_URI = "http://localhost:8001" +to_snake_case(o) = to_snake_case(string(o)) +function to_snake_case(camel_case_str::String) + iob = IOBuffer() + for c in camel_case_str + if isuppercase(c) + (iob.size > 0) && write(iob, '_') + write(iob, lowercase(c)) + else + write(iob, c) + end + end + String(take!(iob)) +end + """delay customized by TPS requirement""" k8s_delay(tps, max_tries=1) = ExponentialBackOff(n=max_tries, first_delay=(1/tps), factor=1.75, jitter=0.1) """ -Swagger status codes that can be retried. +OpenAPI status codes that can be retried. 0: network error (HTTP was not even attempted) 500-504: unexpected server error """ const k8s_retryable_codes = [0, 500, 501, 502, 503, 504] function k8s_retry_cond(s, e, retryable_codes=k8s_retryable_codes) - if (e isa Swagger.ApiException) && (e.status in retryable_codes) + if (e isa OpenAPI.Clients.ApiException) && (e.status in retryable_codes) return (s, true) end (s, false) @@ -33,7 +47,7 @@ end mutable struct KuberContext apimodule::Module - client::Swagger.Client + client::OpenAPI.Clients.Client apis::Dict{Symbol,Vector{KApi}} modelapi::Dict{Symbol,KApi} namespace::String @@ -44,11 +58,11 @@ mutable struct KuberContext function KuberContext(apimodule::Module=ApiImpl; kwargs...) kctx = new(apimodule) - rtfn = (default,data)->kuber_type(kctx, default, data) - swaggerclient = Swagger.Client(DEFAULT_URI; get_return_type=rtfn, kwargs...) - swaggerclient.headers["Connection"] = "close" + rtfn = (return_types,response_code,response_data)->kuber_type(kctx, return_types, response_code, response_data) + openapiclient = OpenAPI.Clients.Client(DEFAULT_URI; get_return_type=rtfn, kwargs...) + openapiclient.headers["Connection"] = "close" - kctx.client = swaggerclient + kctx.client = openapiclient kctx.apis = Dict{Symbol,Vector}() kctx.modelapi = Dict{Symbol,KApi}() kctx.namespace = DEFAULT_NAMESPACE @@ -67,6 +81,41 @@ end apimodule(ctx::KuberContext) = ctx.apimodule apimodule(ctx::KuberWatchContext) = apimodule(ctx.ctx) +struct KuberException <: Exception + code::Int + message::String + status::Union{Nothing,OpenAPI.APIModel} + response::Union{Nothing,OpenAPI.Clients.ApiResponse} +end + +function KuberException(response::OpenAPI.Clients.ApiResponse, status::Union{Nothing,OpenAPI.APIModel}) + http_response = response.raw + if !(200 <= http_response.status <= 299) + message = http_response.message + code = http_response.status + end + + # if status is available, use it to override the message and code + if !isnothing(status) + if hasproperty(status, :message) && !isnothing(status.message) && !isempty(status.message) + message = status.message + end + if hasproperty(status, :code) && !isnothing(status.code) && (status.code != 0) + code = status.code + end + end + + return KuberException(code, message, status, response) +end + +function check_api_response(result, response::OpenAPI.Clients.ApiResponse) + if !(200 <= response.status <= 299) + status = isa(result, OpenAPI.APIModel) ? result : nothing + throw(KuberException(response, status)) + end + return result +end + """ set_retries(ctx; count=5, all_apis=false) @@ -91,7 +140,7 @@ get_client(ctx::KuberWatchContext) = ctx.ctx.client get_timeout(ctx::Union{KuberContext,KuberWatchContext}) = get_client(ctx).timeout[] function set_timeout(ctx::Union{KuberContext,KuberWatchContext}, timeout::Integer) - Swagger.set_timeout(get_client(ctx), timeout) + OpenAPI.Clients.set_timeout(get_client(ctx), timeout) ctx end @@ -106,8 +155,8 @@ function with_timeout(fn, ctx::Union{KuberContext,KuberWatchContext}, timeout::I end convert(::Type{Vector{UInt8}}, s::T) where {T<:AbstractString} = collect(codeunits(s)) -convert(::Type{T}, json::String) where {T<:SwaggerModel} = convert(T, JSON.parse(json)) -convert(::Type{Dict{String,Any}}, model::T) where {T<:SwaggerModel} = JSON.parse(JSON.json(model)) +convert(::Type{T}, json::String) where {T<:OpenAPI.APIModel} = convert(T, JSON.parse(json)) +convert(::Type{Dict{String,Any}}, model::T) where {T<:OpenAPI.APIModel} = JSON.parse(JSON.json(model)) is_json_mime(mime::T) where {T <: AbstractString} = ("*/*" == mime) || occursin(r"(?i)application/json(;.*)?", mime) || occursin(r"(?i)application/(.*)-patch\+json(;.*)?", mime) @@ -119,6 +168,15 @@ end kuber_type(ctx::KuberContext, d) = kuber_type(ctx, Any, d) kuber_type(ctx::KuberContext, T, data::String) = kuber_type(ctx, T, JSON.parse(data)) +function kuber_type(ctx::KuberContext, return_types::Dict{Regex,Type}, response_code::Union{Nothing,Integer}, response_data::String) + default_type = OpenAPI.Clients.get_api_return_type(return_types, response_code, response_data) + try + json_resp = JSON.parse(response_data) + return kuber_type(ctx, default_type, json_resp) + catch + return default_type + end +end function header(resp::Downloads.Response, name::AbstractString, defaultval::AbstractString) for (n,v) in resp.headers @@ -169,7 +227,7 @@ Args: Keyword Args: - max_tries: retries allowed while probing API versions from server - verbose: Log API versions -- kwargs: other keyword args to pass on while constructing the client for API server (see Swagger.jl - https://github.com/JuliaComputing/Swagger.jl#readme) +- kwargs: other keyword args to pass on while constructing the client for API server (see OpenAPI.jl - https://github.com/JuliaComputing/OpenAPI.jl#readme) """ function set_server( ctx::KuberContext, @@ -179,8 +237,8 @@ function set_server( verbose::Bool=false, kwargs... ) - rtfn = (default,data)->kuber_type(ctx, default, data) - ctx.client = Swagger.Client(uri; get_return_type=rtfn, kwargs...) + rtfn = (return_types,response_code,response_data)->kuber_type(ctx, return_types, response_code, response_data) + ctx.client = OpenAPI.Clients.Client(uri; get_return_type=rtfn, kwargs...) ctx.client.headers["Connection"] = "close" reset_api_versions && set_api_versions!( ctx; @@ -203,6 +261,14 @@ set_ns(ctx::KuberContext, namespace::String) = (ctx.namespace = namespace) camel(a) = string(uppercase(a[1])) * (a[2:end]) +""" + api_group(group) + +Get the API group name as a string, given the full group specifier. +E.g.: + "apiregistration.k8s.io" => "ApiRegistration" + "karpenter.sh" => "KarpenterSh" +""" api_group(group) = api_group(String(group)) function api_group(group::String) endswith(group, ".k8s.io") && (group = group[1:end-7]) @@ -210,30 +276,46 @@ function api_group(group::String) join([camel(String(x)) for x in group_parts]) end +""" + api_group_type(ctx, group_ver) + +Get the API implementation type (generated struct implemting the OpenAPI endpoint) +given the full group version specifier. +E.g.: + "apiregistration.k8s.io/v1" => ApiRegistrationV1Api + "karpenter.sh/v1alpha5" => KarpenterShV1alpha5Api +""" api_group_type(ctx::Union{KuberContext,KuberWatchContext}, group_ver) = api_group_type(ctx, String(group_ver)) function api_group_type(ctx::Union{KuberContext,KuberWatchContext}, group_ver::String) - group, ver = occursin('/', group_ver) ? split(group_ver, "/") : ("Core", group_ver) - group = api_group(group) - ver = camel(ver) - getfield(apimodule(ctx), Symbol(group * ver * "Api")) + # group, ver = occursin('/', group_ver) ? split(group_ver, "/") : ("Core", group_ver) + # group = api_group(group) + # ver = camel(ver) + # getfield(apimodule(ctx), Symbol(group * ver * "Api")) + impl = apimodule(ctx) + Tstr = impl.APIVersionMap[group_ver] + getfield(impl, Symbol(Tstr)) end +""" + api_typedefs(ctx, group_ver) + +Get the API typedefs module (generated module mapping OpenAPI model types for the versioned endpoint) +given the full group version specifier. +E.g.: + "apiregistration.k8s.io/v1" => Typedefs.ApiRegistrationV1 + "karpenter.sh/v1alpha5" => Typedefs.KarpenterShV1alpha5 +""" api_typedefs(ctx::Union{KuberContext,KuberWatchContext}, group_ver) = api_typedefs(ctx, String(group_ver)) function api_typedefs(ctx::Union{KuberContext,KuberWatchContext}, group_ver::String) - group, ver = occursin('/', group_ver) ? split(group_ver, "/") : ("Core", group_ver) - group = api_group(group) - ver = camel(ver) - getfield(getfield(apimodule(ctx), :Typedefs), Symbol(group * ver)) + impl = apimodule(ctx) + Tstr = replace(impl.APIVersionMap[group_ver], r"Api$" => "") + # group, ver = occursin('/', group_ver) ? split(group_ver, "/") : ("Core", group_ver) + # group = api_group(group) + # ver = camel(ver) + # getfield(getfield(apimodule(ctx), :Typedefs), Symbol(group * ver)) + getfield(getfield(impl, :Typedefs), Symbol(Tstr)) end -# api_method(ctx::Union{KuberContext,KuberWatchContext}, group::Symbol, verb::String, object::String) = getfield(apimodule(ctx), Symbol(verb * String(group)[1:end-3] * object)) -# function api_method(ctx::Union{KuberContext,KuberWatchContext}, group_ver::String, verb::String, object::String) -# group, ver = occursin('/', group_ver) ? split(group_ver, "/") : ("Core", group_ver) -# group = api_group(group) -# ver = camel(ver) -# getfield(apimodule(ctx), Symbol(verb * group * ver * object)) -# end - function override_pref(name, server_pref, override) if override !== nothing for (n,v) in override @@ -243,23 +325,25 @@ function override_pref(name, server_pref, override) server_pref end -function fetch_misc_apis_versions(ctx::KuberContext; override=nothing, verbose::Bool=false, max_tries=retries(ctx, false)) +function fetch_all_apis_versions(ctx::KuberContext; override=nothing, verbose::Bool=false, max_tries=retries(ctx, false)) apis = ctx.apis - vers = k8s_retry(; max_tries=max_tries) do - apimodule(ctx).Kubernetes.getAPIVersions(apimodule(ctx).ApisApi(ctx.client)) + vers, http_resp = k8s_retry(; max_tries=max_tries) do + apimodule(ctx).get_a_p_i_versions(apimodule(ctx).ApisApi(ctx.client)) end + @assert http_resp.status == 200 api_groups = vers.groups for apigrp in api_groups name = apigrp.name pref_vers_type = apigrp.preferredVersion pref_vers_version = override_pref(name, pref_vers_type.version, override) pref_vers = name * "/" * pref_vers_version - verbose && @info("$name ($(api_group(name))) versions", supported=join(map(x->x.version, apigrp.versions), ", "), preferred=pref_vers_version) + supported = String[] try apis[Symbol(api_group(name))] = [KApi(api_group_type(ctx, pref_vers), api_typedefs(ctx, pref_vers))] + push!(supported, pref_vers_version) catch ex - if isa(ex, UndefVarError) + if isa(ex, KeyError) @info("unsupported $pref_vers") continue else @@ -273,43 +357,64 @@ function fetch_misc_apis_versions(ctx::KuberContext; override=nothing, verbose:: td = api_typedefs(ctx, api_vers.groupVersion) ka = KApi(gt, td) kalist = apis[Symbol(api_group(name))] - (ka == kalist[1]) || push!(kalist, ka) + if (ka != kalist[1]) + push!(kalist, ka) + push!(supported, api_vers.version) + end catch @info("unsupported $(api_vers.groupVersion)") end end + + if verbose + @info("$name ($(api_group(name))) versions", + on_apiserver = join(map(x->x.version, apigrp.versions), ", "), + preferred = pref_vers_version, + supported = join(supported, ", "), + ) + end + end apis end function fetch_core_version(ctx::KuberContext; override=nothing, verbose::Bool=false, max_tries=retries(ctx, false)) apis = ctx.apis - api_vers = k8s_retry(; max_tries=max_tries) do - apimodule(ctx).getCoreAPIVersions(apimodule(ctx).CoreApi(ctx.client)) + api_vers, http_resp = k8s_retry(; max_tries=max_tries) do + apimodule(ctx).get_core_a_p_i_versions(apimodule(ctx).CoreApi(ctx.client)) end + @assert http_resp.status == 200 name = "Core" + supported = String[] pref_vers = override_pref(name, api_vers.versions[1], override) - verbose && @info("Core versions", supported=join(api_vers.versions, ", "), preferred=pref_vers) + apis[:Core] = [KApi(getfield(apimodule(ctx), Symbol("Core" * camel(pref_vers) * "Api")), getfield(getfield(apimodule(ctx), :Typedefs), Symbol("Core" * camel(pref_vers))))] + push!(supported, pref_vers) + for api_vers in api_vers.versions try gt = getfield(apimodule(ctx), Symbol("Core" * camel(api_vers) * "Api")) td = getfield(getfield(apimodule(ctx), :Typedefs), Symbol("Core" * camel(api_vers))) ka = KApi(gt, td) kalist = apis[:Core] - (ka == kalist[1]) || push!(kalist, ka) + if (ka != kalist[1]) + push!(kalist, ka) + push!(supported, api_vers) + end catch @info("unsupported Core $api_vers") end end - apis -end -function fetch_api_machinery(ctx::KuberContext) - apis = ctx.apis - apis[:Apis] = [KApi(apimodule(ctx).Kubernetes.ApisApi, apimodule(ctx).Typedefs.Apis)] - apis[:MetaV1] = [KApi(apimodule(ctx).Kubernetes.ApisApi, apimodule(ctx).Typedefs.MetaV1)] - apis + if verbose + @info("Core versions", + on_apiserver = join(api_vers.versions, ", "), + preferred = pref_vers, + supported = join(supported, ", "), + ) + end + + return apis end function build_model_api_map(ctx::KuberContext) @@ -335,13 +440,9 @@ function set_api_versions!(ctx::KuberContext; override=nothing, verbose::Bool=fa empty!(ctx.apis) empty!(ctx.modelapi) - # bootstrap: the api machinery types - fetch_api_machinery(ctx) - build_model_api_map(ctx) - # fetch apis and map the types fetch_core_version(ctx; override=override, verbose=verbose, max_tries=max_tries) - fetch_misc_apis_versions(ctx; override=override, verbose=verbose, max_tries=max_tries) + fetch_all_apis_versions(ctx; override=override, verbose=verbose, max_tries=max_tries) build_model_api_map(ctx) # add custom models @@ -349,3 +450,7 @@ function set_api_versions!(ctx::KuberContext; override=nothing, verbose::Bool=fa ctx.initialized = true nothing end + +# Add validations for the k8s spec specific int-or-string format +OpenAPI.val_format(val::Union{AbstractString,Integer}, ::Val{Symbol("int-or-string")}) = true +OpenAPI.val_format(val, ::Val{Symbol("int-or-string")}) = false \ No newline at end of file diff --git a/src/simpleapi.jl b/src/simpleapi.jl index e77218fa..f2c98d7c 100644 --- a/src/simpleapi.jl +++ b/src/simpleapi.jl @@ -1,4 +1,4 @@ -# simple Julia APIs over Kubernetes Swagger interface +# simple Julia APIs over Kubernetes OpenAPI interface function sel(label::String, op::Symbol) @assert op === :exists @@ -7,8 +7,6 @@ end sel(label::String, op::Symbol, items::String...) = label * " " * string(op) * " (" * join(items, ",") * ")" sel(cnd::String...) = join(cnd, ", ") -_delopts(; kwargs...) = Typedefs.MetaV1.DeleteOptions(; preconditions=Typedefs.MetaV1.Preconditions(; kwargs...), kwargs...) - _kubectx(ctx::KuberContext) = ctx _kubectx(ctx::KuberWatchContext) = ctx.ctx @@ -52,7 +50,7 @@ function list(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol, name::Strin namespace::Union{String,Nothing}=_kubectx(ctx).namespace, max_tries::Int=retries(ctx, false), watch=isa(ctx, KuberWatchContext), - resourceVersion=nothing, + resource_version=nothing, kwargs...) apictx = _get_apictx(ctx, O, apiversion; max_tries=max_tries) namespaced = (namespace !== nothing) && !isempty(namespace) @@ -61,33 +59,36 @@ function list(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol, name::Strin eventstream = isa(ctx, KuberWatchContext) ? ctx.stream : nothing result = nothing args = Any[name] + _O_ = to_snake_case(string(O)) if allnamespaces - apicall = apimodule(ctx).eval(Symbol("list$(O)ForAllNamespaces")) + apicall = apimodule(ctx).eval(Symbol("list_$(_O_)_for_all_namespaces")) elseif namespaced - apicall = apimodule(ctx).eval(Symbol("listNamespaced$O")) + apicall = apimodule(ctx).eval(Symbol("list_namespaced_$(_O_)")) push!(args, namespace) else - apicall = apimodule(ctx).eval(Symbol("list$O")) + apicall = apimodule(ctx).eval(Symbol("list_$(_O_)")) end - if !watch || resourceVersion === nothing + if !watch || resource_version === nothing result = k8s_retry(; max_tries=max_tries) do - apicall(apictx, args...; kwargs...) + check_api_response(apicall(apictx, args...; kwargs...)...) end end # if not watching, return the first result watch || (return result) if result !== nothing - resourceVersion = result.metadata.resourceVersion + resource_version = result.metadata.resourceVersion # push the first Event consisting of existing data put!(eventstream, result) end # start watch and return the HTTP response object on completion - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, eventstream, args...; watch=watch, resourceVersion=resourceVersion, kwargs...) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, eventstream, args...; watch=watch, resource_version=resource_version, kwargs...)...) end + + return result end function list(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol; @@ -95,7 +96,7 @@ function list(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol; namespace::Union{String,Nothing}=_kubectx(ctx).namespace, max_tries::Int=retries(ctx, false), watch=isa(ctx, KuberWatchContext), - resourceVersion=nothing, + resource_version=nothing, kwargs...) apictx = _get_apictx(ctx, O, apiversion; max_tries=max_tries) namespaced = (namespace !== nothing) && !isempty(namespace) @@ -105,72 +106,78 @@ function list(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol; result = nothing args = Any[] + _O_ = to_snake_case(string(O)) if allnamespaces - apicall = apimodule(ctx).eval(Symbol("list$(O)ForAllNamespaces")) + apicall = apimodule(ctx).eval(Symbol("list_$(_O_)_for_all_namespaces")) elseif namespaced - apicall = apimodule(ctx).eval(Symbol("listNamespaced$O")) + apicall = apimodule(ctx).eval(Symbol("list_namespaced_$(_O_)")) push!(args, namespace) else - apicall = apimodule(ctx).eval(Symbol("list$O")) + apicall = apimodule(ctx).eval(Symbol("list_$(_O_)")) end - if !watch || resourceVersion === nothing + if !watch || resource_version === nothing result = k8s_retry(; max_tries=max_tries) do - apicall(apictx, args...; kwargs...) + check_api_response(apicall(apictx, args...; kwargs...)...) end end # if not watching, retuen the first result watch || (return result) if result !== nothing - resourceVersion = result.metadata.resourceVersion + resource_version = result.metadata.resourceVersion # push the first Event consisting of existing data put!(eventstream, result) end # start watch and return the HTTP response object on completion - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, eventstream, args...; watch=watch, resourceVersion=resourceVersion, kwargs...) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, eventstream, args...; watch=watch, resource_version=resource_version, kwargs...)...) end + + return result end function get(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol, name::String; apiversion::Union{String,Nothing}=nothing, max_tries::Integer=retries(ctx), watch=isa(ctx, KuberWatchContext), - resourceVersion=nothing, + resource_version=nothing, kwargs...) apictx = _get_apictx(ctx, O, apiversion; max_tries=max_tries) eventstream = isa(ctx, KuberWatchContext) ? ctx.stream : nothing result = nothing args = Any[name] - if (apicall = _api_function(ctx, "read$O")) !== nothing + _O_ = to_snake_case(string(O)) + if (apicall = _api_function(ctx, "read_$(_O_)")) !== nothing # nothing - elseif (apicall = _api_function(ctx, "readNamespaced$O")) !== nothing + elseif (apicall = _api_function(ctx, "read_namespaced_$(_O_)")) !== nothing push!(args, _kubectx(ctx).namespace) else - throw(ArgumentError("No API functions could be located using :$O")) + throw(ArgumentError("No API functions could be located using $O")) end - if !watch || resourceVersion === nothing + if !watch || resource_version === nothing result = k8s_retry(; max_tries=max_tries) do - apicall(apictx, args...; kwargs...) + check_api_response(apicall(apictx, args...; kwargs...)...) end end # if not watching, retuen the first result watch || (return result) if result !== nothing - resourceVersion = result.metadata.resourceVersion + resource_version = result.metadata.resourceVersion # push the first Event consisting of existing data put!(eventstream, result) end # start watch and return the HTTP response object on completion - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, eventstream, args...; watch=watch, resourceVersion=resourceVersion, kwargs...) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, eventstream, args...; watch=watch, resource_version=resource_version, kwargs...)...) end + + return result end function get(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol; @@ -179,41 +186,44 @@ function get(ctx::Union{KuberContext,KuberWatchContext}, O::Symbol; namespace::Union{String,Nothing}=_kubectx(ctx).namespace, max_tries::Integer=retries(ctx, false), watch=isa(ctx, KuberWatchContext), - resourceVersion=nothing, + resource_version=nothing, kwargs...) apictx = _get_apictx(ctx, O, apiversion; max_tries=max_tries) eventstream = isa(ctx, KuberWatchContext) ? ctx.stream : nothing result = nothing args = Any[] - apiname = "list$O" - namespace === nothing && (apiname *= "ForAllNamespaces") + _O_ = to_snake_case(string(O)) + apiname = "list_$(_O_)" + namespace === nothing && (apiname *= "_for_all_namespaces") if (apicall = _api_function(ctx, apiname)) !== nothing # nothing - elseif (apicall = _api_function(ctx, "listNamespaced$O")) !== nothing + elseif (apicall = _api_function(ctx, "list_namespaced_$(_O_)")) !== nothing push!(args, namespace) else - throw(ArgumentError("No API functions could be located using :$O")) + throw(ArgumentError("No API functions could be located using $O")) end - if !watch || resourceVersion === nothing + if !watch || resource_version === nothing result = k8s_retry(; max_tries=max_tries) do - apicall(apictx, args...; labelSelector=label_selector, kwargs...) + check_api_response(apicall(apictx, args...; label_selector, kwargs...)...) end end # if not watching, retuen the first result watch || (return result) if result !== nothing - resourceVersion = result.metadata.resourceVersion + resource_version = result.metadata.resourceVersion # push the first Event consisting of existing data put!(eventstream, result) end # start watch and return the HTTP response object on completion - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, eventstream, args...; watch=watch, resourceVersion=resourceVersion, labelSelector=label_selector, kwargs...) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, eventstream, args...; watch=watch, resource_version=resource_version, label_selector, kwargs...)...) end + + return result end function watch(ctx::KuberContext, O::Symbol, outstream::Channel, name::String; @@ -224,23 +234,27 @@ function watch(ctx::KuberContext, O::Symbol, outstream::Channel, name::String; apictx = _get_apictx(ctx, O, apiversion; max_tries=max_tries) namespaced = (namespace !== nothing) && !isempty(namespace) allnamespaces = namespaced && (namespace == "*") + _O_ = to_snake_case(string(O)) + result = nothing if allnamespaces - apicall = apimodule(ctx).eval(Symbol("watch$(O)ForAllNamespaces")) - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, outstream, name; kwargs...) + apicall = apimodule(ctx).eval(Symbol("watch_$(_O_)_for_all_namespaces")) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, outstream, name; kwargs...)...) end elseif namespaced - apicall = apimodule(ctx).eval(Symbol("watchNamespaced$O")) - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, outstream, name, namespace; kwargs...) + apicall = apimodule(ctx).eval(Symbol("watch_namespaced_$(_O_)")) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, outstream, name, namespace; kwargs...)...) end else - apicall = apimodule(ctx).eval(Symbol("watch$O")) - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, outstream, name; kwargs...) + apicall = apimodule(ctx).eval(Symbol("watch_$(_O_)")) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, outstream, name; kwargs...)...) end end + + return result end function watch(ctx::KuberContext, O::Symbol, outstream::Channel; @@ -251,46 +265,64 @@ function watch(ctx::KuberContext, O::Symbol, outstream::Channel; apictx = _get_apictx(ctx, O, apiversion; max_tries=max_tries) namespaced = (namespace !== nothing) && !isempty(namespace) allnamespaces = namespaced && (namespace == "*") + _O_ = to_snake_case(string(O)) + result = nothing if allnamespaces - apicall = apimodule(ctx).eval(Symbol("watch$(O)ForAllNamespaces")) - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, outstream; kwargs...) + apicall = apimodule(ctx).eval(Symbol("watch_$(_O_)_for_all_namespaces")) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, outstream; kwargs...)...) end elseif namespaced - apicall = apimodule(ctx).eval(Symbol("watchNamespaced$O")) - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, outstream, namespace; kwargs...) + apicall = apimodule(ctx).eval(Symbol("watch_namespaced_$(_O_)")) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, outstream, namespace; kwargs...)...) end else - apicall = apimodule(ctx).eval(Symbol("watch$O")) - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, outstream; kwargs...) + apicall = apimodule(ctx).eval(Symbol("watch_$(_O_)")) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, outstream; kwargs...)...) end end + + return result end -function put!(ctx::KuberContext, v::T; max_tries::Int=retries(ctx, true)) where {T<:SwaggerModel} - vjson = convert(Dict{String,Any}, v) - put!(ctx, Symbol(vjson["kind"]), vjson; max_tries=max_tries) +function put!(ctx::KuberContext, v::T; max_tries::Int=retries(ctx, true)) where {T<:OpenAPI.APIModel} + if isnothing(v.kind) + throw(ArgumentError("kind must be specified for $T")) + end + put!(ctx, Symbol(v.kind), v; max_tries=max_tries) +end + +function put!(ctx::KuberContext, O::Symbol, v::Dict{String,Any}; max_tries::Int=retries(ctx, true)) + if isnothing(v["kind"]) + v["kind"] = string(O) + end + put!(ctx, O, kuber_obj(ctx, v); max_tries=max_tries) end -function put!(ctx::KuberContext, O::Symbol, d::Dict{String,Any}; max_tries::Int=retries(ctx, true)) - apictx = _get_apictx(ctx, O, get(d, "apiVersion", nothing)) - if (apicall = _api_function(ctx, "create$O")) !== nothing - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, d) +function put!(ctx::KuberContext, O::Symbol, v::T; max_tries::Int=retries(ctx, true)) where {T<:OpenAPI.APIModel} + apictx = _get_apictx(ctx, O, v.apiVersion) + _O_ = to_snake_case(string(O)) + result = nothing + if (apicall = _api_function(ctx, "create_$(_O_)")) !== nothing + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, v)...) end - elseif (apicall = _api_function(ctx, "createNamespaced$O")) !== nothing - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, ctx.namespace, d) + elseif (apicall = _api_function(ctx, "create_namespaced_$(_O_)")) !== nothing + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, ctx.namespace, v)...) end else - throw(ArgumentError("No API functions could be located using :$O")) + throw(ArgumentError("No API functions could be located using $O")) end + return result end -function delete!(ctx::KuberContext, v::T; max_tries::Int=retries(ctx, true), kwargs...) where {T<:SwaggerModel} +# Note: delete! operations can return either the deleted object or a status object +# ref: https://github.com/kubernetes-client/csharp/issues/44 +function delete!(ctx::KuberContext, v::T; max_tries::Int=retries(ctx, true), kwargs...) where {T<:OpenAPI.APIModel} vjson = convert(Dict{String,Any}, v) kind = vjson["kind"] name = vjson["metadata"]["name"] @@ -299,24 +331,27 @@ end function delete!(ctx::KuberContext, O::Symbol, name::String; apiversion::Union{String,Nothing}=nothing, max_tries::Int=retries(ctx, true), kwargs...) apictx = _get_apictx(ctx, O, apiversion) - + _O_ = to_snake_case(string(O)) params = [apictx, name] + result = nothing - if (apicall = _api_function(ctx, "delete$O")) !== nothing - return k8s_retry(; max_tries=max_tries) do - apicall(params...; kwargs...) + if (apicall = _api_function(ctx, "delete_$(_O_)")) !== nothing + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(params...; kwargs...)...) end - elseif (apicall = _api_function(ctx, "deleteNamespaced$O")) !== nothing + elseif (apicall = _api_function(ctx, "delete_namespaced_$(_O_)")) !== nothing push!(params, ctx.namespace) - return k8s_retry(; max_tries=max_tries) do - apicall(params...; kwargs...) + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(params...; kwargs...)...) end else - throw(ArgumentError("No API functions could be located using :$O")) + throw(ArgumentError("No API functions could be located using $O")) end + + return result end -function update!(ctx::KuberContext, v::T, patch, patch_type; max_tries::Int=retries(ctx, true)) where {T<:SwaggerModel} +function update!(ctx::KuberContext, v::T, patch, patch_type; max_tries::Int=retries(ctx, true)) where {T<:OpenAPI.APIModel} vjson = convert(Dict{String,Any}, v) kind = vjson["kind"] name = vjson["metadata"]["name"] @@ -325,18 +360,21 @@ end function update!(ctx::KuberContext, O::Symbol, name::String, patch, patch_type; apiversion::Union{String,Nothing}=nothing, max_tries::Int=retries(ctx, true)) apictx = _get_apictx(ctx, O, apiversion) + _O_ = to_snake_case(string(O)) + result = nothing - if (apicall = _api_function(ctx, "patch$O")) !== nothing - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, name, patch; _mediaType=patch_type) + if (apicall = _api_function(ctx, "patch_$(_O_)")) !== nothing + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, name, patch; _mediaType=patch_type)...) end - elseif (apicall = _api_function(ctx, "patchNamespaced$O")) !== nothing - return k8s_retry(; max_tries=max_tries) do - apicall(apictx, name, ctx.namespace, patch; _mediaType=patch_type) + elseif (apicall = _api_function(ctx, "patch_namespaced_$(_O_)")) !== nothing + result = k8s_retry(; max_tries=max_tries) do + check_api_response(apicall(apictx, name, ctx.namespace, patch; _mediaType=patch_type)...) end else - throw(ArgumentError("No API functions could be located using :$O")) + throw(ArgumentError("No API functions could be located using $O")) end + return result end """ diff --git a/test/runtests.jl b/test/runtests.jl index 9979ecc5..e947941f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,5 @@ using Kuber -using Swagger +using OpenAPI using Test const Typedefs = Kuber.ApiImpl.Typedefs @@ -25,20 +25,20 @@ function init_context(override=nothing, verbose=true) end function test_set_timeout(ctx) - @test Kuber.get_timeout(ctx) == Swagger.DEFAULT_TIMEOUT_SECS + @test Kuber.get_timeout(ctx) == OpenAPI.Clients.DEFAULT_TIMEOUT_SECS Kuber.with_timeout(ctx, 10) do ctx @test Kuber.get_timeout(ctx) == 10 end wctx = Kuber.KuberWatchContext(ctx, Channel{Any}()) - @test Kuber.get_timeout(wctx) == Swagger.DEFAULT_TIMEOUT_SECS + @test Kuber.get_timeout(wctx) == OpenAPI.Clients.DEFAULT_TIMEOUT_SECS Kuber.with_timeout(wctx, 10) do wctx @test Kuber.get_timeout(wctx) == 10 end - @test Kuber.get_timeout(wctx) == Swagger.DEFAULT_TIMEOUT_SECS + @test Kuber.get_timeout(wctx) == OpenAPI.Clients.DEFAULT_TIMEOUT_SECS - @test Kuber.get_timeout(ctx) == Swagger.DEFAULT_TIMEOUT_SECS + @test Kuber.get_timeout(ctx) == OpenAPI.Clients.DEFAULT_TIMEOUT_SECS end function list_cluster_components(ctx) @@ -257,12 +257,16 @@ function create_delete_job(ctx, testid) @testset "Delete nginx service" begin res = delete!(ctx, :Service, "nginx-service$testid") - @test isa(res, Kuber.kind_to_type(ctx, :Status)) + # delete! operations can return either the deleted object or a status object + # ref: https://github.com/kubernetes-client/csharp/issues/44 + @test isa(res, Kuber.kind_to_type(ctx, :Status)) || isa(res, Kuber.kind_to_type(ctx, :Service)) end @testset "Delete nginx pod" begin res = delete!(ctx, :Pod, "nginx-pod$testid") - @test isa(res, Kuber.kind_to_type(ctx, :Pod)) + # delete! operations can return either the deleted object or a status object + # ref: https://github.com/kubernetes-client/csharp/issues/44 + @test isa(res, Kuber.kind_to_type(ctx, :Pod)) || isa(res, Kuber.kind_to_type(ctx, :Status)) end nothing @@ -298,13 +302,13 @@ function test_versioned(ctx, testid) @testset "Watch Events" begin timedwait(10.0; pollint=1.0) do lock(lck) do - any(isa(event, Typedefs.MetaV1.WatchEvent) && (event.type == "DELETED") for event in events) + any(isa(event, Typedefs.CoreV1.WatchEvent) && (event.type == "DELETED") for event in events) end end lock(lck) do @test !isempty(events) for event in events - @test isa(event, Union{Typedefs.MetaV1.WatchEvent,Typedefs.CoreV1.PodList}) + @test isa(event, Union{Typedefs.CoreV1.WatchEvent,Typedefs.CoreV1.PodList}) end end end @@ -318,7 +322,7 @@ function test_all() end @testset "Set Timeouts" begin - test_set_timeout(ctx) + test_set_timeout(ctx) end @testset "Overridden API Versions" begin